@gradientedge/cdk-utils 9.87.0 → 9.89.0
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/dist/src/lib/azure/common/construct.js +0 -2
- package/dist/src/lib/azure/services/api-management/main.d.ts +2 -2
- package/dist/src/lib/azure/services/api-management/main.js +1 -1
- package/dist/src/lib/azure/services/redis/main.d.ts +5 -5
- package/dist/src/lib/azure/services/redis/main.js +10 -10
- package/dist/src/lib/azure/services/redis/types.d.ts +2 -2
- package/package.json +1 -1
- package/src/lib/azure/common/construct.ts +0 -2
- package/src/lib/azure/services/api-management/main.ts +3 -3
- package/src/lib/azure/services/redis/main.ts +11 -11
- package/src/lib/azure/services/redis/types.ts +2 -2
- package/dist/src/lib/azure/.gen/providers/azapi/provider/index.d.ts +0 -414
- package/dist/src/lib/azure/.gen/providers/azapi/provider/index.js +0 -845
- package/src/lib/azure/.gen/constraints.json +0 -6
- package/src/lib/azure/.gen/providers/azapi/data-azapi-client-config/index.ts +0 -257
- package/src/lib/azure/.gen/providers/azapi/data-azapi-resource/index.ts +0 -876
- package/src/lib/azure/.gen/providers/azapi/data-azapi-resource-action/index.ts +0 -779
- package/src/lib/azure/.gen/providers/azapi/data-azapi-resource-id/index.ts +0 -383
- package/src/lib/azure/.gen/providers/azapi/data-azapi-resource-list/index.ts +0 -713
- package/src/lib/azure/.gen/providers/azapi/data-plane-resource/index.ts +0 -1203
- package/src/lib/azure/.gen/providers/azapi/index.ts +0 -11
- package/src/lib/azure/.gen/providers/azapi/lazy-index.ts +0 -51
- package/src/lib/azure/.gen/providers/azapi/provider/index.ts +0 -1121
- package/src/lib/azure/.gen/providers/azapi/resource/index.ts +0 -1516
- package/src/lib/azure/.gen/providers/azapi/resource-action/index.ts +0 -935
- package/src/lib/azure/.gen/providers/azapi/update-resource/index.ts +0 -1042
- package/src/lib/azure/.gen/versions.json +0 -3
|
@@ -1,1121 +0,0 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/azure/azapi/2.2.0/docs
|
|
2
|
-
// generated from terraform resource schema
|
|
3
|
-
|
|
4
|
-
import { Construct } from 'constructs'
|
|
5
|
-
import * as cdktf from 'cdktf'
|
|
6
|
-
|
|
7
|
-
// Configuration
|
|
8
|
-
|
|
9
|
-
export interface AzapiProviderConfig {
|
|
10
|
-
/**
|
|
11
|
-
* List of auxiliary Tenant IDs required for multi-tenancy and cross-tenant scenarios. This can also be sourced from the `ARM_AUXILIARY_TENANT_IDS` Environment Variable.
|
|
12
|
-
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#auxiliary_tenant_ids AzapiProvider#auxiliary_tenant_ids}
|
|
14
|
-
*/
|
|
15
|
-
readonly auxiliaryTenantIds?: string[]
|
|
16
|
-
/**
|
|
17
|
-
* A base64-encoded PKCS#12 bundle to be used as the client certificate for authentication. This can also be sourced from the `ARM_CLIENT_CERTIFICATE` environment variable.
|
|
18
|
-
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#client_certificate AzapiProvider#client_certificate}
|
|
20
|
-
*/
|
|
21
|
-
readonly clientCertificate?: string
|
|
22
|
-
/**
|
|
23
|
-
* The password associated with the Client Certificate. This can also be sourced from the `ARM_CLIENT_CERTIFICATE_PASSWORD` Environment Variable.
|
|
24
|
-
*
|
|
25
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#client_certificate_password AzapiProvider#client_certificate_password}
|
|
26
|
-
*/
|
|
27
|
-
readonly clientCertificatePassword?: string
|
|
28
|
-
/**
|
|
29
|
-
* The path to the Client Certificate associated with the Service Principal which should be used. This can also be sourced from the `ARM_CLIENT_CERTIFICATE_PATH` Environment Variable.
|
|
30
|
-
*
|
|
31
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#client_certificate_path AzapiProvider#client_certificate_path}
|
|
32
|
-
*/
|
|
33
|
-
readonly clientCertificatePath?: string
|
|
34
|
-
/**
|
|
35
|
-
* The Client ID which should be used. This can also be sourced from the `ARM_CLIENT_ID` Environment Variable.
|
|
36
|
-
*
|
|
37
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#client_id AzapiProvider#client_id}
|
|
38
|
-
*/
|
|
39
|
-
readonly clientId?: string
|
|
40
|
-
/**
|
|
41
|
-
* The path to a file containing the Client ID which should be used. This can also be sourced from the `ARM_CLIENT_ID_FILE_PATH` Environment Variable.
|
|
42
|
-
*
|
|
43
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#client_id_file_path AzapiProvider#client_id_file_path}
|
|
44
|
-
*/
|
|
45
|
-
readonly clientIdFilePath?: string
|
|
46
|
-
/**
|
|
47
|
-
* The Client Secret which should be used. This can also be sourced from the `ARM_CLIENT_SECRET` Environment Variable.
|
|
48
|
-
*
|
|
49
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#client_secret AzapiProvider#client_secret}
|
|
50
|
-
*/
|
|
51
|
-
readonly clientSecret?: string
|
|
52
|
-
/**
|
|
53
|
-
* The path to a file containing the Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret. This can also be sourced from the `ARM_CLIENT_SECRET_FILE_PATH` Environment Variable.
|
|
54
|
-
*
|
|
55
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#client_secret_file_path AzapiProvider#client_secret_file_path}
|
|
56
|
-
*/
|
|
57
|
-
readonly clientSecretFilePath?: string
|
|
58
|
-
/**
|
|
59
|
-
* The value of the `x-ms-correlation-request-id` header, otherwise an auto-generated UUID will be used. This can also be sourced from the `ARM_CORRELATION_REQUEST_ID` environment variable.
|
|
60
|
-
*
|
|
61
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#custom_correlation_request_id AzapiProvider#custom_correlation_request_id}
|
|
62
|
-
*/
|
|
63
|
-
readonly customCorrelationRequestId?: string
|
|
64
|
-
/**
|
|
65
|
-
* The default Azure Region where the azure resource should exist. The `location` in each resource block can override the `default_location`. Changing this forces new resources to be created.
|
|
66
|
-
*
|
|
67
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#default_location AzapiProvider#default_location}
|
|
68
|
-
*/
|
|
69
|
-
readonly defaultLocation?: string
|
|
70
|
-
/**
|
|
71
|
-
* The default name to create the azure resource. The `name` in each resource block can override the `default_name`. Changing this forces new resources to be created.
|
|
72
|
-
*
|
|
73
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#default_name AzapiProvider#default_name}
|
|
74
|
-
*/
|
|
75
|
-
readonly defaultName?: string
|
|
76
|
-
/**
|
|
77
|
-
* A mapping of tags which should be assigned to the azure resource as default tags. The`tags` in each resource block can override the `default_tags`.
|
|
78
|
-
*
|
|
79
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#default_tags AzapiProvider#default_tags}
|
|
80
|
-
*/
|
|
81
|
-
readonly defaultTags?: { [key: string]: string }
|
|
82
|
-
/**
|
|
83
|
-
* This will disable the x-ms-correlation-request-id header.
|
|
84
|
-
*
|
|
85
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#disable_correlation_request_id AzapiProvider#disable_correlation_request_id}
|
|
86
|
-
*/
|
|
87
|
-
readonly disableCorrelationRequestId?: boolean | cdktf.IResolvable
|
|
88
|
-
/**
|
|
89
|
-
* Disable default output. The default is false. When set to false, the provider will output the read-only properties if `response_export_values` is not specified in the resource block. When set to true, the provider will disable this output.
|
|
90
|
-
*
|
|
91
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#disable_default_output AzapiProvider#disable_default_output}
|
|
92
|
-
*/
|
|
93
|
-
readonly disableDefaultOutput?: boolean | cdktf.IResolvable
|
|
94
|
-
/**
|
|
95
|
-
* Disable sending the Terraform Partner ID if a custom `partner_id` isn't specified, which allows Microsoft to better understand the usage of Terraform. The Partner ID does not give HashiCorp any direct access to usage information. This can also be sourced from the `ARM_DISABLE_TERRAFORM_PARTNER_ID` environment variable. Defaults to `false`.
|
|
96
|
-
*
|
|
97
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#disable_terraform_partner_id AzapiProvider#disable_terraform_partner_id}
|
|
98
|
-
*/
|
|
99
|
-
readonly disableTerraformPartnerId?: boolean | cdktf.IResolvable
|
|
100
|
-
/**
|
|
101
|
-
* Enable Preflight Validation. The default is false. When set to true, the provider will use Preflight to do static validation before really deploying a new resource. When set to false, the provider will disable this validation.
|
|
102
|
-
*
|
|
103
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#enable_preflight AzapiProvider#enable_preflight}
|
|
104
|
-
*/
|
|
105
|
-
readonly enablePreflight?: boolean | cdktf.IResolvable
|
|
106
|
-
/**
|
|
107
|
-
* The Azure API Endpoint Configuration.
|
|
108
|
-
*
|
|
109
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#endpoint AzapiProvider#endpoint}
|
|
110
|
-
*/
|
|
111
|
-
readonly endpoint?: AzapiProviderEndpoint[] | cdktf.IResolvable
|
|
112
|
-
/**
|
|
113
|
-
* The Cloud Environment which should be used. Possible values are `public`, `usgovernment` and `china`. Defaults to `public`. This can also be sourced from the `ARM_ENVIRONMENT` Environment Variable.
|
|
114
|
-
*
|
|
115
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#environment AzapiProvider#environment}
|
|
116
|
-
*/
|
|
117
|
-
readonly environment?: string
|
|
118
|
-
/**
|
|
119
|
-
* The Azure Pipelines Service Connection ID to use for authentication. This can also be sourced from the `ARM_OIDC_AZURE_SERVICE_CONNECTION_ID` environment variable.
|
|
120
|
-
*
|
|
121
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#oidc_azure_service_connection_id AzapiProvider#oidc_azure_service_connection_id}
|
|
122
|
-
*/
|
|
123
|
-
readonly oidcAzureServiceConnectionId?: string
|
|
124
|
-
/**
|
|
125
|
-
* The bearer token for the request to the OIDC provider. This can also be sourced from the `ARM_OIDC_REQUEST_TOKEN` or `ACTIONS_ID_TOKEN_REQUEST_TOKEN` Environment Variables.
|
|
126
|
-
*
|
|
127
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#oidc_request_token AzapiProvider#oidc_request_token}
|
|
128
|
-
*/
|
|
129
|
-
readonly oidcRequestToken?: string
|
|
130
|
-
/**
|
|
131
|
-
* The URL for the OIDC provider from which to request an ID token. This can also be sourced from the `ARM_OIDC_REQUEST_URL` or `ACTIONS_ID_TOKEN_REQUEST_URL` Environment Variables.
|
|
132
|
-
*
|
|
133
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#oidc_request_url AzapiProvider#oidc_request_url}
|
|
134
|
-
*/
|
|
135
|
-
readonly oidcRequestUrl?: string
|
|
136
|
-
/**
|
|
137
|
-
* The ID token when authenticating using OpenID Connect (OIDC). This can also be sourced from the `ARM_OIDC_TOKEN` environment Variable.
|
|
138
|
-
*
|
|
139
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#oidc_token AzapiProvider#oidc_token}
|
|
140
|
-
*/
|
|
141
|
-
readonly oidcToken?: string
|
|
142
|
-
/**
|
|
143
|
-
* The path to a file containing an ID token when authenticating using OpenID Connect (OIDC). This can also be sourced from the `ARM_OIDC_TOKEN_FILE_PATH` environment Variable.
|
|
144
|
-
*
|
|
145
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#oidc_token_file_path AzapiProvider#oidc_token_file_path}
|
|
146
|
-
*/
|
|
147
|
-
readonly oidcTokenFilePath?: string
|
|
148
|
-
/**
|
|
149
|
-
* A GUID/UUID that is [registered](https://docs.microsoft.com/azure/marketplace/azure-partner-customer-usage-attribution#register-guids-and-offers) with Microsoft to facilitate partner resource usage attribution. This can also be sourced from the `ARM_PARTNER_ID` Environment Variable.
|
|
150
|
-
*
|
|
151
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#partner_id AzapiProvider#partner_id}
|
|
152
|
-
*/
|
|
153
|
-
readonly partnerId?: string
|
|
154
|
-
/**
|
|
155
|
-
* Should the Provider skip registering the Resource Providers it supports? This can also be sourced from the `ARM_SKIP_PROVIDER_REGISTRATION` Environment Variable. Defaults to `false`.
|
|
156
|
-
*
|
|
157
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#skip_provider_registration AzapiProvider#skip_provider_registration}
|
|
158
|
-
*/
|
|
159
|
-
readonly skipProviderRegistration?: boolean | cdktf.IResolvable
|
|
160
|
-
/**
|
|
161
|
-
* The Subscription ID which should be used. This can also be sourced from the `ARM_SUBSCRIPTION_ID` Environment Variable.
|
|
162
|
-
*
|
|
163
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#subscription_id AzapiProvider#subscription_id}
|
|
164
|
-
*/
|
|
165
|
-
readonly subscriptionId?: string
|
|
166
|
-
/**
|
|
167
|
-
* The Tenant ID should be used. This can also be sourced from the `ARM_TENANT_ID` Environment Variable.
|
|
168
|
-
*
|
|
169
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#tenant_id AzapiProvider#tenant_id}
|
|
170
|
-
*/
|
|
171
|
-
readonly tenantId?: string
|
|
172
|
-
/**
|
|
173
|
-
* Should AKS Workload Identity be used for Authentication? This can also be sourced from the `ARM_USE_AKS_WORKLOAD_IDENTITY` Environment Variable. Defaults to `false`. When set, `client_id`, `tenant_id` and `oidc_token_file_path` will be detected from the environment and do not need to be specified.
|
|
174
|
-
*
|
|
175
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#use_aks_workload_identity AzapiProvider#use_aks_workload_identity}
|
|
176
|
-
*/
|
|
177
|
-
readonly useAksWorkloadIdentity?: boolean | cdktf.IResolvable
|
|
178
|
-
/**
|
|
179
|
-
* Should Azure CLI be used for authentication? This can also be sourced from the `ARM_USE_CLI` environment variable. Defaults to `true`.
|
|
180
|
-
*
|
|
181
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#use_cli AzapiProvider#use_cli}
|
|
182
|
-
*/
|
|
183
|
-
readonly useCli?: boolean | cdktf.IResolvable
|
|
184
|
-
/**
|
|
185
|
-
* Should Managed Identity be used for Authentication? This can also be sourced from the `ARM_USE_MSI` Environment Variable. Defaults to `false`.
|
|
186
|
-
*
|
|
187
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#use_msi AzapiProvider#use_msi}
|
|
188
|
-
*/
|
|
189
|
-
readonly useMsi?: boolean | cdktf.IResolvable
|
|
190
|
-
/**
|
|
191
|
-
* Should OIDC be used for Authentication? This can also be sourced from the `ARM_USE_OIDC` Environment Variable. Defaults to `false`.
|
|
192
|
-
*
|
|
193
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#use_oidc AzapiProvider#use_oidc}
|
|
194
|
-
*/
|
|
195
|
-
readonly useOidc?: boolean | cdktf.IResolvable
|
|
196
|
-
/**
|
|
197
|
-
* Alias name
|
|
198
|
-
*
|
|
199
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#alias AzapiProvider#alias}
|
|
200
|
-
*/
|
|
201
|
-
readonly alias?: string
|
|
202
|
-
}
|
|
203
|
-
export interface AzapiProviderEndpoint {
|
|
204
|
-
/**
|
|
205
|
-
* The Azure Resource Manager endpoint to use. This can also be sourced from the `ARM_RESOURCE_MANAGER_ENDPOINT` Environment Variable. Defaults to `https://management.azure.com/` for public cloud.
|
|
206
|
-
*
|
|
207
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#active_directory_authority_host AzapiProvider#active_directory_authority_host}
|
|
208
|
-
*/
|
|
209
|
-
readonly activeDirectoryAuthorityHost?: string
|
|
210
|
-
/**
|
|
211
|
-
* The Azure Active Directory login endpoint to use. This can also be sourced from the `ARM_ACTIVE_DIRECTORY_AUTHORITY_HOST` Environment Variable. Defaults to `https://login.microsoftonline.com/` for public cloud.
|
|
212
|
-
*
|
|
213
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#resource_manager_audience AzapiProvider#resource_manager_audience}
|
|
214
|
-
*/
|
|
215
|
-
readonly resourceManagerAudience?: string
|
|
216
|
-
/**
|
|
217
|
-
* The resource ID to obtain AD tokens for. This can also be sourced from the `ARM_RESOURCE_MANAGER_AUDIENCE` Environment Variable. Defaults to `https://management.core.windows.net/` for public cloud.
|
|
218
|
-
*
|
|
219
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#resource_manager_endpoint AzapiProvider#resource_manager_endpoint}
|
|
220
|
-
*/
|
|
221
|
-
readonly resourceManagerEndpoint?: string
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export function azapiProviderEndpointToTerraform(struct?: AzapiProviderEndpoint | cdktf.IResolvable): any {
|
|
225
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
226
|
-
return struct
|
|
227
|
-
}
|
|
228
|
-
if (cdktf.isComplexElement(struct)) {
|
|
229
|
-
throw new Error(
|
|
230
|
-
'A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration'
|
|
231
|
-
)
|
|
232
|
-
}
|
|
233
|
-
return {
|
|
234
|
-
active_directory_authority_host: cdktf.stringToTerraform(struct!.activeDirectoryAuthorityHost),
|
|
235
|
-
resource_manager_audience: cdktf.stringToTerraform(struct!.resourceManagerAudience),
|
|
236
|
-
resource_manager_endpoint: cdktf.stringToTerraform(struct!.resourceManagerEndpoint),
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export function azapiProviderEndpointToHclTerraform(struct?: AzapiProviderEndpoint | cdktf.IResolvable): any {
|
|
241
|
-
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
242
|
-
return struct
|
|
243
|
-
}
|
|
244
|
-
if (cdktf.isComplexElement(struct)) {
|
|
245
|
-
throw new Error(
|
|
246
|
-
'A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration'
|
|
247
|
-
)
|
|
248
|
-
}
|
|
249
|
-
const attrs = {
|
|
250
|
-
active_directory_authority_host: {
|
|
251
|
-
value: cdktf.stringToHclTerraform(struct!.activeDirectoryAuthorityHost),
|
|
252
|
-
isBlock: false,
|
|
253
|
-
type: 'simple',
|
|
254
|
-
storageClassType: 'string',
|
|
255
|
-
},
|
|
256
|
-
resource_manager_audience: {
|
|
257
|
-
value: cdktf.stringToHclTerraform(struct!.resourceManagerAudience),
|
|
258
|
-
isBlock: false,
|
|
259
|
-
type: 'simple',
|
|
260
|
-
storageClassType: 'string',
|
|
261
|
-
},
|
|
262
|
-
resource_manager_endpoint: {
|
|
263
|
-
value: cdktf.stringToHclTerraform(struct!.resourceManagerEndpoint),
|
|
264
|
-
isBlock: false,
|
|
265
|
-
type: 'simple',
|
|
266
|
-
storageClassType: 'string',
|
|
267
|
-
},
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
// remove undefined attributes
|
|
271
|
-
return Object.fromEntries(
|
|
272
|
-
Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)
|
|
273
|
-
)
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Represents a {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs azapi}
|
|
278
|
-
*/
|
|
279
|
-
export class AzapiProvider extends cdktf.TerraformProvider {
|
|
280
|
-
// =================
|
|
281
|
-
// STATIC PROPERTIES
|
|
282
|
-
// =================
|
|
283
|
-
public static readonly tfResourceType = 'azapi'
|
|
284
|
-
|
|
285
|
-
// ==============
|
|
286
|
-
// STATIC Methods
|
|
287
|
-
// ==============
|
|
288
|
-
/**
|
|
289
|
-
* Generates CDKTF code for importing a AzapiProvider resource upon running "cdktf plan <stack-name>"
|
|
290
|
-
* @param scope The scope in which to define this construct
|
|
291
|
-
* @param importToId The construct id used in the generated config for the AzapiProvider to import
|
|
292
|
-
* @param importFromId The id of the existing AzapiProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#import import section} in the documentation of this resource for the id to use
|
|
293
|
-
* @param provider? Optional instance of the provider where the AzapiProvider to import is found
|
|
294
|
-
*/
|
|
295
|
-
public static generateConfigForImport(
|
|
296
|
-
scope: Construct,
|
|
297
|
-
importToId: string,
|
|
298
|
-
importFromId: string,
|
|
299
|
-
provider?: cdktf.TerraformProvider
|
|
300
|
-
) {
|
|
301
|
-
return new cdktf.ImportableResource(scope, importToId, {
|
|
302
|
-
terraformResourceType: 'azapi',
|
|
303
|
-
importId: importFromId,
|
|
304
|
-
provider,
|
|
305
|
-
})
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
// ===========
|
|
309
|
-
// INITIALIZER
|
|
310
|
-
// ===========
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Create a new {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs azapi} Resource
|
|
314
|
-
*
|
|
315
|
-
* @param scope The scope in which to define this construct
|
|
316
|
-
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
317
|
-
* @param options AzapiProviderConfig = {}
|
|
318
|
-
*/
|
|
319
|
-
public constructor(scope: Construct, id: string, config: AzapiProviderConfig = {}) {
|
|
320
|
-
super(scope, id, {
|
|
321
|
-
terraformResourceType: 'azapi',
|
|
322
|
-
terraformGeneratorMetadata: {
|
|
323
|
-
providerName: 'azapi',
|
|
324
|
-
providerVersion: '2.2.0',
|
|
325
|
-
providerVersionConstraint: '~> 2.2',
|
|
326
|
-
},
|
|
327
|
-
terraformProviderSource: 'azure/azapi',
|
|
328
|
-
})
|
|
329
|
-
this._auxiliaryTenantIds = config.auxiliaryTenantIds
|
|
330
|
-
this._clientCertificate = config.clientCertificate
|
|
331
|
-
this._clientCertificatePassword = config.clientCertificatePassword
|
|
332
|
-
this._clientCertificatePath = config.clientCertificatePath
|
|
333
|
-
this._clientId = config.clientId
|
|
334
|
-
this._clientIdFilePath = config.clientIdFilePath
|
|
335
|
-
this._clientSecret = config.clientSecret
|
|
336
|
-
this._clientSecretFilePath = config.clientSecretFilePath
|
|
337
|
-
this._customCorrelationRequestId = config.customCorrelationRequestId
|
|
338
|
-
this._defaultLocation = config.defaultLocation
|
|
339
|
-
this._defaultName = config.defaultName
|
|
340
|
-
this._defaultTags = config.defaultTags
|
|
341
|
-
this._disableCorrelationRequestId = config.disableCorrelationRequestId
|
|
342
|
-
this._disableDefaultOutput = config.disableDefaultOutput
|
|
343
|
-
this._disableTerraformPartnerId = config.disableTerraformPartnerId
|
|
344
|
-
this._enablePreflight = config.enablePreflight
|
|
345
|
-
this._endpoint = config.endpoint
|
|
346
|
-
this._environment = config.environment
|
|
347
|
-
this._oidcAzureServiceConnectionId = config.oidcAzureServiceConnectionId
|
|
348
|
-
this._oidcRequestToken = config.oidcRequestToken
|
|
349
|
-
this._oidcRequestUrl = config.oidcRequestUrl
|
|
350
|
-
this._oidcToken = config.oidcToken
|
|
351
|
-
this._oidcTokenFilePath = config.oidcTokenFilePath
|
|
352
|
-
this._partnerId = config.partnerId
|
|
353
|
-
this._skipProviderRegistration = config.skipProviderRegistration
|
|
354
|
-
this._subscriptionId = config.subscriptionId
|
|
355
|
-
this._tenantId = config.tenantId
|
|
356
|
-
this._useAksWorkloadIdentity = config.useAksWorkloadIdentity
|
|
357
|
-
this._useCli = config.useCli
|
|
358
|
-
this._useMsi = config.useMsi
|
|
359
|
-
this._useOidc = config.useOidc
|
|
360
|
-
this._alias = config.alias
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
// ==========
|
|
364
|
-
// ATTRIBUTES
|
|
365
|
-
// ==========
|
|
366
|
-
|
|
367
|
-
// auxiliary_tenant_ids - computed: false, optional: true, required: false
|
|
368
|
-
private _auxiliaryTenantIds?: string[]
|
|
369
|
-
public get auxiliaryTenantIds() {
|
|
370
|
-
return this._auxiliaryTenantIds
|
|
371
|
-
}
|
|
372
|
-
public set auxiliaryTenantIds(value: string[] | undefined) {
|
|
373
|
-
this._auxiliaryTenantIds = value
|
|
374
|
-
}
|
|
375
|
-
public resetAuxiliaryTenantIds() {
|
|
376
|
-
this._auxiliaryTenantIds = undefined
|
|
377
|
-
}
|
|
378
|
-
// Temporarily expose input value. Use with caution.
|
|
379
|
-
public get auxiliaryTenantIdsInput() {
|
|
380
|
-
return this._auxiliaryTenantIds
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
// client_certificate - computed: false, optional: true, required: false
|
|
384
|
-
private _clientCertificate?: string
|
|
385
|
-
public get clientCertificate() {
|
|
386
|
-
return this._clientCertificate
|
|
387
|
-
}
|
|
388
|
-
public set clientCertificate(value: string | undefined) {
|
|
389
|
-
this._clientCertificate = value
|
|
390
|
-
}
|
|
391
|
-
public resetClientCertificate() {
|
|
392
|
-
this._clientCertificate = undefined
|
|
393
|
-
}
|
|
394
|
-
// Temporarily expose input value. Use with caution.
|
|
395
|
-
public get clientCertificateInput() {
|
|
396
|
-
return this._clientCertificate
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
// client_certificate_password - computed: false, optional: true, required: false
|
|
400
|
-
private _clientCertificatePassword?: string
|
|
401
|
-
public get clientCertificatePassword() {
|
|
402
|
-
return this._clientCertificatePassword
|
|
403
|
-
}
|
|
404
|
-
public set clientCertificatePassword(value: string | undefined) {
|
|
405
|
-
this._clientCertificatePassword = value
|
|
406
|
-
}
|
|
407
|
-
public resetClientCertificatePassword() {
|
|
408
|
-
this._clientCertificatePassword = undefined
|
|
409
|
-
}
|
|
410
|
-
// Temporarily expose input value. Use with caution.
|
|
411
|
-
public get clientCertificatePasswordInput() {
|
|
412
|
-
return this._clientCertificatePassword
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
// client_certificate_path - computed: false, optional: true, required: false
|
|
416
|
-
private _clientCertificatePath?: string
|
|
417
|
-
public get clientCertificatePath() {
|
|
418
|
-
return this._clientCertificatePath
|
|
419
|
-
}
|
|
420
|
-
public set clientCertificatePath(value: string | undefined) {
|
|
421
|
-
this._clientCertificatePath = value
|
|
422
|
-
}
|
|
423
|
-
public resetClientCertificatePath() {
|
|
424
|
-
this._clientCertificatePath = undefined
|
|
425
|
-
}
|
|
426
|
-
// Temporarily expose input value. Use with caution.
|
|
427
|
-
public get clientCertificatePathInput() {
|
|
428
|
-
return this._clientCertificatePath
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
// client_id - computed: false, optional: true, required: false
|
|
432
|
-
private _clientId?: string
|
|
433
|
-
public get clientId() {
|
|
434
|
-
return this._clientId
|
|
435
|
-
}
|
|
436
|
-
public set clientId(value: string | undefined) {
|
|
437
|
-
this._clientId = value
|
|
438
|
-
}
|
|
439
|
-
public resetClientId() {
|
|
440
|
-
this._clientId = undefined
|
|
441
|
-
}
|
|
442
|
-
// Temporarily expose input value. Use with caution.
|
|
443
|
-
public get clientIdInput() {
|
|
444
|
-
return this._clientId
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
// client_id_file_path - computed: false, optional: true, required: false
|
|
448
|
-
private _clientIdFilePath?: string
|
|
449
|
-
public get clientIdFilePath() {
|
|
450
|
-
return this._clientIdFilePath
|
|
451
|
-
}
|
|
452
|
-
public set clientIdFilePath(value: string | undefined) {
|
|
453
|
-
this._clientIdFilePath = value
|
|
454
|
-
}
|
|
455
|
-
public resetClientIdFilePath() {
|
|
456
|
-
this._clientIdFilePath = undefined
|
|
457
|
-
}
|
|
458
|
-
// Temporarily expose input value. Use with caution.
|
|
459
|
-
public get clientIdFilePathInput() {
|
|
460
|
-
return this._clientIdFilePath
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
// client_secret - computed: false, optional: true, required: false
|
|
464
|
-
private _clientSecret?: string
|
|
465
|
-
public get clientSecret() {
|
|
466
|
-
return this._clientSecret
|
|
467
|
-
}
|
|
468
|
-
public set clientSecret(value: string | undefined) {
|
|
469
|
-
this._clientSecret = value
|
|
470
|
-
}
|
|
471
|
-
public resetClientSecret() {
|
|
472
|
-
this._clientSecret = undefined
|
|
473
|
-
}
|
|
474
|
-
// Temporarily expose input value. Use with caution.
|
|
475
|
-
public get clientSecretInput() {
|
|
476
|
-
return this._clientSecret
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
// client_secret_file_path - computed: false, optional: true, required: false
|
|
480
|
-
private _clientSecretFilePath?: string
|
|
481
|
-
public get clientSecretFilePath() {
|
|
482
|
-
return this._clientSecretFilePath
|
|
483
|
-
}
|
|
484
|
-
public set clientSecretFilePath(value: string | undefined) {
|
|
485
|
-
this._clientSecretFilePath = value
|
|
486
|
-
}
|
|
487
|
-
public resetClientSecretFilePath() {
|
|
488
|
-
this._clientSecretFilePath = undefined
|
|
489
|
-
}
|
|
490
|
-
// Temporarily expose input value. Use with caution.
|
|
491
|
-
public get clientSecretFilePathInput() {
|
|
492
|
-
return this._clientSecretFilePath
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
// custom_correlation_request_id - computed: false, optional: true, required: false
|
|
496
|
-
private _customCorrelationRequestId?: string
|
|
497
|
-
public get customCorrelationRequestId() {
|
|
498
|
-
return this._customCorrelationRequestId
|
|
499
|
-
}
|
|
500
|
-
public set customCorrelationRequestId(value: string | undefined) {
|
|
501
|
-
this._customCorrelationRequestId = value
|
|
502
|
-
}
|
|
503
|
-
public resetCustomCorrelationRequestId() {
|
|
504
|
-
this._customCorrelationRequestId = undefined
|
|
505
|
-
}
|
|
506
|
-
// Temporarily expose input value. Use with caution.
|
|
507
|
-
public get customCorrelationRequestIdInput() {
|
|
508
|
-
return this._customCorrelationRequestId
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
// default_location - computed: false, optional: true, required: false
|
|
512
|
-
private _defaultLocation?: string
|
|
513
|
-
public get defaultLocation() {
|
|
514
|
-
return this._defaultLocation
|
|
515
|
-
}
|
|
516
|
-
public set defaultLocation(value: string | undefined) {
|
|
517
|
-
this._defaultLocation = value
|
|
518
|
-
}
|
|
519
|
-
public resetDefaultLocation() {
|
|
520
|
-
this._defaultLocation = undefined
|
|
521
|
-
}
|
|
522
|
-
// Temporarily expose input value. Use with caution.
|
|
523
|
-
public get defaultLocationInput() {
|
|
524
|
-
return this._defaultLocation
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
// default_name - computed: false, optional: true, required: false
|
|
528
|
-
private _defaultName?: string
|
|
529
|
-
public get defaultName() {
|
|
530
|
-
return this._defaultName
|
|
531
|
-
}
|
|
532
|
-
public set defaultName(value: string | undefined) {
|
|
533
|
-
this._defaultName = value
|
|
534
|
-
}
|
|
535
|
-
public resetDefaultName() {
|
|
536
|
-
this._defaultName = undefined
|
|
537
|
-
}
|
|
538
|
-
// Temporarily expose input value. Use with caution.
|
|
539
|
-
public get defaultNameInput() {
|
|
540
|
-
return this._defaultName
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
// default_tags - computed: false, optional: true, required: false
|
|
544
|
-
private _defaultTags?: { [key: string]: string }
|
|
545
|
-
public get defaultTags() {
|
|
546
|
-
return this._defaultTags
|
|
547
|
-
}
|
|
548
|
-
public set defaultTags(value: { [key: string]: string } | undefined) {
|
|
549
|
-
this._defaultTags = value
|
|
550
|
-
}
|
|
551
|
-
public resetDefaultTags() {
|
|
552
|
-
this._defaultTags = undefined
|
|
553
|
-
}
|
|
554
|
-
// Temporarily expose input value. Use with caution.
|
|
555
|
-
public get defaultTagsInput() {
|
|
556
|
-
return this._defaultTags
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
// disable_correlation_request_id - computed: false, optional: true, required: false
|
|
560
|
-
private _disableCorrelationRequestId?: boolean | cdktf.IResolvable
|
|
561
|
-
public get disableCorrelationRequestId() {
|
|
562
|
-
return this._disableCorrelationRequestId
|
|
563
|
-
}
|
|
564
|
-
public set disableCorrelationRequestId(value: boolean | cdktf.IResolvable | undefined) {
|
|
565
|
-
this._disableCorrelationRequestId = value
|
|
566
|
-
}
|
|
567
|
-
public resetDisableCorrelationRequestId() {
|
|
568
|
-
this._disableCorrelationRequestId = undefined
|
|
569
|
-
}
|
|
570
|
-
// Temporarily expose input value. Use with caution.
|
|
571
|
-
public get disableCorrelationRequestIdInput() {
|
|
572
|
-
return this._disableCorrelationRequestId
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
// disable_default_output - computed: false, optional: true, required: false
|
|
576
|
-
private _disableDefaultOutput?: boolean | cdktf.IResolvable
|
|
577
|
-
public get disableDefaultOutput() {
|
|
578
|
-
return this._disableDefaultOutput
|
|
579
|
-
}
|
|
580
|
-
public set disableDefaultOutput(value: boolean | cdktf.IResolvable | undefined) {
|
|
581
|
-
this._disableDefaultOutput = value
|
|
582
|
-
}
|
|
583
|
-
public resetDisableDefaultOutput() {
|
|
584
|
-
this._disableDefaultOutput = undefined
|
|
585
|
-
}
|
|
586
|
-
// Temporarily expose input value. Use with caution.
|
|
587
|
-
public get disableDefaultOutputInput() {
|
|
588
|
-
return this._disableDefaultOutput
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
// disable_terraform_partner_id - computed: false, optional: true, required: false
|
|
592
|
-
private _disableTerraformPartnerId?: boolean | cdktf.IResolvable
|
|
593
|
-
public get disableTerraformPartnerId() {
|
|
594
|
-
return this._disableTerraformPartnerId
|
|
595
|
-
}
|
|
596
|
-
public set disableTerraformPartnerId(value: boolean | cdktf.IResolvable | undefined) {
|
|
597
|
-
this._disableTerraformPartnerId = value
|
|
598
|
-
}
|
|
599
|
-
public resetDisableTerraformPartnerId() {
|
|
600
|
-
this._disableTerraformPartnerId = undefined
|
|
601
|
-
}
|
|
602
|
-
// Temporarily expose input value. Use with caution.
|
|
603
|
-
public get disableTerraformPartnerIdInput() {
|
|
604
|
-
return this._disableTerraformPartnerId
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
// enable_preflight - computed: false, optional: true, required: false
|
|
608
|
-
private _enablePreflight?: boolean | cdktf.IResolvable
|
|
609
|
-
public get enablePreflight() {
|
|
610
|
-
return this._enablePreflight
|
|
611
|
-
}
|
|
612
|
-
public set enablePreflight(value: boolean | cdktf.IResolvable | undefined) {
|
|
613
|
-
this._enablePreflight = value
|
|
614
|
-
}
|
|
615
|
-
public resetEnablePreflight() {
|
|
616
|
-
this._enablePreflight = undefined
|
|
617
|
-
}
|
|
618
|
-
// Temporarily expose input value. Use with caution.
|
|
619
|
-
public get enablePreflightInput() {
|
|
620
|
-
return this._enablePreflight
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
// endpoint - computed: false, optional: true, required: false
|
|
624
|
-
private _endpoint?: AzapiProviderEndpoint[] | cdktf.IResolvable
|
|
625
|
-
public get endpoint() {
|
|
626
|
-
return this._endpoint
|
|
627
|
-
}
|
|
628
|
-
public set endpoint(value: AzapiProviderEndpoint[] | cdktf.IResolvable | undefined) {
|
|
629
|
-
this._endpoint = value
|
|
630
|
-
}
|
|
631
|
-
public resetEndpoint() {
|
|
632
|
-
this._endpoint = undefined
|
|
633
|
-
}
|
|
634
|
-
// Temporarily expose input value. Use with caution.
|
|
635
|
-
public get endpointInput() {
|
|
636
|
-
return this._endpoint
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
// environment - computed: false, optional: true, required: false
|
|
640
|
-
private _environment?: string
|
|
641
|
-
public get environment() {
|
|
642
|
-
return this._environment
|
|
643
|
-
}
|
|
644
|
-
public set environment(value: string | undefined) {
|
|
645
|
-
this._environment = value
|
|
646
|
-
}
|
|
647
|
-
public resetEnvironment() {
|
|
648
|
-
this._environment = undefined
|
|
649
|
-
}
|
|
650
|
-
// Temporarily expose input value. Use with caution.
|
|
651
|
-
public get environmentInput() {
|
|
652
|
-
return this._environment
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
// oidc_azure_service_connection_id - computed: false, optional: true, required: false
|
|
656
|
-
private _oidcAzureServiceConnectionId?: string
|
|
657
|
-
public get oidcAzureServiceConnectionId() {
|
|
658
|
-
return this._oidcAzureServiceConnectionId
|
|
659
|
-
}
|
|
660
|
-
public set oidcAzureServiceConnectionId(value: string | undefined) {
|
|
661
|
-
this._oidcAzureServiceConnectionId = value
|
|
662
|
-
}
|
|
663
|
-
public resetOidcAzureServiceConnectionId() {
|
|
664
|
-
this._oidcAzureServiceConnectionId = undefined
|
|
665
|
-
}
|
|
666
|
-
// Temporarily expose input value. Use with caution.
|
|
667
|
-
public get oidcAzureServiceConnectionIdInput() {
|
|
668
|
-
return this._oidcAzureServiceConnectionId
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
// oidc_request_token - computed: false, optional: true, required: false
|
|
672
|
-
private _oidcRequestToken?: string
|
|
673
|
-
public get oidcRequestToken() {
|
|
674
|
-
return this._oidcRequestToken
|
|
675
|
-
}
|
|
676
|
-
public set oidcRequestToken(value: string | undefined) {
|
|
677
|
-
this._oidcRequestToken = value
|
|
678
|
-
}
|
|
679
|
-
public resetOidcRequestToken() {
|
|
680
|
-
this._oidcRequestToken = undefined
|
|
681
|
-
}
|
|
682
|
-
// Temporarily expose input value. Use with caution.
|
|
683
|
-
public get oidcRequestTokenInput() {
|
|
684
|
-
return this._oidcRequestToken
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
// oidc_request_url - computed: false, optional: true, required: false
|
|
688
|
-
private _oidcRequestUrl?: string
|
|
689
|
-
public get oidcRequestUrl() {
|
|
690
|
-
return this._oidcRequestUrl
|
|
691
|
-
}
|
|
692
|
-
public set oidcRequestUrl(value: string | undefined) {
|
|
693
|
-
this._oidcRequestUrl = value
|
|
694
|
-
}
|
|
695
|
-
public resetOidcRequestUrl() {
|
|
696
|
-
this._oidcRequestUrl = undefined
|
|
697
|
-
}
|
|
698
|
-
// Temporarily expose input value. Use with caution.
|
|
699
|
-
public get oidcRequestUrlInput() {
|
|
700
|
-
return this._oidcRequestUrl
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
// oidc_token - computed: false, optional: true, required: false
|
|
704
|
-
private _oidcToken?: string
|
|
705
|
-
public get oidcToken() {
|
|
706
|
-
return this._oidcToken
|
|
707
|
-
}
|
|
708
|
-
public set oidcToken(value: string | undefined) {
|
|
709
|
-
this._oidcToken = value
|
|
710
|
-
}
|
|
711
|
-
public resetOidcToken() {
|
|
712
|
-
this._oidcToken = undefined
|
|
713
|
-
}
|
|
714
|
-
// Temporarily expose input value. Use with caution.
|
|
715
|
-
public get oidcTokenInput() {
|
|
716
|
-
return this._oidcToken
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
// oidc_token_file_path - computed: false, optional: true, required: false
|
|
720
|
-
private _oidcTokenFilePath?: string
|
|
721
|
-
public get oidcTokenFilePath() {
|
|
722
|
-
return this._oidcTokenFilePath
|
|
723
|
-
}
|
|
724
|
-
public set oidcTokenFilePath(value: string | undefined) {
|
|
725
|
-
this._oidcTokenFilePath = value
|
|
726
|
-
}
|
|
727
|
-
public resetOidcTokenFilePath() {
|
|
728
|
-
this._oidcTokenFilePath = undefined
|
|
729
|
-
}
|
|
730
|
-
// Temporarily expose input value. Use with caution.
|
|
731
|
-
public get oidcTokenFilePathInput() {
|
|
732
|
-
return this._oidcTokenFilePath
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
// partner_id - computed: false, optional: true, required: false
|
|
736
|
-
private _partnerId?: string
|
|
737
|
-
public get partnerId() {
|
|
738
|
-
return this._partnerId
|
|
739
|
-
}
|
|
740
|
-
public set partnerId(value: string | undefined) {
|
|
741
|
-
this._partnerId = value
|
|
742
|
-
}
|
|
743
|
-
public resetPartnerId() {
|
|
744
|
-
this._partnerId = undefined
|
|
745
|
-
}
|
|
746
|
-
// Temporarily expose input value. Use with caution.
|
|
747
|
-
public get partnerIdInput() {
|
|
748
|
-
return this._partnerId
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
// skip_provider_registration - computed: false, optional: true, required: false
|
|
752
|
-
private _skipProviderRegistration?: boolean | cdktf.IResolvable
|
|
753
|
-
public get skipProviderRegistration() {
|
|
754
|
-
return this._skipProviderRegistration
|
|
755
|
-
}
|
|
756
|
-
public set skipProviderRegistration(value: boolean | cdktf.IResolvable | undefined) {
|
|
757
|
-
this._skipProviderRegistration = value
|
|
758
|
-
}
|
|
759
|
-
public resetSkipProviderRegistration() {
|
|
760
|
-
this._skipProviderRegistration = undefined
|
|
761
|
-
}
|
|
762
|
-
// Temporarily expose input value. Use with caution.
|
|
763
|
-
public get skipProviderRegistrationInput() {
|
|
764
|
-
return this._skipProviderRegistration
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
// subscription_id - computed: false, optional: true, required: false
|
|
768
|
-
private _subscriptionId?: string
|
|
769
|
-
public get subscriptionId() {
|
|
770
|
-
return this._subscriptionId
|
|
771
|
-
}
|
|
772
|
-
public set subscriptionId(value: string | undefined) {
|
|
773
|
-
this._subscriptionId = value
|
|
774
|
-
}
|
|
775
|
-
public resetSubscriptionId() {
|
|
776
|
-
this._subscriptionId = undefined
|
|
777
|
-
}
|
|
778
|
-
// Temporarily expose input value. Use with caution.
|
|
779
|
-
public get subscriptionIdInput() {
|
|
780
|
-
return this._subscriptionId
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
// tenant_id - computed: false, optional: true, required: false
|
|
784
|
-
private _tenantId?: string
|
|
785
|
-
public get tenantId() {
|
|
786
|
-
return this._tenantId
|
|
787
|
-
}
|
|
788
|
-
public set tenantId(value: string | undefined) {
|
|
789
|
-
this._tenantId = value
|
|
790
|
-
}
|
|
791
|
-
public resetTenantId() {
|
|
792
|
-
this._tenantId = undefined
|
|
793
|
-
}
|
|
794
|
-
// Temporarily expose input value. Use with caution.
|
|
795
|
-
public get tenantIdInput() {
|
|
796
|
-
return this._tenantId
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
// use_aks_workload_identity - computed: false, optional: true, required: false
|
|
800
|
-
private _useAksWorkloadIdentity?: boolean | cdktf.IResolvable
|
|
801
|
-
public get useAksWorkloadIdentity() {
|
|
802
|
-
return this._useAksWorkloadIdentity
|
|
803
|
-
}
|
|
804
|
-
public set useAksWorkloadIdentity(value: boolean | cdktf.IResolvable | undefined) {
|
|
805
|
-
this._useAksWorkloadIdentity = value
|
|
806
|
-
}
|
|
807
|
-
public resetUseAksWorkloadIdentity() {
|
|
808
|
-
this._useAksWorkloadIdentity = undefined
|
|
809
|
-
}
|
|
810
|
-
// Temporarily expose input value. Use with caution.
|
|
811
|
-
public get useAksWorkloadIdentityInput() {
|
|
812
|
-
return this._useAksWorkloadIdentity
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
// use_cli - computed: false, optional: true, required: false
|
|
816
|
-
private _useCli?: boolean | cdktf.IResolvable
|
|
817
|
-
public get useCli() {
|
|
818
|
-
return this._useCli
|
|
819
|
-
}
|
|
820
|
-
public set useCli(value: boolean | cdktf.IResolvable | undefined) {
|
|
821
|
-
this._useCli = value
|
|
822
|
-
}
|
|
823
|
-
public resetUseCli() {
|
|
824
|
-
this._useCli = undefined
|
|
825
|
-
}
|
|
826
|
-
// Temporarily expose input value. Use with caution.
|
|
827
|
-
public get useCliInput() {
|
|
828
|
-
return this._useCli
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
// use_msi - computed: false, optional: true, required: false
|
|
832
|
-
private _useMsi?: boolean | cdktf.IResolvable
|
|
833
|
-
public get useMsi() {
|
|
834
|
-
return this._useMsi
|
|
835
|
-
}
|
|
836
|
-
public set useMsi(value: boolean | cdktf.IResolvable | undefined) {
|
|
837
|
-
this._useMsi = value
|
|
838
|
-
}
|
|
839
|
-
public resetUseMsi() {
|
|
840
|
-
this._useMsi = undefined
|
|
841
|
-
}
|
|
842
|
-
// Temporarily expose input value. Use with caution.
|
|
843
|
-
public get useMsiInput() {
|
|
844
|
-
return this._useMsi
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
// use_oidc - computed: false, optional: true, required: false
|
|
848
|
-
private _useOidc?: boolean | cdktf.IResolvable
|
|
849
|
-
public get useOidc() {
|
|
850
|
-
return this._useOidc
|
|
851
|
-
}
|
|
852
|
-
public set useOidc(value: boolean | cdktf.IResolvable | undefined) {
|
|
853
|
-
this._useOidc = value
|
|
854
|
-
}
|
|
855
|
-
public resetUseOidc() {
|
|
856
|
-
this._useOidc = undefined
|
|
857
|
-
}
|
|
858
|
-
// Temporarily expose input value. Use with caution.
|
|
859
|
-
public get useOidcInput() {
|
|
860
|
-
return this._useOidc
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
// alias - computed: false, optional: true, required: false
|
|
864
|
-
private _alias?: string
|
|
865
|
-
public get alias() {
|
|
866
|
-
return this._alias
|
|
867
|
-
}
|
|
868
|
-
public set alias(value: string | undefined) {
|
|
869
|
-
this._alias = value
|
|
870
|
-
}
|
|
871
|
-
public resetAlias() {
|
|
872
|
-
this._alias = undefined
|
|
873
|
-
}
|
|
874
|
-
// Temporarily expose input value. Use with caution.
|
|
875
|
-
public get aliasInput() {
|
|
876
|
-
return this._alias
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
// =========
|
|
880
|
-
// SYNTHESIS
|
|
881
|
-
// =========
|
|
882
|
-
|
|
883
|
-
protected synthesizeAttributes(): { [name: string]: any } {
|
|
884
|
-
return {
|
|
885
|
-
auxiliary_tenant_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(this._auxiliaryTenantIds),
|
|
886
|
-
client_certificate: cdktf.stringToTerraform(this._clientCertificate),
|
|
887
|
-
client_certificate_password: cdktf.stringToTerraform(this._clientCertificatePassword),
|
|
888
|
-
client_certificate_path: cdktf.stringToTerraform(this._clientCertificatePath),
|
|
889
|
-
client_id: cdktf.stringToTerraform(this._clientId),
|
|
890
|
-
client_id_file_path: cdktf.stringToTerraform(this._clientIdFilePath),
|
|
891
|
-
client_secret: cdktf.stringToTerraform(this._clientSecret),
|
|
892
|
-
client_secret_file_path: cdktf.stringToTerraform(this._clientSecretFilePath),
|
|
893
|
-
custom_correlation_request_id: cdktf.stringToTerraform(this._customCorrelationRequestId),
|
|
894
|
-
default_location: cdktf.stringToTerraform(this._defaultLocation),
|
|
895
|
-
default_name: cdktf.stringToTerraform(this._defaultName),
|
|
896
|
-
default_tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._defaultTags),
|
|
897
|
-
disable_correlation_request_id: cdktf.booleanToTerraform(this._disableCorrelationRequestId),
|
|
898
|
-
disable_default_output: cdktf.booleanToTerraform(this._disableDefaultOutput),
|
|
899
|
-
disable_terraform_partner_id: cdktf.booleanToTerraform(this._disableTerraformPartnerId),
|
|
900
|
-
enable_preflight: cdktf.booleanToTerraform(this._enablePreflight),
|
|
901
|
-
endpoint: cdktf.listMapper(azapiProviderEndpointToTerraform, false)(this._endpoint),
|
|
902
|
-
environment: cdktf.stringToTerraform(this._environment),
|
|
903
|
-
oidc_azure_service_connection_id: cdktf.stringToTerraform(this._oidcAzureServiceConnectionId),
|
|
904
|
-
oidc_request_token: cdktf.stringToTerraform(this._oidcRequestToken),
|
|
905
|
-
oidc_request_url: cdktf.stringToTerraform(this._oidcRequestUrl),
|
|
906
|
-
oidc_token: cdktf.stringToTerraform(this._oidcToken),
|
|
907
|
-
oidc_token_file_path: cdktf.stringToTerraform(this._oidcTokenFilePath),
|
|
908
|
-
partner_id: cdktf.stringToTerraform(this._partnerId),
|
|
909
|
-
skip_provider_registration: cdktf.booleanToTerraform(this._skipProviderRegistration),
|
|
910
|
-
subscription_id: cdktf.stringToTerraform(this._subscriptionId),
|
|
911
|
-
tenant_id: cdktf.stringToTerraform(this._tenantId),
|
|
912
|
-
use_aks_workload_identity: cdktf.booleanToTerraform(this._useAksWorkloadIdentity),
|
|
913
|
-
use_cli: cdktf.booleanToTerraform(this._useCli),
|
|
914
|
-
use_msi: cdktf.booleanToTerraform(this._useMsi),
|
|
915
|
-
use_oidc: cdktf.booleanToTerraform(this._useOidc),
|
|
916
|
-
alias: cdktf.stringToTerraform(this._alias),
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
protected synthesizeHclAttributes(): { [name: string]: any } {
|
|
921
|
-
const attrs = {
|
|
922
|
-
auxiliary_tenant_ids: {
|
|
923
|
-
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._auxiliaryTenantIds),
|
|
924
|
-
isBlock: false,
|
|
925
|
-
type: 'list',
|
|
926
|
-
storageClassType: 'stringList',
|
|
927
|
-
},
|
|
928
|
-
client_certificate: {
|
|
929
|
-
value: cdktf.stringToHclTerraform(this._clientCertificate),
|
|
930
|
-
isBlock: false,
|
|
931
|
-
type: 'simple',
|
|
932
|
-
storageClassType: 'string',
|
|
933
|
-
},
|
|
934
|
-
client_certificate_password: {
|
|
935
|
-
value: cdktf.stringToHclTerraform(this._clientCertificatePassword),
|
|
936
|
-
isBlock: false,
|
|
937
|
-
type: 'simple',
|
|
938
|
-
storageClassType: 'string',
|
|
939
|
-
},
|
|
940
|
-
client_certificate_path: {
|
|
941
|
-
value: cdktf.stringToHclTerraform(this._clientCertificatePath),
|
|
942
|
-
isBlock: false,
|
|
943
|
-
type: 'simple',
|
|
944
|
-
storageClassType: 'string',
|
|
945
|
-
},
|
|
946
|
-
client_id: {
|
|
947
|
-
value: cdktf.stringToHclTerraform(this._clientId),
|
|
948
|
-
isBlock: false,
|
|
949
|
-
type: 'simple',
|
|
950
|
-
storageClassType: 'string',
|
|
951
|
-
},
|
|
952
|
-
client_id_file_path: {
|
|
953
|
-
value: cdktf.stringToHclTerraform(this._clientIdFilePath),
|
|
954
|
-
isBlock: false,
|
|
955
|
-
type: 'simple',
|
|
956
|
-
storageClassType: 'string',
|
|
957
|
-
},
|
|
958
|
-
client_secret: {
|
|
959
|
-
value: cdktf.stringToHclTerraform(this._clientSecret),
|
|
960
|
-
isBlock: false,
|
|
961
|
-
type: 'simple',
|
|
962
|
-
storageClassType: 'string',
|
|
963
|
-
},
|
|
964
|
-
client_secret_file_path: {
|
|
965
|
-
value: cdktf.stringToHclTerraform(this._clientSecretFilePath),
|
|
966
|
-
isBlock: false,
|
|
967
|
-
type: 'simple',
|
|
968
|
-
storageClassType: 'string',
|
|
969
|
-
},
|
|
970
|
-
custom_correlation_request_id: {
|
|
971
|
-
value: cdktf.stringToHclTerraform(this._customCorrelationRequestId),
|
|
972
|
-
isBlock: false,
|
|
973
|
-
type: 'simple',
|
|
974
|
-
storageClassType: 'string',
|
|
975
|
-
},
|
|
976
|
-
default_location: {
|
|
977
|
-
value: cdktf.stringToHclTerraform(this._defaultLocation),
|
|
978
|
-
isBlock: false,
|
|
979
|
-
type: 'simple',
|
|
980
|
-
storageClassType: 'string',
|
|
981
|
-
},
|
|
982
|
-
default_name: {
|
|
983
|
-
value: cdktf.stringToHclTerraform(this._defaultName),
|
|
984
|
-
isBlock: false,
|
|
985
|
-
type: 'simple',
|
|
986
|
-
storageClassType: 'string',
|
|
987
|
-
},
|
|
988
|
-
default_tags: {
|
|
989
|
-
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._defaultTags),
|
|
990
|
-
isBlock: false,
|
|
991
|
-
type: 'map',
|
|
992
|
-
storageClassType: 'stringMap',
|
|
993
|
-
},
|
|
994
|
-
disable_correlation_request_id: {
|
|
995
|
-
value: cdktf.booleanToHclTerraform(this._disableCorrelationRequestId),
|
|
996
|
-
isBlock: false,
|
|
997
|
-
type: 'simple',
|
|
998
|
-
storageClassType: 'boolean',
|
|
999
|
-
},
|
|
1000
|
-
disable_default_output: {
|
|
1001
|
-
value: cdktf.booleanToHclTerraform(this._disableDefaultOutput),
|
|
1002
|
-
isBlock: false,
|
|
1003
|
-
type: 'simple',
|
|
1004
|
-
storageClassType: 'boolean',
|
|
1005
|
-
},
|
|
1006
|
-
disable_terraform_partner_id: {
|
|
1007
|
-
value: cdktf.booleanToHclTerraform(this._disableTerraformPartnerId),
|
|
1008
|
-
isBlock: false,
|
|
1009
|
-
type: 'simple',
|
|
1010
|
-
storageClassType: 'boolean',
|
|
1011
|
-
},
|
|
1012
|
-
enable_preflight: {
|
|
1013
|
-
value: cdktf.booleanToHclTerraform(this._enablePreflight),
|
|
1014
|
-
isBlock: false,
|
|
1015
|
-
type: 'simple',
|
|
1016
|
-
storageClassType: 'boolean',
|
|
1017
|
-
},
|
|
1018
|
-
endpoint: {
|
|
1019
|
-
value: cdktf.listMapperHcl(azapiProviderEndpointToHclTerraform, false)(this._endpoint),
|
|
1020
|
-
isBlock: true,
|
|
1021
|
-
type: 'list',
|
|
1022
|
-
storageClassType: 'AzapiProviderEndpointList',
|
|
1023
|
-
},
|
|
1024
|
-
environment: {
|
|
1025
|
-
value: cdktf.stringToHclTerraform(this._environment),
|
|
1026
|
-
isBlock: false,
|
|
1027
|
-
type: 'simple',
|
|
1028
|
-
storageClassType: 'string',
|
|
1029
|
-
},
|
|
1030
|
-
oidc_azure_service_connection_id: {
|
|
1031
|
-
value: cdktf.stringToHclTerraform(this._oidcAzureServiceConnectionId),
|
|
1032
|
-
isBlock: false,
|
|
1033
|
-
type: 'simple',
|
|
1034
|
-
storageClassType: 'string',
|
|
1035
|
-
},
|
|
1036
|
-
oidc_request_token: {
|
|
1037
|
-
value: cdktf.stringToHclTerraform(this._oidcRequestToken),
|
|
1038
|
-
isBlock: false,
|
|
1039
|
-
type: 'simple',
|
|
1040
|
-
storageClassType: 'string',
|
|
1041
|
-
},
|
|
1042
|
-
oidc_request_url: {
|
|
1043
|
-
value: cdktf.stringToHclTerraform(this._oidcRequestUrl),
|
|
1044
|
-
isBlock: false,
|
|
1045
|
-
type: 'simple',
|
|
1046
|
-
storageClassType: 'string',
|
|
1047
|
-
},
|
|
1048
|
-
oidc_token: {
|
|
1049
|
-
value: cdktf.stringToHclTerraform(this._oidcToken),
|
|
1050
|
-
isBlock: false,
|
|
1051
|
-
type: 'simple',
|
|
1052
|
-
storageClassType: 'string',
|
|
1053
|
-
},
|
|
1054
|
-
oidc_token_file_path: {
|
|
1055
|
-
value: cdktf.stringToHclTerraform(this._oidcTokenFilePath),
|
|
1056
|
-
isBlock: false,
|
|
1057
|
-
type: 'simple',
|
|
1058
|
-
storageClassType: 'string',
|
|
1059
|
-
},
|
|
1060
|
-
partner_id: {
|
|
1061
|
-
value: cdktf.stringToHclTerraform(this._partnerId),
|
|
1062
|
-
isBlock: false,
|
|
1063
|
-
type: 'simple',
|
|
1064
|
-
storageClassType: 'string',
|
|
1065
|
-
},
|
|
1066
|
-
skip_provider_registration: {
|
|
1067
|
-
value: cdktf.booleanToHclTerraform(this._skipProviderRegistration),
|
|
1068
|
-
isBlock: false,
|
|
1069
|
-
type: 'simple',
|
|
1070
|
-
storageClassType: 'boolean',
|
|
1071
|
-
},
|
|
1072
|
-
subscription_id: {
|
|
1073
|
-
value: cdktf.stringToHclTerraform(this._subscriptionId),
|
|
1074
|
-
isBlock: false,
|
|
1075
|
-
type: 'simple',
|
|
1076
|
-
storageClassType: 'string',
|
|
1077
|
-
},
|
|
1078
|
-
tenant_id: {
|
|
1079
|
-
value: cdktf.stringToHclTerraform(this._tenantId),
|
|
1080
|
-
isBlock: false,
|
|
1081
|
-
type: 'simple',
|
|
1082
|
-
storageClassType: 'string',
|
|
1083
|
-
},
|
|
1084
|
-
use_aks_workload_identity: {
|
|
1085
|
-
value: cdktf.booleanToHclTerraform(this._useAksWorkloadIdentity),
|
|
1086
|
-
isBlock: false,
|
|
1087
|
-
type: 'simple',
|
|
1088
|
-
storageClassType: 'boolean',
|
|
1089
|
-
},
|
|
1090
|
-
use_cli: {
|
|
1091
|
-
value: cdktf.booleanToHclTerraform(this._useCli),
|
|
1092
|
-
isBlock: false,
|
|
1093
|
-
type: 'simple',
|
|
1094
|
-
storageClassType: 'boolean',
|
|
1095
|
-
},
|
|
1096
|
-
use_msi: {
|
|
1097
|
-
value: cdktf.booleanToHclTerraform(this._useMsi),
|
|
1098
|
-
isBlock: false,
|
|
1099
|
-
type: 'simple',
|
|
1100
|
-
storageClassType: 'boolean',
|
|
1101
|
-
},
|
|
1102
|
-
use_oidc: {
|
|
1103
|
-
value: cdktf.booleanToHclTerraform(this._useOidc),
|
|
1104
|
-
isBlock: false,
|
|
1105
|
-
type: 'simple',
|
|
1106
|
-
storageClassType: 'boolean',
|
|
1107
|
-
},
|
|
1108
|
-
alias: {
|
|
1109
|
-
value: cdktf.stringToHclTerraform(this._alias),
|
|
1110
|
-
isBlock: false,
|
|
1111
|
-
type: 'simple',
|
|
1112
|
-
storageClassType: 'string',
|
|
1113
|
-
},
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
// remove undefined attributes
|
|
1117
|
-
return Object.fromEntries(
|
|
1118
|
-
Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)
|
|
1119
|
-
)
|
|
1120
|
-
}
|
|
1121
|
-
}
|