Skip to content

Commit 9a3e016

Browse files
SDKAutosatumkurmsftmattgotteinerSamartha Tumkur Vani
committed
CodeGen from PR 21964 in Azure/azure-rest-api-specs
Dev search microsoft.search 2022 09 01 (Azure#21964) * Adds base for updating Microsoft.Search from version stable/2020-08-01 to version 2022-09-01 * Updates readme * Updates API version in new specs and examples * Add missing private endpoint connection properties (Azure#21629) * add missing private endpoint connection properties * fix errors * Adding delegated identities to data plane * Revert "Adding delegated identities to data plane" This reverts commit def1bd3ba296458c19b8f04cb1a7a5b800d002f9. * Fix Lint ProvisioningStateValidation Error * Applying prettier changes npm run prettier -- --write Co-authored-by: Enrique Jaimes <[email protected]> * Satumkur/new api ver 20220901 (Azure#21922) * semantic updates * Add Dataplane RBAC related changes + examples * Prettier fixes * Fix LintDiff errors * Update SearchUpdateServiceDisableLocalAuth.json update erroneous api version param Co-authored-by: Samartha Tumkur Vani <[email protected]> Co-authored-by: Enrique Jaimes <[email protected]> * Add CMK Enforcement policy support (Azure#21996) * Add CMK Enforcement policy support * Update api-version * Remove unused properties * Remove bypass property Co-authored-by: satumkurmsft <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: Samartha Tumkur Vani <[email protected]>
1 parent 74d7251 commit 9a3e016

39 files changed

+794
-56
lines changed

sdk/search/Azure.ResourceManager.Search/api/Azure.ResourceManager.Search.netstandard2.0.cs

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ protected SearchServiceCollection() { }
6565
public partial class SearchServiceData : Azure.ResourceManager.Models.TrackedResourceData
6666
{
6767
public SearchServiceData(Azure.Core.AzureLocation location) : base (default(Azure.Core.AzureLocation)) { }
68+
public Azure.ResourceManager.Search.Models.DataPlaneAuthOptions AuthOptions { get { throw null; } set { } }
69+
public bool? DisableLocalAuth { get { throw null; } set { } }
70+
public Azure.ResourceManager.Search.Models.EncryptionWithCmk EncryptionWithCmk { get { throw null; } set { } }
6871
public Azure.ResourceManager.Search.Models.SearchServiceHostingMode? HostingMode { get { throw null; } set { } }
6972
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
7073
public System.Collections.Generic.IList<Azure.ResourceManager.Search.Models.SearchServiceIPRule> IPRules { get { throw null; } }
@@ -153,6 +156,56 @@ public SharedSearchServicePrivateLinkResourceData() { }
153156
}
154157
namespace Azure.ResourceManager.Search.Models
155158
{
159+
public enum AadAuthFailureMode
160+
{
161+
Http403 = 0,
162+
Http401WithBearerChallenge = 1,
163+
}
164+
public partial class DataPlaneAuthOptions
165+
{
166+
public DataPlaneAuthOptions() { }
167+
public Azure.ResourceManager.Search.Models.AadAuthFailureMode? AadAuthFailureMode { get { throw null; } set { } }
168+
public System.BinaryData ApiKeyOnly { get { throw null; } set { } }
169+
}
170+
public partial class EncryptionWithCmk
171+
{
172+
public EncryptionWithCmk() { }
173+
public Azure.ResourceManager.Search.Models.SearchEncryptionComplianceStatus? EncryptionComplianceStatus { get { throw null; } }
174+
public Azure.ResourceManager.Search.Models.SearchEncryptionWithCmk? Enforcement { get { throw null; } set { } }
175+
}
176+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
177+
public readonly partial struct PrivateLinkServiceConnectionProvisioningState : System.IEquatable<Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState>
178+
{
179+
private readonly object _dummy;
180+
private readonly int _dummyPrimitive;
181+
public PrivateLinkServiceConnectionProvisioningState(string value) { throw null; }
182+
public static Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState Canceled { get { throw null; } }
183+
public static Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState Deleting { get { throw null; } }
184+
public static Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState Failed { get { throw null; } }
185+
public static Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState Incomplete { get { throw null; } }
186+
public static Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState Succeeded { get { throw null; } }
187+
public static Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState Updating { get { throw null; } }
188+
public bool Equals(Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState other) { throw null; }
189+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
190+
public override bool Equals(object obj) { throw null; }
191+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
192+
public override int GetHashCode() { throw null; }
193+
public static bool operator ==(Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState left, Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState right) { throw null; }
194+
public static implicit operator Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState (string value) { throw null; }
195+
public static bool operator !=(Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState left, Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState right) { throw null; }
196+
public override string ToString() { throw null; }
197+
}
198+
public enum SearchEncryptionComplianceStatus
199+
{
200+
Compliant = 0,
201+
NonCompliant = 1,
202+
}
203+
public enum SearchEncryptionWithCmk
204+
{
205+
Unspecified = 0,
206+
Disabled = 1,
207+
Enabled = 2,
208+
}
156209
public partial class SearchManagementRequestOptions
157210
{
158211
public SearchManagementRequestOptions() { }
@@ -226,6 +279,9 @@ internal SearchServiceNameAvailabilityResult() { }
226279
public partial class SearchServicePatch : Azure.ResourceManager.Models.TrackedResourceData
227280
{
228281
public SearchServicePatch(Azure.Core.AzureLocation location) : base (default(Azure.Core.AzureLocation)) { }
282+
public Azure.ResourceManager.Search.Models.DataPlaneAuthOptions AuthOptions { get { throw null; } set { } }
283+
public bool? DisableLocalAuth { get { throw null; } set { } }
284+
public Azure.ResourceManager.Search.Models.EncryptionWithCmk EncryptionWithCmk { get { throw null; } set { } }
229285
public Azure.ResourceManager.Search.Models.SearchServiceHostingMode? HostingMode { get { throw null; } set { } }
230286
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
231287
public System.Collections.Generic.IList<Azure.ResourceManager.Search.Models.SearchServiceIPRule> IPRules { get { throw null; } }
@@ -243,7 +299,9 @@ public partial class SearchServicePrivateEndpointConnectionProperties
243299
{
244300
public SearchServicePrivateEndpointConnectionProperties() { }
245301
public Azure.ResourceManager.Search.Models.SearchServicePrivateLinkServiceConnectionState ConnectionState { get { throw null; } set { } }
302+
public string GroupId { get { throw null; } set { } }
246303
public Azure.Core.ResourceIdentifier PrivateEndpointId { get { throw null; } set { } }
304+
public Azure.ResourceManager.Search.Models.PrivateLinkServiceConnectionProvisioningState? ProvisioningState { get { throw null; } set { } }
247305
}
248306
public partial class SearchServicePrivateLinkServiceConnectionState
249307
{
@@ -301,6 +359,7 @@ public enum SearchServiceStatus
301359
Degraded = 3,
302360
Disabled = 4,
303361
Error = 5,
362+
Stopped = 6,
304363
}
305364
public enum SearchSkuName
306365
{

sdk/search/Azure.ResourceManager.Search/src/Generated/Extensions/SearchExtensions.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/Azure.ResourceManager.Search/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/Azure.ResourceManager.Search/src/Generated/Models/AadAuthFailureMode.Serialization.cs

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/Azure.ResourceManager.Search/src/Generated/Models/AadAuthFailureMode.cs

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/Azure.ResourceManager.Search/src/Generated/Models/DataPlaneAadOrApiKeyAuthOption.Serialization.cs

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/Azure.ResourceManager.Search/src/Generated/Models/DataPlaneAadOrApiKeyAuthOption.cs

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/Azure.ResourceManager.Search/src/Generated/Models/DataPlaneAuthOptions.Serialization.cs

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/search/Azure.ResourceManager.Search/src/Generated/Models/DataPlaneAuthOptions.cs

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)