1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License. See License.txt in the project root for license information.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
+
6
+ namespace Microsoft . Azure . Management . Sql
7
+ {
8
+ using Microsoft . Rest . Azure ;
9
+ using Models ;
10
+
11
+ /// <summary>
12
+ /// JobPrivateEndpointsOperations operations.
13
+ /// </summary>
14
+ public partial interface IJobPrivateEndpointsOperations
15
+ {
16
+ /// <summary>
17
+ /// Gets a list of job agent private endpoints.
18
+ /// </summary>
19
+ /// <remarks>
20
+ /// Gets a list of job agent private endpoints.
21
+ /// </remarks>
22
+ /// <param name='resourceGroupName'>
23
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
24
+ /// </param>
25
+ /// <param name='serverName'>
26
+ /// The name of the server.
27
+ /// </param>
28
+ /// <param name='jobAgentName'>
29
+ /// The name of the job agent.
30
+ /// </param>
31
+ /// <param name='customHeaders'>
32
+ /// The headers that will be added to request.
33
+ /// </param>
34
+ /// <param name='cancellationToken'>
35
+ /// The cancellation token.
36
+ /// </param>
37
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
38
+ /// Thrown when the operation returned an invalid status code
39
+ /// </exception>
40
+ /// <exception cref="Microsoft.Rest.SerializationException">
41
+ /// Thrown when unable to deserialize the response
42
+ /// </exception>
43
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < JobPrivateEndpoint > > > ListByAgentWithHttpMessagesAsync ( string resourceGroupName , string serverName , string jobAgentName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
44
+
45
+ /// <summary>
46
+ /// Gets a private endpoint.
47
+ /// </summary>
48
+ /// <remarks>
49
+ /// Gets a private endpoint.
50
+ /// </remarks>
51
+ /// <param name='resourceGroupName'>
52
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
53
+ /// </param>
54
+ /// <param name='serverName'>
55
+ /// The name of the server.
56
+ /// </param>
57
+ /// <param name='jobAgentName'>
58
+ /// The name of the job agent.
59
+ /// </param>
60
+ /// <param name='privateEndpointName'>
61
+ /// The name of the private endpoint to get.
62
+ /// </param>
63
+ /// <param name='customHeaders'>
64
+ /// The headers that will be added to request.
65
+ /// </param>
66
+ /// <param name='cancellationToken'>
67
+ /// The cancellation token.
68
+ /// </param>
69
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
70
+ /// Thrown when the operation returned an invalid status code
71
+ /// </exception>
72
+ /// <exception cref="Microsoft.Rest.SerializationException">
73
+ /// Thrown when unable to deserialize the response
74
+ /// </exception>
75
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < JobPrivateEndpoint > > GetWithHttpMessagesAsync ( string resourceGroupName , string serverName , string jobAgentName , string privateEndpointName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
76
+
77
+ /// <summary>
78
+ /// Creates or updates a private endpoint.
79
+ /// </summary>
80
+ /// <remarks>
81
+ /// Creates or updates a private endpoint.
82
+ /// </remarks>
83
+ /// <param name='resourceGroupName'>
84
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
85
+ /// </param>
86
+ /// <param name='serverName'>
87
+ /// The name of the server.
88
+ /// </param>
89
+ /// <param name='jobAgentName'>
90
+ /// The name of the job agent.
91
+ /// </param>
92
+ /// <param name='privateEndpointName'>
93
+ /// The name of the private endpoint.
94
+ /// </param>
95
+ /// <param name='parameters'>
96
+ /// The requested private endpoint state.
97
+ /// </param>
98
+ /// <param name='customHeaders'>
99
+ /// The headers that will be added to request.
100
+ /// </param>
101
+ /// <param name='cancellationToken'>
102
+ /// The cancellation token.
103
+ /// </param>
104
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
105
+ /// Thrown when the operation returned an invalid status code
106
+ /// </exception>
107
+ /// <exception cref="Microsoft.Rest.SerializationException">
108
+ /// Thrown when unable to deserialize the response
109
+ /// </exception>
110
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < JobPrivateEndpoint > > CreateOrUpdateWithHttpMessagesAsync ( string resourceGroupName , string serverName , string jobAgentName , string privateEndpointName , JobPrivateEndpoint parameters , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
111
+
112
+ /// <summary>
113
+ /// Deletes a private endpoint.
114
+ /// </summary>
115
+ /// <remarks>
116
+ /// Deletes a private endpoint.
117
+ /// </remarks>
118
+ /// <param name='resourceGroupName'>
119
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
120
+ /// </param>
121
+ /// <param name='serverName'>
122
+ /// The name of the server.
123
+ /// </param>
124
+ /// <param name='jobAgentName'>
125
+ /// The name of the job agent.
126
+ /// </param>
127
+ /// <param name='privateEndpointName'>
128
+ /// The name of the private endpoint to delete.
129
+ /// </param>
130
+ /// <param name='customHeaders'>
131
+ /// The headers that will be added to request.
132
+ /// </param>
133
+ /// <param name='cancellationToken'>
134
+ /// The cancellation token.
135
+ /// </param>
136
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
137
+ /// Thrown when the operation returned an invalid status code
138
+ /// </exception>
139
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse > DeleteWithHttpMessagesAsync ( string resourceGroupName , string serverName , string jobAgentName , string privateEndpointName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
140
+
141
+ /// <summary>
142
+ /// Creates or updates a private endpoint.
143
+ /// </summary>
144
+ /// <remarks>
145
+ /// Creates or updates a private endpoint.
146
+ /// </remarks>
147
+ /// <param name='resourceGroupName'>
148
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
149
+ /// </param>
150
+ /// <param name='serverName'>
151
+ /// The name of the server.
152
+ /// </param>
153
+ /// <param name='jobAgentName'>
154
+ /// The name of the job agent.
155
+ /// </param>
156
+ /// <param name='privateEndpointName'>
157
+ /// The name of the private endpoint.
158
+ /// </param>
159
+ /// <param name='parameters'>
160
+ /// The requested private endpoint state.
161
+ /// </param>
162
+ /// <param name='customHeaders'>
163
+ /// The headers that will be added to request.
164
+ /// </param>
165
+ /// <param name='cancellationToken'>
166
+ /// The cancellation token.
167
+ /// </param>
168
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
169
+ /// Thrown when the operation returned an invalid status code
170
+ /// </exception>
171
+ /// <exception cref="Microsoft.Rest.SerializationException">
172
+ /// Thrown when unable to deserialize the response
173
+ /// </exception>
174
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < JobPrivateEndpoint > > BeginCreateOrUpdateWithHttpMessagesAsync ( string resourceGroupName , string serverName , string jobAgentName , string privateEndpointName , JobPrivateEndpoint parameters , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
175
+
176
+ /// <summary>
177
+ /// Deletes a private endpoint.
178
+ /// </summary>
179
+ /// <remarks>
180
+ /// Deletes a private endpoint.
181
+ /// </remarks>
182
+ /// <param name='resourceGroupName'>
183
+ /// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
184
+ /// </param>
185
+ /// <param name='serverName'>
186
+ /// The name of the server.
187
+ /// </param>
188
+ /// <param name='jobAgentName'>
189
+ /// The name of the job agent.
190
+ /// </param>
191
+ /// <param name='privateEndpointName'>
192
+ /// The name of the private endpoint to delete.
193
+ /// </param>
194
+ /// <param name='customHeaders'>
195
+ /// The headers that will be added to request.
196
+ /// </param>
197
+ /// <param name='cancellationToken'>
198
+ /// The cancellation token.
199
+ /// </param>
200
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
201
+ /// Thrown when the operation returned an invalid status code
202
+ /// </exception>
203
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse > BeginDeleteWithHttpMessagesAsync ( string resourceGroupName , string serverName , string jobAgentName , string privateEndpointName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
204
+
205
+ /// <summary>
206
+ /// Gets a list of job agent private endpoints.
207
+ /// </summary>
208
+ /// <remarks>
209
+ /// Gets a list of job agent private endpoints.
210
+ /// </remarks>
211
+ /// <param name='nextPageLink'>
212
+ /// The NextLink from the previous successful call to List operation.
213
+ /// </param>
214
+ /// <param name='customHeaders'>
215
+ /// The headers that will be added to request.
216
+ /// </param>
217
+ /// <param name='cancellationToken'>
218
+ /// The cancellation token.
219
+ /// </param>
220
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
221
+ /// Thrown when the operation returned an invalid status code
222
+ /// </exception>
223
+ /// <exception cref="Microsoft.Rest.SerializationException">
224
+ /// Thrown when unable to deserialize the response
225
+ /// </exception>
226
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < JobPrivateEndpoint > > > ListByAgentNextWithHttpMessagesAsync ( string nextPageLink , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
227
+
228
+ }
229
+ }
0 commit comments