diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 6368cba9998e..9dc78d50282b 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -176,7 +176,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 a8fd5f666221..51a50a7d434a 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.20231102.4" + "@azure-tools/typespec-csharp": "0.2.0-beta.20231107.1" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -17,9 +17,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20231102.4", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20231102.4.tgz", - "integrity": "sha512-Kz7PNcLgShsNrtrkf+uuwGWRo5xcFyUGhv/0I7+eAqDdDaoG7bzattXj+v49a1ktyODjUh522MJQ+kUD35FYPA==" + "version": "3.0.0-beta.20231107.1", + "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20231107.1.tgz", + "integrity": "sha512-k/OtZEK+JWQIgYRhFC9KHVrGUcgD/HZOwoCAEtQI+wjXe+OtdMMWiL8y6TrdgK75bYPIaWvGxq1juGS9PLhGTA==" }, "node_modules/@azure-tools/typespec-azure-core": { "version": "0.35.0", @@ -49,11 +49,11 @@ } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20231102.4", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20231102.4.tgz", - "integrity": "sha512-1psK7PCyvZ0m7McH3zs/VdfQ3IN/hirlaALd/hyz5lOJeyTR61bqk6FCJqQ0cFvSAzkoLW8VrAkamh8JmMxf2A==", + "version": "0.2.0-beta.20231107.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20231107.1.tgz", + "integrity": "sha512-xoeGn4Ag3UdFkBZf6vMPWpEVRfaM3Jnu5JzOuk/FJpWE9i1MWA1LyU7wVIIEvMpOx4Oo3/MUNcCQH2syHj3XPQ==", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20231102.4", + "@autorest/csharp": "3.0.0-beta.20231107.1", "@azure-tools/typespec-azure-core": "0.35.0", "@azure-tools/typespec-client-generator-core": "0.35.0", "@typespec/compiler": "0.49.0", @@ -143,9 +143,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", + "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -185,9 +185,9 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, "node_modules/@eslint/js": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.52.0.tgz", - "integrity": "sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA==", + "version": "8.53.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz", + "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -279,9 +279,9 @@ "integrity": "sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==" }, "node_modules/@types/json-schema": { - "version": "7.0.14", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.14.tgz", - "integrity": "sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.3", @@ -299,15 +299,15 @@ "integrity": "sha512-HlJjF3wxV4R2VQkFpKe0YqJLilYNgtRtsqqZtby7RkVsSs+i+vbyzjtUwpFEdUCKcrGzCiEJE7F/0mKjh0sunA==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.1.tgz", - "integrity": "sha512-w0tiiRc9I4S5XSXXrMHOWgHgxbrBn1Ro+PmiYhSg2ZVdxrAJtQgzU5o2m1BfP6UOn7Vxcc6152vFjQfmZR4xEg==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.10.0.tgz", + "integrity": "sha512-uoLj4g2OTL8rfUQVx2AFO1hp/zja1wABJq77P6IclQs6I/m9GLrm7jCdgzZkvWdDCQf1uEvoa8s8CupsgWQgVg==", "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.9.1", - "@typescript-eslint/type-utils": "6.9.1", - "@typescript-eslint/utils": "6.9.1", - "@typescript-eslint/visitor-keys": "6.9.1", + "@typescript-eslint/scope-manager": "6.10.0", + "@typescript-eslint/type-utils": "6.10.0", + "@typescript-eslint/utils": "6.10.0", + "@typescript-eslint/visitor-keys": "6.10.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -333,14 +333,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.9.1.tgz", - "integrity": "sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg==", - "dependencies": { - "@typescript-eslint/scope-manager": "6.9.1", - "@typescript-eslint/types": "6.9.1", - "@typescript-eslint/typescript-estree": "6.9.1", - "@typescript-eslint/visitor-keys": "6.9.1", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.10.0.tgz", + "integrity": "sha512-+sZwIj+s+io9ozSxIWbNB5873OSdfeBEH/FR0re14WLI6BaKuSOnnwCJ2foUiu8uXf4dRp1UqHP0vrZ1zXGrog==", + "dependencies": { + "@typescript-eslint/scope-manager": "6.10.0", + "@typescript-eslint/types": "6.10.0", + "@typescript-eslint/typescript-estree": "6.10.0", + "@typescript-eslint/visitor-keys": "6.10.0", "debug": "^4.3.4" }, "engines": { @@ -360,12 +360,12 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.9.1.tgz", - "integrity": "sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.10.0.tgz", + "integrity": "sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==", "dependencies": { - "@typescript-eslint/types": "6.9.1", - "@typescript-eslint/visitor-keys": "6.9.1" + "@typescript-eslint/types": "6.10.0", + "@typescript-eslint/visitor-keys": "6.10.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -376,12 +376,12 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.9.1.tgz", - "integrity": "sha512-eh2oHaUKCK58qIeYp19F5V5TbpM52680sB4zNSz29VBQPTWIlE/hCj5P5B1AChxECe/fmZlspAWFuRniep1Skg==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.10.0.tgz", + "integrity": "sha512-wYpPs3hgTFblMYwbYWPT3eZtaDOjbLyIYuqpwuLBBqhLiuvJ+9sEp2gNRJEtR5N/c9G1uTtQQL5AhV0fEPJYcg==", "dependencies": { - "@typescript-eslint/typescript-estree": "6.9.1", - "@typescript-eslint/utils": "6.9.1", + "@typescript-eslint/typescript-estree": "6.10.0", + "@typescript-eslint/utils": "6.10.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -402,9 +402,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.9.1.tgz", - "integrity": "sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.10.0.tgz", + "integrity": "sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==", "engines": { "node": "^16.0.0 || >=18.0.0" }, @@ -414,12 +414,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.1.tgz", - "integrity": "sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.10.0.tgz", + "integrity": "sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==", "dependencies": { - "@typescript-eslint/types": "6.9.1", - "@typescript-eslint/visitor-keys": "6.9.1", + "@typescript-eslint/types": "6.10.0", + "@typescript-eslint/visitor-keys": "6.10.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -467,16 +467,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.9.1.tgz", - "integrity": "sha512-L1T0A5nFdQrMVunpZgzqPL6y2wVreSyHhKGZryS6jrEN7bD9NplVAyMryUhXsQ4TWLnZmxc2ekar/lSGIlprCA==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.10.0.tgz", + "integrity": "sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg==", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.9.1", - "@typescript-eslint/types": "6.9.1", - "@typescript-eslint/typescript-estree": "6.9.1", + "@typescript-eslint/scope-manager": "6.10.0", + "@typescript-eslint/types": "6.10.0", + "@typescript-eslint/typescript-estree": "6.10.0", "semver": "^7.5.4" }, "engines": { @@ -491,11 +491,11 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.1.tgz", - "integrity": "sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.10.0.tgz", + "integrity": "sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==", "dependencies": { - "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/types": "6.10.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -823,9 +823,9 @@ } }, "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" }, "node_modules/balanced-match": { "version": "1.0.2", @@ -1191,14 +1191,14 @@ } }, "node_modules/eslint": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.52.0.tgz", - "integrity": "sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg==", + "version": "8.53.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz", + "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.52.0", + "@eslint/eslintrc": "^2.1.3", + "@eslint/js": "8.53.0", "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -1719,9 +1719,9 @@ "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==" }, "node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 73fd93e026b1..34a0aabd674e 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,6 +1,6 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20231102.4" + "@azure-tools/typespec-csharp": "0.2.0-beta.20231107.1" } } 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 ae4cf6a530f9..83704fcfc609 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 @@ -304,7 +304,7 @@ public async Task CreateOrUpdate_ApiManagementCreateSchema1() { SchemaType = ApiSchemaType.Xml, Description = "sample schema description", - Value = BinaryData.FromString("\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"), + Value = BinaryData.FromString("\"\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\""), }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, schemaId, data); ApiManagementGlobalSchemaResource result = lro.Value; 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 dcb95239a35f..560a04fa0a45 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 @@ -138,7 +138,7 @@ public async Task Update_ApiManagementCreateSchema1() { SchemaType = ApiSchemaType.Xml, Description = "sample schema description", - Value = BinaryData.FromString("\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"), + Value = BinaryData.FromString("\"\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\""), }; ArmOperation lro = await apiManagementGlobalSchema.UpdateAsync(WaitUntil.Completed, data); ApiManagementGlobalSchemaResource result = lro.Value; 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 69d05f8cea69..5234dc5c6b82 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 @@ -179,7 +179,7 @@ public async Task Purge_ComponentPurge() { Column = "TimeGenerated", Operator = ">", -Value = BinaryData.FromString("2017-09-01T00:00:00"), +Value = BinaryData.FromString("\"2017-09-01T00:00:00\""), } }); ComponentPurgeResponse result = await applicationInsightsComponent.PurgeAsync(body); 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 f82ed3b9730a..cc0b20b55faf 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 @@ -48,7 +48,7 @@ public async Task CreateOrUpdate_CreateOrUpdateASchedule() { Description = "my description of schedule goes here", ExpireOn = DateTimeOffset.Parse("2017-04-01T17:28:57.2494819Z"), - Interval = BinaryData.FromString("1"), + Interval = BinaryData.FromString("\"1\""), AdvancedSchedule = new AutomationAdvancedSchedule(), }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, scheduleName, content); 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 589c3afb7fab..2df90aaafed5 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 @@ -89,7 +89,7 @@ public async Task CreateOrUpdate_MGARMTemplateArtifact() { ["storageAccountType"] = new ParameterValue() { - Value = BinaryData.FromString("[parameters('storageAccountType')]"), + Value = BinaryData.FromString("\"[parameters('storageAccountType')]\""), }, }) { @@ -134,11 +134,11 @@ public async Task CreateOrUpdate_MGPolicyAssignmentArtifact() { ["tagName"] = new ParameterValue() { - Value = BinaryData.FromString("costCenter"), + Value = BinaryData.FromString("\"costCenter\""), }, ["tagValue"] = new ParameterValue() { - Value = BinaryData.FromString("[parameter('costCenter')]"), + Value = BinaryData.FromString("\"[parameter('costCenter')]\""), }, }) { @@ -179,7 +179,7 @@ public async Task CreateOrUpdate_MGRoleAssignmentArtifact() // invoke the operation string artifactName = "ownerAssignment"; - ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("[parameters('owners')]")) + ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("\"[parameters('owners')]\"")) { DisplayName = "enforce owners of given subscription", }; @@ -263,7 +263,7 @@ public async Task CreateOrUpdate_SubARMTemplateArtifact() { ["storageAccountType"] = new ParameterValue() { - Value = BinaryData.FromString("[parameters('storageAccountType')]"), + Value = BinaryData.FromString("\"[parameters('storageAccountType')]\""), }, }) { @@ -308,11 +308,11 @@ public async Task CreateOrUpdate_SubPolicyAssignmentArtifact() { ["tagName"] = new ParameterValue() { - Value = BinaryData.FromString("costCenter"), + Value = BinaryData.FromString("\"costCenter\""), }, ["tagValue"] = new ParameterValue() { - Value = BinaryData.FromString("[parameter('costCenter')]"), + Value = BinaryData.FromString("\"[parameter('costCenter')]\""), }, }) { @@ -353,7 +353,7 @@ public async Task CreateOrUpdate_SubRoleAssignmentArtifact() // invoke the operation string artifactName = "ownerAssignment"; - ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("[parameters('owners')]")) + ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("\"[parameters('owners')]\"")) { DisplayName = "enforce owners of given subscription", }; 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 774ad97208c0..3c50d8c42d24 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 @@ -86,7 +86,7 @@ public async Task Update_MGARMTemplateArtifact() { ["storageAccountType"] = new ParameterValue() { - Value = BinaryData.FromString("[parameters('storageAccountType')]"), + Value = BinaryData.FromString("\"[parameters('storageAccountType')]\""), }, }) { @@ -128,11 +128,11 @@ public async Task Update_MGPolicyAssignmentArtifact() { ["tagName"] = new ParameterValue() { - Value = BinaryData.FromString("costCenter"), + Value = BinaryData.FromString("\"costCenter\""), }, ["tagValue"] = new ParameterValue() { - Value = BinaryData.FromString("[parameter('costCenter')]"), + Value = BinaryData.FromString("\"[parameter('costCenter')]\""), }, }) { @@ -170,7 +170,7 @@ public async Task Update_MGRoleAssignmentArtifact() BlueprintArtifactResource blueprintArtifact = client.GetBlueprintArtifactResource(blueprintArtifactResourceId); // invoke the operation - ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("[parameters('owners')]")) + ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("\"[parameters('owners')]\"")) { DisplayName = "enforce owners of given subscription", }; @@ -251,7 +251,7 @@ public async Task Update_SubARMTemplateArtifact() { ["storageAccountType"] = new ParameterValue() { - Value = BinaryData.FromString("[parameters('storageAccountType')]"), + Value = BinaryData.FromString("\"[parameters('storageAccountType')]\""), }, }) { @@ -293,11 +293,11 @@ public async Task Update_SubPolicyAssignmentArtifact() { ["tagName"] = new ParameterValue() { - Value = BinaryData.FromString("costCenter"), + Value = BinaryData.FromString("\"costCenter\""), }, ["tagValue"] = new ParameterValue() { - Value = BinaryData.FromString("[parameter('costCenter')]"), + Value = BinaryData.FromString("\"[parameter('costCenter')]\""), }, }) { @@ -335,7 +335,7 @@ public async Task Update_SubRoleAssignmentArtifact() BlueprintArtifactResource blueprintArtifact = client.GetBlueprintArtifactResource(blueprintArtifactResourceId); // invoke the operation - ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("[parameters('owners')]")) + ArtifactData data = new RoleAssignmentArtifact("/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", BinaryData.FromString("\"[parameters('owners')]\"")) { DisplayName = "enforce owners of given subscription", }; 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 e9d8acb5c1c3..29e6eabb843e 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 @@ -195,7 +195,7 @@ public async Task CreateOrUpdate_CreatesSpecificPolicy() { DefaultRedirectUri = new Uri("http://www.bing.com"), DefaultCustomBlockResponseStatusCode = PolicySettingsDefaultCustomBlockResponseStatusCode.TwoHundred, - DefaultCustomBlockResponseBody = BinaryData.FromString("PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="), + DefaultCustomBlockResponseBody = BinaryData.FromString("\"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\""), }, RateLimitRules = { 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 e93a3745412e..43f0b397c8ae 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 @@ -388,8 +388,8 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndRDPExtens CloudServiceExtensionPropertiesType = "RDP", TypeHandlerVersion = "1.2", AutoUpgradeMinorVersion = false, -Settings = BinaryData.FromString("UserAzure10/22/2021 15:05:45"), -ProtectedSettings = BinaryData.FromString("{password}"), +Settings = BinaryData.FromString("\"UserAzure10/22/2021 15:05:45\""), +ProtectedSettings = BinaryData.FromString("\"{password}\""), } }, }; 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 86f825b41a36..0afe700f5e39 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 @@ -193,7 +193,7 @@ public async Task CreateOrUpdate_GlobalParametersCreate() string globalParameterName = "default"; DataFactoryGlobalParameterData data = new DataFactoryGlobalParameterData(new Dictionary() { - ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("5")), + ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("\"5\"")), }); ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, globalParameterName, data); DataFactoryGlobalParameterResource result = lro.Value; @@ -233,7 +233,7 @@ public async Task CreateOrUpdate_GlobalParametersUpdate() string globalParameterName = "default"; DataFactoryGlobalParameterData data = new DataFactoryGlobalParameterData(new Dictionary() { - ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("5")), + ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("\"5\"")), }); ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, globalParameterName, data); DataFactoryGlobalParameterResource result = lro.Value; 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 d704e095a234..79ecaa656afe 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 @@ -76,7 +76,7 @@ public async Task Update_GlobalParametersCreate() // invoke the operation DataFactoryGlobalParameterData data = new DataFactoryGlobalParameterData(new Dictionary() { - ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("5")), + ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("\"5\"")), }); ArmOperation lro = await dataFactoryGlobalParameter.UpdateAsync(WaitUntil.Completed, data); DataFactoryGlobalParameterResource result = lro.Value; @@ -113,7 +113,7 @@ public async Task Update_GlobalParametersUpdate() // invoke the operation DataFactoryGlobalParameterData data = new DataFactoryGlobalParameterData(new Dictionary() { - ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("5")), + ["waitTime"] = new DataFactoryGlobalParameterProperties(DataFactoryGlobalParameterType.Int, BinaryData.FromString("\"5\"")), }); ArmOperation lro = await dataFactoryGlobalParameter.UpdateAsync(WaitUntil.Completed, data); DataFactoryGlobalParameterResource result = lro.Value; 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 59ba842d39c6..af9e64603694 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 @@ -96,8 +96,8 @@ public async Task CreateOrUpdate_PipelinesCreate() { Parameters = { -["MyFileName"] = BinaryData.FromString("examplecontainer.csv"), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFileName"] = BinaryData.FromString("\"examplecontainer.csv\""), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -111,7 +111,7 @@ public async Task CreateOrUpdate_PipelinesCreate() { ["type"] = "Expression", ["value"] = "@item()"}), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -138,7 +138,7 @@ public async Task CreateOrUpdate_PipelinesCreate() ["type"] = "Expression", ["value"] = "@pipeline().parameters.JobId"}), }, - ElapsedTimeMetricDuration = BinaryData.FromString("0.00:10:00"), + ElapsedTimeMetricDuration = BinaryData.FromString("\"0.00:10:00\""), }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, pipelineName, data); DataFactoryPipelineResource result = lro.Value; @@ -191,8 +191,8 @@ public async Task CreateOrUpdate_PipelinesUpdate() { Parameters = { -["MyFileName"] = BinaryData.FromString("examplecontainer.csv"), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFileName"] = BinaryData.FromString("\"examplecontainer.csv\""), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -206,7 +206,7 @@ public async Task CreateOrUpdate_PipelinesUpdate() { ["type"] = "Expression", ["value"] = "@item()"}), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -221,7 +221,7 @@ public async Task CreateOrUpdate_PipelinesUpdate() { ["OutputBlobNameList"] = new EntityParameterSpecification(EntityParameterType.Array), }, - ElapsedTimeMetricDuration = BinaryData.FromString("0.00:10:00"), + ElapsedTimeMetricDuration = BinaryData.FromString("\"0.00:10:00\""), }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, pipelineName, data); DataFactoryPipelineResource result = lro.Value; 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 35372f966b9a..60b08e5573a5 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 @@ -56,8 +56,8 @@ public async Task Update_PipelinesCreate() { Parameters = { -["MyFileName"] = BinaryData.FromString("examplecontainer.csv"), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFileName"] = BinaryData.FromString("\"examplecontainer.csv\""), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -71,7 +71,7 @@ public async Task Update_PipelinesCreate() { ["type"] = "Expression", ["value"] = "@item()"}), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -98,7 +98,7 @@ public async Task Update_PipelinesCreate() ["type"] = "Expression", ["value"] = "@pipeline().parameters.JobId"}), }, - ElapsedTimeMetricDuration = BinaryData.FromString("0.00:10:00"), + ElapsedTimeMetricDuration = BinaryData.FromString("\"0.00:10:00\""), }; ArmOperation lro = await dataFactoryPipeline.UpdateAsync(WaitUntil.Completed, data); DataFactoryPipelineResource result = lro.Value; @@ -148,8 +148,8 @@ public async Task Update_PipelinesUpdate() { Parameters = { -["MyFileName"] = BinaryData.FromString("examplecontainer.csv"), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFileName"] = BinaryData.FromString("\"examplecontainer.csv\""), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -163,7 +163,7 @@ public async Task Update_PipelinesUpdate() { ["type"] = "Expression", ["value"] = "@item()"}), -["MyFolderPath"] = BinaryData.FromString("examplecontainer"), +["MyFolderPath"] = BinaryData.FromString("\"examplecontainer\""), }, } }, @@ -178,7 +178,7 @@ public async Task Update_PipelinesUpdate() { ["OutputBlobNameList"] = new EntityParameterSpecification(EntityParameterType.Array), }, - ElapsedTimeMetricDuration = BinaryData.FromString("0.00:10:00"), + ElapsedTimeMetricDuration = BinaryData.FromString("\"0.00:10:00\""), }; ArmOperation lro = await dataFactoryPipeline.UpdateAsync(WaitUntil.Completed, data); DataFactoryPipelineResource result = lro.Value; 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 9fdc9634bb44..797bc8572c12 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 @@ -712,7 +712,7 @@ public async Task AddDataFlowToDebugSession_DataFlowDebugSessionAddDataFlow() }, Parameters = { -["sourcePath"] = BinaryData.FromString("Toy"), +["sourcePath"] = BinaryData.FromString("\"Toy\""), }, DatasetParameters = BinaryData.FromObjectAsJson(new Dictionary() { 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 f2f3b8f84e89..2c629cf85370 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 @@ -182,8 +182,8 @@ public async Task CreateOrUpdate_MSIXPackageCreate() AppUserModelId = "AppUserModelId", FriendlyName = "friendlyname", IconImageName = "Apptile", -RawIcon = BinaryData.FromString("VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"), -RawPng = BinaryData.FromString("VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"), +RawIcon = BinaryData.FromString("\"VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo\""), +RawPng = BinaryData.FromString("\"VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo\""), } }, }; 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 22e929764bcf..b368c88bcaee 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 @@ -157,7 +157,7 @@ public async Task CreateOrUpdate_DPSCreateOrUpdateCertificate() { Properties = new DeviceProvisioningServicesCertificateProperties() { - Certificate = BinaryData.FromString("############################################"), + Certificate = BinaryData.FromString("\"############################################\""), }, }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, certificateName, data); 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 e1115eb54881..ab5139d7a535 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 @@ -77,7 +77,7 @@ public async Task Update_DPSCreateOrUpdateCertificate() { Properties = new DeviceProvisioningServicesCertificateProperties() { - Certificate = BinaryData.FromString("############################################"), + Certificate = BinaryData.FromString("\"############################################\""), }, }; ArmOperation lro = await deviceProvisioningServicesCertificate.UpdateAsync(WaitUntil.Completed, data); 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 83cfc32ea834..041932249028 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 @@ -170,8 +170,8 @@ public async Task CreateOrUpdate_ClientsCreateOrUpdate() Attributes = { ["deviceTypes"] = BinaryData.FromObjectAsJson(new object[] { "Fan", "Light", "AC" }), -["floor"] = BinaryData.FromString("3"), -["room"] = BinaryData.FromString("345"), +["floor"] = BinaryData.FromString("\"3\""), +["room"] = BinaryData.FromString("\"345\""), }, }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, clientName, data); 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 d70b74cfd2c9..86ebba588c7f 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 @@ -90,8 +90,8 @@ public async Task Update_ClientsCreateOrUpdate() Attributes = { ["deviceTypes"] = BinaryData.FromObjectAsJson(new object[] { "Fan", "Light", "AC" }), -["floor"] = BinaryData.FromString("3"), -["room"] = BinaryData.FromString("345"), +["floor"] = BinaryData.FromString("\"3\""), +["room"] = BinaryData.FromString("\"345\""), }, }; ArmOperation lro = await eventGridNamespaceClient.UpdateAsync(WaitUntil.Completed, data); 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 083dc001ea87..776bdff1140c 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 @@ -50,7 +50,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAMachineExtension() TypeHandlerVersion = "1.10", Settings = { -["commandToExecute"] = BinaryData.FromString("powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\""), +["commandToExecute"] = BinaryData.FromString("\"powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"\""), }, }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, extensionName, data); 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 9a04cafd0aaf..89c8a38e647d 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 @@ -49,7 +49,7 @@ public async Task Update_CreateOrUpdateAMachineExtension() EnableAutomaticUpgrade = true, Settings = { -["commandToExecute"] = BinaryData.FromString("powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\""), +["commandToExecute"] = BinaryData.FromString("\"powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"\""), }, }; ArmOperation lro = await hybridComputeMachineExtension.UpdateAsync(WaitUntil.Completed, patch); 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 30d78983f4e5..6f6238c42064 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 @@ -194,7 +194,7 @@ public async Task CreateOrUpdate_CertificatesCreateOrUpdate() { Properties = new IotHubCertificateProperties() { - Certificate = BinaryData.FromString("############################################"), + Certificate = BinaryData.FromString("\"############################################\""), }, }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, certificateName, data); 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 3f22973577f2..5f1c8a334f5c 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 @@ -77,7 +77,7 @@ public async Task Update_CertificatesCreateOrUpdate() { Properties = new IotHubCertificateProperties() { - Certificate = BinaryData.FromString("############################################"), + Certificate = BinaryData.FromString("\"############################################\""), }, }; ArmOperation lro = await iotHubCertificateDescription.UpdateAsync(WaitUntil.Completed, data); @@ -174,7 +174,7 @@ public async Task Verify_CertificatesVerify() string ifMatch = "AAAAAAAADGk="; IotHubCertificateVerificationContent content = new IotHubCertificateVerificationContent() { - Certificate = BinaryData.FromString("#####################################"), + Certificate = BinaryData.FromString("\"#####################################\""), }; IotHubCertificateDescriptionResource result = await iotHubCertificateDescription.VerifyAsync(ifMatch, content); 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 b263c30a8750..7193c32054f3 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 @@ -199,7 +199,7 @@ public async Task CreateOrUpdate_PutSchedule() Interval = 2, }, TimeZoneId = "America/Los_Angeles", - Notes = BinaryData.FromString("Schedule 1 for students"), + Notes = BinaryData.FromString("\"Schedule 1 for students\""), }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, scheduleName, data); LabServicesScheduleResource result = lro.Value; 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 8dea8b5a9ed2..3a5ecbad8c38 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 @@ -141,7 +141,7 @@ public async Task Invite_InviteUser() // invoke the operation LabUserInviteRequestContent content = new LabUserInviteRequestContent() { - Text = BinaryData.FromString("Invitation to lab testlab"), + Text = BinaryData.FromString("\"Invitation to lab testlab\""), }; await labUser.InviteAsync(WaitUntil.Completed, content); 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 33c45c58b928..4d9f956038e8 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 @@ -193,7 +193,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAnAccountAssembly() string assemblyArtifactName = "testAssembly"; IntegrationAccountAssemblyDefinitionData data = new IntegrationAccountAssemblyDefinitionData(new AzureLocation("westus"), new IntegrationAccountAssemblyProperties("System.IdentityModel.Tokens.Jwt") { - Content = BinaryData.FromString("Base64 encoded Assembly Content"), + Content = BinaryData.FromString("\"Base64 encoded Assembly Content\""), Metadata = BinaryData.FromObjectAsJson(new Dictionary() { }), 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 3198f6a5ba09..1f9d6549a92f 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 @@ -76,7 +76,7 @@ public async Task Update_CreateOrUpdateAnAccountAssembly() // invoke the operation IntegrationAccountAssemblyDefinitionData data = new IntegrationAccountAssemblyDefinitionData(new AzureLocation("westus"), new IntegrationAccountAssemblyProperties("System.IdentityModel.Tokens.Jwt") { - Content = BinaryData.FromString("Base64 encoded Assembly Content"), + Content = BinaryData.FromString("\"Base64 encoded Assembly Content\""), Metadata = BinaryData.FromObjectAsJson(new Dictionary() { }), 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 fbb3a2ca3bc6..a9e918f12407 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 @@ -197,7 +197,7 @@ public async Task CreateOrUpdate_CreateOrUpdateACertificate() KeyVersion = "87d9764197604449b9b8eb7bd8710868", ResourceId = new ResourceIdentifier("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/"), }, - PublicCertificate = BinaryData.FromString(""), + PublicCertificate = BinaryData.FromString("\"\""), }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, certificateName, data); IntegrationAccountCertificateResource result = lro.Value; 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 1704cbf8b28d..2cbad212169f 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 @@ -80,7 +80,7 @@ public async Task Update_CreateOrUpdateACertificate() KeyVersion = "87d9764197604449b9b8eb7bd8710868", ResourceId = new ResourceIdentifier("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/"), }, - PublicCertificate = BinaryData.FromString(""), + PublicCertificate = BinaryData.FromString("\"\""), }; ArmOperation lro = await integrationAccountCertificate.UpdateAsync(WaitUntil.Completed, data); IntegrationAccountCertificateResource result = lro.Value; 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 83d1df33a140..894ed6284bab 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 @@ -193,7 +193,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAMap() string mapName = "testMap"; IntegrationAccountMapData data = new IntegrationAccountMapData(new AzureLocation("westus"), IntegrationAccountMapType.Xslt) { - Content = BinaryData.FromString("\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"), + Content = BinaryData.FromString("\"\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\""), ContentType = new ContentType("application/xml"), Metadata = BinaryData.FromObjectAsJson(new Dictionary() { 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 57838cdfe0ab..8b86f3c3e834 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 @@ -76,7 +76,7 @@ public async Task Update_CreateOrUpdateAMap() // invoke the operation IntegrationAccountMapData data = new IntegrationAccountMapData(new AzureLocation("westus"), IntegrationAccountMapType.Xslt) { - Content = BinaryData.FromString("\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"), + Content = BinaryData.FromString("\"\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\""), ContentType = new ContentType("application/xml"), Metadata = BinaryData.FromObjectAsJson(new Dictionary() { 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 2ff5a65b786c..16aa6a0d16b4 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 @@ -196,7 +196,7 @@ public async Task CreateOrUpdate_CreateOrUpdateSchema() Metadata = BinaryData.FromObjectAsJson(new Dictionary() { }), - Content = BinaryData.FromString("\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"), + Content = BinaryData.FromString("\"\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\""), ContentType = new ContentType("application/xml"), Tags = { 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 d3620d3f0e76..d99d3f334272 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 @@ -79,7 +79,7 @@ public async Task Update_CreateOrUpdateSchema() Metadata = BinaryData.FromObjectAsJson(new Dictionary() { }), - Content = BinaryData.FromString("\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"), + Content = BinaryData.FromString("\"\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\""), ContentType = new ContentType("application/xml"), Tags = { 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 f1d506a4aee9..32277f7f9bf7 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 @@ -179,7 +179,7 @@ public async Task CreateOrUpdate_CreateApplicationGateway() { new ApplicationGatewayTrustedRootCertificate() { -Data = BinaryData.FromString("****"), +Data = BinaryData.FromString("\"****\""), Name = "rootcert", },new ApplicationGatewayTrustedRootCertificate() { @@ -191,7 +191,7 @@ public async Task CreateOrUpdate_CreateApplicationGateway() { new ApplicationGatewayTrustedClientCertificate() { -Data = BinaryData.FromString("****"), +Data = BinaryData.FromString("\"****\""), Name = "clientcert", } }, @@ -199,7 +199,7 @@ public async Task CreateOrUpdate_CreateApplicationGateway() { new ApplicationGatewaySslCertificate() { -Data = BinaryData.FromString("****"), +Data = BinaryData.FromString("\"****\""), Password = "****", Name = "sslcert", },new ApplicationGatewaySslCertificate() 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 726102bc7e18..293924b1b6be 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 @@ -161,7 +161,7 @@ public async Task CreateOrUpdate_VpnServerConfigurationCreate() new VpnServerConfigVpnClientRootCertificate() { Name = "vpnServerConfigVpnClientRootCert1", -PublicCertData = BinaryData.FromString("MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"), +PublicCertData = BinaryData.FromString("\"MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN\""), } }, VpnClientRevokedCertificates = @@ -177,7 +177,7 @@ public async Task CreateOrUpdate_VpnServerConfigurationCreate() new VpnServerConfigRadiusServerRootCertificate() { Name = "vpnServerConfigRadiusServerRootCer1", -PublicCertData = BinaryData.FromString("MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"), +PublicCertData = BinaryData.FromString("\"MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM\""), } }, RadiusClientRootCertificates = 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 bcf5f73841aa..b02ea93d3d45 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 @@ -335,7 +335,7 @@ public async Task Purge_WorkspacePurge() { Column = "TimeGenerated", Operator = ">", -Value = BinaryData.FromString("2017-09-01T00:00:00"), +Value = BinaryData.FromString("\"2017-09-01T00:00:00\""), } }); OperationalInsightsWorkspacePurgeResult result = await operationalInsightsWorkspace.PurgeAsync(content); @@ -371,7 +371,7 @@ public async Task Purge_WorkspacePurgeResourceId() { Column = "_ResourceId", Operator = "==", -Value = BinaryData.FromString("/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/SomeResourceGroup/providers/microsoft.insights/components/AppInsightResource"), +Value = BinaryData.FromString("\"/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/SomeResourceGroup/providers/microsoft.insights/components/AppInsightResource\""), } }); OperationalInsightsWorkspacePurgeResult result = await operationalInsightsWorkspace.PurgeAsync(content); 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 a461409d713c..e8e600f85dd0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionCollection.cs @@ -70,11 +70,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionAtManagementG { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", @@ -145,11 +145,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionWithGroupsAtM { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", 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 fb9bf7b428f3..b1c78fd70cc4 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionResource.cs @@ -66,11 +66,11 @@ public async Task Update_CreateOrUpdateAPolicySetDefinitionAtManagementGroupLeve { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", @@ -138,11 +138,11 @@ public async Task Update_CreateOrUpdateAPolicySetDefinitionWithGroupsAtManagemen { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", 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 b0fff4d1a0b9..755a43d6bb71 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentCollection.cs @@ -51,11 +51,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignment() { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, Description = "Force resource names to begin with given DeptA and end with -LC", @@ -111,11 +111,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithASystemAssig { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, Description = "Force resource names to begin with given DeptA and end with -LC", @@ -174,11 +174,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithAUserAssigne { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, Description = "Force resource names to begin with given DeptA and end with -LC", @@ -400,11 +400,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithoutEnforcing { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, Description = "Force resource names to begin with given DeptA and end with -LC", 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 5d9c072b75e6..8fccfa188aee 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionCollection.cs @@ -165,9 +165,9 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyDefinitionWithAdvancedPara ParameterType = ArmPolicyParameterType.Integer, AllowedValues = { -BinaryData.FromString("0"),BinaryData.FromString("30"),BinaryData.FromString("90"),BinaryData.FromString("180"),BinaryData.FromString("365") +BinaryData.FromString("\"0\""),BinaryData.FromString("\"30\""),BinaryData.FromString("\"90\""),BinaryData.FromString("\"180\""),BinaryData.FromString("\"365\"") }, -DefaultValue = BinaryData.FromString("365"), +DefaultValue = BinaryData.FromString("\"365\""), Metadata = new ParameterDefinitionsValueMetadata() { DisplayName = "Required retention (days)", 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 2512b0d2d2f3..0895d39d8bd2 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionResource.cs @@ -159,9 +159,9 @@ public async Task Update_CreateOrUpdateAPolicyDefinitionWithAdvancedParameters() ParameterType = ArmPolicyParameterType.Integer, AllowedValues = { -BinaryData.FromString("0"),BinaryData.FromString("30"),BinaryData.FromString("90"),BinaryData.FromString("180"),BinaryData.FromString("365") +BinaryData.FromString("\"0\""),BinaryData.FromString("\"30\""),BinaryData.FromString("\"90\""),BinaryData.FromString("\"180\""),BinaryData.FromString("\"365\"") }, -DefaultValue = BinaryData.FromString("365"), +DefaultValue = BinaryData.FromString("\"365\""), Metadata = new ParameterDefinitionsValueMetadata() { DisplayName = "Required retention (days)", 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 b6599577c6cf..e5cc8af83ce1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionCollection.cs @@ -56,7 +56,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinition() ["namePrefix"] = new ArmPolicyParameter() { ParameterType = ArmPolicyParameterType.String, -DefaultValue = BinaryData.FromString("myPrefix"), +DefaultValue = BinaryData.FromString("\"myPrefix\""), Metadata = new ParameterDefinitionsValueMetadata() { DisplayName = "Prefix to enforce on resource names", @@ -81,11 +81,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinition() { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("[parameters('namePrefix')]"), +Value = BinaryData.FromString("\"[parameters('namePrefix')]\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", @@ -156,11 +156,11 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionWithGroups() { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", 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 10fee32c65d5..3482ce34bd3d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionResource.cs @@ -53,7 +53,7 @@ public async Task Update_CreateOrUpdateAPolicySetDefinition() ["namePrefix"] = new ArmPolicyParameter() { ParameterType = ArmPolicyParameterType.String, -DefaultValue = BinaryData.FromString("myPrefix"), +DefaultValue = BinaryData.FromString("\"myPrefix\""), Metadata = new ParameterDefinitionsValueMetadata() { DisplayName = "Prefix to enforce on resource names", @@ -78,11 +78,11 @@ public async Task Update_CreateOrUpdateAPolicySetDefinition() { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("[parameters('namePrefix')]"), +Value = BinaryData.FromString("\"[parameters('namePrefix')]\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", @@ -150,11 +150,11 @@ public async Task Update_CreateOrUpdateAPolicySetDefinitionWithGroups() { ["prefix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("DeptA"), +Value = BinaryData.FromString("\"DeptA\""), }, ["suffix"] = new ArmPolicyParameterValue() { -Value = BinaryData.FromString("-LC"), +Value = BinaryData.FromString("\"-LC\""), }, }, PolicyDefinitionReferenceId = "Resource_Naming", 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 8c334bb9dbb7..aa8302e0bf5b 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 @@ -166,17 +166,17 @@ public async Task CreateOrUpdate_PutAClusterWithMaximumParameters() { CommonNames = { -new ClusterServerCertificateCommonName("abc.com",BinaryData.FromString("12599211F8F14C90AFA9532AD79A6F2CA1C00622")) +new ClusterServerCertificateCommonName("abc.com",BinaryData.FromString("\"12599211F8F14C90AFA9532AD79A6F2CA1C00622\"")) }, X509StoreName = ClusterCertificateStoreName.My, }, ClientCertificateCommonNames = { -new ClusterClientCertificateCommonName(true,"abc.com",BinaryData.FromString("5F3660C715EBBDA31DB1FFDCF508302348DE8E7A")) +new ClusterClientCertificateCommonName(true,"abc.com",BinaryData.FromString("\"5F3660C715EBBDA31DB1FFDCF508302348DE8E7A\"")) }, ClientCertificateThumbprints = { -new ClusterClientCertificateThumbprint(true,BinaryData.FromString("5F3660C715EBBDA31DB1FFDCF508302348DE8E7A")) +new ClusterClientCertificateThumbprint(true,BinaryData.FromString("\"5F3660C715EBBDA31DB1FFDCF508302348DE8E7A\"")) }, ClusterCodeVersion = "7.0.470.9590", DiagnosticsStorageAccountConfig = new DiagnosticsStorageAccountConfig("diag", "StorageAccountKey1", new Uri("https://diag.blob.core.windows.net/"), new Uri("https://diag.queue.core.windows.net/"), new Uri("https://diag.table.core.windows.net/")), @@ -205,7 +205,7 @@ public async Task CreateOrUpdate_PutAClusterWithMaximumParameters() { CommonNames = { -new ClusterServerCertificateCommonName("abc.com",BinaryData.FromString("12599211F8F14C90AFA9532AD79A6F2CA1C00622")) +new ClusterServerCertificateCommonName("abc.com",BinaryData.FromString("\"12599211F8F14C90AFA9532AD79A6F2CA1C00622\"")) }, X509StoreName = ClusterCertificateStoreName.My, }, 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 5cb2e4e41e8a..656a95345eed 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 @@ -192,7 +192,7 @@ public async Task CreateOrUpdate_RegisteredServersCreate() Guid serverId = Guid.Parse("080d4133-bdb5-40a0-96a0-71a6057bfe9a"); StorageSyncRegisteredServerCreateOrUpdateContent content = new StorageSyncRegisteredServerCreateOrUpdateContent() { - ServerCertificate = BinaryData.FromString("MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM="), + ServerCertificate = BinaryData.FromString("\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\""), AgentVersion = "1.0.277.0", ServerOSVersion = "10.0.14393.0", ServerRole = "Standalone", 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 aa0cfca9c18b..d302f2b4c402 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 @@ -75,7 +75,7 @@ public async Task Update_RegisteredServersCreate() // invoke the operation StorageSyncRegisteredServerCreateOrUpdateContent content = new StorageSyncRegisteredServerCreateOrUpdateContent() { - ServerCertificate = BinaryData.FromString("MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM="), + ServerCertificate = BinaryData.FromString("\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\""), AgentVersion = "1.0.277.0", ServerOSVersion = "10.0.14393.0", ServerRole = "Standalone", @@ -145,7 +145,7 @@ public async Task TriggerRollover_RegisteredServersTriggerRollover() // invoke the operation TriggerRolloverContent content = new TriggerRolloverContent() { - ServerCertificate = BinaryData.FromString("\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\""), + ServerCertificate = BinaryData.FromString("\"\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"\""), }; await storageSyncRegisteredServer.TriggerRolloverAsync(WaitUntil.Completed, content); 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 4ebfa84d0a37..7077a4478cf4 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 @@ -217,7 +217,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAWorkspace() KekIdentity = new KekIdentityProperties() { UserAssignedIdentityId = new ResourceIdentifier("/subscriptions/b64d7b94-73e7-4d36-94b2-7764ea3fd74a/resourcegroups/SynapseCI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami1"), - UseSystemAssignedIdentity = BinaryData.FromString("false"), + UseSystemAssignedIdentity = BinaryData.FromString("\"false\""), }, }, },