diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 10f398f94172..c2aa8c50a6c3 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -174,7 +174,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 704845a6ab22..469365b81783 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.20230801.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20230803.1" } } diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/HarvestData.xml b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/HarvestData.xml index 50e798da22ca..179cab5df4b7 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/HarvestData.xml +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/HarvestData.xml @@ -212,6 +212,30 @@ var data = new { harvestProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalYield = new { + unit = "", + value = 123.45d, + }, + avgYield = new { + unit = "", + value = 123.45d, + }, + avgMoisture = new { + unit = "", + value = 123.45d, + }, + totalWetMass = new { + unit = "", + value = 123.45d, + }, + avgWetMass = new { + unit = "", + value = 123.45d, + }, } }, area = new { @@ -328,6 +352,30 @@ var data = new { harvestProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalYield = new { + unit = "", + value = 123.45d, + }, + avgYield = new { + unit = "", + value = 123.45d, + }, + avgMoisture = new { + unit = "", + value = 123.45d, + }, + totalWetMass = new { + unit = "", + value = 123.45d, + }, + avgWetMass = new { + unit = "", + value = 123.45d, + }, } }, area = new { diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/PlantingData.xml b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/PlantingData.xml index 5a25bf217a3e..2e6392a6a889 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/PlantingData.xml +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Docs/PlantingData.xml @@ -126,6 +126,18 @@ var data = new { plantingProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalMaterial = new { + unit = "", + value = 123.45d, + }, + avgMaterial = new { + unit = "", + value = 123.45d, + }, } }, area = new { @@ -218,6 +230,18 @@ var data = new { plantingProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalMaterial = new { + unit = "", + value = 123.45d, + }, + avgMaterial = new { + unit = "", + value = 123.45d, + }, } }, area = new { diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_HarvestData.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_HarvestData.cs index 49e0a48d7136..998f00531567 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_HarvestData.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_HarvestData.cs @@ -292,6 +292,30 @@ public void Example_CreateOrUpdate_AllParameters() harvestProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalYield = new { + unit = "", + value = 123.45d, + }, + avgYield = new { + unit = "", + value = 123.45d, + }, + avgMoisture = new { + unit = "", + value = 123.45d, + }, + totalWetMass = new { + unit = "", + value = 123.45d, + }, + avgWetMass = new { + unit = "", + value = 123.45d, + }, } }, area = new @@ -419,6 +443,30 @@ public async Task Example_CreateOrUpdate_AllParameters_Async() harvestProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalYield = new { + unit = "", + value = 123.45d, + }, + avgYield = new { + unit = "", + value = 123.45d, + }, + avgMoisture = new { + unit = "", + value = 123.45d, + }, + totalWetMass = new { + unit = "", + value = 123.45d, + }, + avgWetMass = new { + unit = "", + value = 123.45d, + }, } }, area = new diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_PlantingData.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_PlantingData.cs index da73e7a99a30..f4c339a465b7 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_PlantingData.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/tests/Generated/Samples/Samples_PlantingData.cs @@ -175,6 +175,18 @@ public void Example_CreateOrUpdate_AllParameters() plantingProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalMaterial = new { + unit = "", + value = 123.45d, + }, + avgMaterial = new { + unit = "", + value = 123.45d, + }, } }, area = new @@ -275,6 +287,18 @@ public async Task Example_CreateOrUpdate_AllParameters_Async() plantingProductDetails = new[] { new { productName = "", + area = new { + unit = "", + value = 123.45d, + }, + totalMaterial = new { + unit = "", + value = 123.45d, + }, + avgMaterial = new { + unit = "", + value = 123.45d, + }, } }, area = new diff --git a/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/src/Generated/Docs/QuestionAnsweringAuthoringClient.xml b/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/src/Generated/Docs/QuestionAnsweringAuthoringClient.xml index a66b6e41b7ea..727b8b5fc973 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/src/Generated/Docs/QuestionAnsweringAuthoringClient.xml +++ b/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/src/Generated/Docs/QuestionAnsweringAuthoringClient.xml @@ -1144,6 +1144,13 @@ var data = new { activeLearningSuggestions = new[] { new { clusterHead = "", + suggestedQuestions = new[] { + new { + question = "", + userSuggestedCount = 1234, + autoSuggestedCount = 1234, + } + }, } }, } @@ -1259,6 +1266,13 @@ var data = new { activeLearningSuggestions = new[] { new { clusterHead = "", + suggestedQuestions = new[] { + new { + question = "", + userSuggestedCount = 1234, + autoSuggestedCount = 1234, + } + }, } }, } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/tests/Generated/Samples/Samples_QuestionAnsweringAuthoringClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/tests/Generated/Samples/Samples_QuestionAnsweringAuthoringClient.cs index de63192a864e..e1f214c3286c 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/tests/Generated/Samples/Samples_QuestionAnsweringAuthoringClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/tests/Generated/Samples/Samples_QuestionAnsweringAuthoringClient.cs @@ -1351,6 +1351,13 @@ public void Example_Import_AllParameters() activeLearningSuggestions = new[] { new { clusterHead = "", + suggestedQuestions = new[] { + new { + question = "", + userSuggestedCount = 1234, + autoSuggestedCount = 1234, + } + }, } }, } @@ -1466,6 +1473,13 @@ public async Task Example_Import_AllParameters_Async() activeLearningSuggestions = new[] { new { clusterHead = "", + suggestedQuestions = new[] { + new { + question = "", + userSuggestedCount = 1234, + autoSuggestedCount = 1234, + } + }, } }, } diff --git a/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Generated/Docs/DeviceManagementClient.xml b/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Generated/Docs/DeviceManagementClient.xml index 9db3ea297373..f50a0025334d 100644 --- a/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Generated/Docs/DeviceManagementClient.xml +++ b/sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Generated/Docs/DeviceManagementClient.xml @@ -565,6 +565,13 @@ var data = new { isCanceled = true, isRetried = true, rollbackPolicy = new { + update = new { + updateId = new { + provider = "", + name = "", + version = "", + }, + }, failure = new { devicesFailedPercentage = 1234, devicesFailedCount = 1234, @@ -652,6 +659,13 @@ var data = new { isCanceled = true, isRetried = true, rollbackPolicy = new { + update = new { + updateId = new { + provider = "", + name = "", + version = "", + }, + }, failure = new { devicesFailedPercentage = 1234, devicesFailedCount = 1234, diff --git a/sdk/deviceupdate/Azure.IoT.DeviceUpdate/tests/Generated/Samples/Samples_DeviceManagementClient.cs b/sdk/deviceupdate/Azure.IoT.DeviceUpdate/tests/Generated/Samples/Samples_DeviceManagementClient.cs index 742a41cbd2be..bb55a61f73a4 100644 --- a/sdk/deviceupdate/Azure.IoT.DeviceUpdate/tests/Generated/Samples/Samples_DeviceManagementClient.cs +++ b/sdk/deviceupdate/Azure.IoT.DeviceUpdate/tests/Generated/Samples/Samples_DeviceManagementClient.cs @@ -895,6 +895,15 @@ public void Example_CreateOrUpdateDeployment_AllParameters() isRetried = true, rollbackPolicy = new { + update = new + { + updateId = new + { + provider = "", + name = "", + version = "", + }, + }, failure = new { devicesFailedPercentage = 1234, @@ -992,6 +1001,15 @@ public async Task Example_CreateOrUpdateDeployment_AllParameters_Async() isRetried = true, rollbackPolicy = new { + update = new + { + updateId = new + { + provider = "", + name = "", + version = "", + }, + }, failure = new { devicesFailedPercentage = 1234, diff --git a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml index 6829ce2eb059..c2588a0df089 100644 --- a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml +++ b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/src/Generated/Docs/ClinicalMatchingClient.xml @@ -83,6 +83,7 @@ var trialMatcherData = new TrialMatcherData(new PatientRecord[] AcceptedAgeRange = new AcceptedAgeRange() { MinimumAge = new AcceptedAge(AgeUnit.Years, 3.14f), + MaximumAge = new AcceptedAge(AgeUnit.Years, 3.14f), }, }, } @@ -236,6 +237,7 @@ var trialMatcherData = new TrialMatcherData(new PatientRecord[] AcceptedAgeRange = new AcceptedAgeRange() { MinimumAge = new AcceptedAge(AgeUnit.Years, 3.14f), + MaximumAge = new AcceptedAge(AgeUnit.Years, 3.14f), }, }, } diff --git a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs index 92068c243138..69b3ff71b768 100644 --- a/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs +++ b/sdk/healthinsights/Azure.Health.Insights.ClinicalMatching/tests/Generated/Samples/Samples_ClinicalMatchingClient.cs @@ -561,6 +561,7 @@ public async Task Example_MatchTrials_Convenience_Async() AcceptedAgeRange = new AcceptedAgeRange() { MinimumAge = new AcceptedAge(AgeUnit.Years, 3.14f), + MaximumAge = new AcceptedAge(AgeUnit.Years, 3.14f), }, }, } diff --git a/sdk/openai/Azure.AI.OpenAI/src/Generated/Docs/OpenAIClient.xml b/sdk/openai/Azure.AI.OpenAI/src/Generated/Docs/OpenAIClient.xml index a45c18b1a16d..cc12717b11a6 100644 --- a/sdk/openai/Azure.AI.OpenAI/src/Generated/Docs/OpenAIClient.xml +++ b/sdk/openai/Azure.AI.OpenAI/src/Generated/Docs/OpenAIClient.xml @@ -126,6 +126,11 @@ var chatCompletionsOptions = new ChatCompletionsOptions(new ChatMessage[] Parameters = BinaryData.FromString(""), } }, + FunctionCall = new FunctionDefinition("") +{ + Description = "", + Parameters = BinaryData.FromString(""), + }, MaxTokens = 1234, Temperature = 3.14f, NucleusSamplingFactor = 3.14f, @@ -165,6 +170,11 @@ var chatCompletionsOptions = new ChatCompletionsOptions(new ChatMessage[] Parameters = BinaryData.FromString(""), } }, + FunctionCall = new FunctionDefinition("") +{ + Description = "", + Parameters = BinaryData.FromString(""), + }, MaxTokens = 1234, Temperature = 3.14f, NucleusSamplingFactor = 3.14f, diff --git a/sdk/openai/Azure.AI.OpenAI/tests/Generated/Samples/Samples_OpenAIClient.cs b/sdk/openai/Azure.AI.OpenAI/tests/Generated/Samples/Samples_OpenAIClient.cs index eeb1aa2fbdae..74b21f27b07b 100644 --- a/sdk/openai/Azure.AI.OpenAI/tests/Generated/Samples/Samples_OpenAIClient.cs +++ b/sdk/openai/Azure.AI.OpenAI/tests/Generated/Samples/Samples_OpenAIClient.cs @@ -87,6 +87,11 @@ public async Task Example_GetChatCompletions_Convenience_Async() Parameters = BinaryData.FromString(""), } }, + FunctionCall = new FunctionDefinition("") + { + Description = "", + Parameters = BinaryData.FromString(""), + }, MaxTokens = 1234, Temperature = 3.14f, NucleusSamplingFactor = 3.14f, diff --git a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/PurviewResourceSetRule.xml b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/PurviewResourceSetRule.xml index b049c15da2d5..c41035842cca 100644 --- a/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/PurviewResourceSetRule.xml +++ b/sdk/purview/Azure.Analytics.Purview.Account/src/Generated/Docs/PurviewResourceSetRule.xml @@ -286,9 +286,35 @@ var data = new { description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, @@ -499,9 +525,35 @@ var data = new { description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, diff --git a/sdk/purview/Azure.Analytics.Purview.Account/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs b/sdk/purview/Azure.Analytics.Purview.Account/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs index eb04a976e1bd..0b2e722f27d9 100644 --- a/sdk/purview/Azure.Analytics.Purview.Account/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs +++ b/sdk/purview/Azure.Analytics.Purview.Account/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs @@ -336,9 +336,35 @@ public void Example_CreateOrUpdateResourceSetRule_AllParameters() description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, @@ -554,9 +580,35 @@ public async Task Example_CreateOrUpdateResourceSetRule_AllParameters_Async() description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, diff --git a/sdk/purview/Azure.Analytics.Purview.Administration/src/Generated/Docs/PurviewResourceSetRule.xml b/sdk/purview/Azure.Analytics.Purview.Administration/src/Generated/Docs/PurviewResourceSetRule.xml index b049c15da2d5..c41035842cca 100644 --- a/sdk/purview/Azure.Analytics.Purview.Administration/src/Generated/Docs/PurviewResourceSetRule.xml +++ b/sdk/purview/Azure.Analytics.Purview.Administration/src/Generated/Docs/PurviewResourceSetRule.xml @@ -286,9 +286,35 @@ var data = new { description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, @@ -499,9 +525,35 @@ var data = new { description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, diff --git a/sdk/purview/Azure.Analytics.Purview.Administration/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs b/sdk/purview/Azure.Analytics.Purview.Administration/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs index 7373bdbd3f05..8a1e5720b9f7 100644 --- a/sdk/purview/Azure.Analytics.Purview.Administration/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs +++ b/sdk/purview/Azure.Analytics.Purview.Administration/tests/Generated/Samples/Samples_PurviewResourceSetRule.cs @@ -336,9 +336,35 @@ public void Example_CreateOrUpdateResourceSetRule_AllParameters() description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, @@ -554,9 +580,35 @@ public async Task Example_CreateOrUpdateResourceSetRule_AllParameters_Async() description = "", disabled = true, disableRecursiveReplacerApplication = true, + doNotReplaceRegex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, lastUpdatedTimestamp = 1234L, modifiedBy = "", name = "", + regex = new { + maxDigits = 1234, + maxLetters = 1234, + minDashes = 1234, + minDigits = 1234, + minDigitsOrLetters = 1234, + minDots = 1234, + minHex = 1234, + minLetters = 1234, + minUnderscores = 1234, + options = 1234, + regexStr = "", + }, replaceWith = "", } }, diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCatalogClient.xml b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCatalogClient.xml index 3d32c0808440..5bbc01db73e9 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCatalogClient.xml +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCatalogClient.xml @@ -38,6 +38,11 @@ var data = new { assetTypes = new[] { "" }, + facet = new { + count = 1234, + facet = "", + sort = new {}, + }, }, }; @@ -121,6 +126,11 @@ var data = new { assetTypes = new[] { "" }, + facet = new { + count = 1234, + facet = "", + sort = new {}, + }, }, }; diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCollections.xml b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCollections.xml index ac693bc0c4fa..5ab2d6479cef 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCollections.xml +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewCollections.xml @@ -107,6 +107,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -118,6 +141,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -323,6 +360,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -334,6 +394,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -541,6 +615,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -552,6 +649,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -759,6 +870,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -770,6 +904,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewEntities.xml b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewEntities.xml index 0053ea79c7d7..106a5804c668 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewEntities.xml +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewEntities.xml @@ -107,6 +107,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -118,6 +141,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -323,6 +360,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -334,6 +394,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -741,6 +815,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -752,6 +849,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -959,6 +1070,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -970,6 +1104,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -2407,6 +2555,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -2418,6 +2589,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { @@ -2623,6 +2808,29 @@ var data = new { businessAttributes = new { key = new {}, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new { @@ -2634,6 +2842,20 @@ var data = new { labels = new[] { "" }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } + }, provenanceType = 123.45f, proxy = true, relationshipAttributes = new { diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewGlossaries.xml b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewGlossaries.xml index f7c970aa0ad2..f76f485a0206 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewGlossaries.xml +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewGlossaries.xml @@ -187,6 +187,23 @@ var data = new { templateName = new[] { new {} }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, createTime = 123.45f, createdBy = "", updateTime = 123.45f, @@ -220,6 +237,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -248,10 +272,177 @@ var data = new { status = "DRAFT", } }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, examples = new[] { "" }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, longDescription = "", name = "", qualifiedName = "", @@ -288,6 +479,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -439,6 +637,23 @@ var data = new { templateName = new[] { new {} }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, createTime = 123.45f, createdBy = "", updateTime = 123.45f, @@ -472,6 +687,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -500,58 +722,232 @@ var data = new { status = "DRAFT", } }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, examples = new[] { "" }, - usage = "", - longDescription = "", - name = "", - qualifiedName = "", - shortDescription = "", - lastModifiedTS = "", - guid = "", - }, - }, - categories = new[] { - new { - categoryGuid = "", - description = "", - displayText = "", - parentCategoryGuid = "", - relationGuid = "", - } - }, - language = "", - terms = new[] { - new { - description = "", - displayText = "", - expression = "", - relationGuid = "", - source = "", - status = "DRAFT", - steward = "", - termGuid = "", - } - }, - usage = "", - classifications = new[] { - new { - entityGuid = "", - entityStatus = "ACTIVE", - removePropagationsOnEntityDelete = true, - source = "", - sourceDetails = new { - key = new {}, - }, - attributes = new { - key = new {}, - }, - typeName = "", - lastModifiedTS = "", - } - }, - longDescription = "", + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + language = "", + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", name = "", qualifiedName = "", shortDescription = "", @@ -1943,6 +2339,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -2386,6 +2789,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -3165,6 +3575,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -3608,6 +4025,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -4454,6 +4878,13 @@ var data = new[] { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -4901,6 +5332,13 @@ var data = new[] { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -5655,16 +6093,33 @@ var data = new { templateName = new[] { new {} }, - createTime = 123.45f, - createdBy = "", - updateTime = 123.45f, - updatedBy = "", - status = "Draft", - resources = new[] { - new { - displayName = "", - url = "", - } + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } }, contacts = new { key = new[] { @@ -5688,6 +6143,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -5716,10 +6178,177 @@ var data = new { status = "DRAFT", } }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, examples = new[] { "" }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, longDescription = "", name = "", qualifiedName = "", @@ -5756,6 +6385,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -5907,6 +6543,23 @@ var data = new { templateName = new[] { new {} }, + anchor = new { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, createTime = 123.45f, createdBy = "", updateTime = 123.45f, @@ -5940,6 +6593,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -5968,10 +6628,177 @@ var data = new { status = "DRAFT", } }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, examples = new[] { "" }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, longDescription = "", name = "", qualifiedName = "", @@ -6008,6 +6835,13 @@ var data = new { entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewRelationships.xml b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewRelationships.xml index c57449bbb2bf..87eb635d0750 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewRelationships.xml +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewRelationships.xml @@ -62,6 +62,27 @@ var data = new { displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", @@ -171,6 +192,27 @@ var data = new { displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", @@ -280,6 +322,27 @@ var data = new { displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", @@ -389,6 +452,27 @@ var data = new { displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewTypes.xml b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewTypes.xml index 272a37c553fe..b6068bd89646 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewTypes.xml +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/Docs/PurviewTypes.xml @@ -2498,9 +2498,66 @@ var data = new { superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -2528,6 +2585,42 @@ var data = new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -2546,6 +2639,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -2573,6 +2695,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -2607,9 +2758,66 @@ var data = new { }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -2626,31 +2834,145 @@ var data = new { }, structDefs = new[] { new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - termTemplateDefs = new[] { - new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", - description = "", - guid = "", - name = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", options = new { key = "", }, @@ -3112,9 +3434,66 @@ var data = new { superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3142,6 +3521,42 @@ var data = new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -3160,6 +3575,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3187,32 +3631,61 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - relationshipDefs = new[] { - new { - endDef1 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - endDef2 = new { - cardinality = "SINGLE", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", description = "", isContainer = true, isLegacyAttribute = true, @@ -3221,9 +3694,66 @@ var data = new { }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3240,9 +3770,66 @@ var data = new { }, structDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3259,9 +3846,66 @@ var data = new { }, termTemplateDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3726,39 +4370,132 @@ var data = new { superTypes = new[] { "" }, - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - entityDefs = new[] { - new { - subTypes = new[] { - "" - }, - superTypes = new[] { - "" - }, - relationshipAttributeDefs = new[] { + attributeDefs = new[] { new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", - defaultValue = "", - description = "", - includeInNotification = true, + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, isIndexable = true, isOptional = true, isUnique = true, @@ -3774,6 +4511,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3801,6 +4567,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3835,28 +4630,66 @@ var data = new { }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - structDefs = new[] { - new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3871,11 +4704,144 @@ var data = new { lastModifiedTS = "", } }, - termTemplateDefs = new[] { + structDefs = new[] { new { - category = "PRIMITIVE", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4340,9 +5306,66 @@ var data = new { superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4370,6 +5393,42 @@ var data = new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -4388,6 +5447,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4415,6 +5503,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4449,9 +5566,66 @@ var data = new { }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4468,9 +5642,66 @@ var data = new { }, structDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4487,9 +5718,66 @@ var data = new { }, termTemplateDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4845,9 +6133,609 @@ Console.WriteLine(result.GetProperty("termTemplateDefs")[0].GetProperty("lastMod ]]> - + + +This sample shows how to call DeleteTypeDefinitionsAsync. +"); +var client = new PurviewCatalogClient(endpoint, credential).GetPurviewTypesClient(); + +var data = new {}; + +Response response = await client.DeleteTypeDefinitionsAsync(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> +This sample shows how to call DeleteTypeDefinitionsAsync with all request content. +"); +var client = new PurviewCatalogClient(endpoint, credential).GetPurviewTypesClient(); + +var data = new { + businessMetadataDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, +}; + +Response response = await client.DeleteTypeDefinitionsAsync(RequestContent.Create(data)); +Console.WriteLine(response.Status); +]]> + + + -This sample shows how to call DeleteTypeDefinitionsAsync. +This sample shows how to call DeleteTypeDefinitions. "); @@ -4855,10 +6743,10 @@ var client = new PurviewCatalogClient(endpoint, credential).GetPurviewTypesClien var data = new {}; -Response response = await client.DeleteTypeDefinitionsAsync(RequestContent.Create(data)); +Response response = client.DeleteTypeDefinitions(RequestContent.Create(data)); Console.WriteLine(response.Status); ]]> -This sample shows how to call DeleteTypeDefinitionsAsync with all request content. +This sample shows how to call DeleteTypeDefinitions with all request content. "); @@ -4952,9 +6840,66 @@ var data = new { superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4982,6 +6927,42 @@ var data = new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -5000,6 +6981,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5027,6 +7037,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5041,110 +7080,26 @@ var data = new { lastModifiedTS = "", } }, - relationshipDefs = new[] { - new { - endDef1 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - endDef2 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - relationshipCategory = "ASSOCIATION", - relationshipLabel = "", - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - structDefs = new[] { - new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - termTemplateDefs = new[] { - new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, -}; - -Response response = await client.DeleteTypeDefinitionsAsync(RequestContent.Create(data)); -Console.WriteLine(response.Status); -]]> - - - - -This sample shows how to call DeleteTypeDefinitions. -"); -var client = new PurviewCatalogClient(endpoint, credential).GetPurviewTypesClient(); - -var data = new {}; - -Response response = client.DeleteTypeDefinitions(RequestContent.Create(data)); -Console.WriteLine(response.Status); -]]> -This sample shows how to call DeleteTypeDefinitions with all request content. -"); -var client = new PurviewCatalogClient(endpoint, credential).GetPurviewTypesClient(); - -var data = new { - businessMetadataDefs = new[] { + relationshipDefs = new[] { new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", attributeDefs = new[] { new { isLegacyAttribute = true, @@ -5219,47 +7174,21 @@ var data = new { lastModifiedTS = "", } }, - classificationDefs = new[] { - new { - entityTypes = new[] { - "" - }, - subTypes = new[] { - "" - }, - superTypes = new[] { - "" - }, - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - entityDefs = new[] { + structDefs = new[] { new { - subTypes = new[] { - "" - }, - superTypes = new[] { - "" - }, - relationshipAttributeDefs = new[] { + attributeDefs = new[] { new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -5278,6 +7207,35 @@ var data = new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5292,94 +7250,68 @@ var data = new { lastModifiedTS = "", } }, - enumDefs = new[] { + termTemplateDefs = new[] { new { - defaultValue = "", - elementDefs = new[] { + attributeDefs = new[] { new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", description = "", - ordinal = 123.45f, - value = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, } }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - relationshipDefs = new[] { - new { - endDef1 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - endDef2 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - relationshipCategory = "ASSOCIATION", - relationshipLabel = "", - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - structDefs = new[] { - new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - termTemplateDefs = new[] { - new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", description = "", guid = "", name = "", diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCatalogClient.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCatalogClient.cs index 3c0715bb34c7..5cdcfdec318c 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCatalogClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCatalogClient.cs @@ -61,6 +61,12 @@ public void Example_Search_AllParameters() assetTypes = new[] { "" }, + facet = new + { + count = 1234, + facet = "", + sort = new { }, + }, }, }; @@ -148,6 +154,12 @@ public async Task Example_Search_AllParameters_Async() assetTypes = new[] { "" }, + facet = new + { + count = 1234, + facet = "", + sort = new { }, + }, }, }; diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCollections.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCollections.cs index a2ff6192298a..68469ca6f627 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCollections.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewCollections.cs @@ -139,6 +139,29 @@ public void Example_CreateOrUpdateEntity_AllParameters() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -150,6 +173,20 @@ public void Example_CreateOrUpdateEntity_AllParameters() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -373,6 +410,29 @@ public async Task Example_CreateOrUpdateEntity_AllParameters_Async() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -384,6 +444,20 @@ public async Task Example_CreateOrUpdateEntity_AllParameters_Async() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -602,6 +676,29 @@ public void Example_CreateOrUpdateEntityInBulk_AllParameters() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -613,6 +710,20 @@ public void Example_CreateOrUpdateEntityInBulk_AllParameters() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -831,6 +942,29 @@ public async Task Example_CreateOrUpdateEntityInBulk_AllParameters_Async() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -842,6 +976,20 @@ public async Task Example_CreateOrUpdateEntityInBulk_AllParameters_Async() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewEntities.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewEntities.cs index 85ffef3d79b4..71737b156057 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewEntities.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewEntities.cs @@ -139,6 +139,29 @@ public void Example_CreateOrUpdate_AllParameters() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -150,6 +173,20 @@ public void Example_CreateOrUpdate_AllParameters() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -373,6 +410,29 @@ public async Task Example_CreateOrUpdate_AllParameters_Async() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -384,6 +444,20 @@ public async Task Example_CreateOrUpdate_AllParameters_Async() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -828,6 +902,29 @@ public void Example_CreateOrUpdateEntities_AllParameters() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -839,6 +936,20 @@ public void Example_CreateOrUpdateEntities_AllParameters() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -1057,6 +1168,29 @@ public async Task Example_CreateOrUpdateEntities_AllParameters_Async() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -1068,6 +1202,20 @@ public async Task Example_CreateOrUpdateEntities_AllParameters_Async() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -2803,6 +2951,29 @@ public void Example_PartialUpdateEntityByUniqueAttributes_AllParameters() { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -2814,6 +2985,20 @@ public void Example_PartialUpdateEntityByUniqueAttributes_AllParameters() isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, @@ -3037,6 +3222,29 @@ public async Task Example_PartialUpdateEntityByUniqueAttributes_AllParameters_As { key = new { }, }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, createTime = 123.45f, createdBy = "", customAttributes = new @@ -3048,6 +3256,20 @@ public async Task Example_PartialUpdateEntityByUniqueAttributes_AllParameters_As isIncomplete = true, labels = new[] { "" + }, + meanings = new[] { + new { + confidence = 1234, + createdBy = "", + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DISCOVERED", + steward = "", + termGuid = "", + } }, provenanceType = 123.45f, proxy = true, diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewGlossaries.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewGlossaries.cs index e87919def70d..762a32794b0c 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewGlossaries.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewGlossaries.cs @@ -240,6 +240,24 @@ public void Example_CreateGlossary_AllParameters() abbreviation = "", templateName = new[] { new {} + }, + anchor = new + { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, createTime = 123.45f, createdBy = "", @@ -277,6 +295,13 @@ public void Example_CreateGlossary_AllParameters() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -304,11 +329,178 @@ public void Example_CreateGlossary_AllParameters() relationGuid = "", status = "DRAFT", } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, examples = new[] { "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, longDescription = "", name = "", qualifiedName = "", @@ -345,6 +537,13 @@ public void Example_CreateGlossary_AllParameters() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -504,6 +703,24 @@ public async Task Example_CreateGlossary_AllParameters_Async() abbreviation = "", templateName = new[] { new {} + }, + anchor = new + { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, createTime = 123.45f, createdBy = "", @@ -541,6 +758,13 @@ public async Task Example_CreateGlossary_AllParameters_Async() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -568,57 +792,231 @@ public async Task Example_CreateGlossary_AllParameters_Async() relationGuid = "", status = "DRAFT", } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, examples = new[] { "" }, - usage = "", - longDescription = "", - name = "", - qualifiedName = "", - shortDescription = "", - lastModifiedTS = "", - guid = "", - }, - }, - categories = new[] { - new { - categoryGuid = "", - description = "", - displayText = "", - parentCategoryGuid = "", - relationGuid = "", - } - }, - language = "", - terms = new[] { - new { - description = "", - displayText = "", - expression = "", - relationGuid = "", - source = "", - status = "DRAFT", - steward = "", - termGuid = "", - } - }, - usage = "", - classifications = new[] { - new { - entityGuid = "", - entityStatus = "ACTIVE", - removePropagationsOnEntityDelete = true, - source = "", - sourceDetails = new { - key = new {}, - }, - attributes = new { - key = new {}, - }, - typeName = "", - lastModifiedTS = "", - } + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, + longDescription = "", + name = "", + qualifiedName = "", + shortDescription = "", + lastModifiedTS = "", + guid = "", + }, + }, + categories = new[] { + new { + categoryGuid = "", + description = "", + displayText = "", + parentCategoryGuid = "", + relationGuid = "", + } + }, + language = "", + terms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + usage = "", + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } }, longDescription = "", name = "", @@ -2211,6 +2609,13 @@ public void Example_CreateGlossaryTerm_AllParameters() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -2661,6 +3066,13 @@ public async Task Example_CreateGlossaryTerm_AllParameters_Async() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -3473,6 +3885,13 @@ public void Example_UpdateGlossaryTerm_AllParameters() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -3923,6 +4342,13 @@ public async Task Example_UpdateGlossaryTerm_AllParameters_Async() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -4801,6 +5227,13 @@ public void Example_CreateGlossaryTerms_AllParameters() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -5250,6 +5683,13 @@ public async Task Example_CreateGlossaryTerms_AllParameters_Async() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -6181,22 +6621,40 @@ public void Example_UpdateGlossary_AllParameters() templateName = new[] { new {} }, - createTime = 123.45f, - createdBy = "", - updateTime = 123.45f, - updatedBy = "", - status = "Draft", - resources = new[] { - new { - displayName = "", - url = "", - } - }, - contacts = new + anchor = new { - key = new[] { - new { - id = "", + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + createTime = 123.45f, + createdBy = "", + updateTime = 123.45f, + updatedBy = "", + status = "Draft", + resources = new[] { + new { + displayName = "", + url = "", + } + }, + contacts = new + { + key = new[] { + new { + id = "", info = "", } }, @@ -6217,6 +6675,13 @@ public void Example_UpdateGlossary_AllParameters() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -6244,11 +6709,178 @@ public void Example_UpdateGlossary_AllParameters() relationGuid = "", status = "DRAFT", } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, examples = new[] { "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, longDescription = "", name = "", qualifiedName = "", @@ -6285,6 +6917,13 @@ public void Example_UpdateGlossary_AllParameters() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -6444,6 +7083,24 @@ public async Task Example_UpdateGlossary_AllParameters_Async() abbreviation = "", templateName = new[] { new {} + }, + anchor = new + { + displayText = "", + glossaryGuid = "", + relationGuid = "", + }, + antonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, createTime = 123.45f, createdBy = "", @@ -6481,6 +7138,13 @@ public async Task Example_UpdateGlossary_AllParameters_Async() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, @@ -6508,11 +7172,178 @@ public async Task Example_UpdateGlossary_AllParameters_Async() relationGuid = "", status = "DRAFT", } + }, + classifies = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, examples = new[] { "" + }, + isA = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + preferredToTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacedBy = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + replacementTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + seeAlso = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + synonyms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translatedTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + translationTerms = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } }, usage = "", + validValues = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + validValuesFor = new[] { + new { + description = "", + displayText = "", + expression = "", + relationGuid = "", + source = "", + status = "DRAFT", + steward = "", + termGuid = "", + } + }, + classifications = new[] { + new { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new { + key = new {}, + }, + attributes = new { + key = new {}, + }, + typeName = "", + lastModifiedTS = "", + } + }, longDescription = "", name = "", qualifiedName = "", @@ -6549,6 +7380,13 @@ public async Task Example_UpdateGlossary_AllParameters_Async() entityGuid = "", entityStatus = "ACTIVE", removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, source = "", sourceDetails = new { key = new {}, diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewRelationships.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewRelationships.cs index 88ddf2d8bdfe..b3758165686e 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewRelationships.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewRelationships.cs @@ -90,6 +90,30 @@ public void Example_Create_AllParameters() displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new + { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new + { + key = new { }, + }, + attributes = new + { + key = new { }, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", @@ -210,6 +234,30 @@ public async Task Example_Create_AllParameters_Async() displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new + { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new + { + key = new { }, + }, + attributes = new + { + key = new { }, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", @@ -330,6 +378,30 @@ public void Example_Update_AllParameters() displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new + { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new + { + key = new { }, + }, + attributes = new + { + key = new { }, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", @@ -450,6 +522,30 @@ public async Task Example_Update_AllParameters_Async() displayText = "", entityStatus = "ACTIVE", relationshipType = "", + relationshipAttributes = new + { + entityGuid = "", + entityStatus = "ACTIVE", + removePropagationsOnEntityDelete = true, + validityPeriods = new[] { + new { + endTime = "", + startTime = "", + timeZone = "", + } + }, + source = "", + sourceDetails = new + { + key = new { }, + }, + attributes = new + { + key = new { }, + }, + typeName = "", + lastModifiedTS = "", + }, relationshipGuid = "", relationshipStatus = "ACTIVE", guid = "", diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewTypes.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewTypes.cs index ca4d5f1cc22a..050ca3f65204 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewTypes.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/tests/Generated/Samples/Samples_PurviewTypes.cs @@ -2932,9 +2932,66 @@ public void Example_CreateTypeDefinitions_AllParameters() superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -2962,6 +3019,42 @@ public void Example_CreateTypeDefinitions_AllParameters() isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -2980,6 +3073,35 @@ public void Example_CreateTypeDefinitions_AllParameters() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3007,6 +3129,35 @@ public void Example_CreateTypeDefinitions_AllParameters() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3041,9 +3192,66 @@ public void Example_CreateTypeDefinitions_AllParameters() }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3060,31 +3268,145 @@ public void Example_CreateTypeDefinitions_AllParameters() }, structDefs = new[] { new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - termTemplateDefs = new[] { - new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", - description = "", - guid = "", - name = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", options = new { key = "", }, @@ -3549,9 +3871,66 @@ public async Task Example_CreateTypeDefinitions_AllParameters_Async() superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3579,6 +3958,42 @@ public async Task Example_CreateTypeDefinitions_AllParameters_Async() isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -3597,6 +4012,35 @@ public async Task Example_CreateTypeDefinitions_AllParameters_Async() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3624,32 +4068,61 @@ public async Task Example_CreateTypeDefinitions_AllParameters_Async() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - relationshipDefs = new[] { - new { - endDef1 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - endDef2 = new { - cardinality = "SINGLE", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", description = "", isContainer = true, isLegacyAttribute = true, @@ -3658,9 +4131,66 @@ public async Task Example_CreateTypeDefinitions_AllParameters_Async() }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3677,9 +4207,66 @@ public async Task Example_CreateTypeDefinitions_AllParameters_Async() }, structDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -3696,9 +4283,66 @@ public async Task Example_CreateTypeDefinitions_AllParameters_Async() }, termTemplateDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4166,39 +4810,132 @@ public void Example_UpdateAtlasTypeDefinitions_AllParameters() superTypes = new[] { "" }, - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - entityDefs = new[] { - new { - subTypes = new[] { - "" - }, - superTypes = new[] { - "" - }, - relationshipAttributeDefs = new[] { + attributeDefs = new[] { new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", - defaultValue = "", - description = "", - includeInNotification = true, + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, isIndexable = true, isOptional = true, isUnique = true, @@ -4214,6 +4951,35 @@ public void Example_UpdateAtlasTypeDefinitions_AllParameters() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4241,6 +5007,35 @@ public void Example_UpdateAtlasTypeDefinitions_AllParameters() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4275,28 +5070,66 @@ public void Example_UpdateAtlasTypeDefinitions_AllParameters() }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - structDefs = new[] { - new { category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4311,11 +5144,144 @@ public void Example_UpdateAtlasTypeDefinitions_AllParameters() lastModifiedTS = "", } }, - termTemplateDefs = new[] { + structDefs = new[] { new { - category = "PRIMITIVE", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4783,9 +5749,66 @@ public async Task Example_UpdateAtlasTypeDefinitions_AllParameters_Async() superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4813,6 +5836,42 @@ public async Task Example_UpdateAtlasTypeDefinitions_AllParameters_Async() isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -4831,6 +5890,35 @@ public async Task Example_UpdateAtlasTypeDefinitions_AllParameters_Async() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4858,6 +5946,35 @@ public async Task Example_UpdateAtlasTypeDefinitions_AllParameters_Async() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4892,9 +6009,66 @@ public async Task Example_UpdateAtlasTypeDefinitions_AllParameters_Async() }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4911,9 +6085,66 @@ public async Task Example_UpdateAtlasTypeDefinitions_AllParameters_Async() }, structDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -4930,9 +6161,66 @@ public async Task Example_UpdateAtlasTypeDefinitions_AllParameters_Async() }, termTemplateDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5387,47 +6675,442 @@ public void Example_DeleteTypeDefinitions_AllParameters() lastModifiedTS = "", } }, - classificationDefs = new[] { - new { - entityTypes = new[] { - "" - }, - subTypes = new[] { - "" - }, - superTypes = new[] { - "" - }, - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - entityDefs = new[] { + classificationDefs = new[] { + new { + entityTypes = new[] { + "" + }, + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + entityDefs = new[] { + new { + subTypes = new[] { + "" + }, + superTypes = new[] { + "" + }, + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + enumDefs = new[] { + new { + defaultValue = "", + elementDefs = new[] { + new { + description = "", + ordinal = 123.45f, + value = "", + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + relationshipDefs = new[] { + new { + endDef1 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + endDef2 = new { + cardinality = "SINGLE", + description = "", + isContainer = true, + isLegacyAttribute = true, + name = "", + type = "", + }, + relationshipCategory = "ASSOCIATION", + relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + structDefs = new[] { + new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + category = "PRIMITIVE", + createTime = 123.45f, + createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, + description = "", + guid = "", + name = "", + options = new { + key = "", + }, + serviceType = "", + typeVersion = "", + updateTime = 123.45f, + updatedBy = "", + version = 123.45f, + lastModifiedTS = "", + } + }, + termTemplateDefs = new[] { new { - subTypes = new[] { - "" - }, - superTypes = new[] { - "" - }, - relationshipAttributeDefs = new[] { + attributeDefs = new[] { new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -5446,108 +7129,35 @@ public void Example_DeleteTypeDefinitions_AllParameters() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - enumDefs = new[] { - new { - defaultValue = "", - elementDefs = new[] { - new { - description = "", - ordinal = 123.45f, - value = "", - } - }, - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - relationshipDefs = new[] { - new { - endDef1 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - endDef2 = new { - cardinality = "SINGLE", - description = "", - isContainer = true, - isLegacyAttribute = true, - name = "", - type = "", - }, - relationshipCategory = "ASSOCIATION", - relationshipLabel = "", - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", - }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - structDefs = new[] { - new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", - description = "", - guid = "", - name = "", - options = new { - key = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, }, - serviceType = "", - typeVersion = "", - updateTime = 123.45f, - updatedBy = "", - version = 123.45f, - lastModifiedTS = "", - } - }, - termTemplateDefs = new[] { - new { - category = "PRIMITIVE", - createTime = 123.45f, - createdBy = "", description = "", guid = "", name = "", @@ -5679,9 +7289,66 @@ public async Task Example_DeleteTypeDefinitions_AllParameters_Async() superTypes = new[] { "" }, + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5704,11 +7371,47 @@ public async Task Example_DeleteTypeDefinitions_AllParameters_Async() superTypes = new[] { "" }, - relationshipAttributeDefs = new[] { + relationshipAttributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, + attributeDefs = new[] { new { isLegacyAttribute = true, relationshipTypeName = "", cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, defaultValue = "", description = "", includeInNotification = true, @@ -5727,6 +7430,35 @@ public async Task Example_DeleteTypeDefinitions_AllParameters_Async() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5754,6 +7486,35 @@ public async Task Example_DeleteTypeDefinitions_AllParameters_Async() category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5788,9 +7549,66 @@ public async Task Example_DeleteTypeDefinitions_AllParameters_Async() }, relationshipCategory = "ASSOCIATION", relationshipLabel = "", + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5807,9 +7625,66 @@ public async Task Example_DeleteTypeDefinitions_AllParameters_Async() }, structDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", @@ -5826,9 +7701,66 @@ public async Task Example_DeleteTypeDefinitions_AllParameters_Async() }, termTemplateDefs = new[] { new { + attributeDefs = new[] { + new { + isLegacyAttribute = true, + relationshipTypeName = "", + cardinality = "SINGLE", + constraints = new[] { + new { + @params = new { + key = new {}, + }, + type = "", + } + }, + defaultValue = "", + description = "", + includeInNotification = true, + isIndexable = true, + isOptional = true, + isUnique = true, + name = "", + options = new { + key = "", + }, + typeName = "", + valuesMaxCount = 1234, + valuesMinCount = 1234, + } + }, category = "PRIMITIVE", createTime = 123.45f, createdBy = "", + dateFormatter = new { + availableLocales = new[] { + "" + }, + calendar = 123.45f, + lenient = true, + numberFormat = new { + availableLocales = new[] { + "" + }, + currency = "", + groupingUsed = true, + maximumFractionDigits = 1234, + maximumIntegerDigits = 1234, + minimumFractionDigits = 1234, + minimumIntegerDigits = 1234, + parseIntegerOnly = true, + roundingMode = "UP", + }, + timeZone = new { + dstSavings = 1234, + id = "", + availableIds = new[] { + "" + }, + displayName = "", + rawOffset = 1234, + }, + }, description = "", guid = "", name = "", diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/Docs/PurviewScanClient.xml b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/Docs/PurviewScanClient.xml index 7c2c462b2b49..c3b3bb0198fc 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/Docs/PurviewScanClient.xml +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/Docs/PurviewScanClient.xml @@ -170,102 +170,477 @@ var data = new { AzureSubscription = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureResourceGroup = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSynapseWorkspace = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSynapse = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AdlsGen1 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AdlsGen2 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonAccount = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonS3 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureCosmosDb = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureDataExplorer = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureFileService = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonPostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzurePostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, SqlServerDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabaseManagedInstance = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDataWarehouse = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureMySql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureStorage = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, Teradata = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, Oracle = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, SapS4Hana = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, SapEcc = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, PowerBI = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, }, credential = new { @@ -365,105 +740,480 @@ var data = new { credentialType = "AccountKey", }, }, - AzureSubscription = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AzureResourceGroup = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AzureSynapseWorkspace = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AzureSynapse = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AdlsGen1 = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AdlsGen2 = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AmazonAccount = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AmazonS3 = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AmazonSql = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AzureCosmosDb = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, - AzureDataExplorer = new { - scanRulesetName = "", - scanRulesetType = "Custom", - }, + AzureSubscription = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureResourceGroup = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSynapseWorkspace = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureSynapse = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AdlsGen1 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AdlsGen2 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonAccount = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonS3 = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AmazonSql = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureCosmosDb = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, + AzureDataExplorer = new { + scanRulesetName = "", + scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, + }, AzureFileService = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonPostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzurePostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, SqlServerDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabaseManagedInstance = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDataWarehouse = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureMySql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureStorage = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, Teradata = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, Oracle = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, SapS4Hana = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, SapEcc = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, PowerBI = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new { + referenceName = "", + credentialType = "AccountKey", + }, }, }, credential = new { diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/tests/Generated/Samples/Samples_PurviewScanClient.cs b/sdk/purview/Azure.Analytics.Purview.Scanning/tests/Generated/Samples/Samples_PurviewScanClient.cs index e2377a489554..119c5cd84642 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/tests/Generated/Samples/Samples_PurviewScanClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/tests/Generated/Samples/Samples_PurviewScanClient.cs @@ -233,126 +233,551 @@ public void Example_CreateOrUpdate_AllParameters() { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureResourceGroup = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSynapseWorkspace = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSynapse = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AdlsGen1 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AdlsGen2 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonAccount = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonS3 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureCosmosDb = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureDataExplorer = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureFileService = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonPostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzurePostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, SqlServerDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabaseManagedInstance = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDataWarehouse = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureMySql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureStorage = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, Teradata = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, Oracle = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, SapS4Hana = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, SapEcc = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, PowerBI = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, }, credential = new @@ -468,126 +893,551 @@ public async Task Example_CreateOrUpdate_AllParameters_Async() { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureResourceGroup = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSynapseWorkspace = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSynapse = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AdlsGen1 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AdlsGen2 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonAccount = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonS3 = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureCosmosDb = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureDataExplorer = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureFileService = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AmazonPostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzurePostgreSql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, SqlServerDatabase = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDatabaseManagedInstance = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureSqlDataWarehouse = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureMySql = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, AzureStorage = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, Teradata = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, Oracle = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, SapS4Hana = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, SapEcc = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, PowerBI = new { scanRulesetName = "", scanRulesetType = "Custom", + resourceNameFilter = new + { + excludePrefixes = new[] { + "" + }, + includePrefixes = new[] { + "" + }, + resources = new[] { + "" + }, + }, + credential = new + { + referenceName = "", + credentialType = "AccountKey", + }, }, }, credential = new