@@ -13,7 +13,8 @@ namespace Microsoft.Azure.Management.Search
13
13
public static partial class AdminKeysOperationsExtensions
14
14
{
15
15
/// <summary>
16
- /// Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
16
+ /// Gets the primary and secondary admin API keys for the specified Azure AI
17
+ /// Search service.
17
18
/// </summary>
18
19
/// <param name='operations'>
19
20
/// The operations group for this extension method.
@@ -22,18 +23,21 @@ public static partial class AdminKeysOperationsExtensions
22
23
///
23
24
/// </param>
24
25
/// <param name='resourceGroupName'>
25
- /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
26
+ /// The name of the resource group within the current subscription. You can
27
+ /// obtain this value from the Azure Resource Manager API or the portal.
26
28
/// </param>
27
29
/// <param name='searchServiceName'>
28
- /// The name of the Azure Cognitive Search service associated with the specified resource group.
30
+ /// The name of the Azure AI Search service associated with the specified
31
+ /// resource group.
29
32
/// </param>
30
33
public static AdminKeyResult Get ( this IAdminKeysOperations operations , string resourceGroupName , string searchServiceName , SearchManagementRequestOptions searchManagementRequestOptions = default ( SearchManagementRequestOptions ) )
31
34
{
32
35
return ( ( IAdminKeysOperations ) operations ) . GetAsync ( resourceGroupName , searchServiceName , searchManagementRequestOptions ) . GetAwaiter ( ) . GetResult ( ) ;
33
36
}
34
37
35
38
/// <summary>
36
- /// Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
39
+ /// Gets the primary and secondary admin API keys for the specified Azure AI
40
+ /// Search service.
37
41
/// </summary>
38
42
/// <param name='operations'>
39
43
/// The operations group for this extension method.
@@ -42,10 +46,12 @@ public static partial class AdminKeysOperationsExtensions
42
46
///
43
47
/// </param>
44
48
/// <param name='resourceGroupName'>
45
- /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
49
+ /// The name of the resource group within the current subscription. You can
50
+ /// obtain this value from the Azure Resource Manager API or the portal.
46
51
/// </param>
47
52
/// <param name='searchServiceName'>
48
- /// The name of the Azure Cognitive Search service associated with the specified resource group.
53
+ /// The name of the Azure AI Search service associated with the specified
54
+ /// resource group.
49
55
/// </param>
50
56
/// <param name='cancellationToken'>
51
57
/// The cancellation token.
@@ -58,7 +64,8 @@ public static partial class AdminKeysOperationsExtensions
58
64
}
59
65
}
60
66
/// <summary>
61
- /// Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
67
+ /// Regenerates either the primary or secondary admin API key. You can only
68
+ /// regenerate one key at a time.
62
69
/// </summary>
63
70
/// <param name='operations'>
64
71
/// The operations group for this extension method.
@@ -67,21 +74,25 @@ public static partial class AdminKeysOperationsExtensions
67
74
///
68
75
/// </param>
69
76
/// <param name='resourceGroupName'>
70
- /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
77
+ /// The name of the resource group within the current subscription. You can
78
+ /// obtain this value from the Azure Resource Manager API or the portal.
71
79
/// </param>
72
80
/// <param name='searchServiceName'>
73
- /// The name of the Azure Cognitive Search service associated with the specified resource group.
81
+ /// The name of the Azure AI Search service associated with the specified
82
+ /// resource group.
74
83
/// </param>
75
84
/// <param name='keyKind'>
76
- /// Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
85
+ /// Specifies which key to regenerate. Valid values include 'primary' and
86
+ /// 'secondary'.
77
87
/// </param>
78
88
public static AdminKeyResult Regenerate ( this IAdminKeysOperations operations , string resourceGroupName , string searchServiceName , AdminKeyKind keyKind , SearchManagementRequestOptions searchManagementRequestOptions = default ( SearchManagementRequestOptions ) )
79
89
{
80
90
return ( ( IAdminKeysOperations ) operations ) . RegenerateAsync ( resourceGroupName , searchServiceName , keyKind , searchManagementRequestOptions ) . GetAwaiter ( ) . GetResult ( ) ;
81
91
}
82
92
83
93
/// <summary>
84
- /// Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
94
+ /// Regenerates either the primary or secondary admin API key. You can only
95
+ /// regenerate one key at a time.
85
96
/// </summary>
86
97
/// <param name='operations'>
87
98
/// The operations group for this extension method.
@@ -90,13 +101,16 @@ public static partial class AdminKeysOperationsExtensions
90
101
///
91
102
/// </param>
92
103
/// <param name='resourceGroupName'>
93
- /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
104
+ /// The name of the resource group within the current subscription. You can
105
+ /// obtain this value from the Azure Resource Manager API or the portal.
94
106
/// </param>
95
107
/// <param name='searchServiceName'>
96
- /// The name of the Azure Cognitive Search service associated with the specified resource group.
108
+ /// The name of the Azure AI Search service associated with the specified
109
+ /// resource group.
97
110
/// </param>
98
111
/// <param name='keyKind'>
99
- /// Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
112
+ /// Specifies which key to regenerate. Valid values include 'primary' and
113
+ /// 'secondary'.
100
114
/// </param>
101
115
/// <param name='cancellationToken'>
102
116
/// The cancellation token.
0 commit comments