From d79232f7e20793dd7156743674858b3bf77fdf4b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 9 Jul 2024 02:52:21 +0000 Subject: [PATCH] CodeGen from PR 29707 in Azure/azure-rest-api-specs Merge bd246a654089bc08bbb99f1dbf2c35755a51e40b into cbbe228fd422db02b65e2748f83df5f2bcad7581 --- ...nalytics.Purview.DataMap.netstandard2.0.cs | 84 +++++----- .../src/Generated/Discovery.cs | 60 +++---- .../src/Generated/Docs/Discovery.xml | 48 +++--- .../src/Generated/Docs/Entity.xml | 112 ++++++------- .../src/Generated/Docs/Glossary.xml | 96 +++++------ .../src/Generated/Docs/Relationship.xml | 32 ++-- .../src/Generated/Docs/TypeDefinition.xml | 48 +++--- .../src/Generated/Entity.cs | 158 ++++++++---------- .../src/Generated/Glossary.cs | 152 ++++++++--------- .../src/Generated/Relationship.cs | 40 ++--- .../src/Generated/TypeDefinition.cs | 80 ++++----- .../Generated/Samples/Samples_Discovery.cs | 48 +++--- .../tests/Generated/Samples/Samples_Entity.cs | 112 ++++++------- .../Generated/Samples/Samples_Glossary.cs | 96 +++++------ .../Generated/Samples/Samples_Relationship.cs | 32 ++-- .../Samples/Samples_TypeDefinition.cs | 48 +++--- .../tsp-location.yaml | 7 +- .../tsp-location.yaml | 5 +- 18 files changed, 605 insertions(+), 653 deletions(-) diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs index 8e40619b670c..5cf2cc1999ad 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs @@ -1001,26 +1001,26 @@ public partial class Discovery { protected Discovery() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response AutoComplete(Azure.Analytics.Purview.DataMap.AutoCompleteConfig autoCompleteConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AutoComplete(Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response AutoComplete(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> AutoCompleteAsync(Azure.Analytics.Purview.DataMap.AutoCompleteConfig autoCompleteConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AutoCompleteAsync(Azure.Analytics.Purview.DataMap.AutoCompleteConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AutoCompleteAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response Query(Azure.Analytics.Purview.DataMap.QueryConfig queryConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Query(Azure.Analytics.Purview.DataMap.QueryConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Query(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> QueryAsync(Azure.Analytics.Purview.DataMap.QueryConfig queryConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> QueryAsync(Azure.Analytics.Purview.DataMap.QueryConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task QueryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response Suggest(Azure.Analytics.Purview.DataMap.SuggestConfig suggestConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Suggest(Azure.Analytics.Purview.DataMap.SuggestConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Suggest(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> SuggestAsync(Azure.Analytics.Purview.DataMap.SuggestConfig suggestConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SuggestAsync(Azure.Analytics.Purview.DataMap.SuggestConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SuggestAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } public partial class Entity { protected Entity() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response AddClassification(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig classificationAssociateConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AddClassification(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response AddClassification(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig classificationAssociateConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Analytics.Purview.DataMap.ClassificationAssociateConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response AddClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response AddClassifications(string guid, System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1046,9 +1046,9 @@ protected Entity() { } public virtual Azure.Response AddOrUpdateBusinessMetadataAttributes(string guid, string businessMetadataName, System.Collections.Generic.IDictionary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AddOrUpdateBusinessMetadataAttributesAsync(string guid, string businessMetadataName, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task AddOrUpdateBusinessMetadataAttributesAsync(string guid, string businessMetadataName, System.Collections.Generic.IDictionary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response BatchCreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchCreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo body, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchCreateOrUpdate(Azure.Core.RequestContent content, string collectionId = null, string businessAttributeUpdateBehavior = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> BatchCreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> BatchCreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntitiesWithExtInfo body, string collectionId = null, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchCreateOrUpdateAsync(Azure.Core.RequestContent content, string collectionId = null, string businessAttributeUpdateBehavior = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response BatchDelete(System.Collections.Generic.IEnumerable guid, Azure.RequestContext context) { throw null; } public virtual Azure.Response BatchDelete(System.Collections.Generic.IEnumerable guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1058,13 +1058,13 @@ protected Entity() { } public virtual Azure.Response BatchGetByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchGetByUniqueAttributesAsync(string typeName, bool? minExtInfo, bool? ignoreRelationships, string attrNQualifiedName, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task> BatchGetByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response> BatchSetClassifications(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders atlasEntityHeaders, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response> BatchSetClassifications(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchSetClassifications(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task>> BatchSetClassificationsAsync(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders atlasEntityHeaders, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task>> BatchSetClassificationsAsync(Azure.Analytics.Purview.DataMap.AtlasEntityHeaders body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchSetClassificationsAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateOrUpdate(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent content, string businessAttributeUpdateBehavior = null, string collectionId = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = default(Azure.Analytics.Purview.DataMap.BusinessAttributeUpdateBehavior?), string collectionId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent content, string businessAttributeUpdateBehavior = null, string collectionId = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response Delete(string guid, Azure.RequestContext context) { throw null; } public virtual Azure.Response Delete(string guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1102,14 +1102,14 @@ protected Entity() { } public virtual Azure.Response GetHeader(string guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetHeaderAsync(string guid, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task> GetHeaderAsync(string guid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ImportBusinessMetadata(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions businessMetadataOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ImportBusinessMetadata(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response ImportBusinessMetadata(Azure.Core.RequestContent content, string contentType, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response ImportBusinessMetadata(System.BinaryData file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ImportBusinessMetadataAsync(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions businessMetadataOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ImportBusinessMetadataAsync(Azure.Analytics.Purview.DataMap.BusinessMetadataOptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ImportBusinessMetadataAsync(Azure.Core.RequestContent content, string contentType, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response MoveEntitiesToCollection(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig moveEntitiesConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response MoveEntitiesToCollection(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response MoveEntitiesToCollection(string collectionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> MoveEntitiesToCollectionAsync(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig moveEntitiesConfig, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> MoveEntitiesToCollectionAsync(string collectionId, Azure.Analytics.Purview.DataMap.MoveEntitiesConfig body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task MoveEntitiesToCollectionAsync(string collectionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response RemoveBusinessMetadata(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response RemoveBusinessMetadata(string guid, System.Collections.Generic.IDictionary> body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1143,9 +1143,9 @@ protected Entity() { } public virtual Azure.Response UpdateAttributeById(string guid, string name, System.BinaryData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateAttributeByIdAsync(string guid, string name, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAttributeByIdAsync(string guid, string name, System.BinaryData body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateByUniqueAttribute(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateByUniqueAttribute(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attribute = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateByUniqueAttributeAsync(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateByUniqueAttributeAsync(string typeName, Azure.Analytics.Purview.DataMap.AtlasEntityWithExtInfo body, string attribute = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attribute = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response UpdateClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response UpdateClassifications(string guid, System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1198,21 +1198,21 @@ protected Glossary() { } public virtual Azure.Response> BatchGet(int? limit = default(int?), int? offset = default(int?), string sort = null, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchGetAsync(int? limit, int? offset, string sort, bool? ignoreTermsAndCategories, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task>> BatchGetAsync(int? limit = default(int?), int? offset = default(int?), string sort = null, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasGlossary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Create(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasGlossary body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response CreateCategories(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response> CreateCategories(System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateCategoriesAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task>> CreateCategoriesAsync(System.Collections.Generic.IEnumerable body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateCategory(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateCategory(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateCategory(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateCategoryAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateCategoryAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateCategoryAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateTerm(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateTerm(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateTerm(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateTermAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateTermAsync(Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateTermAsync(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Response CreateTerms(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Response> CreateTerms(System.Collections.Generic.IEnumerable body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1288,17 +1288,17 @@ protected Glossary() { } public virtual Azure.Response PartialUpdateTerm(string termId, System.Collections.Generic.IDictionary body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task PartialUpdateTermAsync(string termId, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task> PartialUpdateTermAsync(string termId, System.Collections.Generic.IDictionary body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary body, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Update(string glossaryId, Azure.Core.RequestContent content, bool? ignoreTermsAndCategories = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(string glossaryId, Azure.Analytics.Purview.DataMap.AtlasGlossary body, bool? ignoreTermsAndCategories = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateAsync(string glossaryId, Azure.Core.RequestContent content, bool? ignoreTermsAndCategories = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response UpdateCategory(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateCategory(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateCategory(string categoryId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateCategoryAsync(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory atlasGlossaryCategory, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateCategoryAsync(string categoryId, Azure.Analytics.Purview.DataMap.AtlasGlossaryCategory body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateCategoryAsync(string categoryId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response UpdateTerm(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTerm(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateTerm(string termId, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateTermAsync(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateTermAsync(string termId, Azure.Analytics.Purview.DataMap.AtlasGlossaryTerm body, bool? includeTermHierarchy = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateTermAsync(string termId, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestContext context = null) { throw null; } } public partial class ImportInfo : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -1453,9 +1453,9 @@ public partial class Relationship { protected Relationship() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Create(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Create(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response Delete(string guid, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(string guid, Azure.RequestContext context = null) { throw null; } @@ -1463,9 +1463,9 @@ protected Relationship() { } public virtual Azure.Response GetRelationship(string guid, bool? extendedInfo = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetRelationshipAsync(string guid, bool? extendedInfo, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task> GetRelationshipAsync(string guid, bool? extendedInfo = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Update(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship atlasRelationship, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.Analytics.Purview.DataMap.AtlasRelationship body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -1818,17 +1818,17 @@ public partial class TypeDefinition { protected TypeDefinition() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response BatchCreate(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchCreate(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchCreate(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> BatchCreateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> BatchCreateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchCreateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response BatchDelete(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchDelete(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchDelete(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task BatchDeleteAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task BatchDeleteAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchDeleteAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response BatchUpdate(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response BatchUpdate(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response BatchUpdate(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> BatchUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef atlasTypesDef, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> BatchUpdateAsync(Azure.Analytics.Purview.DataMap.AtlasTypesDef body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task BatchUpdateAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response Delete(string name, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(string name, Azure.RequestContext context = null) { throw null; } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs index 9bda0cb30e05..e4fce86155af 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Discovery.cs @@ -50,30 +50,30 @@ internal Discovery(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, T } /// Get data using search. - /// The search query of advanced search request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> QueryAsync(QueryConfig queryConfig, CancellationToken cancellationToken = default) + public virtual async Task> QueryAsync(QueryConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(queryConfig, nameof(queryConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = queryConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await QueryAsync(content, context).ConfigureAwait(false); return Response.FromValue(QueryResult.FromResponse(response), response); } /// Get data using search. - /// The search query of advanced search request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Query(QueryConfig queryConfig, CancellationToken cancellationToken = default) + public virtual Response Query(QueryConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(queryConfig, nameof(queryConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = queryConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Query(content, context); return Response.FromValue(QueryResult.FromResponse(response), response); @@ -158,30 +158,30 @@ public virtual Response Query(RequestContent content, RequestContext context = n } /// Get search suggestions by query criteria. - /// The payload of suggest request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> SuggestAsync(SuggestConfig suggestConfig, CancellationToken cancellationToken = default) + public virtual async Task> SuggestAsync(SuggestConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(suggestConfig, nameof(suggestConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = suggestConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await SuggestAsync(content, context).ConfigureAwait(false); return Response.FromValue(SuggestResult.FromResponse(response), response); } /// Get search suggestions by query criteria. - /// The payload of suggest request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Suggest(SuggestConfig suggestConfig, CancellationToken cancellationToken = default) + public virtual Response Suggest(SuggestConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(suggestConfig, nameof(suggestConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = suggestConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Suggest(content, context); return Response.FromValue(SuggestResult.FromResponse(response), response); @@ -266,30 +266,30 @@ public virtual Response Suggest(RequestContent content, RequestContext context = } /// Get auto complete options. - /// The payload of autocomplete request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> AutoCompleteAsync(AutoCompleteConfig autoCompleteConfig, CancellationToken cancellationToken = default) + public virtual async Task> AutoCompleteAsync(AutoCompleteConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(autoCompleteConfig, nameof(autoCompleteConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = autoCompleteConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await AutoCompleteAsync(content, context).ConfigureAwait(false); return Response.FromValue(AutoCompleteResult.FromResponse(response), response); } /// Get auto complete options. - /// The payload of autocomplete request. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response AutoComplete(AutoCompleteConfig autoCompleteConfig, CancellationToken cancellationToken = default) + public virtual Response AutoComplete(AutoCompleteConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(autoCompleteConfig, nameof(autoCompleteConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = autoCompleteConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = AutoComplete(content, context); return Response.FromValue(AutoCompleteResult.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml index 1095890f2913..2cf3d5de9374 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig(); -Response response = await client.QueryAsync(queryConfig); +QueryConfig body = new QueryConfig(); +Response response = await client.QueryAsync(body); ]]> This sample shows how to call QueryAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig +QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -41,7 +41,7 @@ QueryConfig queryConfig = new QueryConfig Facet = default, }, }; -Response response = await client.QueryAsync(queryConfig); +Response response = await client.QueryAsync(body); ]]> @@ -52,8 +52,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig(); -Response response = client.Query(queryConfig); +QueryConfig body = new QueryConfig(); +Response response = client.Query(body); ]]> This sample shows how to call Query with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -QueryConfig queryConfig = new QueryConfig +QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -84,7 +84,7 @@ QueryConfig queryConfig = new QueryConfig Facet = default, }, }; -Response response = client.Query(queryConfig); +Response response = client.Query(body); ]]> @@ -313,8 +313,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig(); -Response response = await client.SuggestAsync(suggestConfig); +SuggestConfig body = new SuggestConfig(); +Response response = await client.SuggestAsync(body); ]]> This sample shows how to call SuggestAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig +SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = await client.SuggestAsync(suggestConfig); +Response response = await client.SuggestAsync(body); ]]> @@ -339,8 +339,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig(); -Response response = client.Suggest(suggestConfig); +SuggestConfig body = new SuggestConfig(); +Response response = client.Suggest(body); ]]> This sample shows how to call Suggest with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -SuggestConfig suggestConfig = new SuggestConfig +SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = client.Suggest(suggestConfig); +Response response = client.Suggest(body); ]]> @@ -479,8 +479,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); -Response response = await client.AutoCompleteAsync(autoCompleteConfig); +AutoCompleteConfig body = new AutoCompleteConfig(); +Response response = await client.AutoCompleteAsync(body); ]]> This sample shows how to call AutoCompleteAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig +AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = await client.AutoCompleteAsync(autoCompleteConfig); +Response response = await client.AutoCompleteAsync(body); ]]> @@ -505,8 +505,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); -Response response = client.AutoComplete(autoCompleteConfig); +AutoCompleteConfig body = new AutoCompleteConfig(); +Response response = client.AutoComplete(body); ]]> This sample shows how to call AutoComplete with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); -AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig +AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; -Response response = client.AutoComplete(autoCompleteConfig); +Response response = client.AutoComplete(body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml index 4958aea8ad88..710a1ffe5853 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Entity.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = await client.CreateOrUpdateAsync(body); ]]> This sample shows how to call CreateOrUpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -96,7 +96,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); +Response response = await client.CreateOrUpdateAsync(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); ]]> @@ -107,8 +107,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = client.CreateOrUpdate(atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = client.CreateOrUpdate(body); ]]> This sample shows how to call CreateOrUpdate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -194,7 +194,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = client.CreateOrUpdate(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); +Response response = client.CreateOrUpdate(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); ]]> @@ -795,8 +795,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); -Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo); +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); +Response response = await client.BatchCreateOrUpdateAsync(body); ]]> This sample shows how to call BatchCreateOrUpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -882,7 +882,7 @@ AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo }, Entities = { default }, }; -Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); +Response response = await client.BatchCreateOrUpdateAsync(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); ]]> @@ -893,8 +893,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); -Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo); +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); +Response response = client.BatchCreateOrUpdate(body); ]]> This sample shows how to call BatchCreateOrUpdate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo +AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -980,7 +980,7 @@ AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo }, Entities = { default }, }; -Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); +Response response = client.BatchCreateOrUpdate(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); ]]> @@ -1547,8 +1547,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); -Response response = await client.AddClassificationAsync(classificationAssociateConfig); +ClassificationAssociateConfig body = new ClassificationAssociateConfig(); +Response response = await client.AddClassificationAsync(body); ]]> This sample shows how to call AddClassificationAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig +ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1578,7 +1578,7 @@ ClassificationAssociateConfig classificationAssociateConfig = new Classification }, EntityGuids = { "" }, }; -Response response = await client.AddClassificationAsync(classificationAssociateConfig); +Response response = await client.AddClassificationAsync(body); ]]> @@ -1589,8 +1589,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); -Response response = client.AddClassification(classificationAssociateConfig); +ClassificationAssociateConfig body = new ClassificationAssociateConfig(); +Response response = client.AddClassification(body); ]]> This sample shows how to call AddClassification with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig +ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1620,7 +1620,7 @@ ClassificationAssociateConfig classificationAssociateConfig = new Classification }, EntityGuids = { "" }, }; -Response response = client.AddClassification(classificationAssociateConfig); +Response response = client.AddClassification(body); ]]> @@ -3243,8 +3243,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = await client.UpdateByUniqueAttributeAsync("", body); ]]> This sample shows how to call UpdateByUniqueAttributeAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3330,7 +3330,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo, attribute: ""); +Response response = await client.UpdateByUniqueAttributeAsync("", body, attribute: ""); ]]> @@ -3341,8 +3341,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); -Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo); +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); +Response response = client.UpdateByUniqueAttribute("", body); ]]> This sample shows how to call UpdateByUniqueAttribute with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo +AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3428,7 +3428,7 @@ AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo }, Entity = default, }; -Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo, attribute: ""); +Response response = client.UpdateByUniqueAttribute("", body, attribute: ""); ]]> @@ -4405,8 +4405,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); -Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); +AtlasEntityHeaders body = new AtlasEntityHeaders(); +Response> response = await client.BatchSetClassificationsAsync(body); ]]> This sample shows how to call BatchSetClassificationsAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders +AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4466,7 +4466,7 @@ AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders } }, }; -Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); +Response> response = await client.BatchSetClassificationsAsync(body); ]]> @@ -4477,8 +4477,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); -Response> response = client.BatchSetClassifications(atlasEntityHeaders); +AtlasEntityHeaders body = new AtlasEntityHeaders(); +Response> response = client.BatchSetClassifications(body); ]]> This sample shows how to call BatchSetClassifications with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders +AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4538,7 +4538,7 @@ AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders } }, }; -Response> response = client.BatchSetClassifications(atlasEntityHeaders); +Response> response = client.BatchSetClassifications(body); ]]> @@ -5709,8 +5709,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = await client.ImportBusinessMetadataAsync(body); ]]> This sample shows how to call ImportBusinessMetadataAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = await client.ImportBusinessMetadataAsync(body); ]]> @@ -5730,8 +5730,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = client.ImportBusinessMetadata(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = client.ImportBusinessMetadata(body); ]]> This sample shows how to call ImportBusinessMetadata with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); -BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); -Response response = client.ImportBusinessMetadata(businessMetadataOptions); +BusinessMetadataOptions body = new BusinessMetadataOptions(null); +Response response = client.ImportBusinessMetadata(body); ]]> @@ -6395,8 +6395,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); -Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); +MoveEntitiesConfig body = new MoveEntitiesConfig(); +Response response = await client.MoveEntitiesToCollectionAsync("", body); ]]> This sample shows how to call MoveEntitiesToCollectionAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig +MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; -Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); +Response response = await client.MoveEntitiesToCollectionAsync("", body); ]]> @@ -6419,8 +6419,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); -Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); +MoveEntitiesConfig body = new MoveEntitiesConfig(); +Response response = client.MoveEntitiesToCollection("", body); ]]> This sample shows how to call MoveEntitiesToCollection with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); -MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig +MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; -Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); +Response response = client.MoveEntitiesToCollection("", body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml index 49baec132e30..5a6a48f9976b 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Glossary.xml @@ -161,8 +161,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = await client.CreateAsync(atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = await client.CreateAsync(body); ]]> This sample shows how to call CreateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -221,7 +221,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = await client.CreateAsync(atlasGlossary); +Response response = await client.CreateAsync(body); ]]> @@ -232,8 +232,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = client.Create(atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = client.Create(body); ]]> This sample shows how to call Create with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -292,7 +292,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = client.Create(atlasGlossary); +Response response = client.Create(body); ]]> @@ -979,8 +979,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = await client.CreateCategoryAsync(body); ]]> This sample shows how to call CreateCategoryAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1044,7 +1044,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); +Response response = await client.CreateCategoryAsync(body); ]]> @@ -1055,8 +1055,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = client.CreateCategory(atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = client.CreateCategory(body); ]]> This sample shows how to call CreateCategory with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1120,7 +1120,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = client.CreateCategory(atlasGlossaryCategory); +Response response = client.CreateCategory(body); ]]> @@ -1557,8 +1557,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = await client.UpdateCategoryAsync("", body); ]]> This sample shows how to call UpdateCategoryAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1622,7 +1622,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); +Response response = await client.UpdateCategoryAsync("", body); ]]> @@ -1633,8 +1633,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); -Response response = client.UpdateCategory("", atlasGlossaryCategory); +AtlasGlossaryCategory body = new AtlasGlossaryCategory(); +Response response = client.UpdateCategory("", body); ]]> This sample shows how to call UpdateCategory with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory +AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1698,7 +1698,7 @@ AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory TermGuid = "", }}, }; -Response response = client.UpdateCategory("", atlasGlossaryCategory); +Response response = client.UpdateCategory("", body); ]]> @@ -2405,8 +2405,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = await client.CreateTermAsync(atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = await client.CreateTermAsync(body); ]]> This sample shows how to call CreateTermAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -2547,7 +2547,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = await client.CreateTermAsync(atlasGlossaryTerm, includeTermHierarchy: true); +Response response = await client.CreateTermAsync(body, includeTermHierarchy: true); ]]> @@ -2558,8 +2558,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = client.CreateTerm(atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = client.CreateTerm(body); ]]> This sample shows how to call CreateTerm with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -2700,7 +2700,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = client.CreateTerm(atlasGlossaryTerm, includeTermHierarchy: true); +Response response = client.CreateTerm(body, includeTermHierarchy: true); ]]> @@ -3837,8 +3837,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = await client.UpdateTermAsync("", atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = await client.UpdateTermAsync("", body); ]]> This sample shows how to call UpdateTermAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -3979,7 +3979,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = await client.UpdateTermAsync("", atlasGlossaryTerm, includeTermHierarchy: true); +Response response = await client.UpdateTermAsync("", body, includeTermHierarchy: true); ]]> @@ -3990,8 +3990,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); -Response response = client.UpdateTerm("", atlasGlossaryTerm); +AtlasGlossaryTerm body = new AtlasGlossaryTerm(); +Response response = client.UpdateTerm("", body); ]]> This sample shows how to call UpdateTerm with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm +AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -4132,7 +4132,7 @@ AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm ValidValues = { default }, ValidValuesFor = { default }, }; -Response response = client.UpdateTerm("", atlasGlossaryTerm, includeTermHierarchy: true); +Response response = client.UpdateTerm("", body, includeTermHierarchy: true); ]]> @@ -7173,8 +7173,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = await client.UpdateAsync("", atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = await client.UpdateAsync("", body); ]]> This sample shows how to call UpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7233,7 +7233,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = await client.UpdateAsync("", atlasGlossary, ignoreTermsAndCategories: true); +Response response = await client.UpdateAsync("", body, ignoreTermsAndCategories: true); ]]> @@ -7244,8 +7244,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); -AtlasGlossary atlasGlossary = new AtlasGlossary(); -Response response = client.Update("", atlasGlossary); +AtlasGlossary body = new AtlasGlossary(); +Response response = client.Update("", body); ]]> This sample shows how to call Update with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); -AtlasGlossary atlasGlossary = new AtlasGlossary +AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7304,7 +7304,7 @@ AtlasGlossary atlasGlossary = new AtlasGlossary }}, Usage = "", }; -Response response = client.Update("", atlasGlossary, ignoreTermsAndCategories: true); +Response response = client.Update("", body, ignoreTermsAndCategories: true); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml index 6a61cb95f88a..a6424570245b 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Relationship.xml @@ -9,8 +9,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = await client.CreateAsync(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = await client.CreateAsync(body); ]]> This sample shows how to call CreateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -47,7 +47,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = await client.CreateAsync(atlasRelationship); +Response response = await client.CreateAsync(body); ]]> @@ -58,8 +58,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = client.Create(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = client.Create(body); ]]> This sample shows how to call Create with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -96,7 +96,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = client.Create(atlasRelationship); +Response response = client.Create(body); ]]> @@ -251,8 +251,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = await client.UpdateAsync(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = await client.UpdateAsync(body); ]]> This sample shows how to call UpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -289,7 +289,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = await client.UpdateAsync(atlasRelationship); +Response response = await client.UpdateAsync(body); ]]> @@ -300,8 +300,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship(); -Response response = client.Update(atlasRelationship); +AtlasRelationship body = new AtlasRelationship(); +Response response = client.Update(body); ]]> This sample shows how to call Update with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); -AtlasRelationship atlasRelationship = new AtlasRelationship +AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -338,7 +338,7 @@ AtlasRelationship atlasRelationship = new AtlasRelationship UpdatedBy = "", Version = 1234L, }; -Response response = client.Update(atlasRelationship); +Response response = client.Update(body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml index fb412241d310..895c72f05032 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/TypeDefinition.xml @@ -3491,8 +3491,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = await client.BatchCreateAsync(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = await client.BatchCreateAsync(body); ]]> This sample shows how to call BatchCreateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -3754,7 +3754,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = await client.BatchCreateAsync(atlasTypesDef); +Response response = await client.BatchCreateAsync(body); ]]> @@ -3765,8 +3765,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = client.BatchCreate(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = client.BatchCreate(body); ]]> This sample shows how to call BatchCreate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -4028,7 +4028,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = client.BatchCreate(atlasTypesDef); +Response response = client.BatchCreate(body); ]]> @@ -5381,8 +5381,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = await client.BatchUpdateAsync(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = await client.BatchUpdateAsync(body); ]]> This sample shows how to call BatchUpdateAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5644,7 +5644,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = await client.BatchUpdateAsync(atlasTypesDef); +Response response = await client.BatchUpdateAsync(body); ]]> @@ -5655,8 +5655,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = client.BatchUpdate(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = client.BatchUpdate(body); ]]> This sample shows how to call BatchUpdate with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5918,7 +5918,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = client.BatchUpdate(atlasTypesDef); +Response response = client.BatchUpdate(body); ]]> @@ -7271,8 +7271,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = await client.BatchDeleteAsync(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = await client.BatchDeleteAsync(body); ]]> This sample shows how to call BatchDeleteAsync with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7534,7 +7534,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = await client.BatchDeleteAsync(atlasTypesDef); +Response response = await client.BatchDeleteAsync(body); ]]> @@ -7545,8 +7545,8 @@ Uri endpoint = new Uri(""); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); -Response response = client.BatchDelete(atlasTypesDef); +AtlasTypesDef body = new AtlasTypesDef(); +Response response = client.BatchDelete(body); ]]> This sample shows how to call BatchDelete with all parameters. "); TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); -AtlasTypesDef atlasTypesDef = new AtlasTypesDef +AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7808,7 +7808,7 @@ AtlasTypesDef atlasTypesDef = new AtlasTypesDef AttributeDefs = {default}, }}, }; -Response response = client.BatchDelete(atlasTypesDef); +Response response = client.BatchDelete(body); ]]> diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs index 369c8f7276b6..38fdb7f1c807 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Entity.cs @@ -60,10 +60,7 @@ internal Entity(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Toke /// int>>. /// For each contact type, the maximum number of contacts is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// Used to define the update behavior for business attributes when updating /// entities. @@ -73,13 +70,13 @@ internal Entity(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Toke /// need to move an entity to another collection. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateOrUpdateAsync(AtlasEntityWithExtInfo atlasEntityWithExtInfo, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) + public virtual async Task> CreateOrUpdateAsync(AtlasEntityWithExtInfo body, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateOrUpdateAsync(content, businessAttributeUpdateBehavior?.ToString(), collectionId, context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -94,10 +91,7 @@ public virtual async Task> CreateOrUpdateAsync(At /// int>>. /// For each contact type, the maximum number of contacts is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// Used to define the update behavior for business attributes when updating /// entities. @@ -107,13 +101,13 @@ public virtual async Task> CreateOrUpdateAsync(At /// need to move an entity to another collection. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response CreateOrUpdate(AtlasEntityWithExtInfo atlasEntityWithExtInfo, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) + public virtual Response CreateOrUpdate(AtlasEntityWithExtInfo body, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, string collectionId = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateOrUpdate(content, businessAttributeUpdateBehavior?.ToString(), collectionId, context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -349,10 +343,7 @@ public virtual Response GetByIds(IEnumerable guid, bool? minExtInfo, boo /// For each contact type, the maximum number of contacts /// is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The collection where entities will be moved to. Only specify a value if you /// need to move an entity to another collection. @@ -362,13 +353,13 @@ public virtual Response GetByIds(IEnumerable guid, bool? minExtInfo, boo /// entities. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> BatchCreateOrUpdateAsync(AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) + public virtual async Task> BatchCreateOrUpdateAsync(AtlasEntitiesWithExtInfo body, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntitiesWithExtInfo, nameof(atlasEntitiesWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntitiesWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchCreateOrUpdateAsync(content, collectionId, businessAttributeUpdateBehavior?.ToString(), context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -384,10 +375,7 @@ public virtual async Task> BatchCreateOrUpdateAsy /// For each contact type, the maximum number of contacts /// is 20. /// - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The collection where entities will be moved to. Only specify a value if you /// need to move an entity to another collection. @@ -397,13 +385,13 @@ public virtual async Task> BatchCreateOrUpdateAsy /// entities. /// /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchCreateOrUpdate(AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) + public virtual Response BatchCreateOrUpdate(AtlasEntitiesWithExtInfo body, string collectionId = null, BusinessAttributeUpdateBehavior? businessAttributeUpdateBehavior = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntitiesWithExtInfo, nameof(atlasEntitiesWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntitiesWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchCreateOrUpdate(content, collectionId, businessAttributeUpdateBehavior?.ToString(), context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -632,30 +620,30 @@ public virtual Response BatchDelete(IEnumerable guid, RequestContext con } /// Associate a classification to multiple entities in bulk. - /// The request payload for classification association. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task AddClassificationAsync(ClassificationAssociateConfig classificationAssociateConfig, CancellationToken cancellationToken = default) + public virtual async Task AddClassificationAsync(ClassificationAssociateConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(classificationAssociateConfig, nameof(classificationAssociateConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = classificationAssociateConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await AddClassificationAsync(content, context).ConfigureAwait(false); return response; } /// Associate a classification to multiple entities in bulk. - /// The request payload for classification association. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response AddClassification(ClassificationAssociateConfig classificationAssociateConfig, CancellationToken cancellationToken = default) + public virtual Response AddClassification(ClassificationAssociateConfig body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(classificationAssociateConfig, nameof(classificationAssociateConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = classificationAssociateConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = AddClassification(content, context); return response; @@ -1868,24 +1856,21 @@ public virtual Response GetByUniqueAttribute(string typeName, bool? minExtInfo, /// /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. /// /// The name of the type. - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The qualified name of the entity. (This is only an example. qualifiedName can /// be changed to other unique attributes) /// /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateByUniqueAttributeAsync(string typeName, AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, CancellationToken cancellationToken = default) + public virtual async Task> UpdateByUniqueAttributeAsync(string typeName, AtlasEntityWithExtInfo body, string attribute = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateByUniqueAttributeAsync(typeName, content, attribute, context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -1910,24 +1895,21 @@ public virtual async Task> UpdateByUniqueAttribut /// /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. /// /// The name of the type. - /// - /// An instance of an entity along with extended info - like hive_table, - /// hive_database. - /// + /// Body parameter. /// /// The qualified name of the entity. (This is only an example. qualifiedName can /// be changed to other unique attributes) /// /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response UpdateByUniqueAttribute(string typeName, AtlasEntityWithExtInfo atlasEntityWithExtInfo, string attribute = null, CancellationToken cancellationToken = default) + public virtual Response UpdateByUniqueAttribute(string typeName, AtlasEntityWithExtInfo body, string attribute = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(typeName, nameof(typeName)); - Argument.AssertNotNull(atlasEntityWithExtInfo, nameof(atlasEntityWithExtInfo)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityWithExtInfo.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateByUniqueAttribute(typeName, content, attribute, context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -2588,15 +2570,15 @@ public virtual Response UpdateClassificationsUniqueByAttribute(string typeName, } /// Set classifications on entities in bulk. - /// An instance of an entity header map. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task>> BatchSetClassificationsAsync(AtlasEntityHeaders atlasEntityHeaders, CancellationToken cancellationToken = default) + public virtual async Task>> BatchSetClassificationsAsync(AtlasEntityHeaders body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityHeaders, nameof(atlasEntityHeaders)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityHeaders.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchSetClassificationsAsync(content, context).ConfigureAwait(false); IReadOnlyList value = default; @@ -2611,15 +2593,15 @@ public virtual async Task>> BatchSetClassificatio } /// Set classifications on entities in bulk. - /// An instance of an entity header map. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response> BatchSetClassifications(AtlasEntityHeaders atlasEntityHeaders, CancellationToken cancellationToken = default) + public virtual Response> BatchSetClassifications(AtlasEntityHeaders body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasEntityHeaders, nameof(atlasEntityHeaders)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasEntityHeaders.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchSetClassifications(content, context); IReadOnlyList value = default; @@ -3634,30 +3616,30 @@ public virtual Response GetBusinessMetadataTemplate(RequestContext context) } /// Upload the file for creating Business Metadata in BULK. - /// Business metadata to send to the service. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> ImportBusinessMetadataAsync(BusinessMetadataOptions businessMetadataOptions, CancellationToken cancellationToken = default) + public virtual async Task> ImportBusinessMetadataAsync(BusinessMetadataOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(businessMetadataOptions, nameof(businessMetadataOptions)); + Argument.AssertNotNull(body, nameof(body)); - using MultipartFormDataRequestContent content = businessMetadataOptions.ToMultipartRequestContent(); + using MultipartFormDataRequestContent content = body.ToMultipartRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await ImportBusinessMetadataAsync(content, content.ContentType, context).ConfigureAwait(false); return Response.FromValue(BulkImportResult.FromResponse(response), response); } /// Upload the file for creating Business Metadata in BULK. - /// Business metadata to send to the service. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response ImportBusinessMetadata(BusinessMetadataOptions businessMetadataOptions, CancellationToken cancellationToken = default) + public virtual Response ImportBusinessMetadata(BusinessMetadataOptions body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(businessMetadataOptions, nameof(businessMetadataOptions)); + Argument.AssertNotNull(body, nameof(body)); - using MultipartFormDataRequestContent content = businessMetadataOptions.ToMultipartRequestContent(); + using MultipartFormDataRequestContent content = body.ToMultipartRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = ImportBusinessMetadata(content, content.ContentType, context); return Response.FromValue(BulkImportResult.FromResponse(response), response); @@ -4661,16 +4643,16 @@ public virtual Response AddLabelsByUniqueAttribute(string typeName, RequestConte /// Move existing entities to the target collection. /// The collection where entities will be moved to. - /// MoveEntitiesOptions. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual async Task> MoveEntitiesToCollectionAsync(string collectionId, MoveEntitiesConfig moveEntitiesConfig, CancellationToken cancellationToken = default) + public virtual async Task> MoveEntitiesToCollectionAsync(string collectionId, MoveEntitiesConfig body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(collectionId, nameof(collectionId)); - Argument.AssertNotNull(moveEntitiesConfig, nameof(moveEntitiesConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = moveEntitiesConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await MoveEntitiesToCollectionAsync(collectionId, content, context).ConfigureAwait(false); return Response.FromValue(EntityMutationResult.FromResponse(response), response); @@ -4678,16 +4660,16 @@ public virtual async Task> MoveEntitiesToCollecti /// Move existing entities to the target collection. /// The collection where entities will be moved to. - /// MoveEntitiesOptions. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// - public virtual Response MoveEntitiesToCollection(string collectionId, MoveEntitiesConfig moveEntitiesConfig, CancellationToken cancellationToken = default) + public virtual Response MoveEntitiesToCollection(string collectionId, MoveEntitiesConfig body, CancellationToken cancellationToken = default) { Argument.AssertNotNull(collectionId, nameof(collectionId)); - Argument.AssertNotNull(moveEntitiesConfig, nameof(moveEntitiesConfig)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = moveEntitiesConfig.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = MoveEntitiesToCollection(collectionId, content, context); return Response.FromValue(EntityMutationResult.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs index 80b03e390971..2755c07b0e21 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Glossary.cs @@ -54,12 +54,8 @@ internal Glossary(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, To /// /// Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// The page size - by default there is no paging. /// The offset for pagination purpose. @@ -85,12 +81,8 @@ public virtual async Task>> BatchGetAsync( /// /// Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// The page size - by default there is no paging. /// The offset for pagination purpose. @@ -116,12 +108,8 @@ public virtual Response> BatchGet(int? limit = null /// /// [Protocol Method] Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// /// @@ -162,12 +150,8 @@ public virtual async Task BatchGetAsync(int? limit, int? offset, strin /// /// [Protocol Method] Get all glossaries. Recommend using limit/offset to get pagination result. /// Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - /// separately using - /// - /// 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - /// and - /// - /// 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + /// separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + /// and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. /// /// /// @@ -206,30 +190,30 @@ public virtual Response BatchGet(int? limit, int? offset, string sort, bool? ign } /// Create a glossary. - /// The glossary object. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateAsync(AtlasGlossary atlasGlossary, CancellationToken cancellationToken = default) + public virtual async Task> CreateAsync(AtlasGlossary body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossary.FromResponse(response), response); } /// Create a glossary. - /// The glossary object. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Create(AtlasGlossary atlasGlossary, CancellationToken cancellationToken = default) + public virtual Response Create(AtlasGlossary body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Create(content, context); return Response.FromValue(AtlasGlossary.FromResponse(response), response); @@ -438,30 +422,30 @@ public virtual Response CreateCategories(RequestContent content, RequestContext } /// Create a glossary category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateCategoryAsync(AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual async Task> CreateCategoryAsync(AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateCategoryAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); } /// Create a glossary category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response CreateCategory(AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual Response CreateCategory(AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateCategory(content, context); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); @@ -657,17 +641,17 @@ public virtual Response GetCategory(string categoryId, RequestContext context) /// Update the given glossary category by its GUID. /// The globally unique identifier of the category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateCategoryAsync(string categoryId, AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual async Task> UpdateCategoryAsync(string categoryId, AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(categoryId, nameof(categoryId)); - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateCategoryAsync(categoryId, content, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); @@ -675,17 +659,17 @@ public virtual async Task> UpdateCategoryAsync(s /// Update the given glossary category by its GUID. /// The globally unique identifier of the category. - /// The glossary category. + /// Body parameter. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response UpdateCategory(string categoryId, AtlasGlossaryCategory atlasGlossaryCategory, CancellationToken cancellationToken = default) + public virtual Response UpdateCategory(string categoryId, AtlasGlossaryCategory body, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(categoryId, nameof(categoryId)); - Argument.AssertNotNull(atlasGlossaryCategory, nameof(atlasGlossaryCategory)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryCategory.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateCategory(categoryId, content, context); return Response.FromValue(AtlasGlossaryCategory.FromResponse(response), response); @@ -1290,32 +1274,32 @@ public virtual Response GetCategoryTerms(string categoryId, int? limit, int? off } /// Create a glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateTermAsync(AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual async Task> CreateTermAsync(AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateTermAsync(content, includeTermHierarchy, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); } /// Create a glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response CreateTerm(AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual Response CreateTerm(AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = CreateTerm(content, includeTermHierarchy, context); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); @@ -1513,18 +1497,18 @@ public virtual Response GetTerm(string termId, RequestContext context) /// Update the given glossary term by its GUID. /// The globally unique identifier for glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateTermAsync(string termId, AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual async Task> UpdateTermAsync(string termId, AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(termId, nameof(termId)); - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateTermAsync(termId, content, includeTermHierarchy, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); @@ -1532,18 +1516,18 @@ public virtual async Task> UpdateTermAsync(string te /// Update the given glossary term by its GUID. /// The globally unique identifier for glossary term. - /// The glossary term. + /// Body parameter. /// Whether include term hierarchy. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response UpdateTerm(string termId, AtlasGlossaryTerm atlasGlossaryTerm, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) + public virtual Response UpdateTerm(string termId, AtlasGlossaryTerm body, bool? includeTermHierarchy = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(termId, nameof(termId)); - Argument.AssertNotNull(atlasGlossaryTerm, nameof(atlasGlossaryTerm)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossaryTerm.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = UpdateTerm(termId, content, includeTermHierarchy, context); return Response.FromValue(AtlasGlossaryTerm.FromResponse(response), response); @@ -2665,18 +2649,18 @@ public virtual Response GetGlossary(string glossaryId, RequestContext context) /// Update the given glossary. /// The globally unique identifier for glossary. - /// The glossary object. + /// Body parameter. /// Whether ignore terms and categories. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual async Task> UpdateAsync(string glossaryId, AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) + public virtual async Task> UpdateAsync(string glossaryId, AtlasGlossary body, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(glossaryId, nameof(glossaryId)); - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateAsync(glossaryId, content, ignoreTermsAndCategories, context).ConfigureAwait(false); return Response.FromValue(AtlasGlossary.FromResponse(response), response); @@ -2684,18 +2668,18 @@ public virtual async Task> UpdateAsync(string glossaryId /// Update the given glossary. /// The globally unique identifier for glossary. - /// The glossary object. + /// Body parameter. /// Whether ignore terms and categories. /// The cancellation token to use. - /// or is null. + /// or is null. /// is an empty string, and was expected to be non-empty. /// - public virtual Response Update(string glossaryId, AtlasGlossary atlasGlossary, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) + public virtual Response Update(string glossaryId, AtlasGlossary body, bool? ignoreTermsAndCategories = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(glossaryId, nameof(glossaryId)); - Argument.AssertNotNull(atlasGlossary, nameof(atlasGlossary)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasGlossary.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Update(glossaryId, content, ignoreTermsAndCategories, context); return Response.FromValue(AtlasGlossary.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs index 584290f5b3fc..095835978565 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Relationship.cs @@ -47,30 +47,30 @@ internal Relationship(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline } /// Create a new relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> CreateAsync(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual async Task> CreateAsync(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await CreateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasRelationship.FromResponse(response), response); } /// Create a new relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Create(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual Response Create(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Create(content, context); return Response.FromValue(AtlasRelationship.FromResponse(response), response); @@ -155,30 +155,30 @@ public virtual Response Create(RequestContent content, RequestContext context = } /// Update an existing relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> UpdateAsync(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual async Task> UpdateAsync(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await UpdateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasRelationship.FromResponse(response), response); } /// Update an existing relationship between entities. - /// Atlas relationship instance. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response Update(AtlasRelationship atlasRelationship, CancellationToken cancellationToken = default) + public virtual Response Update(AtlasRelationship body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasRelationship, nameof(atlasRelationship)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasRelationship.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = Update(content, context); return Response.FromValue(AtlasRelationship.FromResponse(response), response); diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs index adf1eea92bc4..90cbe7003429 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/TypeDefinition.cs @@ -1777,48 +1777,38 @@ public virtual Response GetTypeDefinition(bool? includeTermTemplate, string type } } - /// - /// Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. - /// - /// The definitions of types. + /// Create all atlas type definitions in bulk. Please avoid recreating existing types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> BatchCreateAsync(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual async Task> BatchCreateAsync(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchCreateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); } - /// - /// Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. - /// - /// The definitions of types. + /// Create all atlas type definitions in bulk. Please avoid recreating existing types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchCreate(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual Response BatchCreate(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchCreate(content, context); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); } /// - /// [Protocol Method] Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. + /// [Protocol Method] Create all atlas type definitions in bulk. Please avoid recreating existing types. /// /// /// @@ -1857,9 +1847,7 @@ public virtual async Task BatchCreateAsync(RequestContent content, Req } /// - /// [Protocol Method] Create all atlas type definitions in bulk, only new definitions will be - /// created. - /// Any changes to the existing definitions will be discarded. + /// [Protocol Method] Create all atlas type definitions in bulk. Please avoid recreating existing types. /// /// /// @@ -1901,15 +1889,15 @@ public virtual Response BatchCreate(RequestContent content, RequestContext conte /// Update all types in bulk, changes detected in the type definitions would be /// persisted. /// - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task> BatchUpdateAsync(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual async Task> BatchUpdateAsync(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchUpdateAsync(content, context).ConfigureAwait(false); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); @@ -1919,15 +1907,15 @@ public virtual async Task> BatchUpdateAsync(AtlasTypesDe /// Update all types in bulk, changes detected in the type definitions would be /// persisted. /// - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchUpdate(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual Response BatchUpdate(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchUpdate(content, context); return Response.FromValue(AtlasTypesDef.FromResponse(response), response); @@ -2014,30 +2002,30 @@ public virtual Response BatchUpdate(RequestContent content, RequestContext conte } /// Delete API for all types in bulk. - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual async Task BatchDeleteAsync(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual async Task BatchDeleteAsync(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = await BatchDeleteAsync(content, context).ConfigureAwait(false); return response; } /// Delete API for all types in bulk. - /// The definitions of types. + /// Body parameter. /// The cancellation token to use. - /// is null. + /// is null. /// - public virtual Response BatchDelete(AtlasTypesDef atlasTypesDef, CancellationToken cancellationToken = default) + public virtual Response BatchDelete(AtlasTypesDef body, CancellationToken cancellationToken = default) { - Argument.AssertNotNull(atlasTypesDef, nameof(atlasTypesDef)); + Argument.AssertNotNull(body, nameof(body)); - using RequestContent content = atlasTypesDef.ToRequestContent(); + using RequestContent content = body.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Response response = BatchDelete(content, context); return response; diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs index a4a0aebb4e84..d00590016f69 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs @@ -54,8 +54,8 @@ public void Example_Discovery_Query_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig(); - Response response = client.Query(queryConfig); + QueryConfig body = new QueryConfig(); + Response response = client.Query(body); } [Test] @@ -66,8 +66,8 @@ public async Task Example_Discovery_Query_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig(); - Response response = await client.QueryAsync(queryConfig); + QueryConfig body = new QueryConfig(); + Response response = await client.QueryAsync(body); } [Test] @@ -272,7 +272,7 @@ public void Example_Discovery_Query_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig + QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -295,7 +295,7 @@ public void Example_Discovery_Query_AllParameters_Convenience() Facet = default, }, }; - Response response = client.Query(queryConfig); + Response response = client.Query(body); } [Test] @@ -306,7 +306,7 @@ public async Task Example_Discovery_Query_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - QueryConfig queryConfig = new QueryConfig + QueryConfig body = new QueryConfig { Keywords = "", Limit = 1234, @@ -329,7 +329,7 @@ public async Task Example_Discovery_Query_AllParameters_Convenience_Async() Facet = default, }, }; - Response response = await client.QueryAsync(queryConfig); + Response response = await client.QueryAsync(body); } [Test] @@ -370,8 +370,8 @@ public void Example_Discovery_Suggest_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig(); - Response response = client.Suggest(suggestConfig); + SuggestConfig body = new SuggestConfig(); + Response response = client.Suggest(body); } [Test] @@ -382,8 +382,8 @@ public async Task Example_Discovery_Suggest_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig(); - Response response = await client.SuggestAsync(suggestConfig); + SuggestConfig body = new SuggestConfig(); + Response response = await client.SuggestAsync(body); } [Test] @@ -484,13 +484,13 @@ public void Example_Discovery_Suggest_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig + SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = client.Suggest(suggestConfig); + Response response = client.Suggest(body); } [Test] @@ -501,13 +501,13 @@ public async Task Example_Discovery_Suggest_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - SuggestConfig suggestConfig = new SuggestConfig + SuggestConfig body = new SuggestConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = await client.SuggestAsync(suggestConfig); + Response response = await client.SuggestAsync(body); } [Test] @@ -548,8 +548,8 @@ public void Example_Discovery_AutoComplete_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); - Response response = client.AutoComplete(autoCompleteConfig); + AutoCompleteConfig body = new AutoCompleteConfig(); + Response response = client.AutoComplete(body); } [Test] @@ -560,8 +560,8 @@ public async Task Example_Discovery_AutoComplete_ShortVersion_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig(); - Response response = await client.AutoCompleteAsync(autoCompleteConfig); + AutoCompleteConfig body = new AutoCompleteConfig(); + Response response = await client.AutoCompleteAsync(body); } [Test] @@ -614,13 +614,13 @@ public void Example_Discovery_AutoComplete_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig + AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = client.AutoComplete(autoCompleteConfig); + Response response = client.AutoComplete(body); } [Test] @@ -631,13 +631,13 @@ public async Task Example_Discovery_AutoComplete_AllParameters_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); Discovery client = new DataMapClient(endpoint, credential).GetDiscoveryClient(apiVersion: "2023-09-01"); - AutoCompleteConfig autoCompleteConfig = new AutoCompleteConfig + AutoCompleteConfig body = new AutoCompleteConfig { Keywords = "", Limit = 1234, Filter = BinaryData.FromObjectAsJson(new object()), }; - Response response = await client.AutoCompleteAsync(autoCompleteConfig); + Response response = await client.AutoCompleteAsync(body); } } } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs index bb809859f3af..3fdd99d59980 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Entity.cs @@ -56,8 +56,8 @@ public void Example_Entity_CreateOrUpdate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = client.CreateOrUpdate(atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = client.CreateOrUpdate(body); } [Test] @@ -68,8 +68,8 @@ public async Task Example_Entity_CreateOrUpdate_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = await client.CreateOrUpdateAsync(body); } [Test] @@ -404,7 +404,7 @@ public void Example_Entity_CreateOrUpdate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -482,7 +482,7 @@ public void Example_Entity_CreateOrUpdate_AllParameters_Convenience() }, Entity = default, }; - Response response = client.CreateOrUpdate(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); + Response response = client.CreateOrUpdate(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); } [Test] @@ -493,7 +493,7 @@ public async Task Example_Entity_CreateOrUpdate_AllParameters_Convenience_Async( TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -571,7 +571,7 @@ public async Task Example_Entity_CreateOrUpdate_AllParameters_Convenience_Async( }, Entity = default, }; - Response response = await client.CreateOrUpdateAsync(atlasEntityWithExtInfo, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); + Response response = await client.CreateOrUpdateAsync(body, businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore, collectionId: ""); } [Test] @@ -866,8 +866,8 @@ public void Example_Entity_BatchCreateOrUpdate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); - Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo); + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); + Response response = client.BatchCreateOrUpdate(body); } [Test] @@ -878,8 +878,8 @@ public async Task Example_Entity_BatchCreateOrUpdate_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo(); - Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo); + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo(); + Response response = await client.BatchCreateOrUpdateAsync(body); } [Test] @@ -1222,7 +1222,7 @@ public void Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -1300,7 +1300,7 @@ public void Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience() }, Entities = { default }, }; - Response response = client.BatchCreateOrUpdate(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); + Response response = client.BatchCreateOrUpdate(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); } [Test] @@ -1311,7 +1311,7 @@ public async Task Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - AtlasEntitiesWithExtInfo atlasEntitiesWithExtInfo = new AtlasEntitiesWithExtInfo + AtlasEntitiesWithExtInfo body = new AtlasEntitiesWithExtInfo { ReferredEntities = { @@ -1389,7 +1389,7 @@ public async Task Example_Entity_BatchCreateOrUpdate_AllParameters_Convenience_A }, Entities = { default }, }; - Response response = await client.BatchCreateOrUpdateAsync(atlasEntitiesWithExtInfo, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); + Response response = await client.BatchCreateOrUpdateAsync(body, collectionId: "", businessAttributeUpdateBehavior: BusinessAttributeUpdateBehavior.Ignore); } [Test] @@ -1640,8 +1640,8 @@ public void Example_Entity_AddClassification_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); - Response response = client.AddClassification(classificationAssociateConfig); + ClassificationAssociateConfig body = new ClassificationAssociateConfig(); + Response response = client.AddClassification(body); } [Test] @@ -1652,8 +1652,8 @@ public async Task Example_Entity_AddClassification_ShortVersion_Convenience_Asyn TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig(); - Response response = await client.AddClassificationAsync(classificationAssociateConfig); + ClassificationAssociateConfig body = new ClassificationAssociateConfig(); + Response response = await client.AddClassificationAsync(body); } [Test] @@ -1746,7 +1746,7 @@ public void Example_Entity_AddClassification_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig + ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1768,7 +1768,7 @@ public void Example_Entity_AddClassification_AllParameters_Convenience() }, EntityGuids = { "" }, }; - Response response = client.AddClassification(classificationAssociateConfig); + Response response = client.AddClassification(body); } [Test] @@ -1779,7 +1779,7 @@ public async Task Example_Entity_AddClassification_AllParameters_Convenience_Asy TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - ClassificationAssociateConfig classificationAssociateConfig = new ClassificationAssociateConfig + ClassificationAssociateConfig body = new ClassificationAssociateConfig { Classification = new AtlasClassification { @@ -1801,7 +1801,7 @@ public async Task Example_Entity_AddClassification_AllParameters_Convenience_Asy }, EntityGuids = { "" }, }; - Response response = await client.AddClassificationAsync(classificationAssociateConfig); + Response response = await client.AddClassificationAsync(body); } [Test] @@ -3452,8 +3452,8 @@ public void Example_Entity_UpdateByUniqueAttribute_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = client.UpdateByUniqueAttribute("", body); } [Test] @@ -3464,8 +3464,8 @@ public async Task Example_Entity_UpdateByUniqueAttribute_ShortVersion_Convenienc TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo(); - Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo); + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo(); + Response response = await client.UpdateByUniqueAttributeAsync("", body); } [Test] @@ -3800,7 +3800,7 @@ public void Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3878,7 +3878,7 @@ public void Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenience() }, Entity = default, }; - Response response = client.UpdateByUniqueAttribute("", atlasEntityWithExtInfo, attribute: ""); + Response response = client.UpdateByUniqueAttribute("", body, attribute: ""); } [Test] @@ -3889,7 +3889,7 @@ public async Task Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenien TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityWithExtInfo atlasEntityWithExtInfo = new AtlasEntityWithExtInfo + AtlasEntityWithExtInfo body = new AtlasEntityWithExtInfo { ReferredEntities = { @@ -3967,7 +3967,7 @@ public async Task Example_Entity_UpdateByUniqueAttribute_AllParameters_Convenien }, Entity = default, }; - Response response = await client.UpdateByUniqueAttributeAsync("", atlasEntityWithExtInfo, attribute: ""); + Response response = await client.UpdateByUniqueAttributeAsync("", body, attribute: ""); } [Test] @@ -4668,8 +4668,8 @@ public void Example_Entity_BatchSetClassifications_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); - Response> response = client.BatchSetClassifications(atlasEntityHeaders); + AtlasEntityHeaders body = new AtlasEntityHeaders(); + Response> response = client.BatchSetClassifications(body); } [Test] @@ -4680,8 +4680,8 @@ public async Task Example_Entity_BatchSetClassifications_ShortVersion_Convenienc TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders(); - Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); + AtlasEntityHeaders body = new AtlasEntityHeaders(); + Response> response = await client.BatchSetClassificationsAsync(body); } [Test] @@ -4860,7 +4860,7 @@ public void Example_Entity_BatchSetClassifications_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders + AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4912,7 +4912,7 @@ public void Example_Entity_BatchSetClassifications_AllParameters_Convenience() } }, }; - Response> response = client.BatchSetClassifications(atlasEntityHeaders); + Response> response = client.BatchSetClassifications(body); } [Test] @@ -4923,7 +4923,7 @@ public async Task Example_Entity_BatchSetClassifications_AllParameters_Convenien TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - AtlasEntityHeaders atlasEntityHeaders = new AtlasEntityHeaders + AtlasEntityHeaders body = new AtlasEntityHeaders { GuidHeaderMap = { @@ -4975,7 +4975,7 @@ public async Task Example_Entity_BatchSetClassifications_AllParameters_Convenien } }, }; - Response> response = await client.BatchSetClassificationsAsync(atlasEntityHeaders); + Response> response = await client.BatchSetClassificationsAsync(body); } [Test] @@ -6074,8 +6074,8 @@ public void Example_Entity_ImportBusinessMetadata_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = client.ImportBusinessMetadata(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = client.ImportBusinessMetadata(body); } [Test] @@ -6086,8 +6086,8 @@ public async Task Example_Entity_ImportBusinessMetadata_ShortVersion_Convenience TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = await client.ImportBusinessMetadataAsync(body); } [Test] @@ -6148,8 +6148,8 @@ public void Example_Entity_ImportBusinessMetadata_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = client.ImportBusinessMetadata(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = client.ImportBusinessMetadata(body); } [Test] @@ -6160,8 +6160,8 @@ public async Task Example_Entity_ImportBusinessMetadata_AllParameters_Convenienc TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(); - BusinessMetadataOptions businessMetadataOptions = new BusinessMetadataOptions(null); - Response response = await client.ImportBusinessMetadataAsync(businessMetadataOptions); + BusinessMetadataOptions body = new BusinessMetadataOptions(null); + Response response = await client.ImportBusinessMetadataAsync(body); } [Test] @@ -6838,8 +6838,8 @@ public void Example_Entity_MoveEntitiesToCollection_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); - Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); + MoveEntitiesConfig body = new MoveEntitiesConfig(); + Response response = client.MoveEntitiesToCollection("", body); } [Test] @@ -6850,8 +6850,8 @@ public async Task Example_Entity_MoveEntitiesToCollection_ShortVersion_Convenien TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig(); - Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); + MoveEntitiesConfig body = new MoveEntitiesConfig(); + Response response = await client.MoveEntitiesToCollectionAsync("", body); } [Test] @@ -7016,11 +7016,11 @@ public void Example_Entity_MoveEntitiesToCollection_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig + MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; - Response response = client.MoveEntitiesToCollection("", moveEntitiesConfig); + Response response = client.MoveEntitiesToCollection("", body); } [Test] @@ -7031,11 +7031,11 @@ public async Task Example_Entity_MoveEntitiesToCollection_AllParameters_Convenie TokenCredential credential = new DefaultAzureCredential(); Entity client = new DataMapClient(endpoint, credential).GetEntityClient(apiVersion: "2023-09-01"); - MoveEntitiesConfig moveEntitiesConfig = new MoveEntitiesConfig + MoveEntitiesConfig body = new MoveEntitiesConfig { EntityGuids = { "" }, }; - Response response = await client.MoveEntitiesToCollectionAsync("", moveEntitiesConfig); + Response response = await client.MoveEntitiesToCollectionAsync("", body); } } } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs index 84afdfc0ef0f..948999d47e96 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Glossary.cs @@ -219,8 +219,8 @@ public void Example_Glossary_Create_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = client.Create(atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = client.Create(body); } [Test] @@ -231,8 +231,8 @@ public async Task Example_Glossary_Create_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = await client.CreateAsync(atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = await client.CreateAsync(body); } [Test] @@ -461,7 +461,7 @@ public void Example_Glossary_Create_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -512,7 +512,7 @@ public void Example_Glossary_Create_AllParameters_Convenience() }}, Usage = "", }; - Response response = client.Create(atlasGlossary); + Response response = client.Create(body); } [Test] @@ -523,7 +523,7 @@ public async Task Example_Glossary_Create_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -574,7 +574,7 @@ public async Task Example_Glossary_Create_AllParameters_Convenience_Async() }}, Usage = "", }; - Response response = await client.CreateAsync(atlasGlossary); + Response response = await client.CreateAsync(body); } [Test] @@ -1061,8 +1061,8 @@ public void Example_Glossary_CreateCategory_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = client.CreateCategory(atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = client.CreateCategory(body); } [Test] @@ -1073,8 +1073,8 @@ public async Task Example_Glossary_CreateCategory_ShortVersion_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = await client.CreateCategoryAsync(body); } [Test] @@ -1323,7 +1323,7 @@ public void Example_Glossary_CreateCategory_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1379,7 +1379,7 @@ public void Example_Glossary_CreateCategory_AllParameters_Convenience() TermGuid = "", }}, }; - Response response = client.CreateCategory(atlasGlossaryCategory); + Response response = client.CreateCategory(body); } [Test] @@ -1390,7 +1390,7 @@ public async Task Example_Glossary_CreateCategory_AllParameters_Convenience_Asyn TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1446,7 +1446,7 @@ public async Task Example_Glossary_CreateCategory_AllParameters_Convenience_Asyn TermGuid = "", }}, }; - Response response = await client.CreateCategoryAsync(atlasGlossaryCategory); + Response response = await client.CreateCategoryAsync(body); } [Test] @@ -1663,8 +1663,8 @@ public void Example_Glossary_UpdateCategory_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = client.UpdateCategory("", atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = client.UpdateCategory("", body); } [Test] @@ -1675,8 +1675,8 @@ public async Task Example_Glossary_UpdateCategory_ShortVersion_Convenience_Async TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory(); - Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); + AtlasGlossaryCategory body = new AtlasGlossaryCategory(); + Response response = await client.UpdateCategoryAsync("", body); } [Test] @@ -1925,7 +1925,7 @@ public void Example_Glossary_UpdateCategory_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -1981,7 +1981,7 @@ public void Example_Glossary_UpdateCategory_AllParameters_Convenience() TermGuid = "", }}, }; - Response response = client.UpdateCategory("", atlasGlossaryCategory); + Response response = client.UpdateCategory("", body); } [Test] @@ -1992,7 +1992,7 @@ public async Task Example_Glossary_UpdateCategory_AllParameters_Convenience_Asyn TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryCategory atlasGlossaryCategory = new AtlasGlossaryCategory + AtlasGlossaryCategory body = new AtlasGlossaryCategory { Guid = "", Classifications = {new AtlasClassification @@ -2048,7 +2048,7 @@ public async Task Example_Glossary_UpdateCategory_AllParameters_Convenience_Asyn TermGuid = "", }}, }; - Response response = await client.UpdateCategoryAsync("", atlasGlossaryCategory); + Response response = await client.UpdateCategoryAsync("", body); } [Test] @@ -2565,8 +2565,8 @@ public void Example_Glossary_CreateTerm_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = client.CreateTerm(atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = client.CreateTerm(body); } [Test] @@ -2577,8 +2577,8 @@ public async Task Example_Glossary_CreateTerm_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = await client.CreateTermAsync(atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = await client.CreateTermAsync(body); } [Test] @@ -3309,7 +3309,7 @@ public void Example_Glossary_CreateTerm_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -3442,7 +3442,7 @@ public void Example_Glossary_CreateTerm_AllParameters_Convenience() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = client.CreateTerm(atlasGlossaryTerm, includeTermHierarchy: true); + Response response = client.CreateTerm(body, includeTermHierarchy: true); } [Test] @@ -3453,7 +3453,7 @@ public async Task Example_Glossary_CreateTerm_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -3586,7 +3586,7 @@ public async Task Example_Glossary_CreateTerm_AllParameters_Convenience_Async() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = await client.CreateTermAsync(atlasGlossaryTerm, includeTermHierarchy: true); + Response response = await client.CreateTermAsync(body, includeTermHierarchy: true); } [Test] @@ -4021,8 +4021,8 @@ public void Example_Glossary_UpdateTerm_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = client.UpdateTerm("", atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = client.UpdateTerm("", body); } [Test] @@ -4033,8 +4033,8 @@ public async Task Example_Glossary_UpdateTerm_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm(); - Response response = await client.UpdateTermAsync("", atlasGlossaryTerm); + AtlasGlossaryTerm body = new AtlasGlossaryTerm(); + Response response = await client.UpdateTermAsync("", body); } [Test] @@ -4765,7 +4765,7 @@ public void Example_Glossary_UpdateTerm_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -4898,7 +4898,7 @@ public void Example_Glossary_UpdateTerm_AllParameters_Convenience() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = client.UpdateTerm("", atlasGlossaryTerm, includeTermHierarchy: true); + Response response = client.UpdateTerm("", body, includeTermHierarchy: true); } [Test] @@ -4909,7 +4909,7 @@ public async Task Example_Glossary_UpdateTerm_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossaryTerm atlasGlossaryTerm = new AtlasGlossaryTerm + AtlasGlossaryTerm body = new AtlasGlossaryTerm { Guid = "", Classifications = {new AtlasClassification @@ -5042,7 +5042,7 @@ public async Task Example_Glossary_UpdateTerm_AllParameters_Convenience_Async() ValidValues = { default }, ValidValuesFor = { default }, }; - Response response = await client.UpdateTermAsync("", atlasGlossaryTerm, includeTermHierarchy: true); + Response response = await client.UpdateTermAsync("", body, includeTermHierarchy: true); } [Test] @@ -7459,8 +7459,8 @@ public void Example_Glossary_Update_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = client.Update("", atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = client.Update("", body); } [Test] @@ -7471,8 +7471,8 @@ public async Task Example_Glossary_Update_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(); - AtlasGlossary atlasGlossary = new AtlasGlossary(); - Response response = await client.UpdateAsync("", atlasGlossary); + AtlasGlossary body = new AtlasGlossary(); + Response response = await client.UpdateAsync("", body); } [Test] @@ -7701,7 +7701,7 @@ public void Example_Glossary_Update_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7752,7 +7752,7 @@ public void Example_Glossary_Update_AllParameters_Convenience() }}, Usage = "", }; - Response response = client.Update("", atlasGlossary, ignoreTermsAndCategories: true); + Response response = client.Update("", body, ignoreTermsAndCategories: true); } [Test] @@ -7763,7 +7763,7 @@ public async Task Example_Glossary_Update_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Glossary client = new DataMapClient(endpoint, credential).GetGlossaryClient(apiVersion: "2023-09-01"); - AtlasGlossary atlasGlossary = new AtlasGlossary + AtlasGlossary body = new AtlasGlossary { Guid = "", Classifications = {new AtlasClassification @@ -7814,7 +7814,7 @@ public async Task Example_Glossary_Update_AllParameters_Convenience_Async() }}, Usage = "", }; - Response response = await client.UpdateAsync("", atlasGlossary, ignoreTermsAndCategories: true); + Response response = await client.UpdateAsync("", body, ignoreTermsAndCategories: true); } [Test] diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs index 8713ced02df6..99462b921aed 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Relationship.cs @@ -54,8 +54,8 @@ public void Example_Relationship_Create_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = client.Create(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = client.Create(body); } [Test] @@ -66,8 +66,8 @@ public async Task Example_Relationship_Create_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = await client.CreateAsync(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = await client.CreateAsync(body); } [Test] @@ -198,7 +198,7 @@ public void Example_Relationship_Create_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -227,7 +227,7 @@ public void Example_Relationship_Create_AllParameters_Convenience() UpdatedBy = "", Version = 1234L, }; - Response response = client.Create(atlasRelationship); + Response response = client.Create(body); } [Test] @@ -238,7 +238,7 @@ public async Task Example_Relationship_Create_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -267,7 +267,7 @@ public async Task Example_Relationship_Create_AllParameters_Convenience_Async() UpdatedBy = "", Version = 1234L, }; - Response response = await client.CreateAsync(atlasRelationship); + Response response = await client.CreateAsync(body); } [Test] @@ -308,8 +308,8 @@ public void Example_Relationship_Update_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = client.Update(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = client.Update(body); } [Test] @@ -320,8 +320,8 @@ public async Task Example_Relationship_Update_ShortVersion_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship(); - Response response = await client.UpdateAsync(atlasRelationship); + AtlasRelationship body = new AtlasRelationship(); + Response response = await client.UpdateAsync(body); } [Test] @@ -452,7 +452,7 @@ public void Example_Relationship_Update_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -481,7 +481,7 @@ public void Example_Relationship_Update_AllParameters_Convenience() UpdatedBy = "", Version = 1234L, }; - Response response = client.Update(atlasRelationship); + Response response = client.Update(body); } [Test] @@ -492,7 +492,7 @@ public async Task Example_Relationship_Update_AllParameters_Convenience_Async() TokenCredential credential = new DefaultAzureCredential(); Relationship client = new DataMapClient(endpoint, credential).GetRelationshipClient(); - AtlasRelationship atlasRelationship = new AtlasRelationship + AtlasRelationship body = new AtlasRelationship { Attributes = { @@ -521,7 +521,7 @@ public async Task Example_Relationship_Update_AllParameters_Convenience_Async() UpdatedBy = "", Version = 1234L, }; - Response response = await client.UpdateAsync(atlasRelationship); + Response response = await client.UpdateAsync(body); } [Test] diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs index fc5362b59749..13867387e234 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_TypeDefinition.cs @@ -3723,8 +3723,8 @@ public void Example_TypeDefinition_BatchCreate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = client.BatchCreate(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = client.BatchCreate(body); } [Test] @@ -3735,8 +3735,8 @@ public async Task Example_TypeDefinition_BatchCreate_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = await client.BatchCreateAsync(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = await client.BatchCreateAsync(body); } [Test] @@ -5065,7 +5065,7 @@ public void Example_TypeDefinition_BatchCreate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5319,7 +5319,7 @@ public void Example_TypeDefinition_BatchCreate_AllParameters_Convenience() AttributeDefs = {default}, }}, }; - Response response = client.BatchCreate(atlasTypesDef); + Response response = client.BatchCreate(body); } [Test] @@ -5330,7 +5330,7 @@ public async Task Example_TypeDefinition_BatchCreate_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -5584,7 +5584,7 @@ public async Task Example_TypeDefinition_BatchCreate_AllParameters_Convenience_A AttributeDefs = {default}, }}, }; - Response response = await client.BatchCreateAsync(atlasTypesDef); + Response response = await client.BatchCreateAsync(body); } [Test] @@ -5625,8 +5625,8 @@ public void Example_TypeDefinition_BatchUpdate_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = client.BatchUpdate(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = client.BatchUpdate(body); } [Test] @@ -5637,8 +5637,8 @@ public async Task Example_TypeDefinition_BatchUpdate_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = await client.BatchUpdateAsync(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = await client.BatchUpdateAsync(body); } [Test] @@ -6967,7 +6967,7 @@ public void Example_TypeDefinition_BatchUpdate_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7221,7 +7221,7 @@ public void Example_TypeDefinition_BatchUpdate_AllParameters_Convenience() AttributeDefs = {default}, }}, }; - Response response = client.BatchUpdate(atlasTypesDef); + Response response = client.BatchUpdate(body); } [Test] @@ -7232,7 +7232,7 @@ public async Task Example_TypeDefinition_BatchUpdate_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -7486,7 +7486,7 @@ public async Task Example_TypeDefinition_BatchUpdate_AllParameters_Convenience_A AttributeDefs = {default}, }}, }; - Response response = await client.BatchUpdateAsync(atlasTypesDef); + Response response = await client.BatchUpdateAsync(body); } [Test] @@ -7525,8 +7525,8 @@ public void Example_TypeDefinition_BatchDelete_ShortVersion_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = client.BatchDelete(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = client.BatchDelete(body); } [Test] @@ -7537,8 +7537,8 @@ public async Task Example_TypeDefinition_BatchDelete_ShortVersion_Convenience_As TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef(); - Response response = await client.BatchDeleteAsync(atlasTypesDef); + AtlasTypesDef body = new AtlasTypesDef(); + Response response = await client.BatchDeleteAsync(body); } [Test] @@ -8201,7 +8201,7 @@ public void Example_TypeDefinition_BatchDelete_AllParameters_Convenience() TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -8455,7 +8455,7 @@ public void Example_TypeDefinition_BatchDelete_AllParameters_Convenience() AttributeDefs = {default}, }}, }; - Response response = client.BatchDelete(atlasTypesDef); + Response response = client.BatchDelete(body); } [Test] @@ -8466,7 +8466,7 @@ public async Task Example_TypeDefinition_BatchDelete_AllParameters_Convenience_A TokenCredential credential = new DefaultAzureCredential(); TypeDefinition client = new DataMapClient(endpoint, credential).GetTypeDefinitionClient(); - AtlasTypesDef atlasTypesDef = new AtlasTypesDef + AtlasTypesDef body = new AtlasTypesDef { BusinessMetadataDefs = {new AtlasBusinessMetadataDef { @@ -8720,7 +8720,7 @@ public async Task Example_TypeDefinition_BatchDelete_AllParameters_Convenience_A AttributeDefs = {default}, }}, }; - Response response = await client.BatchDeleteAsync(atlasTypesDef); + Response response = await client.BatchDeleteAsync(body); } [Test] diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml b/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml index 66f9c4b0a5c3..4265d3de583c 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml @@ -1,5 +1,4 @@ -repo: Azure/azure-rest-api-specs -commit: 0aa7ac99172545656aaae911ce13ad572ff0fac1 -additionalDirectories: [] directory: specification/purview/Azure.Analytics.Purview.DataMap - +commit: 62f2c8a9ff7d25a917c7b9dd95326db9c3a8d620 +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml b/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml index 63f2b5f3b015..91eb2d699ba2 100644 --- a/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml +++ b/sdk/translation/Azure.AI.Translation.Document/tsp-location.yaml @@ -1,5 +1,4 @@ directory: specification/translation/Azure.AI.DocumentTranslation -commit: db63bea839f5648462c94e685d5cc96f8e8b38ba +commit: 62f2c8a9ff7d25a917c7b9dd95326db9c3a8d620 repo: Azure/azure-rest-api-specs - - +additionalDirectories: