@pulumi/azure 6.21.0-alpha.1741242056 → 6.21.0-alpha.1741330238
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/appservice/appFlexConsumption.d.ts +543 -0
- package/appservice/appFlexConsumption.js +204 -0
- package/appservice/appFlexConsumption.js.map +1 -0
- package/appservice/index.d.ts +3 -0
- package/appservice/index.js +7 -2
- package/appservice/index.js.map +1 -1
- package/appservice/linuxFunctionApp.d.ts +6 -0
- package/appservice/linuxFunctionApp.js.map +1 -1
- package/appservice/servicePlan.d.ts +9 -9
- package/containerservice/clusterTrustedAccessRoleBinding.d.ts +0 -6
- package/containerservice/clusterTrustedAccessRoleBinding.js +0 -6
- package/containerservice/clusterTrustedAccessRoleBinding.js.map +1 -1
- package/containerservice/kubernetesCluster.d.ts +12 -0
- package/containerservice/kubernetesCluster.js +2 -0
- package/containerservice/kubernetesCluster.js.map +1 -1
- package/containerservice/registry.d.ts +41 -0
- package/containerservice/registry.js +41 -0
- package/containerservice/registry.js.map +1 -1
- package/dataprotection/backupVaultCustomerManagedKey.d.ts +162 -0
- package/dataprotection/backupVaultCustomerManagedKey.js +159 -0
- package/dataprotection/backupVaultCustomerManagedKey.js.map +1 -0
- package/dataprotection/index.d.ts +3 -0
- package/dataprotection/index.js +6 -1
- package/dataprotection/index.js.map +1 -1
- package/dynatrace/getMonitor.d.ts +102 -0
- package/dynatrace/getMonitor.js +54 -0
- package/dynatrace/getMonitor.js.map +1 -0
- package/dynatrace/index.d.ts +3 -0
- package/dynatrace/index.js +4 -1
- package/dynatrace/index.js.map +1 -1
- package/keyvault/secret.d.ts +3 -3
- package/kusto/attachedDatabaseConfiguration.d.ts +16 -4
- package/kusto/attachedDatabaseConfiguration.js +2 -3
- package/kusto/attachedDatabaseConfiguration.js.map +1 -1
- package/kusto/clusterPrincipalAssignment.d.ts +3 -34
- package/kusto/clusterPrincipalAssignment.js +0 -31
- package/kusto/clusterPrincipalAssignment.js.map +1 -1
- package/kusto/eventGridDataConnection.d.ts +26 -2
- package/kusto/eventGridDataConnection.js +4 -0
- package/kusto/eventGridDataConnection.js.map +1 -1
- package/logicapps/getStandard.d.ts +12 -4
- package/logicapps/getStandard.js +2 -2
- package/logicapps/getStandard.js.map +1 -1
- package/logicapps/standard.d.ts +63 -38
- package/logicapps/standard.js +18 -17
- package/logicapps/standard.js.map +1 -1
- package/mixedreality/getSpatialAnchorsAccount.d.ts +4 -0
- package/mixedreality/getSpatialAnchorsAccount.js +4 -0
- package/mixedreality/getSpatialAnchorsAccount.js.map +1 -1
- package/mixedreality/spatialAnchorsAccount.d.ts +2 -0
- package/mixedreality/spatialAnchorsAccount.js +2 -0
- package/mixedreality/spatialAnchorsAccount.js.map +1 -1
- package/mssql/jobCredential.d.ts +20 -8
- package/mssql/jobCredential.js +2 -3
- package/mssql/jobCredential.js.map +1 -1
- package/mssql/managedInstance.d.ts +30 -0
- package/mssql/managedInstance.js +4 -0
- package/mssql/managedInstance.js.map +1 -1
- package/mssql/server.d.ts +15 -3
- package/mssql/server.js +2 -0
- package/mssql/server.js.map +1 -1
- package/mysql/flexibleServer.d.ts +21 -3
- package/mysql/flexibleServer.js +2 -0
- package/mysql/flexibleServer.js.map +1 -1
- package/network/index.d.ts +3 -0
- package/network/index.js +7 -2
- package/network/index.js.map +1 -1
- package/network/networkManagerVerifierWorkspace.d.ts +145 -0
- package/network/networkManagerVerifierWorkspace.js +103 -0
- package/network/networkManagerVerifierWorkspace.js.map +1 -0
- package/package.json +2 -2
- package/pim/eligibleRoleAssignment.d.ts +30 -0
- package/pim/eligibleRoleAssignment.js +4 -0
- package/pim/eligibleRoleAssignment.js.map +1 -1
- package/postgresql/flexibleServer.d.ts +15 -3
- package/postgresql/flexibleServer.js +2 -0
- package/postgresql/flexibleServer.js.map +1 -1
- package/postgresql/server.d.ts +15 -3
- package/postgresql/server.js +2 -0
- package/postgresql/server.js.map +1 -1
- package/securitycenter/subscriptionPricing.d.ts +3 -3
- package/servicebus/getNamespaceDisasterRecoveryConfig.d.ts +74 -9
- package/servicebus/getNamespaceDisasterRecoveryConfig.js +32 -0
- package/servicebus/getNamespaceDisasterRecoveryConfig.js.map +1 -1
- package/servicebus/getQueue.d.ts +17 -14
- package/servicebus/getQueue.js.map +1 -1
- package/servicebus/getSubscription.d.ts +14 -13
- package/servicebus/getSubscription.js.map +1 -1
- package/storage/container.d.ts +6 -0
- package/storage/container.js.map +1 -1
- package/storage/share.d.ts +6 -0
- package/storage/share.js.map +1 -1
- package/storage/table.d.ts +8 -0
- package/storage/table.js +2 -0
- package/storage/table.js.map +1 -1
- package/synapse/sqlPool.d.ts +6 -6
- package/types/input.d.ts +881 -15
- package/types/output.d.ts +939 -15
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages a Function App Running on a Flex Consumption Plan.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
14
|
+
* name: "example-resources",
|
|
15
|
+
* location: "West Europe",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
18
|
+
* name: "examplelinuxfunctionappsa",
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* location: example.location,
|
|
21
|
+
* accountTier: "Standard",
|
|
22
|
+
* accountReplicationType: "LRS",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleContainer = new azure.storage.Container("example", {
|
|
25
|
+
* name: "example-flexcontainer",
|
|
26
|
+
* storageAccountId: exampleAccount.id,
|
|
27
|
+
* containerAccessType: "private",
|
|
28
|
+
* });
|
|
29
|
+
* const exampleServicePlan = new azure.appservice.ServicePlan("example", {
|
|
30
|
+
* name: "example-app-service-plan",
|
|
31
|
+
* resourceGroupName: example.name,
|
|
32
|
+
* location: example.location,
|
|
33
|
+
* skuName: "FC1",
|
|
34
|
+
* osType: "Linux",
|
|
35
|
+
* });
|
|
36
|
+
* const exampleAppFlexConsumption = new azure.appservice.AppFlexConsumption("example", {
|
|
37
|
+
* name: "example-linux-function-app",
|
|
38
|
+
* resourceGroupName: example.name,
|
|
39
|
+
* location: example.location,
|
|
40
|
+
* storageContainerType: "blobContainer",
|
|
41
|
+
* storageContainerEndpoint: exampleContainer.id,
|
|
42
|
+
* storageAuthenticationType: "StorageAccountConnectionString",
|
|
43
|
+
* storageAccessKey: exampleAccount.primaryAccessKey,
|
|
44
|
+
* runtimeName: "node",
|
|
45
|
+
* runtimeVersion: "20",
|
|
46
|
+
* maximumInstanceCount: 50,
|
|
47
|
+
* instanceMemoryInMb: 2048,
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ## Import
|
|
52
|
+
*
|
|
53
|
+
* The Function Apps can be imported using the `resource id`, e.g.
|
|
54
|
+
*
|
|
55
|
+
* ```sh
|
|
56
|
+
* $ pulumi import azure:appservice/appFlexConsumption:AppFlexConsumption example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare class AppFlexConsumption extends pulumi.CustomResource {
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing AppFlexConsumption resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param state Any extra arguments used during the lookup.
|
|
67
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
+
*/
|
|
69
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppFlexConsumptionState, opts?: pulumi.CustomResourceOptions): AppFlexConsumption;
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of AppFlexConsumption. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj: any): obj is AppFlexConsumption;
|
|
75
|
+
/**
|
|
76
|
+
* A map of key-value pairs for [App
|
|
77
|
+
* Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.
|
|
78
|
+
*/
|
|
79
|
+
readonly appSettings: pulumi.Output<{
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
} | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* A `authSettings` block as defined below.
|
|
84
|
+
*/
|
|
85
|
+
readonly authSettings: pulumi.Output<outputs.appservice.AppFlexConsumptionAuthSettings | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* An `authSettingsV2` block as defined below.
|
|
88
|
+
*/
|
|
89
|
+
readonly authSettingsV2: pulumi.Output<outputs.appservice.AppFlexConsumptionAuthSettingsV2 | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Should the function app use Client Certificates.
|
|
92
|
+
*/
|
|
93
|
+
readonly clientCertificateEnabled: pulumi.Output<boolean | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Paths to exclude when using client certificates, separated by ;
|
|
96
|
+
*/
|
|
97
|
+
readonly clientCertificateExclusionPaths: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. Defaults to `Optional`.
|
|
100
|
+
*/
|
|
101
|
+
readonly clientCertificateMode: pulumi.Output<string | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* One or more `connectionString` blocks as defined below.
|
|
104
|
+
*/
|
|
105
|
+
readonly connectionStrings: pulumi.Output<outputs.appservice.AppFlexConsumptionConnectionString[] | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* The identifier used by App Service to perform domain ownership verification via DNS TXT record.
|
|
108
|
+
*/
|
|
109
|
+
readonly customDomainVerificationId: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The default hostname of the Linux Function App.
|
|
112
|
+
*/
|
|
113
|
+
readonly defaultHostname: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Is the Function App enabled? Defaults to `true`.
|
|
116
|
+
*/
|
|
117
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* The ID of the App Service Environment used by Function App.
|
|
120
|
+
*/
|
|
121
|
+
readonly hostingEnvironmentId: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* A `identity` block as defined below.
|
|
124
|
+
*/
|
|
125
|
+
readonly identity: pulumi.Output<outputs.appservice.AppFlexConsumptionIdentity | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* A mapping of tags which should be assigned to the Linux Function App.
|
|
128
|
+
*/
|
|
129
|
+
readonly instanceMemoryInMb: pulumi.Output<number | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* The Kind value for this Linux Function App.
|
|
132
|
+
*/
|
|
133
|
+
readonly kind: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The Azure Region where the Function App should exist. Changing this forces a new Function App to be created.
|
|
136
|
+
*/
|
|
137
|
+
readonly location: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The number of workers this function app can scale out to.
|
|
140
|
+
*/
|
|
141
|
+
readonly maximumInstanceCount: pulumi.Output<number | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* The name which should be used for this Function App. Changing this forces a new Function App to be created. Limit the function name to 32 characters to avoid naming collisions. For more information about [Function App naming rule](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftweb) and [Host ID Collisions](https://github.com/Azure/azure-functions-host/wiki/Host-IDs#host-id-collisions)
|
|
144
|
+
*/
|
|
145
|
+
readonly name: pulumi.Output<string>;
|
|
146
|
+
/**
|
|
147
|
+
* A list of outbound IP addresses. For example `["52.23.25.3", "52.143.43.12"]`
|
|
148
|
+
*/
|
|
149
|
+
readonly outboundIpAddressLists: pulumi.Output<string[]>;
|
|
150
|
+
/**
|
|
151
|
+
* A comma separated list of outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12`.
|
|
152
|
+
*/
|
|
153
|
+
readonly outboundIpAddresses: pulumi.Output<string>;
|
|
154
|
+
/**
|
|
155
|
+
* A list of possible outbound IP addresses, not all of which are necessarily in use. This is a superset of `outboundIpAddressList`. For example `["52.23.25.3", "52.143.43.12"]`.
|
|
156
|
+
*/
|
|
157
|
+
readonly possibleOutboundIpAddressLists: pulumi.Output<string[]>;
|
|
158
|
+
/**
|
|
159
|
+
* A comma separated list of possible outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12,52.143.43.17`. This is a superset of `outboundIpAddresses`.
|
|
160
|
+
*/
|
|
161
|
+
readonly possibleOutboundIpAddresses: pulumi.Output<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Should public network access be enabled for the Function App. Defaults to `true`.
|
|
164
|
+
*/
|
|
165
|
+
readonly publicNetworkAccessEnabled: pulumi.Output<boolean | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* The name of the Resource Group where the Function App should exist. Changing this forces a new Linux Function App to be created.
|
|
168
|
+
*/
|
|
169
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The Runtime of the Linux Function App. Possible values are `node`, `dotnet-isolated`, `powershell`, `python`, `java`.
|
|
172
|
+
*/
|
|
173
|
+
readonly runtimeName: pulumi.Output<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The Runtime version of the Linux Function App. The values are diff from different runtime version. The supported values are `8.0`, `9.0` for `dotnet-isolated`, `20` for `node`, `3.10`, `3.11` for `python`, `11`, `17` for `java`, `7.4` for `powershell`.
|
|
176
|
+
*/
|
|
177
|
+
readonly runtimeVersion: pulumi.Output<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The ID of the App Service Plan within which to create this Function App.
|
|
180
|
+
*/
|
|
181
|
+
readonly servicePlanId: pulumi.Output<string>;
|
|
182
|
+
/**
|
|
183
|
+
* A `siteConfig` block as defined below.
|
|
184
|
+
*/
|
|
185
|
+
readonly siteConfig: pulumi.Output<outputs.appservice.AppFlexConsumptionSiteConfig>;
|
|
186
|
+
/**
|
|
187
|
+
* A `siteCredential` block as defined below.
|
|
188
|
+
*/
|
|
189
|
+
readonly siteCredentials: pulumi.Output<outputs.appservice.AppFlexConsumptionSiteCredential[]>;
|
|
190
|
+
/**
|
|
191
|
+
* A `stickySettings` block as defined below.
|
|
192
|
+
*/
|
|
193
|
+
readonly stickySettings: pulumi.Output<outputs.appservice.AppFlexConsumptionStickySettings | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* The access key which will be used to access the backend storage account for the Function App.
|
|
196
|
+
*
|
|
197
|
+
* > **Note:** The`storageAccessKey` must be specified when `storageAuthenticationType` sets to `storageaccountconnectionstring`.
|
|
198
|
+
*/
|
|
199
|
+
readonly storageAccessKey: pulumi.Output<string | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* The authentication type which will be used to access the backend storage account for the Function App. Possible values are `storageaccountconnectionstring`, `systemassignedidentity`, and `userassignedidentity`.
|
|
202
|
+
*/
|
|
203
|
+
readonly storageAuthenticationType: pulumi.Output<string>;
|
|
204
|
+
/**
|
|
205
|
+
* The backend storage container endpoint which will be used by this Function App.
|
|
206
|
+
*/
|
|
207
|
+
readonly storageContainerEndpoint: pulumi.Output<string>;
|
|
208
|
+
/**
|
|
209
|
+
* The storage container type used for the Function App. The current supported type is `blobContainer`.
|
|
210
|
+
*/
|
|
211
|
+
readonly storageContainerType: pulumi.Output<string>;
|
|
212
|
+
/**
|
|
213
|
+
* The user assigned Managed Identity to access the storage account. Conflicts with `storageAccountAccessKey`.
|
|
214
|
+
*
|
|
215
|
+
* > **Note:** The`storageUserAssignedIdentityId` must be specified when `storageAuthenticationType` sets to `userassignedidentity`.
|
|
216
|
+
*/
|
|
217
|
+
readonly storageUserAssignedIdentityId: pulumi.Output<string | undefined>;
|
|
218
|
+
/**
|
|
219
|
+
* A mapping of tags which should be assigned to the Linux Function App.
|
|
220
|
+
*/
|
|
221
|
+
readonly tags: pulumi.Output<{
|
|
222
|
+
[key: string]: string;
|
|
223
|
+
} | undefined>;
|
|
224
|
+
readonly virtualNetworkSubnetId: pulumi.Output<string | undefined>;
|
|
225
|
+
/**
|
|
226
|
+
* Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to `true`.
|
|
227
|
+
*
|
|
228
|
+
* > **Note:** Setting this value to true will disable the ability to use `zipDeployFile` which currently relies on the default publishing profile.
|
|
229
|
+
*/
|
|
230
|
+
readonly webdeployPublishBasicAuthenticationEnabled: pulumi.Output<boolean | undefined>;
|
|
231
|
+
/**
|
|
232
|
+
* The local path and filename of the Zip packaged application to deploy to this Linux Function App.
|
|
233
|
+
*
|
|
234
|
+
* > **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `appSettings`. Refer to the [Azure docs](https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies) for further details.
|
|
235
|
+
*/
|
|
236
|
+
readonly zipDeployFile: pulumi.Output<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Create a AppFlexConsumption resource with the given unique name, arguments, and options.
|
|
239
|
+
*
|
|
240
|
+
* @param name The _unique_ name of the resource.
|
|
241
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
242
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
243
|
+
*/
|
|
244
|
+
constructor(name: string, args: AppFlexConsumptionArgs, opts?: pulumi.CustomResourceOptions);
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Input properties used for looking up and filtering AppFlexConsumption resources.
|
|
248
|
+
*/
|
|
249
|
+
export interface AppFlexConsumptionState {
|
|
250
|
+
/**
|
|
251
|
+
* A map of key-value pairs for [App
|
|
252
|
+
* Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.
|
|
253
|
+
*/
|
|
254
|
+
appSettings?: pulumi.Input<{
|
|
255
|
+
[key: string]: pulumi.Input<string>;
|
|
256
|
+
}>;
|
|
257
|
+
/**
|
|
258
|
+
* A `authSettings` block as defined below.
|
|
259
|
+
*/
|
|
260
|
+
authSettings?: pulumi.Input<inputs.appservice.AppFlexConsumptionAuthSettings>;
|
|
261
|
+
/**
|
|
262
|
+
* An `authSettingsV2` block as defined below.
|
|
263
|
+
*/
|
|
264
|
+
authSettingsV2?: pulumi.Input<inputs.appservice.AppFlexConsumptionAuthSettingsV2>;
|
|
265
|
+
/**
|
|
266
|
+
* Should the function app use Client Certificates.
|
|
267
|
+
*/
|
|
268
|
+
clientCertificateEnabled?: pulumi.Input<boolean>;
|
|
269
|
+
/**
|
|
270
|
+
* Paths to exclude when using client certificates, separated by ;
|
|
271
|
+
*/
|
|
272
|
+
clientCertificateExclusionPaths?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. Defaults to `Optional`.
|
|
275
|
+
*/
|
|
276
|
+
clientCertificateMode?: pulumi.Input<string>;
|
|
277
|
+
/**
|
|
278
|
+
* One or more `connectionString` blocks as defined below.
|
|
279
|
+
*/
|
|
280
|
+
connectionStrings?: pulumi.Input<pulumi.Input<inputs.appservice.AppFlexConsumptionConnectionString>[]>;
|
|
281
|
+
/**
|
|
282
|
+
* The identifier used by App Service to perform domain ownership verification via DNS TXT record.
|
|
283
|
+
*/
|
|
284
|
+
customDomainVerificationId?: pulumi.Input<string>;
|
|
285
|
+
/**
|
|
286
|
+
* The default hostname of the Linux Function App.
|
|
287
|
+
*/
|
|
288
|
+
defaultHostname?: pulumi.Input<string>;
|
|
289
|
+
/**
|
|
290
|
+
* Is the Function App enabled? Defaults to `true`.
|
|
291
|
+
*/
|
|
292
|
+
enabled?: pulumi.Input<boolean>;
|
|
293
|
+
/**
|
|
294
|
+
* The ID of the App Service Environment used by Function App.
|
|
295
|
+
*/
|
|
296
|
+
hostingEnvironmentId?: pulumi.Input<string>;
|
|
297
|
+
/**
|
|
298
|
+
* A `identity` block as defined below.
|
|
299
|
+
*/
|
|
300
|
+
identity?: pulumi.Input<inputs.appservice.AppFlexConsumptionIdentity>;
|
|
301
|
+
/**
|
|
302
|
+
* A mapping of tags which should be assigned to the Linux Function App.
|
|
303
|
+
*/
|
|
304
|
+
instanceMemoryInMb?: pulumi.Input<number>;
|
|
305
|
+
/**
|
|
306
|
+
* The Kind value for this Linux Function App.
|
|
307
|
+
*/
|
|
308
|
+
kind?: pulumi.Input<string>;
|
|
309
|
+
/**
|
|
310
|
+
* The Azure Region where the Function App should exist. Changing this forces a new Function App to be created.
|
|
311
|
+
*/
|
|
312
|
+
location?: pulumi.Input<string>;
|
|
313
|
+
/**
|
|
314
|
+
* The number of workers this function app can scale out to.
|
|
315
|
+
*/
|
|
316
|
+
maximumInstanceCount?: pulumi.Input<number>;
|
|
317
|
+
/**
|
|
318
|
+
* The name which should be used for this Function App. Changing this forces a new Function App to be created. Limit the function name to 32 characters to avoid naming collisions. For more information about [Function App naming rule](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftweb) and [Host ID Collisions](https://github.com/Azure/azure-functions-host/wiki/Host-IDs#host-id-collisions)
|
|
319
|
+
*/
|
|
320
|
+
name?: pulumi.Input<string>;
|
|
321
|
+
/**
|
|
322
|
+
* A list of outbound IP addresses. For example `["52.23.25.3", "52.143.43.12"]`
|
|
323
|
+
*/
|
|
324
|
+
outboundIpAddressLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
325
|
+
/**
|
|
326
|
+
* A comma separated list of outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12`.
|
|
327
|
+
*/
|
|
328
|
+
outboundIpAddresses?: pulumi.Input<string>;
|
|
329
|
+
/**
|
|
330
|
+
* A list of possible outbound IP addresses, not all of which are necessarily in use. This is a superset of `outboundIpAddressList`. For example `["52.23.25.3", "52.143.43.12"]`.
|
|
331
|
+
*/
|
|
332
|
+
possibleOutboundIpAddressLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
333
|
+
/**
|
|
334
|
+
* A comma separated list of possible outbound IP addresses as a string. For example `52.23.25.3,52.143.43.12,52.143.43.17`. This is a superset of `outboundIpAddresses`.
|
|
335
|
+
*/
|
|
336
|
+
possibleOutboundIpAddresses?: pulumi.Input<string>;
|
|
337
|
+
/**
|
|
338
|
+
* Should public network access be enabled for the Function App. Defaults to `true`.
|
|
339
|
+
*/
|
|
340
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
341
|
+
/**
|
|
342
|
+
* The name of the Resource Group where the Function App should exist. Changing this forces a new Linux Function App to be created.
|
|
343
|
+
*/
|
|
344
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
345
|
+
/**
|
|
346
|
+
* The Runtime of the Linux Function App. Possible values are `node`, `dotnet-isolated`, `powershell`, `python`, `java`.
|
|
347
|
+
*/
|
|
348
|
+
runtimeName?: pulumi.Input<string>;
|
|
349
|
+
/**
|
|
350
|
+
* The Runtime version of the Linux Function App. The values are diff from different runtime version. The supported values are `8.0`, `9.0` for `dotnet-isolated`, `20` for `node`, `3.10`, `3.11` for `python`, `11`, `17` for `java`, `7.4` for `powershell`.
|
|
351
|
+
*/
|
|
352
|
+
runtimeVersion?: pulumi.Input<string>;
|
|
353
|
+
/**
|
|
354
|
+
* The ID of the App Service Plan within which to create this Function App.
|
|
355
|
+
*/
|
|
356
|
+
servicePlanId?: pulumi.Input<string>;
|
|
357
|
+
/**
|
|
358
|
+
* A `siteConfig` block as defined below.
|
|
359
|
+
*/
|
|
360
|
+
siteConfig?: pulumi.Input<inputs.appservice.AppFlexConsumptionSiteConfig>;
|
|
361
|
+
/**
|
|
362
|
+
* A `siteCredential` block as defined below.
|
|
363
|
+
*/
|
|
364
|
+
siteCredentials?: pulumi.Input<pulumi.Input<inputs.appservice.AppFlexConsumptionSiteCredential>[]>;
|
|
365
|
+
/**
|
|
366
|
+
* A `stickySettings` block as defined below.
|
|
367
|
+
*/
|
|
368
|
+
stickySettings?: pulumi.Input<inputs.appservice.AppFlexConsumptionStickySettings>;
|
|
369
|
+
/**
|
|
370
|
+
* The access key which will be used to access the backend storage account for the Function App.
|
|
371
|
+
*
|
|
372
|
+
* > **Note:** The`storageAccessKey` must be specified when `storageAuthenticationType` sets to `storageaccountconnectionstring`.
|
|
373
|
+
*/
|
|
374
|
+
storageAccessKey?: pulumi.Input<string>;
|
|
375
|
+
/**
|
|
376
|
+
* The authentication type which will be used to access the backend storage account for the Function App. Possible values are `storageaccountconnectionstring`, `systemassignedidentity`, and `userassignedidentity`.
|
|
377
|
+
*/
|
|
378
|
+
storageAuthenticationType?: pulumi.Input<string>;
|
|
379
|
+
/**
|
|
380
|
+
* The backend storage container endpoint which will be used by this Function App.
|
|
381
|
+
*/
|
|
382
|
+
storageContainerEndpoint?: pulumi.Input<string>;
|
|
383
|
+
/**
|
|
384
|
+
* The storage container type used for the Function App. The current supported type is `blobContainer`.
|
|
385
|
+
*/
|
|
386
|
+
storageContainerType?: pulumi.Input<string>;
|
|
387
|
+
/**
|
|
388
|
+
* The user assigned Managed Identity to access the storage account. Conflicts with `storageAccountAccessKey`.
|
|
389
|
+
*
|
|
390
|
+
* > **Note:** The`storageUserAssignedIdentityId` must be specified when `storageAuthenticationType` sets to `userassignedidentity`.
|
|
391
|
+
*/
|
|
392
|
+
storageUserAssignedIdentityId?: pulumi.Input<string>;
|
|
393
|
+
/**
|
|
394
|
+
* A mapping of tags which should be assigned to the Linux Function App.
|
|
395
|
+
*/
|
|
396
|
+
tags?: pulumi.Input<{
|
|
397
|
+
[key: string]: pulumi.Input<string>;
|
|
398
|
+
}>;
|
|
399
|
+
virtualNetworkSubnetId?: pulumi.Input<string>;
|
|
400
|
+
/**
|
|
401
|
+
* Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to `true`.
|
|
402
|
+
*
|
|
403
|
+
* > **Note:** Setting this value to true will disable the ability to use `zipDeployFile` which currently relies on the default publishing profile.
|
|
404
|
+
*/
|
|
405
|
+
webdeployPublishBasicAuthenticationEnabled?: pulumi.Input<boolean>;
|
|
406
|
+
/**
|
|
407
|
+
* The local path and filename of the Zip packaged application to deploy to this Linux Function App.
|
|
408
|
+
*
|
|
409
|
+
* > **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `appSettings`. Refer to the [Azure docs](https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies) for further details.
|
|
410
|
+
*/
|
|
411
|
+
zipDeployFile?: pulumi.Input<string>;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* The set of arguments for constructing a AppFlexConsumption resource.
|
|
415
|
+
*/
|
|
416
|
+
export interface AppFlexConsumptionArgs {
|
|
417
|
+
/**
|
|
418
|
+
* A map of key-value pairs for [App
|
|
419
|
+
* Settings](https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings) and custom values.
|
|
420
|
+
*/
|
|
421
|
+
appSettings?: pulumi.Input<{
|
|
422
|
+
[key: string]: pulumi.Input<string>;
|
|
423
|
+
}>;
|
|
424
|
+
/**
|
|
425
|
+
* A `authSettings` block as defined below.
|
|
426
|
+
*/
|
|
427
|
+
authSettings?: pulumi.Input<inputs.appservice.AppFlexConsumptionAuthSettings>;
|
|
428
|
+
/**
|
|
429
|
+
* An `authSettingsV2` block as defined below.
|
|
430
|
+
*/
|
|
431
|
+
authSettingsV2?: pulumi.Input<inputs.appservice.AppFlexConsumptionAuthSettingsV2>;
|
|
432
|
+
/**
|
|
433
|
+
* Should the function app use Client Certificates.
|
|
434
|
+
*/
|
|
435
|
+
clientCertificateEnabled?: pulumi.Input<boolean>;
|
|
436
|
+
/**
|
|
437
|
+
* Paths to exclude when using client certificates, separated by ;
|
|
438
|
+
*/
|
|
439
|
+
clientCertificateExclusionPaths?: pulumi.Input<string>;
|
|
440
|
+
/**
|
|
441
|
+
* The mode of the Function App's client certificates requirement for incoming requests. Possible values are `Required`, `Optional`, and `OptionalInteractiveUser`. Defaults to `Optional`.
|
|
442
|
+
*/
|
|
443
|
+
clientCertificateMode?: pulumi.Input<string>;
|
|
444
|
+
/**
|
|
445
|
+
* One or more `connectionString` blocks as defined below.
|
|
446
|
+
*/
|
|
447
|
+
connectionStrings?: pulumi.Input<pulumi.Input<inputs.appservice.AppFlexConsumptionConnectionString>[]>;
|
|
448
|
+
/**
|
|
449
|
+
* Is the Function App enabled? Defaults to `true`.
|
|
450
|
+
*/
|
|
451
|
+
enabled?: pulumi.Input<boolean>;
|
|
452
|
+
/**
|
|
453
|
+
* A `identity` block as defined below.
|
|
454
|
+
*/
|
|
455
|
+
identity?: pulumi.Input<inputs.appservice.AppFlexConsumptionIdentity>;
|
|
456
|
+
/**
|
|
457
|
+
* A mapping of tags which should be assigned to the Linux Function App.
|
|
458
|
+
*/
|
|
459
|
+
instanceMemoryInMb?: pulumi.Input<number>;
|
|
460
|
+
/**
|
|
461
|
+
* The Azure Region where the Function App should exist. Changing this forces a new Function App to be created.
|
|
462
|
+
*/
|
|
463
|
+
location?: pulumi.Input<string>;
|
|
464
|
+
/**
|
|
465
|
+
* The number of workers this function app can scale out to.
|
|
466
|
+
*/
|
|
467
|
+
maximumInstanceCount?: pulumi.Input<number>;
|
|
468
|
+
/**
|
|
469
|
+
* The name which should be used for this Function App. Changing this forces a new Function App to be created. Limit the function name to 32 characters to avoid naming collisions. For more information about [Function App naming rule](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftweb) and [Host ID Collisions](https://github.com/Azure/azure-functions-host/wiki/Host-IDs#host-id-collisions)
|
|
470
|
+
*/
|
|
471
|
+
name?: pulumi.Input<string>;
|
|
472
|
+
/**
|
|
473
|
+
* Should public network access be enabled for the Function App. Defaults to `true`.
|
|
474
|
+
*/
|
|
475
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
476
|
+
/**
|
|
477
|
+
* The name of the Resource Group where the Function App should exist. Changing this forces a new Linux Function App to be created.
|
|
478
|
+
*/
|
|
479
|
+
resourceGroupName: pulumi.Input<string>;
|
|
480
|
+
/**
|
|
481
|
+
* The Runtime of the Linux Function App. Possible values are `node`, `dotnet-isolated`, `powershell`, `python`, `java`.
|
|
482
|
+
*/
|
|
483
|
+
runtimeName: pulumi.Input<string>;
|
|
484
|
+
/**
|
|
485
|
+
* The Runtime version of the Linux Function App. The values are diff from different runtime version. The supported values are `8.0`, `9.0` for `dotnet-isolated`, `20` for `node`, `3.10`, `3.11` for `python`, `11`, `17` for `java`, `7.4` for `powershell`.
|
|
486
|
+
*/
|
|
487
|
+
runtimeVersion: pulumi.Input<string>;
|
|
488
|
+
/**
|
|
489
|
+
* The ID of the App Service Plan within which to create this Function App.
|
|
490
|
+
*/
|
|
491
|
+
servicePlanId: pulumi.Input<string>;
|
|
492
|
+
/**
|
|
493
|
+
* A `siteConfig` block as defined below.
|
|
494
|
+
*/
|
|
495
|
+
siteConfig: pulumi.Input<inputs.appservice.AppFlexConsumptionSiteConfig>;
|
|
496
|
+
/**
|
|
497
|
+
* A `stickySettings` block as defined below.
|
|
498
|
+
*/
|
|
499
|
+
stickySettings?: pulumi.Input<inputs.appservice.AppFlexConsumptionStickySettings>;
|
|
500
|
+
/**
|
|
501
|
+
* The access key which will be used to access the backend storage account for the Function App.
|
|
502
|
+
*
|
|
503
|
+
* > **Note:** The`storageAccessKey` must be specified when `storageAuthenticationType` sets to `storageaccountconnectionstring`.
|
|
504
|
+
*/
|
|
505
|
+
storageAccessKey?: pulumi.Input<string>;
|
|
506
|
+
/**
|
|
507
|
+
* The authentication type which will be used to access the backend storage account for the Function App. Possible values are `storageaccountconnectionstring`, `systemassignedidentity`, and `userassignedidentity`.
|
|
508
|
+
*/
|
|
509
|
+
storageAuthenticationType: pulumi.Input<string>;
|
|
510
|
+
/**
|
|
511
|
+
* The backend storage container endpoint which will be used by this Function App.
|
|
512
|
+
*/
|
|
513
|
+
storageContainerEndpoint: pulumi.Input<string>;
|
|
514
|
+
/**
|
|
515
|
+
* The storage container type used for the Function App. The current supported type is `blobContainer`.
|
|
516
|
+
*/
|
|
517
|
+
storageContainerType: pulumi.Input<string>;
|
|
518
|
+
/**
|
|
519
|
+
* The user assigned Managed Identity to access the storage account. Conflicts with `storageAccountAccessKey`.
|
|
520
|
+
*
|
|
521
|
+
* > **Note:** The`storageUserAssignedIdentityId` must be specified when `storageAuthenticationType` sets to `userassignedidentity`.
|
|
522
|
+
*/
|
|
523
|
+
storageUserAssignedIdentityId?: pulumi.Input<string>;
|
|
524
|
+
/**
|
|
525
|
+
* A mapping of tags which should be assigned to the Linux Function App.
|
|
526
|
+
*/
|
|
527
|
+
tags?: pulumi.Input<{
|
|
528
|
+
[key: string]: pulumi.Input<string>;
|
|
529
|
+
}>;
|
|
530
|
+
virtualNetworkSubnetId?: pulumi.Input<string>;
|
|
531
|
+
/**
|
|
532
|
+
* Should the default WebDeploy Basic Authentication publishing credentials enabled. Defaults to `true`.
|
|
533
|
+
*
|
|
534
|
+
* > **Note:** Setting this value to true will disable the ability to use `zipDeployFile` which currently relies on the default publishing profile.
|
|
535
|
+
*/
|
|
536
|
+
webdeployPublishBasicAuthenticationEnabled?: pulumi.Input<boolean>;
|
|
537
|
+
/**
|
|
538
|
+
* The local path and filename of the Zip packaged application to deploy to this Linux Function App.
|
|
539
|
+
*
|
|
540
|
+
* > **Note:** Using this value requires either `WEBSITE_RUN_FROM_PACKAGE=1` or `SCM_DO_BUILD_DURING_DEPLOYMENT=true` to be set on the App in `appSettings`. Refer to the [Azure docs](https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies) for further details.
|
|
541
|
+
*/
|
|
542
|
+
zipDeployFile?: pulumi.Input<string>;
|
|
543
|
+
}
|