diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperations.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperations.cs
index 3ebd3bf14336..8acf4e85ab02 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperations.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperations.cs
@@ -282,7 +282,7 @@ internal AdminKeysOperations(SearchManagementClient client)
///
///
/// Specifies which key to regenerate. Valid values include 'primary' and
- /// 'secondary'. Possible values include: 'primary', 'secondary'
+ /// 'secondary'. Possible values include: 'Primary', 'Secondary'
///
///
/// Additional parameters for the operation
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperationsExtensions.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperationsExtensions.cs
index 55591f6233eb..b3f803d6c25d 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperationsExtensions.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/AdminKeysOperationsExtensions.cs
@@ -93,7 +93,7 @@ public static partial class AdminKeysOperationsExtensions
///
///
/// Specifies which key to regenerate. Valid values include 'primary' and
- /// 'secondary'. Possible values include: 'primary', 'secondary'
+ /// 'secondary'. Possible values include: 'Primary', 'Secondary'
///
///
/// Additional parameters for the operation
@@ -121,7 +121,7 @@ public static partial class AdminKeysOperationsExtensions
///
///
/// Specifies which key to regenerate. Valid values include 'primary' and
- /// 'secondary'. Possible values include: 'primary', 'secondary'
+ /// 'secondary'. Possible values include: 'Primary', 'Secondary'
///
///
/// Additional parameters for the operation
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IAdminKeysOperations.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IAdminKeysOperations.cs
index 29be7735d804..e5b2711da5cd 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IAdminKeysOperations.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IAdminKeysOperations.cs
@@ -72,7 +72,7 @@ public partial interface IAdminKeysOperations
///
///
/// Specifies which key to regenerate. Valid values include 'primary'
- /// and 'secondary'. Possible values include: 'primary', 'secondary'
+ /// and 'secondary'. Possible values include: 'Primary', 'Secondary'
///
///
/// Additional parameters for the operation
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IServicesOperations.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IServicesOperations.cs
index 460b2cff326b..7d4a371366cf 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IServicesOperations.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/IServicesOperations.cs
@@ -164,7 +164,7 @@ public partial interface IServicesOperations
///
Task DeleteWithHttpMessagesAsync(string resourceGroupName, string searchServiceName, SearchManagementRequestOptions searchManagementRequestOptions = default(SearchManagementRequestOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -192,7 +192,7 @@ public partial interface IServicesOperations
///
Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, SearchManagementRequestOptions searchManagementRequestOptions = default(SearchManagementRequestOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///
@@ -290,7 +290,7 @@ public partial interface IServicesOperations
///
Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string searchServiceName, SearchService service, SearchManagementRequestOptions searchManagementRequestOptions = default(SearchManagementRequestOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -316,7 +316,7 @@ public partial interface IServicesOperations
///
Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, SearchManagementRequestOptions searchManagementRequestOptions = default(SearchManagementRequestOptions), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AadAuthFailureMode.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AadAuthFailureMode.cs
new file mode 100644
index 000000000000..3108bd923b04
--- /dev/null
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AadAuthFailureMode.cs
@@ -0,0 +1,69 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Search.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for AadAuthFailureMode.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum AadAuthFailureMode
+ {
+ ///
+ /// Indicates that requests that failed authentication should be
+ /// presented with an HTTP status code of 403 (Forbidden).
+ ///
+ [EnumMember(Value = "http403")]
+ Http403,
+ ///
+ /// Indicates that requests that failed authentication should be
+ /// presented with an HTTP status code of 401 (Unauthorized) and
+ /// present a Bearer Challenge.
+ ///
+ [EnumMember(Value = "http401WithBearerChallenge")]
+ Http401WithBearerChallenge
+ }
+ internal static class AadAuthFailureModeEnumExtension
+ {
+ internal static string ToSerializedValue(this AadAuthFailureMode? value)
+ {
+ return value == null ? null : ((AadAuthFailureMode)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this AadAuthFailureMode value)
+ {
+ switch( value )
+ {
+ case AadAuthFailureMode.Http403:
+ return "http403";
+ case AadAuthFailureMode.Http401WithBearerChallenge:
+ return "http401WithBearerChallenge";
+ }
+ return null;
+ }
+
+ internal static AadAuthFailureMode? ParseAadAuthFailureMode(this string value)
+ {
+ switch( value )
+ {
+ case "http403":
+ return AadAuthFailureMode.Http403;
+ case "http401WithBearerChallenge":
+ return AadAuthFailureMode.Http401WithBearerChallenge;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AdminKeyKind.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AdminKeyKind.cs
index 1c427c26575e..702d525519d2 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AdminKeyKind.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/AdminKeyKind.cs
@@ -21,8 +21,14 @@ namespace Microsoft.Azure.Management.Search.Models
[JsonConverter(typeof(StringEnumConverter))]
public enum AdminKeyKind
{
+ ///
+ /// The primary API key for the search service.
+ ///
[EnumMember(Value = "primary")]
Primary,
+ ///
+ /// The secondary API key for the search service.
+ ///
[EnumMember(Value = "secondary")]
Secondary
}
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 e80cbb2d26ae..ad0b66b66f46 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/DataPlaneAadOrApiKeyAuthOption.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/DataPlaneAadOrApiKeyAuthOption.cs
new file mode 100644
index 000000000000..43cdc5e9983c
--- /dev/null
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/DataPlaneAadOrApiKeyAuthOption.cs
@@ -0,0 +1,59 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Search.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Indicates that either the API key or an access token from Azure Active
+ /// Directory can be used for authentication.
+ ///
+ public partial class DataPlaneAadOrApiKeyAuthOption
+ {
+ ///
+ /// Initializes a new instance of the DataPlaneAadOrApiKeyAuthOption
+ /// class.
+ ///
+ public DataPlaneAadOrApiKeyAuthOption()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataPlaneAadOrApiKeyAuthOption
+ /// class.
+ ///
+ /// Describes what response the data
+ /// plane API of a Search service would send for requests that failed
+ /// authentication. Possible values include: 'Http403',
+ /// 'Http401WithBearerChallenge'
+ public DataPlaneAadOrApiKeyAuthOption(AadAuthFailureMode? aadAuthFailureMode = default(AadAuthFailureMode?))
+ {
+ AadAuthFailureMode = aadAuthFailureMode;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets describes what response the data plane API of a Search
+ /// service would send for requests that failed authentication.
+ /// Possible values include: 'Http403', 'Http401WithBearerChallenge'
+ ///
+ [JsonProperty(PropertyName = "aadAuthFailureMode")]
+ public AadAuthFailureMode? AadAuthFailureMode { get; set; }
+
+ }
+}
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/DataPlaneAuthOptions.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/DataPlaneAuthOptions.cs
new file mode 100644
index 000000000000..e7acab409f70
--- /dev/null
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/DataPlaneAuthOptions.cs
@@ -0,0 +1,66 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Search.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Defines the options for how the data plane API of a Search service
+ /// authenticates requests. This cannot be set if 'disableLocalAuth' is set
+ /// to true.
+ ///
+ public partial class DataPlaneAuthOptions
+ {
+ ///
+ /// Initializes a new instance of the DataPlaneAuthOptions class.
+ ///
+ public DataPlaneAuthOptions()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataPlaneAuthOptions class.
+ ///
+ /// Indicates that only the API key needs to
+ /// be used for authentication.
+ /// Indicates that either the API key or an
+ /// access token from Azure Active Directory can be used for
+ /// authentication.
+ public DataPlaneAuthOptions(object apiKeyOnly = default(object), DataPlaneAadOrApiKeyAuthOption aadOrApiKey = default(DataPlaneAadOrApiKeyAuthOption))
+ {
+ ApiKeyOnly = apiKeyOnly;
+ AadOrApiKey = aadOrApiKey;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets indicates that only the API key needs to be used for
+ /// authentication.
+ ///
+ [JsonProperty(PropertyName = "apiKeyOnly")]
+ public object ApiKeyOnly { get; set; }
+
+ ///
+ /// Gets or sets indicates that either the API key or an access token
+ /// from Azure Active Directory can be used for authentication.
+ ///
+ [JsonProperty(PropertyName = "aadOrApiKey")]
+ public DataPlaneAadOrApiKeyAuthOption AadOrApiKey { get; set; }
+
+ }
+}
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/HostingMode.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/HostingMode.cs
index fbd05be44cc6..84105e61f1f2 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/HostingMode.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/HostingMode.cs
@@ -21,8 +21,16 @@ namespace Microsoft.Azure.Management.Search.Models
[JsonConverter(typeof(StringEnumConverter))]
public enum HostingMode
{
+ ///
+ /// The limit on number of indexes is determined by the default limits
+ /// for the SKU.
+ ///
[EnumMember(Value = "default")]
Default,
+ ///
+ /// Only application for standard3 SKU, where the search service can
+ /// have up to 1000 indexes.
+ ///
[EnumMember(Value = "highDensity")]
HighDensity
}
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Identity.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Identity.cs
index bff735952ddc..afd276ef7237 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Identity.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Identity.cs
@@ -31,9 +31,10 @@ public Identity()
///
/// The identity type. Possible values include:
/// 'None', 'SystemAssigned'
- /// The principal ID of resource
- /// identity.
- /// The tenant ID of resource.
+ /// The principal ID of the system-assigned
+ /// identity of the search service.
+ /// The tenant ID of the system-assigned
+ /// identity of the search service.
public Identity(IdentityType type, string principalId = default(string), string tenantId = default(string))
{
PrincipalId = principalId;
@@ -48,13 +49,15 @@ public Identity()
partial void CustomInit();
///
- /// Gets the principal ID of resource identity.
+ /// Gets the principal ID of the system-assigned identity of the search
+ /// service.
///
[JsonProperty(PropertyName = "principalId")]
public string PrincipalId { get; private set; }
///
- /// Gets the tenant ID of resource.
+ /// Gets the tenant ID of the system-assigned identity of the search
+ /// service.
///
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; private set; }
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 e77389202608..3dbcb1596080 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/PrivateEndpointConnectionProperties.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateEndpointConnectionProperties.cs
index 4ade2d77b1da..cbdd370482f4 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateEndpointConnectionProperties.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateEndpointConnectionProperties.cs
@@ -37,10 +37,18 @@ public PrivateEndpointConnectionProperties()
/// Describes the
/// current state of an existing Private Link Service connection to the
/// Azure Private Endpoint.
- public PrivateEndpointConnectionProperties(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint = default(PrivateEndpointConnectionPropertiesPrivateEndpoint), PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState))
+ /// The group id from the provider of resource
+ /// the private link service connection is for.
+ /// The provisioning state of the
+ /// private link service connection. Can be Updating, Deleting, Failed,
+ /// Succeeded, or Incomplete. Possible values include: 'Updating',
+ /// 'Deleting', 'Failed', 'Succeeded', 'Incomplete', 'Canceled'
+ public PrivateEndpointConnectionProperties(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint = default(PrivateEndpointConnectionPropertiesPrivateEndpoint), PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState), string groupId = default(string), string provisioningState = default(string))
{
PrivateEndpoint = privateEndpoint;
PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
+ GroupId = groupId;
+ ProvisioningState = provisioningState;
CustomInit();
}
@@ -63,5 +71,21 @@ public PrivateEndpointConnectionProperties()
[JsonProperty(PropertyName = "privateLinkServiceConnectionState")]
public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { get; set; }
+ ///
+ /// Gets or sets the group id from the provider of resource the private
+ /// link service connection is for.
+ ///
+ [JsonProperty(PropertyName = "groupId")]
+ public string GroupId { get; set; }
+
+ ///
+ /// Gets or sets the provisioning state of the private link service
+ /// connection. Can be Updating, Deleting, Failed, Succeeded, or
+ /// Incomplete. Possible values include: 'Updating', 'Deleting',
+ /// 'Failed', 'Succeeded', 'Incomplete', 'Canceled'
+ ///
+ [JsonProperty(PropertyName = "provisioningState")]
+ public string ProvisioningState { get; set; }
+
}
}
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 192ba3f6164e..da8d103923bd 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/PrivateLinkServiceConnectionProvisioningState.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkServiceConnectionProvisioningState.cs
new file mode 100644
index 000000000000..5c217abe5499
--- /dev/null
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkServiceConnectionProvisioningState.cs
@@ -0,0 +1,51 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Search.Models
+{
+
+ ///
+ /// Defines values for PrivateLinkServiceConnectionProvisioningState.
+ ///
+ public static class PrivateLinkServiceConnectionProvisioningState
+ {
+ ///
+ /// The private link service connection is in the process of being
+ /// created along with other resources for it to be fully functional.
+ ///
+ public const string Updating = "Updating";
+ ///
+ /// The private link service connection is in the process of being
+ /// deleted.
+ ///
+ public const string Deleting = "Deleting";
+ ///
+ /// The private link service connection has failed to be provisioned or
+ /// deleted.
+ ///
+ public const string Failed = "Failed";
+ ///
+ /// The private link service connection has finished provisioning and
+ /// is ready for approval.
+ ///
+ public const string Succeeded = "Succeeded";
+ ///
+ /// Provisioning request for the private link service connection
+ /// resource has been accepted but the process of creation has not
+ /// commenced yet.
+ ///
+ public const string Incomplete = "Incomplete";
+ ///
+ /// Provisioning request for the private link service connection
+ /// resource has been canceled
+ ///
+ public const string Canceled = "Canceled";
+ }
+}
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkServiceConnectionStatus.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkServiceConnectionStatus.cs
index ed41cc03d5e7..8f149ff8c6ee 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkServiceConnectionStatus.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/PrivateLinkServiceConnectionStatus.cs
@@ -21,12 +21,26 @@ namespace Microsoft.Azure.Management.Search.Models
[JsonConverter(typeof(StringEnumConverter))]
public enum PrivateLinkServiceConnectionStatus
{
+ ///
+ /// The private endpoint connection has been created and is pending
+ /// approval.
+ ///
[EnumMember(Value = "Pending")]
Pending,
+ ///
+ /// The private endpoint connection is approved and is ready for use.
+ ///
[EnumMember(Value = "Approved")]
Approved,
+ ///
+ /// The private endpoint connection has been rejected and cannot be
+ /// used.
+ ///
[EnumMember(Value = "Rejected")]
Rejected,
+ ///
+ /// The private endpoint connection has been removed from the service.
+ ///
[EnumMember(Value = "Disconnected")]
Disconnected
}
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProvisioningState.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProvisioningState.cs
index 27a3b9b39658..accabbf08de5 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProvisioningState.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/ProvisioningState.cs
@@ -21,10 +21,19 @@ namespace Microsoft.Azure.Management.Search.Models
[JsonConverter(typeof(StringEnumConverter))]
public enum ProvisioningState
{
+ ///
+ /// The last provisioning operation has completed successfully.
+ ///
[EnumMember(Value = "succeeded")]
Succeeded,
+ ///
+ /// The search service is being provisioned or scaled up or down.
+ ///
[EnumMember(Value = "provisioning")]
Provisioning,
+ ///
+ /// The last provisioning operation has failed.
+ ///
[EnumMember(Value = "failed")]
Failed
}
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 d9362373ebaa..7fc45b4cbc62 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 ee6edb10ee93..54ec0120b4ab 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 d50e9bd07cf2..bfe7c2424f1c 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
@@ -57,8 +57,8 @@ public SearchService()
/// that allow up to 1000 indexes, which is much higher than the
/// maximum indexes allowed for any other SKU. For the standard3 SKU,
/// the value is either 'default' or 'highDensity'. For all other SKUs,
- /// this value must be 'default'. Possible values include: 'default',
- /// 'highDensity'
+ /// this value must be 'default'. Possible values include: 'Default',
+ /// 'HighDensity'
/// This value can be set to
/// 'enabled' to avoid breaking changes on existing customer resources
/// and templates. If set to 'disabled', traffic over public interface
@@ -79,8 +79,9 @@ public SearchService()
/// or error states, it means the Azure Cognitive Search team is
/// actively investigating the underlying issue. Dedicated services in
/// these states are still chargeable based on the number of search
- /// units provisioned. Possible values include: 'running',
- /// 'provisioning', 'deleting', 'degraded', 'disabled', 'error'
+ /// units provisioned. Possible values include: 'Running',
+ /// 'Provisioning', 'Deleting', 'Degraded', 'Disabled', 'Error',
+ /// 'Stopped'
/// The details of the search service
/// status.
/// The state of the last provisioning
@@ -94,9 +95,16 @@ public SearchService()
/// service, this value tends to come back as 'succeeded' directly in
/// the call to Create search service. This is because the free service
/// uses capacity that is already set up. Possible values include:
- /// 'succeeded', 'provisioning', 'failed'
+ /// 'Succeeded', 'Provisioning', 'Failed'
/// Network specific rules that determine
/// how the Azure Cognitive Search service may be reached.
+ /// When set to true, calls to the
+ /// search service will not be permitted to utilize API keys for
+ /// authentication. This cannot be set to true if
+ /// 'dataPlaneAuthOptions' are defined.
+ /// Defines the options for how the data
+ /// plane API of a search service authenticates requests. This cannot
+ /// be set if 'disableLocalAuth' is set to true.
/// The list of private
/// endpoint connections to the Azure Cognitive Search service.
/// The list of shared private
@@ -106,7 +114,7 @@ public SearchService()
/// price tier and capacity limits. This property is required when
/// creating a new Search Service.
/// The identity of the resource.
- public SearchService(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), int? replicaCount = default(int?), int? partitionCount = default(int?), HostingMode? hostingMode = default(HostingMode?), PublicNetworkAccess? publicNetworkAccess = default(PublicNetworkAccess?), SearchServiceStatus? status = default(SearchServiceStatus?), string statusDetails = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), IList privateEndpointConnections = default(IList), IList sharedPrivateLinkResources = default(IList), Sku sku = default(Sku), Identity identity = default(Identity))
+ public SearchService(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), int? replicaCount = default(int?), int? partitionCount = default(int?), HostingMode? hostingMode = default(HostingMode?), PublicNetworkAccess? publicNetworkAccess = default(PublicNetworkAccess?), SearchServiceStatus? status = default(SearchServiceStatus?), string statusDetails = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), bool? disableLocalAuth = default(bool?), DataPlaneAuthOptions authOptions = default(DataPlaneAuthOptions), IList privateEndpointConnections = default(IList), IList sharedPrivateLinkResources = default(IList), Sku sku = default(Sku), Identity identity = default(Identity))
: base(location, id, name, type, tags)
{
ReplicaCount = replicaCount;
@@ -117,6 +125,8 @@ public SearchService()
StatusDetails = statusDetails;
ProvisioningState = provisioningState;
NetworkRuleSet = networkRuleSet;
+ DisableLocalAuth = disableLocalAuth;
+ AuthOptions = authOptions;
PrivateEndpointConnections = privateEndpointConnections;
SharedPrivateLinkResources = sharedPrivateLinkResources;
Sku = sku;
@@ -153,8 +163,8 @@ public SearchService()
/// up to 1000 indexes, which is much higher than the maximum indexes
/// allowed for any other SKU. For the standard3 SKU, the value is
/// either 'default' or 'highDensity'. For all other SKUs, this value
- /// must be 'default'. Possible values include: 'default',
- /// 'highDensity'
+ /// must be 'default'. Possible values include: 'Default',
+ /// 'HighDensity'
///
[JsonProperty(PropertyName = "properties.hostingMode")]
public HostingMode? HostingMode { get; set; }
@@ -184,8 +194,9 @@ public SearchService()
/// or error states, it means the Azure Cognitive Search team is
/// actively investigating the underlying issue. Dedicated services in
/// these states are still chargeable based on the number of search
- /// units provisioned. Possible values include: 'running',
- /// 'provisioning', 'deleting', 'degraded', 'disabled', 'error'
+ /// units provisioned. Possible values include: 'Running',
+ /// 'Provisioning', 'Deleting', 'Degraded', 'Disabled', 'Error',
+ /// 'Stopped'
///
[JsonProperty(PropertyName = "properties.status")]
public SearchServiceStatus? Status { get; private set; }
@@ -207,7 +218,7 @@ public SearchService()
/// you are using the free service, this value tends to come back as
/// 'succeeded' directly in the call to Create search service. This is
/// because the free service uses capacity that is already set up.
- /// Possible values include: 'succeeded', 'provisioning', 'failed'
+ /// Possible values include: 'Succeeded', 'Provisioning', 'Failed'
///
[JsonProperty(PropertyName = "properties.provisioningState")]
public ProvisioningState? ProvisioningState { get; private set; }
@@ -219,6 +230,22 @@ public SearchService()
[JsonProperty(PropertyName = "properties.networkRuleSet")]
public NetworkRuleSet NetworkRuleSet { get; set; }
+ ///
+ /// Gets or sets when set to true, calls to the search service will not
+ /// be permitted to utilize API keys for authentication. This cannot be
+ /// set to true if 'dataPlaneAuthOptions' are defined.
+ ///
+ [JsonProperty(PropertyName = "properties.disableLocalAuth")]
+ public bool? DisableLocalAuth { get; set; }
+
+ ///
+ /// Gets or sets defines the options for how the data plane API of a
+ /// search service authenticates requests. This cannot be set if
+ /// 'disableLocalAuth' is set to true.
+ ///
+ [JsonProperty(PropertyName = "properties.authOptions")]
+ public DataPlaneAuthOptions AuthOptions { get; set; }
+
///
/// Gets the list of private endpoint connections to the Azure
/// Cognitive Search service.
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceStatus.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceStatus.cs
index af2dfa07a503..cf8e15c65250 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceStatus.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SearchServiceStatus.cs
@@ -21,18 +21,45 @@ namespace Microsoft.Azure.Management.Search.Models
[JsonConverter(typeof(StringEnumConverter))]
public enum SearchServiceStatus
{
+ ///
+ /// The search service is running and no provisioning operations are
+ /// underway.
+ ///
[EnumMember(Value = "running")]
Running,
+ ///
+ /// The search service is being provisioned or scaled up or down.
+ ///
[EnumMember(Value = "provisioning")]
Provisioning,
+ ///
+ /// The search service is being deleted.
+ ///
[EnumMember(Value = "deleting")]
Deleting,
+ ///
+ /// The search service is degraded because underlying search units are
+ /// not healthy.
+ ///
[EnumMember(Value = "degraded")]
Degraded,
+ ///
+ /// The search service is disabled and all API requests will be
+ /// rejected.
+ ///
[EnumMember(Value = "disabled")]
Disabled,
+ ///
+ /// The search service is in error state, indicating either a failure
+ /// to provision or to be deleted.
+ ///
[EnumMember(Value = "error")]
- Error
+ Error,
+ ///
+ /// The search service is in a subscription that's disabled.
+ ///
+ [EnumMember(Value = "stopped")]
+ Stopped
}
internal static class SearchServiceStatusEnumExtension
{
@@ -57,6 +84,8 @@ internal static string ToSerializedValue(this SearchServiceStatus value)
return "disabled";
case SearchServiceStatus.Error:
return "error";
+ case SearchServiceStatus.Stopped:
+ return "stopped";
}
return null;
}
@@ -77,6 +106,8 @@ internal static string ToSerializedValue(this SearchServiceStatus value)
return SearchServiceStatus.Disabled;
case "error":
return SearchServiceStatus.Error;
+ case "stopped":
+ return SearchServiceStatus.Stopped;
}
return null;
}
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 0c8ffa43de97..8c67a1efae19 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
@@ -54,8 +54,8 @@ public SearchServiceUpdate()
/// that allow up to 1000 indexes, which is much higher than the
/// maximum indexes allowed for any other SKU. For the standard3 SKU,
/// the value is either 'default' or 'highDensity'. For all other SKUs,
- /// this value must be 'default'. Possible values include: 'default',
- /// 'highDensity'
+ /// this value must be 'default'. Possible values include: 'Default',
+ /// 'HighDensity'
/// This value can be set to
/// 'enabled' to avoid breaking changes on existing customer resources
/// and templates. If set to 'disabled', traffic over public interface
@@ -76,8 +76,9 @@ public SearchServiceUpdate()
/// or error states, it means the Azure Cognitive Search team is
/// actively investigating the underlying issue. Dedicated services in
/// these states are still chargeable based on the number of search
- /// units provisioned. Possible values include: 'running',
- /// 'provisioning', 'deleting', 'degraded', 'disabled', 'error'
+ /// units provisioned. Possible values include: 'Running',
+ /// 'Provisioning', 'Deleting', 'Degraded', 'Disabled', 'Error',
+ /// 'Stopped'
/// The details of the search service
/// status.
/// The state of the last provisioning
@@ -91,9 +92,16 @@ public SearchServiceUpdate()
/// service, this value tends to come back as 'succeeded' directly in
/// the call to Create search service. This is because the free service
/// uses capacity that is already set up. Possible values include:
- /// 'succeeded', 'provisioning', 'failed'
+ /// 'Succeeded', 'Provisioning', 'Failed'
/// Network specific rules that determine
/// how the Azure Cognitive Search service may be reached.
+ /// When set to true, calls to the
+ /// search service will not be permitted to utilize API keys for
+ /// authentication. This cannot be set to true if
+ /// 'dataPlaneAuthOptions' are defined.
+ /// Defines the options for how the data
+ /// plane API of a search service authenticates requests. This cannot
+ /// be set if 'disableLocalAuth' is set to true.
/// The list of private
/// endpoint connections to the Azure Cognitive Search service.
/// The list of shared private
@@ -109,7 +117,7 @@ public SearchServiceUpdate()
/// Tags to help categorize the resource in the
/// Azure portal.
/// The identity of the resource.
- public SearchServiceUpdate(string id = default(string), string name = default(string), string type = default(string), int? replicaCount = default(int?), int? partitionCount = default(int?), HostingMode? hostingMode = default(HostingMode?), PublicNetworkAccess? publicNetworkAccess = default(PublicNetworkAccess?), SearchServiceStatus? status = default(SearchServiceStatus?), string statusDetails = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), IList privateEndpointConnections = default(IList), IList sharedPrivateLinkResources = default(IList), Sku sku = default(Sku), string location = default(string), IDictionary tags = default(IDictionary), Identity identity = default(Identity))
+ public SearchServiceUpdate(string id = default(string), string name = default(string), string type = default(string), int? replicaCount = default(int?), int? partitionCount = default(int?), HostingMode? hostingMode = default(HostingMode?), PublicNetworkAccess? publicNetworkAccess = default(PublicNetworkAccess?), SearchServiceStatus? status = default(SearchServiceStatus?), string statusDetails = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), bool? disableLocalAuth = default(bool?), DataPlaneAuthOptions authOptions = default(DataPlaneAuthOptions), IList privateEndpointConnections = default(IList), IList sharedPrivateLinkResources = default(IList), Sku sku = default(Sku), string location = default(string), IDictionary tags = default(IDictionary), Identity identity = default(Identity))
: base(id, name, type)
{
ReplicaCount = replicaCount;
@@ -120,6 +128,8 @@ public SearchServiceUpdate()
StatusDetails = statusDetails;
ProvisioningState = provisioningState;
NetworkRuleSet = networkRuleSet;
+ DisableLocalAuth = disableLocalAuth;
+ AuthOptions = authOptions;
PrivateEndpointConnections = privateEndpointConnections;
SharedPrivateLinkResources = sharedPrivateLinkResources;
Sku = sku;
@@ -158,8 +168,8 @@ public SearchServiceUpdate()
/// up to 1000 indexes, which is much higher than the maximum indexes
/// allowed for any other SKU. For the standard3 SKU, the value is
/// either 'default' or 'highDensity'. For all other SKUs, this value
- /// must be 'default'. Possible values include: 'default',
- /// 'highDensity'
+ /// must be 'default'. Possible values include: 'Default',
+ /// 'HighDensity'
///
[JsonProperty(PropertyName = "properties.hostingMode")]
public HostingMode? HostingMode { get; set; }
@@ -189,8 +199,9 @@ public SearchServiceUpdate()
/// or error states, it means the Azure Cognitive Search team is
/// actively investigating the underlying issue. Dedicated services in
/// these states are still chargeable based on the number of search
- /// units provisioned. Possible values include: 'running',
- /// 'provisioning', 'deleting', 'degraded', 'disabled', 'error'
+ /// units provisioned. Possible values include: 'Running',
+ /// 'Provisioning', 'Deleting', 'Degraded', 'Disabled', 'Error',
+ /// 'Stopped'
///
[JsonProperty(PropertyName = "properties.status")]
public SearchServiceStatus? Status { get; private set; }
@@ -212,7 +223,7 @@ public SearchServiceUpdate()
/// you are using the free service, this value tends to come back as
/// 'succeeded' directly in the call to Create search service. This is
/// because the free service uses capacity that is already set up.
- /// Possible values include: 'succeeded', 'provisioning', 'failed'
+ /// Possible values include: 'Succeeded', 'Provisioning', 'Failed'
///
[JsonProperty(PropertyName = "properties.provisioningState")]
public ProvisioningState? ProvisioningState { get; private set; }
@@ -224,6 +235,22 @@ public SearchServiceUpdate()
[JsonProperty(PropertyName = "properties.networkRuleSet")]
public NetworkRuleSet NetworkRuleSet { get; set; }
+ ///
+ /// Gets or sets when set to true, calls to the search service will not
+ /// be permitted to utilize API keys for authentication. This cannot be
+ /// set to true if 'dataPlaneAuthOptions' are defined.
+ ///
+ [JsonProperty(PropertyName = "properties.disableLocalAuth")]
+ public bool? DisableLocalAuth { get; set; }
+
+ ///
+ /// Gets or sets defines the options for how the data plane API of a
+ /// search service authenticates requests. This cannot be set if
+ /// 'disableLocalAuth' is set to true.
+ ///
+ [JsonProperty(PropertyName = "properties.authOptions")]
+ public DataPlaneAuthOptions AuthOptions { get; set; }
+
///
/// Gets the list of private endpoint connections to the Azure
/// Cognitive Search service.
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 d49cf11b073d..bee784fe9d37 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/Sku.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Sku.cs
index 771db9de4c8d..731f22f6d95a 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Sku.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/Sku.cs
@@ -43,8 +43,8 @@ public Sku()
/// property to 'highDensity'). 'storage_optimized_l1': Supports 1TB
/// per partition, up to 12 partitions. 'storage_optimized_l2':
/// Supports 2TB per partition, up to 12 partitions.'. Possible values
- /// include: 'free', 'basic', 'standard', 'standard2', 'standard3',
- /// 'storage_optimized_l1', 'storage_optimized_l2'
+ /// include: 'Free', 'Basic', 'Standard', 'Standard2', 'Standard3',
+ /// 'StorageOptimizedL1', 'StorageOptimizedL2'
public Sku(SkuName? name = default(SkuName?))
{
Name = name;
@@ -67,8 +67,8 @@ public Sku()
/// property to 'highDensity'). 'storage_optimized_l1': Supports 1TB
/// per partition, up to 12 partitions. 'storage_optimized_l2':
/// Supports 2TB per partition, up to 12 partitions.'. Possible values
- /// include: 'free', 'basic', 'standard', 'standard2', 'standard3',
- /// 'storage_optimized_l1', 'storage_optimized_l2'
+ /// include: 'Free', 'Basic', 'Standard', 'Standard2', 'Standard3',
+ /// 'StorageOptimizedL1', 'StorageOptimizedL2'
///
[JsonProperty(PropertyName = "name")]
public SkuName? Name { get; set; }
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SkuName.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SkuName.cs
index 0cf2545576dd..9b6d81847e8d 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SkuName.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/SkuName.cs
@@ -21,18 +21,45 @@ namespace Microsoft.Azure.Management.Search.Models
[JsonConverter(typeof(StringEnumConverter))]
public enum SkuName
{
+ ///
+ /// Free tier, with no SLA guarantees and a subset of features offered
+ /// to paid tiers.
+ ///
[EnumMember(Value = "free")]
Free,
+ ///
+ /// Paid tier dedicated service with up to 3 replicas.
+ ///
[EnumMember(Value = "basic")]
Basic,
+ ///
+ /// Paid tier dedicated service with up to 12 partitions and 12
+ /// replicas.
+ ///
[EnumMember(Value = "standard")]
Standard,
+ ///
+ /// Similar to 'standard', but with more capacity per search unit.
+ ///
[EnumMember(Value = "standard2")]
Standard2,
+ ///
+ /// The largest Standard offering with up to 12 partitions and 12
+ /// replicas (or up to 3 partitions with more indexes if you also set
+ /// the hostingMode property to 'highDensity').
+ ///
[EnumMember(Value = "standard3")]
Standard3,
+ ///
+ /// Paid tier dedicated service that supports 1TB per partition, up to
+ /// 12 partitions.
+ ///
[EnumMember(Value = "storage_optimized_l1")]
StorageOptimizedL1,
+ ///
+ /// Paid tier dedicated service that supports 2TB per partition, up to
+ /// 12 partitions.
+ ///
[EnumMember(Value = "storage_optimized_l2")]
StorageOptimizedL2
}
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 f070232efd98..930bc794b5dc 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/Models/UnavailableNameReason.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/UnavailableNameReason.cs
index ad0d1e16d6bb..07a43ed40d65 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/UnavailableNameReason.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/Models/UnavailableNameReason.cs
@@ -16,7 +16,14 @@ namespace Microsoft.Azure.Management.Search.Models
///
public static class UnavailableNameReason
{
+ ///
+ /// The search service name does not match naming requirements.
+ ///
public const string Invalid = "Invalid";
+ ///
+ /// The search service name is already assigned to a different search
+ /// service.
+ ///
public const string AlreadyExists = "AlreadyExists";
}
}
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 13e8cca3ae5e..4433ebf3aa93 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
@@ -19,26 +19,15 @@ public static IEnumerable> ApiInfo_SearchManagemen
{
return new Tuple[]
{
- new Tuple("Search", "AdminKeys", "2020-08-01"),
- new Tuple("Search", "Operations", "2020-08-01"),
- new Tuple("Search", "PrivateEndpointConnections", "2020-08-01"),
- new Tuple("Search", "PrivateLinkResources", "2020-08-01"),
- new Tuple("Search", "QueryKeys", "2020-08-01"),
- new Tuple("Search", "Services", "2020-08-01"),
- new Tuple("Search", "SharedPrivateLinkResources", "2020-08-01"),
+ new Tuple("Search", "AdminKeys", "2022-09-01"),
+ new Tuple("Search", "Operations", "2022-09-01"),
+ new Tuple("Search", "PrivateEndpointConnections", "2022-09-01"),
+ new Tuple("Search", "PrivateLinkResources", "2022-09-01"),
+ new Tuple("Search", "QueryKeys", "2022-09-01"),
+ new Tuple("Search", "Services", "2022-09-01"),
+ new Tuple("Search", "SharedPrivateLinkResources", "2022-09-01"),
}.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
}
}
-
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SearchManagementClient.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SearchManagementClient.cs
index 47107e568ac2..bc6cace41069 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SearchManagementClient.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/SearchManagementClient.cs
@@ -360,7 +360,7 @@ private void Initialize()
PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this);
SharedPrivateLinkResources = new SharedPrivateLinkResourcesOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2020-08-01";
+ ApiVersion = "2022-09-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperations.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperations.cs
index 207f25e64e93..a3dea459b567 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperations.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperations.cs
@@ -730,7 +730,7 @@ internal ServicesOperations(SearchManagementClient client)
}
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -936,7 +936,7 @@ internal ServicesOperations(SearchManagementClient client)
}
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///
@@ -1611,7 +1611,7 @@ internal ServicesOperations(SearchManagementClient client)
}
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -1802,7 +1802,7 @@ internal ServicesOperations(SearchManagementClient client)
}
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///
diff --git a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperationsExtensions.cs b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperationsExtensions.cs
index 8370138134f8..96225be5f22c 100644
--- a/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperationsExtensions.cs
+++ b/sdk/search/Microsoft.Azure.Management.Search/src/Generated/ServicesOperationsExtensions.cs
@@ -253,7 +253,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -272,7 +272,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -297,7 +297,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///
@@ -312,7 +312,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///
@@ -457,7 +457,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -475,7 +475,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given resource group.
+ /// Gets a list of all Search services in the given resource group.
///
///
///
@@ -499,7 +499,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///
@@ -517,7 +517,7 @@ public static partial class ServicesOperationsExtensions
}
///
- /// Gets a list of all search services in the given subscription.
+ /// Gets a list of all Search services in the given subscription.
///
///
///