@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4200 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31119 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5760 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +962 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +967 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3080 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1833 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1691 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3554 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3072 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8878 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1353 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1791 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1022 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14894 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +842 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +842 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4527 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3682 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10954 -0
- package/src/services/cloud.ts +75508 -0
- package/src/services/cloud_v2.ts +14751 -0
- package/src/services/dedicatedceph.ts +2233 -0
- package/src/services/dedicatednasha.ts +2269 -0
- package/src/services/domain.ts +7998 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4218 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4462 -0
- package/src/services/iploadbalancing.ts +8422 -0
- package/src/services/ldp.ts +7274 -0
- package/src/services/me.ts +21720 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3226 -0
- package/src/services/packxdsl.ts +4623 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2433 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32941 -0
- package/src/services/vmwareclouddirectorbackup.ts +2171 -0
- package/src/services/vmwareclouddirectororganization.ts +2171 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11290 -0
- package/src/services/xdsl.ts +9278 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,829 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type OvhOpError, type OvhOpContext } from "../protocol.ts";
|
|
4
|
+
export type { OvhOpError, OvhOpContext };
|
|
5
|
+
/** List of actions to check authorizations for */
|
|
6
|
+
export type CheckIamAuthorizationRequestActionsList = Array<string>;
|
|
7
|
+
export declare const CheckIamAuthorizationRequestActionsList: S.Schema<CheckIamAuthorizationRequestActionsList>;
|
|
8
|
+
/** Resources on which accesses should be checked */
|
|
9
|
+
export type CheckIamAuthorizationRequestResourceURNsList = Array<string>;
|
|
10
|
+
export declare const CheckIamAuthorizationRequestResourceURNsList: S.Schema<CheckIamAuthorizationRequestResourceURNsList>;
|
|
11
|
+
export interface CheckIamAuthorizationRequest {
|
|
12
|
+
/** Pagination cursor */
|
|
13
|
+
xPaginationCursor?: string;
|
|
14
|
+
/** Pagination size */
|
|
15
|
+
xPaginationSize?: number;
|
|
16
|
+
/** List of actions to check authorizations for */
|
|
17
|
+
actions: CheckIamAuthorizationRequestActionsList;
|
|
18
|
+
/** Resources on which accesses should be checked */
|
|
19
|
+
resourceURNs: CheckIamAuthorizationRequestResourceURNsList;
|
|
20
|
+
}
|
|
21
|
+
export declare const CheckIamAuthorizationRequest: S.Schema<CheckIamAuthorizationRequest>;
|
|
22
|
+
/** Authorized actions */
|
|
23
|
+
export type IamAuthorizeBatchResponseAuthorizedActionsList = Array<string>;
|
|
24
|
+
export declare const IamAuthorizeBatchResponseAuthorizedActionsList: S.Schema<IamAuthorizeBatchResponseAuthorizedActionsList>;
|
|
25
|
+
/** Unauthorized actions */
|
|
26
|
+
export type IamAuthorizeBatchResponseUnauthorizedActionsList = Array<string>;
|
|
27
|
+
export declare const IamAuthorizeBatchResponseUnauthorizedActionsList: S.Schema<IamAuthorizeBatchResponseUnauthorizedActionsList>;
|
|
28
|
+
/** Result of an authorization request */
|
|
29
|
+
export interface IamAuthorizeBatchResponse {
|
|
30
|
+
/** Authorized actions */
|
|
31
|
+
authorizedActions?: IamAuthorizeBatchResponseAuthorizedActionsList;
|
|
32
|
+
/** URN of the resource */
|
|
33
|
+
resourceURN?: string;
|
|
34
|
+
/** Unauthorized actions */
|
|
35
|
+
unauthorizedActions?: IamAuthorizeBatchResponseUnauthorizedActionsList;
|
|
36
|
+
}
|
|
37
|
+
export declare const IamAuthorizeBatchResponse: S.Schema<IamAuthorizeBatchResponse>;
|
|
38
|
+
export type CheckIamAuthorizationResponseBodyList = Array<IamAuthorizeBatchResponse>;
|
|
39
|
+
export declare const CheckIamAuthorizationResponseBodyList: S.Schema<CheckIamAuthorizationResponseBodyList>;
|
|
40
|
+
export type CheckIamAuthorizationResponse = CheckIamAuthorizationResponseBodyList;
|
|
41
|
+
export declare const CheckIamAuthorizationResponse: S.Schema<CheckIamAuthorizationResponse>;
|
|
42
|
+
/** List of actions to check authorizations for */
|
|
43
|
+
export type CheckIamResourceAuthorizationRequestActionsList = Array<string>;
|
|
44
|
+
export declare const CheckIamResourceAuthorizationRequestActionsList: S.Schema<CheckIamResourceAuthorizationRequestActionsList>;
|
|
45
|
+
export interface CheckIamResourceAuthorizationRequest {
|
|
46
|
+
/** ResourceURN */
|
|
47
|
+
resourceURN: string;
|
|
48
|
+
/** List of actions to check authorizations for */
|
|
49
|
+
actions: CheckIamResourceAuthorizationRequestActionsList;
|
|
50
|
+
}
|
|
51
|
+
export declare const CheckIamResourceAuthorizationRequest: S.Schema<CheckIamResourceAuthorizationRequest>;
|
|
52
|
+
/** Authorized actions */
|
|
53
|
+
export type IamAuthorizeResponseAuthorizedActionsList = Array<string>;
|
|
54
|
+
export declare const IamAuthorizeResponseAuthorizedActionsList: S.Schema<IamAuthorizeResponseAuthorizedActionsList>;
|
|
55
|
+
/** Unauthorized actions */
|
|
56
|
+
export type IamAuthorizeResponseUnauthorizedActionsList = Array<string>;
|
|
57
|
+
export declare const IamAuthorizeResponseUnauthorizedActionsList: S.Schema<IamAuthorizeResponseUnauthorizedActionsList>;
|
|
58
|
+
/** Result of an authorization request */
|
|
59
|
+
export interface IamAuthorizeResponse {
|
|
60
|
+
/** Authorized actions */
|
|
61
|
+
authorizedActions?: IamAuthorizeResponseAuthorizedActionsList;
|
|
62
|
+
/** Unauthorized actions */
|
|
63
|
+
unauthorizedActions?: IamAuthorizeResponseUnauthorizedActionsList;
|
|
64
|
+
}
|
|
65
|
+
export declare const IamAuthorizeResponse: S.Schema<IamAuthorizeResponse>;
|
|
66
|
+
export interface CreateIamLogSubscriptionRequest {
|
|
67
|
+
/** Log kind name to subscribe to */
|
|
68
|
+
kind: string;
|
|
69
|
+
/** Customer log stream ID */
|
|
70
|
+
streamId: string;
|
|
71
|
+
}
|
|
72
|
+
export declare const CreateIamLogSubscriptionRequest: S.Schema<CreateIamLogSubscriptionRequest>;
|
|
73
|
+
/** Asynchronous operation after subscribing or unsubscribing to a resource logs */
|
|
74
|
+
export interface DbaasLogsLogSubscriptionResponse {
|
|
75
|
+
/** Identifier of the operation */
|
|
76
|
+
operationId?: string;
|
|
77
|
+
/** Operation owner's service name */
|
|
78
|
+
serviceName?: string;
|
|
79
|
+
}
|
|
80
|
+
export declare const DbaasLogsLogSubscriptionResponse: S.Schema<DbaasLogsLogSubscriptionResponse>;
|
|
81
|
+
export interface CreateIamLogUrlRequest {
|
|
82
|
+
/** Log kind name */
|
|
83
|
+
kind: string;
|
|
84
|
+
}
|
|
85
|
+
export declare const CreateIamLogUrlRequest: S.Schema<CreateIamLogUrlRequest>;
|
|
86
|
+
/** Temporary url information */
|
|
87
|
+
export interface DbaasLogsTemporaryLogsLink {
|
|
88
|
+
/** Temporary url expiration date */
|
|
89
|
+
expirationDate?: string;
|
|
90
|
+
/** Temporary url */
|
|
91
|
+
url?: string;
|
|
92
|
+
}
|
|
93
|
+
export declare const DbaasLogsTemporaryLogsLink: S.Schema<DbaasLogsTemporaryLogsLink>;
|
|
94
|
+
/** Action that can be allowed or denied on a resource */
|
|
95
|
+
export interface IamPolicyAction {
|
|
96
|
+
/** Name of the action */
|
|
97
|
+
action: string;
|
|
98
|
+
}
|
|
99
|
+
export declare const IamPolicyAction: S.Schema<IamPolicyAction>;
|
|
100
|
+
/** List of allowed actions */
|
|
101
|
+
export type IamPolicyPermissionsAllowList = Array<IamPolicyAction>;
|
|
102
|
+
export declare const IamPolicyPermissionsAllowList: S.Schema<IamPolicyPermissionsAllowList>;
|
|
103
|
+
/** Actions to deny the access to */
|
|
104
|
+
export type IamPolicyPermissionsDenyList = Array<IamPolicyAction>;
|
|
105
|
+
export declare const IamPolicyPermissionsDenyList: S.Schema<IamPolicyPermissionsDenyList>;
|
|
106
|
+
/** Actions to filter from the allowed list */
|
|
107
|
+
export type IamPolicyPermissionsExceptList = Array<IamPolicyAction>;
|
|
108
|
+
export declare const IamPolicyPermissionsExceptList: S.Schema<IamPolicyPermissionsExceptList>;
|
|
109
|
+
/** Permissions included in a policy */
|
|
110
|
+
export interface IamPolicyPermissions {
|
|
111
|
+
/** List of allowed actions */
|
|
112
|
+
allow?: IamPolicyPermissionsAllowList | null;
|
|
113
|
+
/** Actions to deny the access to */
|
|
114
|
+
deny?: IamPolicyPermissionsDenyList | null;
|
|
115
|
+
/** Actions to filter from the allowed list */
|
|
116
|
+
except?: IamPolicyPermissionsExceptList | null;
|
|
117
|
+
}
|
|
118
|
+
export declare const IamPolicyPermissions: S.Schema<IamPolicyPermissions>;
|
|
119
|
+
export interface CreateIamPermissionsGroupRequest {
|
|
120
|
+
/** Description of the permissions group */
|
|
121
|
+
description: string;
|
|
122
|
+
/** Name of the permissions group */
|
|
123
|
+
name: string;
|
|
124
|
+
/** Permissions granted when using this permissions group */
|
|
125
|
+
permissions: IamPolicyPermissions;
|
|
126
|
+
}
|
|
127
|
+
export declare const CreateIamPermissionsGroupRequest: S.Schema<CreateIamPermissionsGroupRequest>;
|
|
128
|
+
/** Permissions group defines a re-usable set of permissions */
|
|
129
|
+
export interface IamPermissionsGroup {
|
|
130
|
+
/** Creation time */
|
|
131
|
+
createdAt?: string;
|
|
132
|
+
/** Description of the permissions group */
|
|
133
|
+
description: string;
|
|
134
|
+
/** Unique identifier of the permissions group */
|
|
135
|
+
id?: string;
|
|
136
|
+
/** Name of the permissions group */
|
|
137
|
+
name: string;
|
|
138
|
+
/** Owner of the permissions group */
|
|
139
|
+
owner?: string;
|
|
140
|
+
/** Permissions granted when using this permissions group */
|
|
141
|
+
permissions: IamPolicyPermissions;
|
|
142
|
+
/** Last update time */
|
|
143
|
+
updatedAt?: string | null;
|
|
144
|
+
/** Unique resource name used in policies to include this permissions group */
|
|
145
|
+
urn?: string;
|
|
146
|
+
}
|
|
147
|
+
export declare const IamPermissionsGroup: S.Schema<IamPermissionsGroup>;
|
|
148
|
+
/** conditions */
|
|
149
|
+
export type IamPolicyConditionConditionsList = Array<IamPolicyCondition>;
|
|
150
|
+
export declare const IamPolicyConditionConditionsList: S.Schema<IamPolicyConditionConditionsList>;
|
|
151
|
+
/** Operator that can be used in order to restrict policy */
|
|
152
|
+
export type IamPolicyConditionOperatorEnum = "AND" | "MATCH" | "NOT" | "OR";
|
|
153
|
+
export declare const IamPolicyConditionOperatorEnum: any;
|
|
154
|
+
/** Conditions to apply */
|
|
155
|
+
export type IamPolicyConditionValuesMap = {
|
|
156
|
+
[key: string]: string | undefined;
|
|
157
|
+
};
|
|
158
|
+
export declare const IamPolicyConditionValuesMap: S.Schema<IamPolicyConditionValuesMap>;
|
|
159
|
+
/** Condition included in a policy */
|
|
160
|
+
export interface IamPolicyCondition {
|
|
161
|
+
/** conditions */
|
|
162
|
+
conditions?: IamPolicyConditionConditionsList | null;
|
|
163
|
+
/** Operator used with conditions */
|
|
164
|
+
operator?: IamPolicyConditionOperatorEnum | (string & {});
|
|
165
|
+
/** Conditions to apply */
|
|
166
|
+
values?: IamPolicyConditionValuesMap | null;
|
|
167
|
+
}
|
|
168
|
+
export declare const IamPolicyCondition: S.Schema<IamPolicyCondition>;
|
|
169
|
+
/** Recipients of the delegated resources */
|
|
170
|
+
export type CreateIamPolicyRequestIdentitiesList = Array<string>;
|
|
171
|
+
export declare const CreateIamPolicyRequestIdentitiesList: S.Schema<CreateIamPolicyRequestIdentitiesList>;
|
|
172
|
+
/** Permissions group linked to a policy */
|
|
173
|
+
export interface IamPolicyPermissionsGroupInput {
|
|
174
|
+
/** URN of the permissions group */
|
|
175
|
+
urn?: string;
|
|
176
|
+
}
|
|
177
|
+
export declare const IamPolicyPermissionsGroupInput: S.Schema<IamPolicyPermissionsGroupInput>;
|
|
178
|
+
/** Permissions groups accorded to the recipients on the given resources */
|
|
179
|
+
export type CreateIamPolicyRequestPermissionsGroupsList = Array<IamPolicyPermissionsGroupInput>;
|
|
180
|
+
export declare const CreateIamPolicyRequestPermissionsGroupsList: S.Schema<CreateIamPolicyRequestPermissionsGroupsList>;
|
|
181
|
+
/** Resource in a policy */
|
|
182
|
+
export interface IamPolicyResourceInput {
|
|
183
|
+
/** URN of the resource */
|
|
184
|
+
urn: string;
|
|
185
|
+
}
|
|
186
|
+
export declare const IamPolicyResourceInput: S.Schema<IamPolicyResourceInput>;
|
|
187
|
+
/** Resources to delegate */
|
|
188
|
+
export type CreateIamPolicyRequestResourcesList = Array<IamPolicyResourceInput>;
|
|
189
|
+
export declare const CreateIamPolicyRequestResourcesList: S.Schema<CreateIamPolicyRequestResourcesList>;
|
|
190
|
+
export interface CreateIamPolicyRequest {
|
|
191
|
+
/** Conditions restrict permissions following resources, date or customer's information */
|
|
192
|
+
conditions?: IamPolicyCondition | null;
|
|
193
|
+
/** Description of the policy */
|
|
194
|
+
description?: string;
|
|
195
|
+
/** Expiration date of the policy, after this date it will no longer be applied */
|
|
196
|
+
expiredAt?: string | null;
|
|
197
|
+
/** Recipients of the delegated resources */
|
|
198
|
+
identities: CreateIamPolicyRequestIdentitiesList;
|
|
199
|
+
/** Name of the policy */
|
|
200
|
+
name: string;
|
|
201
|
+
/** Permissions accorded to the recipients on the given resources */
|
|
202
|
+
permissions: IamPolicyPermissions;
|
|
203
|
+
/** Permissions groups accorded to the recipients on the given resources */
|
|
204
|
+
permissionsGroups?: CreateIamPolicyRequestPermissionsGroupsList | null;
|
|
205
|
+
/** Resources to delegate */
|
|
206
|
+
resources: CreateIamPolicyRequestResourcesList;
|
|
207
|
+
}
|
|
208
|
+
export declare const CreateIamPolicyRequest: S.Schema<CreateIamPolicyRequest>;
|
|
209
|
+
/** Recipients of the delegated resources */
|
|
210
|
+
export type IamPolicyResponseIdentitiesList = Array<string>;
|
|
211
|
+
export declare const IamPolicyResponseIdentitiesList: S.Schema<IamPolicyResponseIdentitiesList>;
|
|
212
|
+
/** Permissions group linked to a policy */
|
|
213
|
+
export interface IamPolicyPermissionsGroup {
|
|
214
|
+
/** Name of the permissions group */
|
|
215
|
+
name?: string | null;
|
|
216
|
+
/** Owner of the permissions group */
|
|
217
|
+
owner?: string | null;
|
|
218
|
+
/** Permissions embedded in the permissions group */
|
|
219
|
+
permissions?: IamPolicyPermissions | null;
|
|
220
|
+
/** URN of the permissions group */
|
|
221
|
+
urn?: string;
|
|
222
|
+
}
|
|
223
|
+
export declare const IamPolicyPermissionsGroup: S.Schema<IamPolicyPermissionsGroup>;
|
|
224
|
+
/** Permissions groups accorded to the recipients on the given resources */
|
|
225
|
+
export type IamPolicyResponsePermissionsGroupsList = Array<IamPolicyPermissionsGroup>;
|
|
226
|
+
export declare const IamPolicyResponsePermissionsGroupsList: S.Schema<IamPolicyResponsePermissionsGroupsList>;
|
|
227
|
+
/** Group defines a set of resources */
|
|
228
|
+
export interface IamPolicyGroup {
|
|
229
|
+
/** Unique identifier of the group */
|
|
230
|
+
id?: string;
|
|
231
|
+
/** Name of the group */
|
|
232
|
+
name?: string;
|
|
233
|
+
/** Whether you can add or remove resources */
|
|
234
|
+
readOnly?: boolean;
|
|
235
|
+
}
|
|
236
|
+
export declare const IamPolicyGroup: S.Schema<IamPolicyGroup>;
|
|
237
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
238
|
+
export type IamPolicySingleResourceTagsMap = {
|
|
239
|
+
[key: string]: string | undefined;
|
|
240
|
+
};
|
|
241
|
+
export declare const IamPolicySingleResourceTagsMap: S.Schema<IamPolicySingleResourceTagsMap>;
|
|
242
|
+
/** Single resource in a policy */
|
|
243
|
+
export interface IamPolicySingleResource {
|
|
244
|
+
/** Display name of the resource */
|
|
245
|
+
displayName?: string;
|
|
246
|
+
/** Unique identifier of the resource */
|
|
247
|
+
id?: string;
|
|
248
|
+
/** Name of the resource */
|
|
249
|
+
name?: string;
|
|
250
|
+
/** Owner of the resource */
|
|
251
|
+
owner?: string;
|
|
252
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
253
|
+
tags?: IamPolicySingleResourceTagsMap | null;
|
|
254
|
+
/** Resource type. All types can be retrieved at /reference/resource/type */
|
|
255
|
+
type?: string;
|
|
256
|
+
}
|
|
257
|
+
export declare const IamPolicySingleResource: S.Schema<IamPolicySingleResource>;
|
|
258
|
+
/** Resource in a policy */
|
|
259
|
+
export interface IamPolicyResource {
|
|
260
|
+
/** Group object, if resource is a group */
|
|
261
|
+
group?: IamPolicyGroup | null;
|
|
262
|
+
/** Resource object, if resource is a single resource */
|
|
263
|
+
resource?: IamPolicySingleResource | null;
|
|
264
|
+
/** URN of the resource */
|
|
265
|
+
urn: string;
|
|
266
|
+
}
|
|
267
|
+
export declare const IamPolicyResource: S.Schema<IamPolicyResource>;
|
|
268
|
+
/** Resources to delegate */
|
|
269
|
+
export type IamPolicyResponseResourcesList = Array<IamPolicyResource>;
|
|
270
|
+
export declare const IamPolicyResponseResourcesList: S.Schema<IamPolicyResponseResourcesList>;
|
|
271
|
+
/** Policy definition */
|
|
272
|
+
export interface IamPolicyResponse {
|
|
273
|
+
/** Conditions restrict permissions following resources, date or customer's information */
|
|
274
|
+
conditions?: IamPolicyCondition | null;
|
|
275
|
+
/** Creation time */
|
|
276
|
+
createdAt?: string;
|
|
277
|
+
/** Description of the policy */
|
|
278
|
+
description?: string | null;
|
|
279
|
+
/** Expiration date of the policy, after this date it will no longer be applied */
|
|
280
|
+
expiredAt?: string | null;
|
|
281
|
+
/** Unique identifier of the policy */
|
|
282
|
+
id?: string;
|
|
283
|
+
/** Recipients of the delegated resources */
|
|
284
|
+
identities?: IamPolicyResponseIdentitiesList;
|
|
285
|
+
/** Name of the policy */
|
|
286
|
+
name?: string;
|
|
287
|
+
/** Owner of the policy */
|
|
288
|
+
owner?: string;
|
|
289
|
+
/** Permissions accorded to the recipients on the given resources */
|
|
290
|
+
permissions?: IamPolicyPermissions;
|
|
291
|
+
/** Permissions groups accorded to the recipients on the given resources */
|
|
292
|
+
permissionsGroups?: IamPolicyResponsePermissionsGroupsList;
|
|
293
|
+
/** Whether you can update policy */
|
|
294
|
+
readOnly?: boolean;
|
|
295
|
+
/** Resources to delegate */
|
|
296
|
+
resources?: IamPolicyResponseResourcesList;
|
|
297
|
+
/** Last update time */
|
|
298
|
+
updatedAt?: string | null;
|
|
299
|
+
}
|
|
300
|
+
export declare const IamPolicyResponse: S.Schema<IamPolicyResponse>;
|
|
301
|
+
/** Resource is an entity standing for a product. It is used for right delegation */
|
|
302
|
+
export interface IamGroupResourceInput {
|
|
303
|
+
/** Unique identifier of the resource */
|
|
304
|
+
id?: string;
|
|
305
|
+
/** Unique resource name used in policies */
|
|
306
|
+
urn?: string | null;
|
|
307
|
+
}
|
|
308
|
+
export declare const IamGroupResourceInput: S.Schema<IamGroupResourceInput>;
|
|
309
|
+
/** Resources to add in the created group */
|
|
310
|
+
export type CreateIamResourceGroupRequestResourcesList = Array<IamGroupResourceInput>;
|
|
311
|
+
export declare const CreateIamResourceGroupRequestResourcesList: S.Schema<CreateIamResourceGroupRequestResourcesList>;
|
|
312
|
+
export interface CreateIamResourceGroupRequest {
|
|
313
|
+
/** Name of the group */
|
|
314
|
+
name: string;
|
|
315
|
+
/** Resources to add in the created group */
|
|
316
|
+
resources?: CreateIamResourceGroupRequestResourcesList;
|
|
317
|
+
}
|
|
318
|
+
export declare const CreateIamResourceGroupRequest: S.Schema<CreateIamResourceGroupRequest>;
|
|
319
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
320
|
+
export type IamGroupResourceTagsMap = {
|
|
321
|
+
[key: string]: string | undefined;
|
|
322
|
+
};
|
|
323
|
+
export declare const IamGroupResourceTagsMap: S.Schema<IamGroupResourceTagsMap>;
|
|
324
|
+
/** Resource is an entity standing for a product. It is used for right delegation */
|
|
325
|
+
export interface IamGroupResource {
|
|
326
|
+
/** Resource display name */
|
|
327
|
+
displayName?: string | null;
|
|
328
|
+
/** Unique identifier of the resource */
|
|
329
|
+
id?: string;
|
|
330
|
+
/** Resource name */
|
|
331
|
+
name?: string | null;
|
|
332
|
+
/** Resource owner */
|
|
333
|
+
owner?: string | null;
|
|
334
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
335
|
+
tags?: IamGroupResourceTagsMap | null;
|
|
336
|
+
/** Resource type. All types can be retrieved at /reference/resource/type */
|
|
337
|
+
type?: string | null;
|
|
338
|
+
/** Unique resource name used in policies */
|
|
339
|
+
urn?: string | null;
|
|
340
|
+
}
|
|
341
|
+
export declare const IamGroupResource: S.Schema<IamGroupResource>;
|
|
342
|
+
/** Resources included in the group */
|
|
343
|
+
export type IamGroupResponseResourcesList = Array<IamGroupResource>;
|
|
344
|
+
export declare const IamGroupResponseResourcesList: S.Schema<IamGroupResponseResourcesList>;
|
|
345
|
+
/** Group defines a set of resources */
|
|
346
|
+
export interface IamGroupResponse {
|
|
347
|
+
/** Creation time */
|
|
348
|
+
createdAt?: string;
|
|
349
|
+
/** Unique identifier of the group */
|
|
350
|
+
id?: string;
|
|
351
|
+
/** Name of the group */
|
|
352
|
+
name?: string;
|
|
353
|
+
/** Owner of the group */
|
|
354
|
+
owner?: string;
|
|
355
|
+
/** Whether you can add or remove resources */
|
|
356
|
+
readOnly?: boolean;
|
|
357
|
+
/** Resources included in the group */
|
|
358
|
+
resources?: IamGroupResponseResourcesList;
|
|
359
|
+
/** Last update time */
|
|
360
|
+
updatedAt?: string | null;
|
|
361
|
+
/** Unique resource name used in policies */
|
|
362
|
+
urn?: string;
|
|
363
|
+
}
|
|
364
|
+
export declare const IamGroupResponse: S.Schema<IamGroupResponse>;
|
|
365
|
+
export interface CreateIamResourceTagRequest {
|
|
366
|
+
/** ResourceURN */
|
|
367
|
+
resourceURN: string;
|
|
368
|
+
/** Resource tag key. It must comply with '^[a-zA-Z0-9_.:/=+@-]{1,128}\z' */
|
|
369
|
+
key: string;
|
|
370
|
+
/** Resource tag value. It must comply with '^[a-zA-Z0-9_.:/=+@-]{0,256}\z' */
|
|
371
|
+
value: string;
|
|
372
|
+
}
|
|
373
|
+
export declare const CreateIamResourceTagRequest: S.Schema<CreateIamResourceTagRequest>;
|
|
374
|
+
export interface CreateIamResourceTagResponse {
|
|
375
|
+
}
|
|
376
|
+
export declare const CreateIamResourceTagResponse: S.Schema<CreateIamResourceTagResponse>;
|
|
377
|
+
export interface DeleteIamLogSubscriptionRequest {
|
|
378
|
+
/** Subscription ID */
|
|
379
|
+
subscriptionId: string;
|
|
380
|
+
}
|
|
381
|
+
export declare const DeleteIamLogSubscriptionRequest: S.Schema<DeleteIamLogSubscriptionRequest>;
|
|
382
|
+
export interface DeleteIamPermissionsGroupRequest {
|
|
383
|
+
/** Permissions groupurn */
|
|
384
|
+
permissionsGroupURN: string;
|
|
385
|
+
}
|
|
386
|
+
export declare const DeleteIamPermissionsGroupRequest: S.Schema<DeleteIamPermissionsGroupRequest>;
|
|
387
|
+
export interface DeleteIamPermissionsGroupResponse {
|
|
388
|
+
}
|
|
389
|
+
export declare const DeleteIamPermissionsGroupResponse: S.Schema<DeleteIamPermissionsGroupResponse>;
|
|
390
|
+
export interface DeleteIamPolicyRequest {
|
|
391
|
+
/** Policy ID */
|
|
392
|
+
policyId: string;
|
|
393
|
+
}
|
|
394
|
+
export declare const DeleteIamPolicyRequest: S.Schema<DeleteIamPolicyRequest>;
|
|
395
|
+
export interface DeleteIamPolicyResponse {
|
|
396
|
+
}
|
|
397
|
+
export declare const DeleteIamPolicyResponse: S.Schema<DeleteIamPolicyResponse>;
|
|
398
|
+
export interface DeleteIamResourceGroupRequest {
|
|
399
|
+
/** Group ID */
|
|
400
|
+
groupId: string;
|
|
401
|
+
}
|
|
402
|
+
export declare const DeleteIamResourceGroupRequest: S.Schema<DeleteIamResourceGroupRequest>;
|
|
403
|
+
export interface DeleteIamResourceGroupResponse {
|
|
404
|
+
}
|
|
405
|
+
export declare const DeleteIamResourceGroupResponse: S.Schema<DeleteIamResourceGroupResponse>;
|
|
406
|
+
export interface DeleteIamResourceTagRequest {
|
|
407
|
+
/** ResourceURN */
|
|
408
|
+
resourceURN: string;
|
|
409
|
+
/** Key */
|
|
410
|
+
key: string;
|
|
411
|
+
}
|
|
412
|
+
export declare const DeleteIamResourceTagRequest: S.Schema<DeleteIamResourceTagRequest>;
|
|
413
|
+
export interface DeleteIamResourceTagResponse {
|
|
414
|
+
}
|
|
415
|
+
export declare const DeleteIamResourceTagResponse: S.Schema<DeleteIamResourceTagResponse>;
|
|
416
|
+
export interface GetIamLogKindRequest {
|
|
417
|
+
/** Name */
|
|
418
|
+
name: string;
|
|
419
|
+
}
|
|
420
|
+
export declare const GetIamLogKindRequest: S.Schema<GetIamLogKindRequest>;
|
|
421
|
+
/** List of additional log fields managed in this log kind */
|
|
422
|
+
export type DbaasLogsLogKindAdditionalReturnedFieldsList = Array<string>;
|
|
423
|
+
export declare const DbaasLogsLogKindAdditionalReturnedFieldsList: S.Schema<DbaasLogsLogKindAdditionalReturnedFieldsList>;
|
|
424
|
+
/** Log kind */
|
|
425
|
+
export interface DbaasLogsLogKind {
|
|
426
|
+
/** List of additional log fields managed in this log kind */
|
|
427
|
+
additionalReturnedFields?: DbaasLogsLogKindAdditionalReturnedFieldsList;
|
|
428
|
+
/** Creation date of the log kind */
|
|
429
|
+
createdAt?: string;
|
|
430
|
+
/** Log kind display name */
|
|
431
|
+
displayName?: string;
|
|
432
|
+
/** Log kind ID */
|
|
433
|
+
kindId?: string;
|
|
434
|
+
/** Log kind name */
|
|
435
|
+
name?: string;
|
|
436
|
+
/** Last update date of the log kind */
|
|
437
|
+
updatedAt?: string;
|
|
438
|
+
}
|
|
439
|
+
export declare const DbaasLogsLogKind: S.Schema<DbaasLogsLogKind>;
|
|
440
|
+
export interface GetIamLogSubscriptionRequest {
|
|
441
|
+
/** Subscription ID */
|
|
442
|
+
subscriptionId: string;
|
|
443
|
+
}
|
|
444
|
+
export declare const GetIamLogSubscriptionRequest: S.Schema<GetIamLogSubscriptionRequest>;
|
|
445
|
+
/** Log subscription resource */
|
|
446
|
+
export interface DbaasLogsLogSubscriptionResource {
|
|
447
|
+
/** Name of subscribed resource */
|
|
448
|
+
name?: string;
|
|
449
|
+
/** Type of subscribed resource */
|
|
450
|
+
type?: string;
|
|
451
|
+
}
|
|
452
|
+
export declare const DbaasLogsLogSubscriptionResource: S.Schema<DbaasLogsLogSubscriptionResource>;
|
|
453
|
+
/** Log subscription */
|
|
454
|
+
export interface DbaasLogsLogSubscription {
|
|
455
|
+
/** Creation date of the subscription */
|
|
456
|
+
createdAt?: string;
|
|
457
|
+
/** Log kind name of this subscription */
|
|
458
|
+
kind?: string;
|
|
459
|
+
/** Subscribed resource, where the logs come from */
|
|
460
|
+
resource?: DbaasLogsLogSubscriptionResource;
|
|
461
|
+
/** Name of the destination log service */
|
|
462
|
+
serviceName?: string;
|
|
463
|
+
/** Id of the destination log stream */
|
|
464
|
+
streamId?: string;
|
|
465
|
+
/** Subscription ID */
|
|
466
|
+
subscriptionId?: string;
|
|
467
|
+
/** Last update date of the subscription */
|
|
468
|
+
updatedAt?: string;
|
|
469
|
+
}
|
|
470
|
+
export declare const DbaasLogsLogSubscription: S.Schema<DbaasLogsLogSubscription>;
|
|
471
|
+
export interface GetIamPermissionsGroupRequest {
|
|
472
|
+
/** Permissions groupurn */
|
|
473
|
+
permissionsGroupURN: string;
|
|
474
|
+
}
|
|
475
|
+
export declare const GetIamPermissionsGroupRequest: S.Schema<GetIamPermissionsGroupRequest>;
|
|
476
|
+
export interface GetIamPolicyRequest {
|
|
477
|
+
/** Policy ID */
|
|
478
|
+
policyId: string;
|
|
479
|
+
/** Add extra information about resources in output */
|
|
480
|
+
details?: boolean;
|
|
481
|
+
}
|
|
482
|
+
export declare const GetIamPolicyRequest: S.Schema<GetIamPolicyRequest>;
|
|
483
|
+
export interface GetIamResourceRequest {
|
|
484
|
+
/** ResourceURN */
|
|
485
|
+
resourceURN: string;
|
|
486
|
+
}
|
|
487
|
+
export declare const GetIamResourceRequest: S.Schema<GetIamResourceRequest>;
|
|
488
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
489
|
+
export type IamResourceResourceTagsMap = {
|
|
490
|
+
[key: string]: string | undefined;
|
|
491
|
+
};
|
|
492
|
+
export declare const IamResourceResourceTagsMap: S.Schema<IamResourceResourceTagsMap>;
|
|
493
|
+
/** Resource is an entity standing for a product. It is used for right delegation */
|
|
494
|
+
export interface IamResourceResource {
|
|
495
|
+
/** Resource display name */
|
|
496
|
+
displayName?: string;
|
|
497
|
+
/** Unique identifier of the resource */
|
|
498
|
+
id?: string;
|
|
499
|
+
/** Resource name */
|
|
500
|
+
name?: string;
|
|
501
|
+
/** Resource owner */
|
|
502
|
+
owner?: string;
|
|
503
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
504
|
+
tags?: IamResourceResourceTagsMap | null;
|
|
505
|
+
/** Resource type. All types can be retrieved at /reference/resource/type */
|
|
506
|
+
type?: string;
|
|
507
|
+
/** Unique resource name used in policies */
|
|
508
|
+
urn?: string;
|
|
509
|
+
}
|
|
510
|
+
export declare const IamResourceResource: S.Schema<IamResourceResource>;
|
|
511
|
+
export interface GetIamResourceGroupRequest {
|
|
512
|
+
/** Group ID */
|
|
513
|
+
groupId: string;
|
|
514
|
+
/** Add extra information about resources in output */
|
|
515
|
+
details?: boolean;
|
|
516
|
+
}
|
|
517
|
+
export declare const GetIamResourceGroupRequest: S.Schema<GetIamResourceGroupRequest>;
|
|
518
|
+
export interface ListIamLogKindRequest {
|
|
519
|
+
/** Pagination cursor */
|
|
520
|
+
xPaginationCursor?: string;
|
|
521
|
+
/** Pagination size */
|
|
522
|
+
xPaginationSize?: number;
|
|
523
|
+
}
|
|
524
|
+
export declare const ListIamLogKindRequest: S.Schema<ListIamLogKindRequest>;
|
|
525
|
+
export type ListIamLogKindResponseBodyList = Array<string>;
|
|
526
|
+
export declare const ListIamLogKindResponseBodyList: S.Schema<ListIamLogKindResponseBodyList>;
|
|
527
|
+
export type ListIamLogKindResponse = ListIamLogKindResponseBodyList;
|
|
528
|
+
export declare const ListIamLogKindResponse: S.Schema<ListIamLogKindResponse>;
|
|
529
|
+
export interface ListIamLogSubscriptionRequest {
|
|
530
|
+
/** Filter on a specific kind (e.g., default) */
|
|
531
|
+
kind?: string;
|
|
532
|
+
/** Pagination cursor */
|
|
533
|
+
xPaginationCursor?: string;
|
|
534
|
+
/** Pagination size */
|
|
535
|
+
xPaginationSize?: number;
|
|
536
|
+
}
|
|
537
|
+
export declare const ListIamLogSubscriptionRequest: S.Schema<ListIamLogSubscriptionRequest>;
|
|
538
|
+
export type ListIamLogSubscriptionResponseBodyList = Array<string>;
|
|
539
|
+
export declare const ListIamLogSubscriptionResponseBodyList: S.Schema<ListIamLogSubscriptionResponseBodyList>;
|
|
540
|
+
export type ListIamLogSubscriptionResponse = ListIamLogSubscriptionResponseBodyList;
|
|
541
|
+
export declare const ListIamLogSubscriptionResponse: S.Schema<ListIamLogSubscriptionResponse>;
|
|
542
|
+
export interface ListIamPermissionsGroupRequest {
|
|
543
|
+
/** Pagination cursor */
|
|
544
|
+
xPaginationCursor?: string;
|
|
545
|
+
/** Pagination size */
|
|
546
|
+
xPaginationSize?: number;
|
|
547
|
+
}
|
|
548
|
+
export declare const ListIamPermissionsGroupRequest: S.Schema<ListIamPermissionsGroupRequest>;
|
|
549
|
+
export type ListIamPermissionsGroupResponseBodyList = Array<IamPermissionsGroup>;
|
|
550
|
+
export declare const ListIamPermissionsGroupResponseBodyList: S.Schema<ListIamPermissionsGroupResponseBodyList>;
|
|
551
|
+
export type ListIamPermissionsGroupResponse = ListIamPermissionsGroupResponseBodyList;
|
|
552
|
+
export declare const ListIamPermissionsGroupResponse: S.Schema<ListIamPermissionsGroupResponse>;
|
|
553
|
+
export type ListIamPolicyRequestActionList = Array<string>;
|
|
554
|
+
export declare const ListIamPolicyRequestActionList: S.Schema<ListIamPolicyRequestActionList>;
|
|
555
|
+
export type ListIamPolicyRequestIdentityList = Array<string>;
|
|
556
|
+
export declare const ListIamPolicyRequestIdentityList: S.Schema<ListIamPolicyRequestIdentityList>;
|
|
557
|
+
export type ListIamPolicyRequestResourceURNList = Array<string>;
|
|
558
|
+
export declare const ListIamPolicyRequestResourceURNList: S.Schema<ListIamPolicyRequestResourceURNList>;
|
|
559
|
+
export interface ListIamPolicyRequest {
|
|
560
|
+
/** Filter on policies embedding the given IAM action */
|
|
561
|
+
action?: ListIamPolicyRequestActionList;
|
|
562
|
+
/** Add extra information about resources in output */
|
|
563
|
+
details?: boolean;
|
|
564
|
+
/** Filter on policies embedding the given identity */
|
|
565
|
+
identity?: ListIamPolicyRequestIdentityList;
|
|
566
|
+
/** Filter on the readOnly attribute */
|
|
567
|
+
readOnly?: boolean;
|
|
568
|
+
/** Filter on policies embedding the given resource URN */
|
|
569
|
+
resourceURN?: ListIamPolicyRequestResourceURNList;
|
|
570
|
+
/** Pagination cursor */
|
|
571
|
+
xPaginationCursor?: string;
|
|
572
|
+
/** Pagination size */
|
|
573
|
+
xPaginationSize?: number;
|
|
574
|
+
}
|
|
575
|
+
export declare const ListIamPolicyRequest: S.Schema<ListIamPolicyRequest>;
|
|
576
|
+
export type ListIamPolicyResponseBodyList = Array<IamPolicyResponse>;
|
|
577
|
+
export declare const ListIamPolicyResponseBodyList: S.Schema<ListIamPolicyResponseBodyList>;
|
|
578
|
+
export type ListIamPolicyResponse = ListIamPolicyResponseBodyList;
|
|
579
|
+
export declare const ListIamPolicyResponse: S.Schema<ListIamPolicyResponse>;
|
|
580
|
+
export type ListIamReferenceActionRequestResourceTypeList = Array<string>;
|
|
581
|
+
export declare const ListIamReferenceActionRequestResourceTypeList: S.Schema<ListIamReferenceActionRequestResourceTypeList>;
|
|
582
|
+
export interface ListIamReferenceActionRequest {
|
|
583
|
+
/** Filter actions for specific resource types */
|
|
584
|
+
resourceType?: ListIamReferenceActionRequestResourceTypeList;
|
|
585
|
+
/** Pagination cursor */
|
|
586
|
+
xPaginationCursor?: string;
|
|
587
|
+
/** Pagination size */
|
|
588
|
+
xPaginationSize?: number;
|
|
589
|
+
}
|
|
590
|
+
export declare const ListIamReferenceActionRequest: S.Schema<ListIamReferenceActionRequest>;
|
|
591
|
+
/** List of categories the action belongs to */
|
|
592
|
+
export type IamReferenceActionCategoriesList = Array<string>;
|
|
593
|
+
export declare const IamReferenceActionCategoriesList: S.Schema<IamReferenceActionCategoriesList>;
|
|
594
|
+
/** Action that can be allowed or denied on a resource */
|
|
595
|
+
export interface IamReferenceAction {
|
|
596
|
+
/** Name of the action */
|
|
597
|
+
action?: string;
|
|
598
|
+
/** List of categories the action belongs to */
|
|
599
|
+
categories?: IamReferenceActionCategoriesList;
|
|
600
|
+
/** Description of the action */
|
|
601
|
+
description?: string;
|
|
602
|
+
/** Whether you can use the action with additional parameters */
|
|
603
|
+
hasQueryParameters?: boolean;
|
|
604
|
+
/** Resource type related to the action */
|
|
605
|
+
resourceType?: string;
|
|
606
|
+
}
|
|
607
|
+
export declare const IamReferenceAction: S.Schema<IamReferenceAction>;
|
|
608
|
+
export type ListIamReferenceActionResponseBodyList = Array<IamReferenceAction>;
|
|
609
|
+
export declare const ListIamReferenceActionResponseBodyList: S.Schema<ListIamReferenceActionResponseBodyList>;
|
|
610
|
+
export type ListIamReferenceActionResponse = ListIamReferenceActionResponseBodyList;
|
|
611
|
+
export declare const ListIamReferenceActionResponse: S.Schema<ListIamReferenceActionResponse>;
|
|
612
|
+
export interface ListIamReferenceResourceTypeRequest {
|
|
613
|
+
/** Pagination cursor */
|
|
614
|
+
xPaginationCursor?: string;
|
|
615
|
+
/** Pagination size */
|
|
616
|
+
xPaginationSize?: number;
|
|
617
|
+
}
|
|
618
|
+
export declare const ListIamReferenceResourceTypeRequest: S.Schema<ListIamReferenceResourceTypeRequest>;
|
|
619
|
+
export type ListIamReferenceResourceTypeResponseBodyList = Array<string>;
|
|
620
|
+
export declare const ListIamReferenceResourceTypeResponseBodyList: S.Schema<ListIamReferenceResourceTypeResponseBodyList>;
|
|
621
|
+
export type ListIamReferenceResourceTypeResponse = ListIamReferenceResourceTypeResponseBodyList;
|
|
622
|
+
export declare const ListIamReferenceResourceTypeResponse: S.Schema<ListIamReferenceResourceTypeResponse>;
|
|
623
|
+
export type ListIamResourceRequestResourceNameList = Array<string>;
|
|
624
|
+
export declare const ListIamResourceRequestResourceNameList: S.Schema<ListIamResourceRequestResourceNameList>;
|
|
625
|
+
export type ListIamResourceRequestResourceTypeList = Array<string>;
|
|
626
|
+
export declare const ListIamResourceRequestResourceTypeList: S.Schema<ListIamResourceRequestResourceTypeList>;
|
|
627
|
+
export type ListIamResourceRequestResourceURNList = Array<string>;
|
|
628
|
+
export declare const ListIamResourceRequestResourceURNList: S.Schema<ListIamResourceRequestResourceURNList>;
|
|
629
|
+
/** Resource tag filter */
|
|
630
|
+
export interface IamResourceTagFilterInput {
|
|
631
|
+
}
|
|
632
|
+
export declare const IamResourceTagFilterInput: S.Schema<IamResourceTagFilterInput>;
|
|
633
|
+
export type ListIamResourceRequestTagsValueList = Array<IamResourceTagFilterInput>;
|
|
634
|
+
export declare const ListIamResourceRequestTagsValueList: S.Schema<ListIamResourceRequestTagsValueList>;
|
|
635
|
+
export type ListIamResourceRequestTagsMap = {
|
|
636
|
+
[key: string]: ListIamResourceRequestTagsValueList | undefined;
|
|
637
|
+
};
|
|
638
|
+
export declare const ListIamResourceRequestTagsMap: S.Schema<ListIamResourceRequestTagsMap>;
|
|
639
|
+
export interface ListIamResourceRequest {
|
|
640
|
+
/** Filter resources for specific resource names */
|
|
641
|
+
resourceName?: ListIamResourceRequestResourceNameList;
|
|
642
|
+
/** Filter resources for specific resource types */
|
|
643
|
+
resourceType?: ListIamResourceRequestResourceTypeList;
|
|
644
|
+
/** Filter resources for specific resource URN patterns */
|
|
645
|
+
resourceURN?: ListIamResourceRequestResourceURNList;
|
|
646
|
+
/** Filter resources using tag filters */
|
|
647
|
+
tags?: ListIamResourceRequestTagsMap;
|
|
648
|
+
/** Pagination cursor */
|
|
649
|
+
xPaginationCursor?: string;
|
|
650
|
+
/** Pagination size */
|
|
651
|
+
xPaginationSize?: number;
|
|
652
|
+
}
|
|
653
|
+
export declare const ListIamResourceRequest: S.Schema<ListIamResourceRequest>;
|
|
654
|
+
export type ListIamResourceResponseBodyList = Array<IamResourceResource>;
|
|
655
|
+
export declare const ListIamResourceResponseBodyList: S.Schema<ListIamResourceResponseBodyList>;
|
|
656
|
+
export type ListIamResourceResponse = ListIamResourceResponseBodyList;
|
|
657
|
+
export declare const ListIamResourceResponse: S.Schema<ListIamResourceResponse>;
|
|
658
|
+
export interface ListIamResourceGroupRequest {
|
|
659
|
+
/** Add extra information about resources in output */
|
|
660
|
+
details?: boolean;
|
|
661
|
+
/** Pagination cursor */
|
|
662
|
+
xPaginationCursor?: string;
|
|
663
|
+
/** Pagination size */
|
|
664
|
+
xPaginationSize?: number;
|
|
665
|
+
}
|
|
666
|
+
export declare const ListIamResourceGroupRequest: S.Schema<ListIamResourceGroupRequest>;
|
|
667
|
+
export type ListIamResourceGroupResponseBodyList = Array<IamGroupResponse>;
|
|
668
|
+
export declare const ListIamResourceGroupResponseBodyList: S.Schema<ListIamResourceGroupResponseBodyList>;
|
|
669
|
+
export type ListIamResourceGroupResponse = ListIamResourceGroupResponseBodyList;
|
|
670
|
+
export declare const ListIamResourceGroupResponse: S.Schema<ListIamResourceGroupResponse>;
|
|
671
|
+
export interface PutIamPermissionsGroupRequest {
|
|
672
|
+
/** Permissions groupurn */
|
|
673
|
+
permissionsGroupURN: string;
|
|
674
|
+
/** Description of the permissions group */
|
|
675
|
+
description: string;
|
|
676
|
+
/** Name of the permissions group */
|
|
677
|
+
name: string;
|
|
678
|
+
/** Permissions granted when using this permissions group */
|
|
679
|
+
permissions: IamPolicyPermissions;
|
|
680
|
+
}
|
|
681
|
+
export declare const PutIamPermissionsGroupRequest: S.Schema<PutIamPermissionsGroupRequest>;
|
|
682
|
+
/** Recipients of the delegated resources */
|
|
683
|
+
export type PutIamPolicyRequestIdentitiesList = Array<string>;
|
|
684
|
+
export declare const PutIamPolicyRequestIdentitiesList: S.Schema<PutIamPolicyRequestIdentitiesList>;
|
|
685
|
+
/** Permissions groups accorded to the recipients on the given resources */
|
|
686
|
+
export type PutIamPolicyRequestPermissionsGroupsList = Array<IamPolicyPermissionsGroupInput>;
|
|
687
|
+
export declare const PutIamPolicyRequestPermissionsGroupsList: S.Schema<PutIamPolicyRequestPermissionsGroupsList>;
|
|
688
|
+
/** Resources to delegate */
|
|
689
|
+
export type PutIamPolicyRequestResourcesList = Array<IamPolicyResourceInput>;
|
|
690
|
+
export declare const PutIamPolicyRequestResourcesList: S.Schema<PutIamPolicyRequestResourcesList>;
|
|
691
|
+
export interface PutIamPolicyRequest {
|
|
692
|
+
/** Policy ID */
|
|
693
|
+
policyId: string;
|
|
694
|
+
/** Conditions restrict permissions following resources, date or customer's information */
|
|
695
|
+
conditions?: IamPolicyCondition | null;
|
|
696
|
+
/** Description of the policy */
|
|
697
|
+
description?: string;
|
|
698
|
+
/** Expiration date of the policy, after this date it will no longer be applied */
|
|
699
|
+
expiredAt?: string | null;
|
|
700
|
+
/** Recipients of the delegated resources */
|
|
701
|
+
identities: PutIamPolicyRequestIdentitiesList;
|
|
702
|
+
/** Name of the policy */
|
|
703
|
+
name: string;
|
|
704
|
+
/** Permissions accorded to the recipients on the given resources */
|
|
705
|
+
permissions: IamPolicyPermissions;
|
|
706
|
+
/** Permissions groups accorded to the recipients on the given resources */
|
|
707
|
+
permissionsGroups?: PutIamPolicyRequestPermissionsGroupsList | null;
|
|
708
|
+
/** Resources to delegate */
|
|
709
|
+
resources: PutIamPolicyRequestResourcesList;
|
|
710
|
+
}
|
|
711
|
+
export declare const PutIamPolicyRequest: S.Schema<PutIamPolicyRequest>;
|
|
712
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
713
|
+
export type PutIamResourceRequestTagsMap = {
|
|
714
|
+
[key: string]: string | undefined;
|
|
715
|
+
};
|
|
716
|
+
export declare const PutIamResourceRequestTagsMap: S.Schema<PutIamResourceRequestTagsMap>;
|
|
717
|
+
export interface PutIamResourceRequest {
|
|
718
|
+
/** ResourceURN */
|
|
719
|
+
resourceURN: string;
|
|
720
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
721
|
+
tags?: PutIamResourceRequestTagsMap | null;
|
|
722
|
+
}
|
|
723
|
+
export declare const PutIamResourceRequest: S.Schema<PutIamResourceRequest>;
|
|
724
|
+
/** New list of resources of the group */
|
|
725
|
+
export type PutIamResourceGroupRequestResourcesList = Array<IamGroupResourceInput>;
|
|
726
|
+
export declare const PutIamResourceGroupRequestResourcesList: S.Schema<PutIamResourceGroupRequestResourcesList>;
|
|
727
|
+
export interface PutIamResourceGroupRequest {
|
|
728
|
+
/** Group ID */
|
|
729
|
+
groupId: string;
|
|
730
|
+
/** New name of the group */
|
|
731
|
+
name: string;
|
|
732
|
+
/** New list of resources of the group */
|
|
733
|
+
resources: PutIamResourceGroupRequestResourcesList;
|
|
734
|
+
}
|
|
735
|
+
export declare const PutIamResourceGroupRequest: S.Schema<PutIamResourceGroupRequest>;
|
|
736
|
+
export type CheckIamAuthorizationError = OvhOpError;
|
|
737
|
+
/** Validate your authorizations on given resources */
|
|
738
|
+
export declare const checkIamAuthorization: API.OperationMethod<CheckIamAuthorizationRequest, CheckIamAuthorizationResponse, CheckIamAuthorizationError, OvhOpContext>;
|
|
739
|
+
export type CheckIamResourceAuthorizationError = OvhOpError;
|
|
740
|
+
/** Validate authorizations on a given resource */
|
|
741
|
+
export declare const checkIamResourceAuthorization: API.OperationMethod<CheckIamResourceAuthorizationRequest, IamAuthorizeResponse, CheckIamResourceAuthorizationError, OvhOpContext>;
|
|
742
|
+
export type CreateIamLogSubscriptionError = OvhOpError;
|
|
743
|
+
/** Create a subscription from logs to a pre-existing LDP stream */
|
|
744
|
+
export declare const createIamLogSubscription: API.OperationMethod<CreateIamLogSubscriptionRequest, DbaasLogsLogSubscriptionResponse, CreateIamLogSubscriptionError, OvhOpContext>;
|
|
745
|
+
export type CreateIamLogUrlError = OvhOpError;
|
|
746
|
+
/** Generate a temporary URL to retrieve logs */
|
|
747
|
+
export declare const createIamLogUrl: API.OperationMethod<CreateIamLogUrlRequest, DbaasLogsTemporaryLogsLink, CreateIamLogUrlError, OvhOpContext>;
|
|
748
|
+
export type CreateIamPermissionsGroupError = OvhOpError;
|
|
749
|
+
/** Create a permissions group */
|
|
750
|
+
export declare const createIamPermissionsGroup: API.OperationMethod<CreateIamPermissionsGroupRequest, IamPermissionsGroup, CreateIamPermissionsGroupError, OvhOpContext>;
|
|
751
|
+
export type CreateIamPolicyError = OvhOpError;
|
|
752
|
+
/** Create a new policy */
|
|
753
|
+
export declare const createIamPolicy: API.OperationMethod<CreateIamPolicyRequest, IamPolicyResponse, CreateIamPolicyError, OvhOpContext>;
|
|
754
|
+
export type CreateIamResourceGroupError = OvhOpError;
|
|
755
|
+
/** Create a new resource group */
|
|
756
|
+
export declare const createIamResourceGroup: API.OperationMethod<CreateIamResourceGroupRequest, IamGroupResponse, CreateIamResourceGroupError, OvhOpContext>;
|
|
757
|
+
export type CreateIamResourceTagError = OvhOpError;
|
|
758
|
+
/** Add a tag to a resource Add a tag to a resource\ This action requires to be granted on action '$resourceType:apiovh:iam/resource/tag/add' (with $resourceType the type of the updated resource) */
|
|
759
|
+
export declare const createIamResourceTag: API.OperationMethod<CreateIamResourceTagRequest, CreateIamResourceTagResponse, CreateIamResourceTagError, OvhOpContext>;
|
|
760
|
+
export type DeleteIamLogSubscriptionError = OvhOpError;
|
|
761
|
+
/** Delete a subscription */
|
|
762
|
+
export declare const deleteIamLogSubscription: API.OperationMethod<DeleteIamLogSubscriptionRequest, DbaasLogsLogSubscriptionResponse, DeleteIamLogSubscriptionError, OvhOpContext>;
|
|
763
|
+
export type DeleteIamPermissionsGroupError = OvhOpError;
|
|
764
|
+
/** Delete the given permissions group */
|
|
765
|
+
export declare const deleteIamPermissionsGroup: API.OperationMethod<DeleteIamPermissionsGroupRequest, DeleteIamPermissionsGroupResponse, DeleteIamPermissionsGroupError, OvhOpContext>;
|
|
766
|
+
export type DeleteIamPolicyError = OvhOpError;
|
|
767
|
+
/** Delete the given policy */
|
|
768
|
+
export declare const deleteIamPolicy: API.OperationMethod<DeleteIamPolicyRequest, DeleteIamPolicyResponse, DeleteIamPolicyError, OvhOpContext>;
|
|
769
|
+
export type DeleteIamResourceGroupError = OvhOpError;
|
|
770
|
+
/** Delete the given resource group */
|
|
771
|
+
export declare const deleteIamResourceGroup: API.OperationMethod<DeleteIamResourceGroupRequest, DeleteIamResourceGroupResponse, DeleteIamResourceGroupError, OvhOpContext>;
|
|
772
|
+
export type DeleteIamResourceTagError = OvhOpError;
|
|
773
|
+
/** Remove a tag from a resource Remove a tag from a resource\ This action requires to be granted on action '$resourceType:apiovh:iam/resource/tag/remove' (with $resourceType the type of the updated resource) */
|
|
774
|
+
export declare const deleteIamResourceTag: API.OperationMethod<DeleteIamResourceTagRequest, DeleteIamResourceTagResponse, DeleteIamResourceTagError, OvhOpContext>;
|
|
775
|
+
export type GetIamLogKindError = OvhOpError;
|
|
776
|
+
/** Get a log kind */
|
|
777
|
+
export declare const getIamLogKind: API.OperationMethod<GetIamLogKindRequest, DbaasLogsLogKind, GetIamLogKindError, OvhOpContext>;
|
|
778
|
+
export type GetIamLogSubscriptionError = OvhOpError;
|
|
779
|
+
/** Get subscription details */
|
|
780
|
+
export declare const getIamLogSubscription: API.OperationMethod<GetIamLogSubscriptionRequest, DbaasLogsLogSubscription, GetIamLogSubscriptionError, OvhOpContext>;
|
|
781
|
+
export type GetIamPermissionsGroupError = OvhOpError;
|
|
782
|
+
/** Retrieve the given permissions group */
|
|
783
|
+
export declare const getIamPermissionsGroup: API.OperationMethod<GetIamPermissionsGroupRequest, IamPermissionsGroup, GetIamPermissionsGroupError, OvhOpContext>;
|
|
784
|
+
export type GetIamPolicyError = OvhOpError;
|
|
785
|
+
/** Retrieve the given policy */
|
|
786
|
+
export declare const getIamPolicy: API.OperationMethod<GetIamPolicyRequest, IamPolicyResponse, GetIamPolicyError, OvhOpContext>;
|
|
787
|
+
export type GetIamResourceError = OvhOpError;
|
|
788
|
+
/** Retrieve a resource */
|
|
789
|
+
export declare const getIamResource: API.OperationMethod<GetIamResourceRequest, IamResourceResource, GetIamResourceError, OvhOpContext>;
|
|
790
|
+
export type GetIamResourceGroupError = OvhOpError;
|
|
791
|
+
/** Retrieve the given resource group */
|
|
792
|
+
export declare const getIamResourceGroup: API.OperationMethod<GetIamResourceGroupRequest, IamGroupResponse, GetIamResourceGroupError, OvhOpContext>;
|
|
793
|
+
export type ListIamLogKindError = OvhOpError;
|
|
794
|
+
/** List available log kinds */
|
|
795
|
+
export declare const listIamLogKind: API.OperationMethod<ListIamLogKindRequest, ListIamLogKindResponse, ListIamLogKindError, OvhOpContext>;
|
|
796
|
+
export type ListIamLogSubscriptionError = OvhOpError;
|
|
797
|
+
/** List subscription IDs for a cluster */
|
|
798
|
+
export declare const listIamLogSubscription: API.OperationMethod<ListIamLogSubscriptionRequest, ListIamLogSubscriptionResponse, ListIamLogSubscriptionError, OvhOpContext>;
|
|
799
|
+
export type ListIamPermissionsGroupError = OvhOpError;
|
|
800
|
+
/** Retrieve all permissions groups */
|
|
801
|
+
export declare const listIamPermissionsGroup: API.OperationMethod<ListIamPermissionsGroupRequest, ListIamPermissionsGroupResponse, ListIamPermissionsGroupError, OvhOpContext>;
|
|
802
|
+
export type ListIamPolicyError = OvhOpError;
|
|
803
|
+
/** Retrieve all policies */
|
|
804
|
+
export declare const listIamPolicy: API.OperationMethod<ListIamPolicyRequest, ListIamPolicyResponse, ListIamPolicyError, OvhOpContext>;
|
|
805
|
+
export type ListIamReferenceActionError = OvhOpError;
|
|
806
|
+
/** Retrieve all actions */
|
|
807
|
+
export declare const listIamReferenceAction: API.OperationMethod<ListIamReferenceActionRequest, ListIamReferenceActionResponse, ListIamReferenceActionError, OvhOpContext>;
|
|
808
|
+
export type ListIamReferenceResourceTypeError = OvhOpError;
|
|
809
|
+
/** Retrieve all resource types */
|
|
810
|
+
export declare const listIamReferenceResourceType: API.OperationMethod<ListIamReferenceResourceTypeRequest, ListIamReferenceResourceTypeResponse, ListIamReferenceResourceTypeError, OvhOpContext>;
|
|
811
|
+
export type ListIamResourceError = OvhOpError;
|
|
812
|
+
/** List all resources */
|
|
813
|
+
export declare const listIamResource: API.OperationMethod<ListIamResourceRequest, ListIamResourceResponse, ListIamResourceError, OvhOpContext>;
|
|
814
|
+
export type ListIamResourceGroupError = OvhOpError;
|
|
815
|
+
/** Retrieve all resource groups */
|
|
816
|
+
export declare const listIamResourceGroup: API.OperationMethod<ListIamResourceGroupRequest, ListIamResourceGroupResponse, ListIamResourceGroupError, OvhOpContext>;
|
|
817
|
+
export type PutIamPermissionsGroupError = OvhOpError;
|
|
818
|
+
/** Update a permissions group */
|
|
819
|
+
export declare const putIamPermissionsGroup: API.OperationMethod<PutIamPermissionsGroupRequest, IamPermissionsGroup, PutIamPermissionsGroupError, OvhOpContext>;
|
|
820
|
+
export type PutIamPolicyError = OvhOpError;
|
|
821
|
+
/** Update an existing policy */
|
|
822
|
+
export declare const putIamPolicy: API.OperationMethod<PutIamPolicyRequest, IamPolicyResponse, PutIamPolicyError, OvhOpContext>;
|
|
823
|
+
export type PutIamResourceError = OvhOpError;
|
|
824
|
+
/** Update an existing resource Update an existing resource\ Depending on the update, you will require specific grants on this resource: - Adding tag(s) requires action '$resourceType:apiovh:iam/resource/tag/add' - Removing tag(s) requires action '$resourceType:apiovh:iam/resource/tag/remove' (with $resourceType the type of the updated resource) */
|
|
825
|
+
export declare const putIamResource: API.OperationMethod<PutIamResourceRequest, IamResourceResource, PutIamResourceError, OvhOpContext>;
|
|
826
|
+
export type PutIamResourceGroupError = OvhOpError;
|
|
827
|
+
/** Update an existing resource group */
|
|
828
|
+
export declare const putIamResourceGroup: API.OperationMethod<PutIamResourceGroupRequest, IamGroupResponse, PutIamResourceGroupError, OvhOpContext>;
|
|
829
|
+
//# sourceMappingURL=iam.d.ts.map
|