@@ -19,6 +19,27 @@ func ApigClientBuilder() *http_client.HcHttpClientBuilder {
19
19
return builder
20
20
}
21
21
22
+ // AcceptOrRejectEndpointConnections 接受或拒绝终端节点连接
23
+ //
24
+ // 接受或拒绝实例节点连接。
25
+ //
26
+ // Please refer to HUAWEI cloud API Explorer for details.
27
+ func (c * ApigClient ) AcceptOrRejectEndpointConnections (request * model.AcceptOrRejectEndpointConnectionsRequest ) (* model.AcceptOrRejectEndpointConnectionsResponse , error ) {
28
+ requestDef := GenReqDefForAcceptOrRejectEndpointConnections ()
29
+
30
+ if resp , err := c .HcClient .Sync (request , requestDef ); err != nil {
31
+ return nil , err
32
+ } else {
33
+ return resp .(* model.AcceptOrRejectEndpointConnectionsResponse ), nil
34
+ }
35
+ }
36
+
37
+ // AcceptOrRejectEndpointConnectionsInvoker 接受或拒绝终端节点连接
38
+ func (c * ApigClient ) AcceptOrRejectEndpointConnectionsInvoker (request * model.AcceptOrRejectEndpointConnectionsRequest ) * AcceptOrRejectEndpointConnectionsInvoker {
39
+ requestDef := GenReqDefForAcceptOrRejectEndpointConnections ()
40
+ return & AcceptOrRejectEndpointConnectionsInvoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
41
+ }
42
+
22
43
// AddEipV2 实例更新或绑定EIP
23
44
//
24
45
// 实例更新或绑定EIP
@@ -40,6 +61,27 @@ func (c *ApigClient) AddEipV2Invoker(request *model.AddEipV2Request) *AddEipV2In
40
61
return & AddEipV2Invoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
41
62
}
42
63
64
+ // AddEndpointPermissions 批量添加实例终端节点连接白名单
65
+ //
66
+ // 批量添加实例终端节点连接白名单。
67
+ //
68
+ // Please refer to HUAWEI cloud API Explorer for details.
69
+ func (c * ApigClient ) AddEndpointPermissions (request * model.AddEndpointPermissionsRequest ) (* model.AddEndpointPermissionsResponse , error ) {
70
+ requestDef := GenReqDefForAddEndpointPermissions ()
71
+
72
+ if resp , err := c .HcClient .Sync (request , requestDef ); err != nil {
73
+ return nil , err
74
+ } else {
75
+ return resp .(* model.AddEndpointPermissionsResponse ), nil
76
+ }
77
+ }
78
+
79
+ // AddEndpointPermissionsInvoker 批量添加实例终端节点连接白名单
80
+ func (c * ApigClient ) AddEndpointPermissionsInvoker (request * model.AddEndpointPermissionsRequest ) * AddEndpointPermissionsInvoker {
81
+ requestDef := GenReqDefForAddEndpointPermissions ()
82
+ return & AddEndpointPermissionsInvoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
83
+ }
84
+
43
85
// AddEngressEipV2 开启实例公网出口
44
86
//
45
87
// 实例开启公网出口
@@ -480,6 +522,27 @@ func (c *ApigClient) DeleteCustomAuthorizerV2Invoker(request *model.DeleteCustom
480
522
return & DeleteCustomAuthorizerV2Invoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
481
523
}
482
524
525
+ // DeleteEndpointPermissions 批量删除实例终端节点连接白名单
526
+ //
527
+ // 批量删除实例终端节点连接白名单。
528
+ //
529
+ // Please refer to HUAWEI cloud API Explorer for details.
530
+ func (c * ApigClient ) DeleteEndpointPermissions (request * model.DeleteEndpointPermissionsRequest ) (* model.DeleteEndpointPermissionsResponse , error ) {
531
+ requestDef := GenReqDefForDeleteEndpointPermissions ()
532
+
533
+ if resp , err := c .HcClient .Sync (request , requestDef ); err != nil {
534
+ return nil , err
535
+ } else {
536
+ return resp .(* model.DeleteEndpointPermissionsResponse ), nil
537
+ }
538
+ }
539
+
540
+ // DeleteEndpointPermissionsInvoker 批量删除实例终端节点连接白名单
541
+ func (c * ApigClient ) DeleteEndpointPermissionsInvoker (request * model.DeleteEndpointPermissionsRequest ) * DeleteEndpointPermissionsInvoker {
542
+ requestDef := GenReqDefForDeleteEndpointPermissions ()
543
+ return & DeleteEndpointPermissionsInvoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
544
+ }
545
+
483
546
// DeleteEnvironmentV2 删除环境
484
547
//
485
548
// 删除指定的环境。
@@ -996,6 +1059,48 @@ func (c *ApigClient) ListCustomAuthorizersV2Invoker(request *model.ListCustomAut
996
1059
return & ListCustomAuthorizersV2Invoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
997
1060
}
998
1061
1062
+ // ListEndpointConnections 查询实例终端节点连接列表
1063
+ //
1064
+ // 查询实例终端节点连接列表。
1065
+ //
1066
+ // Please refer to HUAWEI cloud API Explorer for details.
1067
+ func (c * ApigClient ) ListEndpointConnections (request * model.ListEndpointConnectionsRequest ) (* model.ListEndpointConnectionsResponse , error ) {
1068
+ requestDef := GenReqDefForListEndpointConnections ()
1069
+
1070
+ if resp , err := c .HcClient .Sync (request , requestDef ); err != nil {
1071
+ return nil , err
1072
+ } else {
1073
+ return resp .(* model.ListEndpointConnectionsResponse ), nil
1074
+ }
1075
+ }
1076
+
1077
+ // ListEndpointConnectionsInvoker 查询实例终端节点连接列表
1078
+ func (c * ApigClient ) ListEndpointConnectionsInvoker (request * model.ListEndpointConnectionsRequest ) * ListEndpointConnectionsInvoker {
1079
+ requestDef := GenReqDefForListEndpointConnections ()
1080
+ return & ListEndpointConnectionsInvoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
1081
+ }
1082
+
1083
+ // ListEndpointPermissions 查询实例的终端节点服务的白名单列表
1084
+ //
1085
+ // 查询当前实例终端节点服务的白名单列表。
1086
+ //
1087
+ // Please refer to HUAWEI cloud API Explorer for details.
1088
+ func (c * ApigClient ) ListEndpointPermissions (request * model.ListEndpointPermissionsRequest ) (* model.ListEndpointPermissionsResponse , error ) {
1089
+ requestDef := GenReqDefForListEndpointPermissions ()
1090
+
1091
+ if resp , err := c .HcClient .Sync (request , requestDef ); err != nil {
1092
+ return nil , err
1093
+ } else {
1094
+ return resp .(* model.ListEndpointPermissionsResponse ), nil
1095
+ }
1096
+ }
1097
+
1098
+ // ListEndpointPermissionsInvoker 查询实例的终端节点服务的白名单列表
1099
+ func (c * ApigClient ) ListEndpointPermissionsInvoker (request * model.ListEndpointPermissionsRequest ) * ListEndpointPermissionsInvoker {
1100
+ requestDef := GenReqDefForListEndpointPermissions ()
1101
+ return & ListEndpointPermissionsInvoker {invoker .NewBaseInvoker (c .HcClient , request , requestDef )}
1102
+ }
1103
+
999
1104
// ListEnvironmentVariablesV2 查询变量列表
1000
1105
//
1001
1106
// 查询分组下的所有环境变量的列表。
0 commit comments