Skip to content

Commit c79794c

Browse files
mattgotteinerMatt Gotteiner
andauthored
Update Microsoft.Search to include 2022-09-01 API version (Azure#34613)
* Initial AutoRest 2022-09-01 code * add tests * regenerate code again * addressing feedback * running tests * more test recordings * more tests * update generated code * sanitized * directive to remove stopped enum * regenerate code again * update changelog * change rename * addressing feedback * fix apicompat version * fix changelog format * fix changelog format --------- Co-authored-by: Matt Gotteiner <magottei@microsoft.com>
1 parent 5f08833 commit c79794c

File tree

80 files changed

+29939
-86323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+29939
-86323
lines changed

sdk/search/Azure.ResourceManager.Search/Azure.ResourceManager.Search.sln

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30309.148
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.4.33213.308
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{75849958-749C-4A56-BD5A-40980096CB79}") = "Azure.ResourceManager.Search", "src\Azure.ResourceManager.Search.csproj", "{54F6F842-A8CA-4D03-AD58-983492A1DB9D}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Search", "src\Azure.ResourceManager.Search.csproj", "{54F6F842-A8CA-4D03-AD58-983492A1DB9D}"
77
EndProject
8-
Project("{75849958-749C-4A56-BD5A-40980096CB79}") = "Azure.ResourceManager.Search.Tests", "tests\Azure.ResourceManager.Search.Tests.csproj", "{83B1A520-E562-4E66-B799-1F335B0144EC}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Search.Tests", "tests\Azure.ResourceManager.Search.Tests.csproj", "{83B1A520-E562-4E66-B799-1F335B0144EC}"
99
EndProject
10-
Project("{75849958-749C-4A56-BD5A-40980096CB79}") = "Azure.ResourceManager.Search.Samples", "samples\Azure.ResourceManager.Search.Samples.csproj", "{73A62388-4227-4DFF-82D5-3C2808A88555}"
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Search.Samples", "samples\Azure.ResourceManager.Search.Samples.csproj", "{73A62388-4227-4DFF-82D5-3C2808A88555}"
1111
EndProject
1212
Global
13-
GlobalSection(SolutionProperties) = preSolution
14-
HideSolutionNode = FALSE
15-
EndGlobalSection
16-
GlobalSection(ExtensibilityGlobals) = postSolution
17-
SolutionGuid = {D23907EE-37D9-4A5E-B566-82CCC1FF5A56}
18-
EndGlobalSection
1913
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2014
Debug|Any CPU = Debug|Any CPU
2115
Debug|x64 = Debug|x64
@@ -49,5 +43,23 @@ Global
4943
{83B1A520-E562-4E66-B799-1F335B0144EC}.Release|x64.Build.0 = Release|Any CPU
5044
{83B1A520-E562-4E66-B799-1F335B0144EC}.Release|x86.ActiveCfg = Release|Any CPU
5145
{83B1A520-E562-4E66-B799-1F335B0144EC}.Release|x86.Build.0 = Release|Any CPU
46+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
47+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Debug|Any CPU.Build.0 = Debug|Any CPU
48+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Debug|x64.ActiveCfg = Debug|Any CPU
49+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Debug|x64.Build.0 = Debug|Any CPU
50+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Debug|x86.ActiveCfg = Debug|Any CPU
51+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Debug|x86.Build.0 = Debug|Any CPU
52+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Release|Any CPU.ActiveCfg = Release|Any CPU
53+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Release|Any CPU.Build.0 = Release|Any CPU
54+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Release|x64.ActiveCfg = Release|Any CPU
55+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Release|x64.Build.0 = Release|Any CPU
56+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Release|x86.ActiveCfg = Release|Any CPU
57+
{73A62388-4227-4DFF-82D5-3C2808A88555}.Release|x86.Build.0 = Release|Any CPU
58+
EndGlobalSection
59+
GlobalSection(SolutionProperties) = preSolution
60+
HideSolutionNode = FALSE
61+
EndGlobalSection
62+
GlobalSection(ExtensibilityGlobals) = postSolution
63+
SolutionGuid = {D23907EE-37D9-4A5E-B566-82CCC1FF5A56}
5264
EndGlobalSection
5365
EndGlobal

sdk/search/Azure.ResourceManager.Search/CHANGELOG.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0 (2023-03-14)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added support for '2022-09-01' management plane API version.
8+
- Added support for enabling RBAC authentication on search services.
129

1310
## 1.0.1 (2023-02-20)
1411

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

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,12 @@ 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.SearchAadAuthDataPlaneAuthOptions AuthOptions { get { throw null; } set { } }
69+
public Azure.ResourceManager.Search.Models.SearchEncryptionWithCmk EncryptionWithCmk { get { throw null; } set { } }
6870
public Azure.ResourceManager.Search.Models.SearchServiceHostingMode? HostingMode { get { throw null; } set { } }
6971
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
7072
public System.Collections.Generic.IList<Azure.ResourceManager.Search.Models.SearchServiceIPRule> IPRules { get { throw null; } }
73+
public bool? IsLocalAuthDisabled { get { throw null; } set { } }
7174
public int? PartitionCount { get { throw null; } set { } }
7275
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionData> PrivateEndpointConnections { get { throw null; } }
7376
public Azure.ResourceManager.Search.Models.SearchServiceProvisioningState? ProvisioningState { get { throw null; } }
@@ -153,6 +156,34 @@ public SharedSearchServicePrivateLinkResourceData() { }
153156
}
154157
namespace Azure.ResourceManager.Search.Models
155158
{
159+
public partial class SearchAadAuthDataPlaneAuthOptions
160+
{
161+
public SearchAadAuthDataPlaneAuthOptions() { }
162+
public Azure.ResourceManager.Search.Models.SearchAadAuthFailureMode? AadAuthFailureMode { get { throw null; } set { } }
163+
public System.BinaryData ApiKeyOnly { get { throw null; } set { } }
164+
}
165+
public enum SearchAadAuthFailureMode
166+
{
167+
Http403 = 0,
168+
Http401WithBearerChallenge = 1,
169+
}
170+
public enum SearchEncryptionComplianceStatus
171+
{
172+
Compliant = 0,
173+
NonCompliant = 1,
174+
}
175+
public partial class SearchEncryptionWithCmk
176+
{
177+
public SearchEncryptionWithCmk() { }
178+
public Azure.ResourceManager.Search.Models.SearchEncryptionComplianceStatus? EncryptionComplianceStatus { get { throw null; } }
179+
public Azure.ResourceManager.Search.Models.SearchEncryptionWithCmkEnforcement? Enforcement { get { throw null; } set { } }
180+
}
181+
public enum SearchEncryptionWithCmkEnforcement
182+
{
183+
Unspecified = 0,
184+
Disabled = 1,
185+
Enabled = 2,
186+
}
156187
public partial class SearchManagementRequestOptions
157188
{
158189
public SearchManagementRequestOptions() { }
@@ -171,6 +202,28 @@ internal SearchPrivateLinkResourceProperties() { }
171202
public System.Collections.Generic.IReadOnlyList<string> RequiredZoneNames { get { throw null; } }
172203
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Search.Models.ShareableSearchServicePrivateLinkResourceType> ShareablePrivateLinkResourceTypes { get { throw null; } }
173204
}
205+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
206+
public readonly partial struct SearchPrivateLinkServiceConnectionProvisioningState : System.IEquatable<Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState>
207+
{
208+
private readonly object _dummy;
209+
private readonly int _dummyPrimitive;
210+
public SearchPrivateLinkServiceConnectionProvisioningState(string value) { throw null; }
211+
public static Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState Canceled { get { throw null; } }
212+
public static Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState Deleting { get { throw null; } }
213+
public static Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState Failed { get { throw null; } }
214+
public static Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState Incomplete { get { throw null; } }
215+
public static Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState Succeeded { get { throw null; } }
216+
public static Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState Updating { get { throw null; } }
217+
public bool Equals(Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState other) { throw null; }
218+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
219+
public override bool Equals(object obj) { throw null; }
220+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
221+
public override int GetHashCode() { throw null; }
222+
public static bool operator ==(Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState left, Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState right) { throw null; }
223+
public static implicit operator Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState (string value) { throw null; }
224+
public static bool operator !=(Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState left, Azure.ResourceManager.Search.Models.SearchPrivateLinkServiceConnectionProvisioningState right) { throw null; }
225+
public override string ToString() { throw null; }
226+
}
174227
public enum SearchServiceAdminKeyKind
175228
{
176229
Primary = 0,
@@ -226,9 +279,12 @@ 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.SearchAadAuthDataPlaneAuthOptions AuthOptions { get { throw null; } set { } }
283+
public Azure.ResourceManager.Search.Models.SearchEncryptionWithCmk EncryptionWithCmk { get { throw null; } set { } }
229284
public Azure.ResourceManager.Search.Models.SearchServiceHostingMode? HostingMode { get { throw null; } set { } }
230285
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
231286
public System.Collections.Generic.IList<Azure.ResourceManager.Search.Models.SearchServiceIPRule> IPRules { get { throw null; } }
287+
public bool? IsLocalAuthDisabled { get { throw null; } set { } }
232288
public int? PartitionCount { get { throw null; } set { } }
233289
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionData> PrivateEndpointConnections { get { throw null; } }
234290
public Azure.ResourceManager.Search.Models.SearchServiceProvisioningState? ProvisioningState { 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.SearchPrivateLinkServiceConnectionProvisioningState? ProvisioningState { get { throw null; } set { } }
247305
}
248306
public partial class SearchServicePrivateLinkServiceConnectionState
249307
{

sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionCollection.cs

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

sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionResource.cs

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

0 commit comments

Comments
 (0)