From 46d1878ac5ace33e3bd9142b311c672f6a4373a4 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 15 Mar 2022 08:34:14 +0000 Subject: [PATCH] CodeGen from PR 18229 in Azure/azure-rest-api-specs Merge cba6c8790f19cebf81fa7104a249ee795c945216 into 40396c6f9a5865891b9179e7066b2c60021c2ed0 --- .../Generated/Models/AzureEntityResource.cs | 15 +++++++----- .../Models/PrivateEndpointConnection.cs | 8 +++---- .../Generated/Models/PrivateLinkResource.cs | 8 +++---- .../src/Generated/Models/ProxyResource.cs | 15 +++++++----- .../src/Generated/Models/Resource.cs | 23 ++++++++++++------- .../src/Generated/Models/SearchService.cs | 8 +++---- .../Generated/Models/SearchServiceUpdate.cs | 8 +++---- .../Models/SharedPrivateLinkResource.cs | 8 +++---- .../src/Generated/Models/TrackedResource.cs | 14 +++++++---- .../SdkInfo_SearchManagementClient.cs | 11 --------- 10 files changed, 62 insertions(+), 56 deletions(-) diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AzureEntityResource.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AzureEntityResource.cs index e80cbb2d26ae2..ad0b66b66f46f 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AzureEntityResource.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AzureEntityResource.cs @@ -14,9 +14,12 @@ namespace Microsoft.Azure.Management.Search.Models using System.Linq; /// - /// The resource model definition for a Azure Resource Manager resource - /// with an etag. + /// Entity Resource /// + /// + /// The resource model definition for an Azure Resource Manager resource + /// with an etag. + /// public partial class AzureEntityResource : Resource { /// @@ -30,12 +33,12 @@ public AzureEntityResource() /// /// Initializes a new instance of the AzureEntityResource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Resource Etag. public AzureEntityResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) : base(id, name, type) diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateEndpointConnection.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateEndpointConnection.cs index e773892026082..3dbcb1596080e 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateEndpointConnection.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateEndpointConnection.cs @@ -30,12 +30,12 @@ public PrivateEndpointConnection() /// /// Initializes a new instance of the PrivateEndpointConnection class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Describes the properties of an existing /// Private Endpoint connection to the Azure Cognitive Search /// service. diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkResource.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkResource.cs index 192ba3f6164ee..da8d103923bdf 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkResource.cs @@ -30,12 +30,12 @@ public PrivateLinkResource() /// /// Initializes a new instance of the PrivateLinkResource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Describes the properties of a supported /// private link resource for the Azure Cognitive Search /// service. diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProxyResource.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProxyResource.cs index d9362373ebaaa..7fc45b4cbc623 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProxyResource.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProxyResource.cs @@ -13,9 +13,12 @@ namespace Microsoft.Azure.Management.Search.Models using System.Linq; /// - /// The resource model definition for a ARM proxy resource. It will have - /// everything other than required location and tags + /// Proxy Resource /// + /// + /// The resource model definition for a Azure Resource Manager proxy + /// resource. It will not have tags and a location + /// public partial class ProxyResource : Resource { /// @@ -29,12 +32,12 @@ public ProxyResource() /// /// Initializes a new instance of the ProxyResource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" public ProxyResource(string id = default(string), string name = default(string), string type = default(string)) : base(id, name, type) { diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Resource.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Resource.cs index ee6edb10ee930..54ec0120b4ab3 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Resource.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Resource.cs @@ -15,6 +15,13 @@ namespace Microsoft.Azure.Management.Search.Models using Newtonsoft.Json; using System.Linq; + /// + /// Resource + /// + /// + /// Common fields that are returned in the response for all Azure Resource + /// Manager resources + /// public partial class Resource : IResource { /// @@ -28,12 +35,12 @@ public Resource() /// /// Initializes a new instance of the Resource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" public Resource(string id = default(string), string name = default(string), string type = default(string)) { Id = id; @@ -48,7 +55,7 @@ public Resource() partial void CustomInit(); /// - /// Gets fully qualified resource Id for the resource. Ex - + /// Gets fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [JsonProperty(PropertyName = "id")] @@ -61,9 +68,9 @@ public Resource() public string Name { get; private set; } /// - /// Gets the type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// Gets the type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// [JsonProperty(PropertyName = "type")] public string Type { get; private set; } diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchService.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchService.cs index d50e9bd07cf22..e028cb1ae39b0 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchService.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchService.cs @@ -36,12 +36,12 @@ public SearchService() /// /// The geo-location where the resource /// lives - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Resource tags. /// The number of replicas in the search /// service. If specified, it must be a value between 1 and 12 diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceUpdate.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceUpdate.cs index 0c8ffa43de972..e462fb877cef4 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceUpdate.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceUpdate.cs @@ -34,12 +34,12 @@ public SearchServiceUpdate() /// /// Initializes a new instance of the SearchServiceUpdate class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// The number of replicas in the search /// service. If specified, it must be a value between 1 and 12 /// inclusive for standard SKUs or between 1 and 3 inclusive for basic diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SharedPrivateLinkResource.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SharedPrivateLinkResource.cs index d49cf11b073d7..bee784fe9d371 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SharedPrivateLinkResource.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SharedPrivateLinkResource.cs @@ -30,12 +30,12 @@ public SharedPrivateLinkResource() /// /// Initializes a new instance of the SharedPrivateLinkResource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Describes the properties of a Shared /// Private Link Resource managed by the Azure Cognitive Search /// service. diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/TrackedResource.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/TrackedResource.cs index f070232efd98c..930bc794b5dcc 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/TrackedResource.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/TrackedResource.cs @@ -17,8 +17,12 @@ namespace Microsoft.Azure.Management.Search.Models using System.Linq; /// - /// The resource model definition for a ARM tracked top level resource + /// Tracked Resource /// + /// + /// The resource model definition for an Azure Resource Manager tracked top + /// level resource which has 'tags' and a 'location' + /// public partial class TrackedResource : Resource { /// @@ -34,12 +38,12 @@ public TrackedResource() /// /// The geo-location where the resource /// lives - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Resource tags. public TrackedResource(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary)) : base(id, name, type) diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SdkInfo_SearchManagementClient.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SdkInfo_SearchManagementClient.cs index 13e8cca3ae5ec..0d22f1642441f 100644 --- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SdkInfo_SearchManagementClient.cs +++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SdkInfo_SearchManagementClient.cs @@ -29,16 +29,5 @@ public static IEnumerable> ApiInfo_SearchManagemen }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/search/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\src\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "8a98a5bf0f5c543cf2a340fcf77407658d59addb"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -