/
privateEndpointConnections.ts
109 lines (107 loc) · 4.6 KB
/
privateEndpointConnections.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import {
PrivateEndpointConnection,
PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
PrivateEndpointConnectionsGetOptionalParams,
PrivateEndpointConnectionsGetResponse,
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
PrivateEndpointConnectionsCreateOrUpdateResponse,
PrivateEndpointConnectionsDeleteOptionalParams
} from "../models";
/// <reference lib="esnext.asynciterable" />
/** Interface representing a PrivateEndpointConnections. */
export interface PrivateEndpointConnections {
/**
* Gets all private endpoint connections on a private link scope.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param options The options parameters.
*/
listByPrivateLinkScope(
resourceGroupName: string,
scopeName: string,
options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
/**
* Gets a private endpoint connection.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param options The options parameters.
*/
get(
resourceGroupName: string,
scopeName: string,
privateEndpointConnectionName: string,
options?: PrivateEndpointConnectionsGetOptionalParams
): Promise<PrivateEndpointConnectionsGetResponse>;
/**
* Approve or reject a private endpoint connection with a given name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param parameters A private endpoint connection
* @param options The options parameters.
*/
beginCreateOrUpdate(
resourceGroupName: string,
scopeName: string,
privateEndpointConnectionName: string,
parameters: PrivateEndpointConnection,
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
): Promise<
PollerLike<
PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
PrivateEndpointConnectionsCreateOrUpdateResponse
>
>;
/**
* Approve or reject a private endpoint connection with a given name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param parameters A private endpoint connection
* @param options The options parameters.
*/
beginCreateOrUpdateAndWait(
resourceGroupName: string,
scopeName: string,
privateEndpointConnectionName: string,
parameters: PrivateEndpointConnection,
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
/**
* Deletes a private endpoint connection with a given name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param options The options parameters.
*/
beginDelete(
resourceGroupName: string,
scopeName: string,
privateEndpointConnectionName: string,
options?: PrivateEndpointConnectionsDeleteOptionalParams
): Promise<PollerLike<PollOperationState<void>, void>>;
/**
* Deletes a private endpoint connection with a given name.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param scopeName The name of the Azure Arc PrivateLinkScope resource.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param options The options parameters.
*/
beginDeleteAndWait(
resourceGroupName: string,
scopeName: string,
privateEndpointConnectionName: string,
options?: PrivateEndpointConnectionsDeleteOptionalParams
): Promise<void>;
}