@pulumi/azure 5.34.0 → 5.35.0-alpha.1676416290

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.
Files changed (108) hide show
  1. package/authorization/userAssignedIdentity.d.ts +2 -2
  2. package/authorization/userAssignedIdentity.js +2 -2
  3. package/compute/sharedImage.d.ts +24 -0
  4. package/compute/sharedImage.js +4 -0
  5. package/compute/sharedImage.js.map +1 -1
  6. package/containerapp/app.d.ts +251 -0
  7. package/containerapp/app.js +137 -0
  8. package/containerapp/app.js.map +1 -0
  9. package/containerapp/environment.d.ts +197 -0
  10. package/containerapp/environment.js +108 -0
  11. package/containerapp/environment.js.map +1 -0
  12. package/containerapp/environmentCertificate.d.ts +153 -0
  13. package/containerapp/environmentCertificate.js +89 -0
  14. package/containerapp/environmentCertificate.js.map +1 -0
  15. package/containerapp/environmentDaprComponent.d.ts +182 -0
  16. package/containerapp/environmentDaprComponent.js +112 -0
  17. package/containerapp/environmentDaprComponent.js.map +1 -0
  18. package/containerapp/environmentStorage.d.ts +156 -0
  19. package/containerapp/environmentStorage.js +124 -0
  20. package/containerapp/environmentStorage.js.map +1 -0
  21. package/containerapp/getEnvironment.d.ts +109 -0
  22. package/containerapp/getEnvironment.js +50 -0
  23. package/containerapp/getEnvironment.js.map +1 -0
  24. package/containerapp/getEnvironmentCertificate.d.ts +104 -0
  25. package/containerapp/getEnvironmentCertificate.js +58 -0
  26. package/containerapp/getEnvironmentCertificate.js.map +1 -0
  27. package/containerapp/index.d.ts +21 -0
  28. package/containerapp/index.js +48 -0
  29. package/containerapp/index.js.map +1 -0
  30. package/dashboard/grafana.d.ts +12 -0
  31. package/dashboard/grafana.js +2 -0
  32. package/dashboard/grafana.js.map +1 -1
  33. package/databoxedge/order.d.ts +2 -0
  34. package/databoxedge/order.js +2 -0
  35. package/databoxedge/order.js.map +1 -1
  36. package/databricks/accessConnector.d.ts +2 -2
  37. package/databricks/accessConnector.js +0 -3
  38. package/databricks/accessConnector.js.map +1 -1
  39. package/index.d.ts +3 -1
  40. package/index.js +7 -3
  41. package/index.js.map +1 -1
  42. package/keyvault/accessPolicy.d.ts +18 -3
  43. package/keyvault/accessPolicy.js +15 -0
  44. package/keyvault/accessPolicy.js.map +1 -1
  45. package/loadtest/loadTest.d.ts +12 -0
  46. package/loadtest/loadTest.js +12 -0
  47. package/loadtest/loadTest.js.map +1 -1
  48. package/machinelearning/datastoreBlobstorage.d.ts +45 -0
  49. package/machinelearning/datastoreBlobstorage.js +45 -0
  50. package/machinelearning/datastoreBlobstorage.js.map +1 -1
  51. package/machinelearning/datastoreDatalakeGen2.d.ts +229 -0
  52. package/machinelearning/datastoreDatalakeGen2.js +133 -0
  53. package/machinelearning/datastoreDatalakeGen2.js.map +1 -0
  54. package/machinelearning/datastoreFileshare.d.ts +159 -0
  55. package/machinelearning/datastoreFileshare.js +86 -0
  56. package/machinelearning/datastoreFileshare.js.map +1 -0
  57. package/machinelearning/index.d.ts +6 -0
  58. package/machinelearning/index.js +11 -1
  59. package/machinelearning/index.js.map +1 -1
  60. package/media/liveEvent.d.ts +13 -0
  61. package/media/liveEvent.js +3 -0
  62. package/media/liveEvent.js.map +1 -1
  63. package/media/liveEventOutput.d.ts +4 -0
  64. package/media/liveEventOutput.js +3 -0
  65. package/media/liveEventOutput.js.map +1 -1
  66. package/media/streamingLocator.d.ts +17 -0
  67. package/media/streamingLocator.js +7 -0
  68. package/media/streamingLocator.js.map +1 -1
  69. package/mobile/getNetwork.d.ts +92 -0
  70. package/mobile/getNetwork.js +50 -0
  71. package/mobile/getNetwork.js.map +1 -0
  72. package/mobile/index.d.ts +6 -0
  73. package/mobile/index.js +25 -0
  74. package/mobile/index.js.map +1 -0
  75. package/mobile/network.d.ts +151 -0
  76. package/mobile/network.js +99 -0
  77. package/mobile/network.js.map +1 -0
  78. package/monitoring/diagnosticSetting.d.ts +9 -9
  79. package/monitoring/scheduledQueryRulesAlert.d.ts +3 -3
  80. package/msi/userAssignedIdentity.d.ts +2 -2
  81. package/msi/userAssignedIdentity.js +2 -2
  82. package/package.json +2 -2
  83. package/package.json.dev +2 -2
  84. package/postgresql/flexibleServer.d.ts +18 -6
  85. package/postgresql/flexibleServer.js +2 -0
  86. package/postgresql/flexibleServer.js.map +1 -1
  87. package/redis/cache.d.ts +1 -1
  88. package/redis/cache.js +1 -1
  89. package/redis/firewallRule.d.ts +1 -1
  90. package/redis/firewallRule.js +1 -1
  91. package/redis/linkedServer.d.ts +1 -1
  92. package/redis/linkedServer.js +1 -1
  93. package/sentinel/alertRuleNrt.d.ts +24 -0
  94. package/sentinel/alertRuleNrt.js +4 -0
  95. package/sentinel/alertRuleNrt.js.map +1 -1
  96. package/sentinel/alertRuleScheduled.d.ts +12 -0
  97. package/sentinel/alertRuleScheduled.js +2 -0
  98. package/sentinel/alertRuleScheduled.js.map +1 -1
  99. package/sentinel/dataConnectorMicrosoftThreatIntelligence.d.ts +132 -0
  100. package/sentinel/dataConnectorMicrosoftThreatIntelligence.js +96 -0
  101. package/sentinel/dataConnectorMicrosoftThreatIntelligence.js.map +1 -0
  102. package/sentinel/index.d.ts +3 -0
  103. package/sentinel/index.js +6 -1
  104. package/sentinel/index.js.map +1 -1
  105. package/siterecovery/replicationRecoveryPlan.d.ts +1 -1
  106. package/siterecovery/replicationRecoveryPlan.js +1 -1
  107. package/types/input.d.ts +448 -8
  108. package/types/output.d.ts +448 -8
@@ -21,10 +21,10 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * An existing User Assigned Identity can be imported into Terraform using the `resource id`, e.g.
22
22
  *
23
23
  * ```sh
24
- * $ pulumi import azure:authorization/userAssignedIdentity:UserAssignedIdentity example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
24
+ * $ pulumi import azure:authorization/userAssignedIdentity:UserAssignedIdentity example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}
25
25
  * ```
26
26
  *
27
- * * Where `{subscriptionId}` is the ID of the Azure Subscription where the User Assigned Identity exists. For example `12345678-1234-9876-4563-123456789012`. * Where `{resourceGroupName}` is the name of Resource Group where this User Assigned Identity exists. For example `example-resource-group`. * Where `{resourceName}` is the name of the Resource. For example `resourceValue`.
27
+ * * Where `{subscriptionId}` is the ID of the Azure Subscription where the User Assigned Identity exists. For example `12345678-1234-9876-4563-123456789012`. * Where `{resourceGroupName}` is the name of Resource Group where this User Assigned Identity exists. For example `example-resource-group`. * Where `{userAssignedIdentityName}` is the name of the User Assigned Identity. For example `userAssignedIdentityValue`.
28
28
  */
29
29
  export declare class UserAssignedIdentity extends pulumi.CustomResource {
30
30
  /**
@@ -27,10 +27,10 @@ const utilities = require("../utilities");
27
27
  * An existing User Assigned Identity can be imported into Terraform using the `resource id`, e.g.
28
28
  *
29
29
  * ```sh
30
- * $ pulumi import azure:authorization/userAssignedIdentity:UserAssignedIdentity example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}
30
+ * $ pulumi import azure:authorization/userAssignedIdentity:UserAssignedIdentity example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}
31
31
  * ```
32
32
  *
33
- * * Where `{subscriptionId}` is the ID of the Azure Subscription where the User Assigned Identity exists. For example `12345678-1234-9876-4563-123456789012`. * Where `{resourceGroupName}` is the name of Resource Group where this User Assigned Identity exists. For example `example-resource-group`. * Where `{resourceName}` is the name of the Resource. For example `resourceValue`.
33
+ * * Where `{subscriptionId}` is the ID of the Azure Subscription where the User Assigned Identity exists. For example `12345678-1234-9876-4563-123456789012`. * Where `{resourceGroupName}` is the name of Resource Group where this User Assigned Identity exists. For example `example-resource-group`. * Where `{userAssignedIdentityName}` is the name of the User Assigned Identity. For example `userAssignedIdentityValue`.
34
34
  */
35
35
  class UserAssignedIdentity extends pulumi.CustomResource {
36
36
  constructor(name, argsOrState, opts) {
@@ -65,6 +65,14 @@ export declare class SharedImage extends pulumi.CustomResource {
65
65
  * CPU architecture supported by an OS. Possible values are `x64` and `Arm64`. Defaults to `x64`. Changing this forces a new resource to be created.
66
66
  */
67
67
  readonly architecture: pulumi.Output<string | undefined>;
68
+ /**
69
+ * Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
70
+ */
71
+ readonly confidentialVmEnabled: pulumi.Output<boolean | undefined>;
72
+ /**
73
+ * Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
74
+ */
75
+ readonly confidentialVmSupported: pulumi.Output<boolean | undefined>;
68
76
  /**
69
77
  * A description of this Shared Image.
70
78
  */
@@ -172,6 +180,14 @@ export interface SharedImageState {
172
180
  * CPU architecture supported by an OS. Possible values are `x64` and `Arm64`. Defaults to `x64`. Changing this forces a new resource to be created.
173
181
  */
174
182
  architecture?: pulumi.Input<string>;
183
+ /**
184
+ * Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
185
+ */
186
+ confidentialVmEnabled?: pulumi.Input<boolean>;
187
+ /**
188
+ * Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
189
+ */
190
+ confidentialVmSupported?: pulumi.Input<boolean>;
175
191
  /**
176
192
  * A description of this Shared Image.
177
193
  */
@@ -271,6 +287,14 @@ export interface SharedImageArgs {
271
287
  * CPU architecture supported by an OS. Possible values are `x64` and `Arm64`. Defaults to `x64`. Changing this forces a new resource to be created.
272
288
  */
273
289
  architecture?: pulumi.Input<string>;
290
+ /**
291
+ * Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
292
+ */
293
+ confidentialVmEnabled?: pulumi.Input<boolean>;
294
+ /**
295
+ * Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
296
+ */
297
+ confidentialVmSupported?: pulumi.Input<boolean>;
274
298
  /**
275
299
  * A description of this Shared Image.
276
300
  */
@@ -53,6 +53,8 @@ class SharedImage extends pulumi.CustomResource {
53
53
  const state = argsOrState;
54
54
  resourceInputs["acceleratedNetworkSupportEnabled"] = state ? state.acceleratedNetworkSupportEnabled : undefined;
55
55
  resourceInputs["architecture"] = state ? state.architecture : undefined;
56
+ resourceInputs["confidentialVmEnabled"] = state ? state.confidentialVmEnabled : undefined;
57
+ resourceInputs["confidentialVmSupported"] = state ? state.confidentialVmSupported : undefined;
56
58
  resourceInputs["description"] = state ? state.description : undefined;
57
59
  resourceInputs["diskTypesNotAlloweds"] = state ? state.diskTypesNotAlloweds : undefined;
58
60
  resourceInputs["endOfLifeDate"] = state ? state.endOfLifeDate : undefined;
@@ -91,6 +93,8 @@ class SharedImage extends pulumi.CustomResource {
91
93
  }
92
94
  resourceInputs["acceleratedNetworkSupportEnabled"] = args ? args.acceleratedNetworkSupportEnabled : undefined;
93
95
  resourceInputs["architecture"] = args ? args.architecture : undefined;
96
+ resourceInputs["confidentialVmEnabled"] = args ? args.confidentialVmEnabled : undefined;
97
+ resourceInputs["confidentialVmSupported"] = args ? args.confidentialVmSupported : undefined;
94
98
  resourceInputs["description"] = args ? args.description : undefined;
95
99
  resourceInputs["diskTypesNotAlloweds"] = args ? args.diskTypesNotAlloweds : undefined;
96
100
  resourceInputs["endOfLifeDate"] = args ? args.endOfLifeDate : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"sharedImage.js","sourceRoot":"","sources":["../../compute/sharedImage.ts"],"names":[],"mappings":";AA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AAC,CAAC,CAAC,SAAS,CAAC;SACzF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAhND;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAkNC;AApMG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
@@ -0,0 +1,251 @@
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 Container App.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as azure from "@pulumi/azure";
12
+ *
13
+ * const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
14
+ * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", {
15
+ * location: exampleResourceGroup.location,
16
+ * resourceGroupName: exampleResourceGroup.name,
17
+ * sku: "PerGB2018",
18
+ * retentionInDays: 30,
19
+ * });
20
+ * const exampleEnvironment = new azure.containerapp.Environment("exampleEnvironment", {
21
+ * location: exampleResourceGroup.location,
22
+ * resourceGroupName: exampleResourceGroup.name,
23
+ * logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
24
+ * });
25
+ * const exampleApp = new azure.containerapp.App("exampleApp", {
26
+ * containerAppEnvironmentId: exampleEnvironment.id,
27
+ * resourceGroupName: exampleResourceGroup.name,
28
+ * revisionMode: "Single",
29
+ * template: {
30
+ * container: {
31
+ * name: "examplecontainerapp",
32
+ * image: "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest",
33
+ * cpu: 0.25,
34
+ * memory: "0.5Gi",
35
+ * },
36
+ * },
37
+ * });
38
+ * ```
39
+ *
40
+ * ## Import
41
+ *
42
+ * A Container App can be imported using the `resource id`, e.g.
43
+ *
44
+ * ```sh
45
+ * $ pulumi import azure:containerapp/app:App example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/containerApps/myContainerApp"
46
+ * ```
47
+ */
48
+ export declare class App extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing App resource's state with the given name, ID, and optional extra
51
+ * properties used to qualify the lookup.
52
+ *
53
+ * @param name The _unique_ name of the resulting resource.
54
+ * @param id The _unique_ provider ID of the resource to lookup.
55
+ * @param state Any extra arguments used during the lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppState, opts?: pulumi.CustomResourceOptions): App;
59
+ /**
60
+ * Returns true if the given object is an instance of App. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj: any): obj is App;
64
+ /**
65
+ * The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
66
+ */
67
+ readonly containerAppEnvironmentId: pulumi.Output<string>;
68
+ /**
69
+ * The ID of the Custom Domain Verification for this Container App.
70
+ */
71
+ readonly customDomainVerificationId: pulumi.Output<string>;
72
+ /**
73
+ * A `dapr` block as detailed below.
74
+ */
75
+ readonly dapr: pulumi.Output<outputs.containerapp.AppDapr | undefined>;
76
+ readonly identity: pulumi.Output<outputs.containerapp.AppIdentity | undefined>;
77
+ /**
78
+ * An `ingress` block as detailed below.
79
+ */
80
+ readonly ingress: pulumi.Output<outputs.containerapp.AppIngress | undefined>;
81
+ /**
82
+ * The FQDN of the Latest Revision of the Container App.
83
+ */
84
+ readonly latestRevisionFqdn: pulumi.Output<string>;
85
+ /**
86
+ * The name of the latest Container Revision.
87
+ */
88
+ readonly latestRevisionName: pulumi.Output<string>;
89
+ /**
90
+ * The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
91
+ */
92
+ readonly location: pulumi.Output<string>;
93
+ /**
94
+ * The name for this Container App. Changing this forces a new resource to be created.
95
+ */
96
+ readonly name: pulumi.Output<string>;
97
+ /**
98
+ * A list of the Public IP Addresses which the Container App uses for outbound network access.
99
+ */
100
+ readonly outboundIpAddresses: pulumi.Output<string[]>;
101
+ /**
102
+ * A `registry` block as detailed below.
103
+ */
104
+ readonly registries: pulumi.Output<outputs.containerapp.AppRegistry[] | undefined>;
105
+ /**
106
+ * The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
107
+ */
108
+ readonly resourceGroupName: pulumi.Output<string>;
109
+ /**
110
+ * The revisions operational mode for the Container App. Possible values include `Single` and `Multiple`. In `Single` mode, a single revision is in operation at any given time. In `Multiple` mode, more than one revision can be active at a time and can be configured with load distribution via the `trafficWeight` block in the `ingress` configuration.
111
+ */
112
+ readonly revisionMode: pulumi.Output<string>;
113
+ /**
114
+ * One or more `secret` block as detailed below.
115
+ */
116
+ readonly secrets: pulumi.Output<outputs.containerapp.AppSecret[] | undefined>;
117
+ /**
118
+ * A mapping of tags to assign to the Container App.
119
+ */
120
+ readonly tags: pulumi.Output<{
121
+ [key: string]: string;
122
+ } | undefined>;
123
+ /**
124
+ * A `template` block as detailed below.
125
+ */
126
+ readonly template: pulumi.Output<outputs.containerapp.AppTemplate>;
127
+ /**
128
+ * Create a App resource with the given unique name, arguments, and options.
129
+ *
130
+ * @param name The _unique_ name of the resource.
131
+ * @param args The arguments to use to populate this resource's properties.
132
+ * @param opts A bag of options that control this resource's behavior.
133
+ */
134
+ constructor(name: string, args: AppArgs, opts?: pulumi.CustomResourceOptions);
135
+ }
136
+ /**
137
+ * Input properties used for looking up and filtering App resources.
138
+ */
139
+ export interface AppState {
140
+ /**
141
+ * The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
142
+ */
143
+ containerAppEnvironmentId?: pulumi.Input<string>;
144
+ /**
145
+ * The ID of the Custom Domain Verification for this Container App.
146
+ */
147
+ customDomainVerificationId?: pulumi.Input<string>;
148
+ /**
149
+ * A `dapr` block as detailed below.
150
+ */
151
+ dapr?: pulumi.Input<inputs.containerapp.AppDapr>;
152
+ identity?: pulumi.Input<inputs.containerapp.AppIdentity>;
153
+ /**
154
+ * An `ingress` block as detailed below.
155
+ */
156
+ ingress?: pulumi.Input<inputs.containerapp.AppIngress>;
157
+ /**
158
+ * The FQDN of the Latest Revision of the Container App.
159
+ */
160
+ latestRevisionFqdn?: pulumi.Input<string>;
161
+ /**
162
+ * The name of the latest Container Revision.
163
+ */
164
+ latestRevisionName?: pulumi.Input<string>;
165
+ /**
166
+ * The location this Container App is deployed in. This is the same as the Environment in which it is deployed.
167
+ */
168
+ location?: pulumi.Input<string>;
169
+ /**
170
+ * The name for this Container App. Changing this forces a new resource to be created.
171
+ */
172
+ name?: pulumi.Input<string>;
173
+ /**
174
+ * A list of the Public IP Addresses which the Container App uses for outbound network access.
175
+ */
176
+ outboundIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
177
+ /**
178
+ * A `registry` block as detailed below.
179
+ */
180
+ registries?: pulumi.Input<pulumi.Input<inputs.containerapp.AppRegistry>[]>;
181
+ /**
182
+ * The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
183
+ */
184
+ resourceGroupName?: pulumi.Input<string>;
185
+ /**
186
+ * The revisions operational mode for the Container App. Possible values include `Single` and `Multiple`. In `Single` mode, a single revision is in operation at any given time. In `Multiple` mode, more than one revision can be active at a time and can be configured with load distribution via the `trafficWeight` block in the `ingress` configuration.
187
+ */
188
+ revisionMode?: pulumi.Input<string>;
189
+ /**
190
+ * One or more `secret` block as detailed below.
191
+ */
192
+ secrets?: pulumi.Input<pulumi.Input<inputs.containerapp.AppSecret>[]>;
193
+ /**
194
+ * A mapping of tags to assign to the Container App.
195
+ */
196
+ tags?: pulumi.Input<{
197
+ [key: string]: pulumi.Input<string>;
198
+ }>;
199
+ /**
200
+ * A `template` block as detailed below.
201
+ */
202
+ template?: pulumi.Input<inputs.containerapp.AppTemplate>;
203
+ }
204
+ /**
205
+ * The set of arguments for constructing a App resource.
206
+ */
207
+ export interface AppArgs {
208
+ /**
209
+ * The ID of the Container App Environment within which this Container App should exist. Changing this forces a new resource to be created.
210
+ */
211
+ containerAppEnvironmentId: pulumi.Input<string>;
212
+ /**
213
+ * A `dapr` block as detailed below.
214
+ */
215
+ dapr?: pulumi.Input<inputs.containerapp.AppDapr>;
216
+ identity?: pulumi.Input<inputs.containerapp.AppIdentity>;
217
+ /**
218
+ * An `ingress` block as detailed below.
219
+ */
220
+ ingress?: pulumi.Input<inputs.containerapp.AppIngress>;
221
+ /**
222
+ * The name for this Container App. Changing this forces a new resource to be created.
223
+ */
224
+ name?: pulumi.Input<string>;
225
+ /**
226
+ * A `registry` block as detailed below.
227
+ */
228
+ registries?: pulumi.Input<pulumi.Input<inputs.containerapp.AppRegistry>[]>;
229
+ /**
230
+ * The name of the resource group in which the Container App Environment is to be created. Changing this forces a new resource to be created.
231
+ */
232
+ resourceGroupName: pulumi.Input<string>;
233
+ /**
234
+ * The revisions operational mode for the Container App. Possible values include `Single` and `Multiple`. In `Single` mode, a single revision is in operation at any given time. In `Multiple` mode, more than one revision can be active at a time and can be configured with load distribution via the `trafficWeight` block in the `ingress` configuration.
235
+ */
236
+ revisionMode: pulumi.Input<string>;
237
+ /**
238
+ * One or more `secret` block as detailed below.
239
+ */
240
+ secrets?: pulumi.Input<pulumi.Input<inputs.containerapp.AppSecret>[]>;
241
+ /**
242
+ * A mapping of tags to assign to the Container App.
243
+ */
244
+ tags?: pulumi.Input<{
245
+ [key: string]: pulumi.Input<string>;
246
+ }>;
247
+ /**
248
+ * A `template` block as detailed below.
249
+ */
250
+ template: pulumi.Input<inputs.containerapp.AppTemplate>;
251
+ }
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.App = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Container App.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
18
+ * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", {
19
+ * location: exampleResourceGroup.location,
20
+ * resourceGroupName: exampleResourceGroup.name,
21
+ * sku: "PerGB2018",
22
+ * retentionInDays: 30,
23
+ * });
24
+ * const exampleEnvironment = new azure.containerapp.Environment("exampleEnvironment", {
25
+ * location: exampleResourceGroup.location,
26
+ * resourceGroupName: exampleResourceGroup.name,
27
+ * logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
28
+ * });
29
+ * const exampleApp = new azure.containerapp.App("exampleApp", {
30
+ * containerAppEnvironmentId: exampleEnvironment.id,
31
+ * resourceGroupName: exampleResourceGroup.name,
32
+ * revisionMode: "Single",
33
+ * template: {
34
+ * container: {
35
+ * name: "examplecontainerapp",
36
+ * image: "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest",
37
+ * cpu: 0.25,
38
+ * memory: "0.5Gi",
39
+ * },
40
+ * },
41
+ * });
42
+ * ```
43
+ *
44
+ * ## Import
45
+ *
46
+ * A Container App can be imported using the `resource id`, e.g.
47
+ *
48
+ * ```sh
49
+ * $ pulumi import azure:containerapp/app:App example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/containerApps/myContainerApp"
50
+ * ```
51
+ */
52
+ class App extends pulumi.CustomResource {
53
+ constructor(name, argsOrState, opts) {
54
+ let resourceInputs = {};
55
+ opts = opts || {};
56
+ if (opts.id) {
57
+ const state = argsOrState;
58
+ resourceInputs["containerAppEnvironmentId"] = state ? state.containerAppEnvironmentId : undefined;
59
+ resourceInputs["customDomainVerificationId"] = state ? state.customDomainVerificationId : undefined;
60
+ resourceInputs["dapr"] = state ? state.dapr : undefined;
61
+ resourceInputs["identity"] = state ? state.identity : undefined;
62
+ resourceInputs["ingress"] = state ? state.ingress : undefined;
63
+ resourceInputs["latestRevisionFqdn"] = state ? state.latestRevisionFqdn : undefined;
64
+ resourceInputs["latestRevisionName"] = state ? state.latestRevisionName : undefined;
65
+ resourceInputs["location"] = state ? state.location : undefined;
66
+ resourceInputs["name"] = state ? state.name : undefined;
67
+ resourceInputs["outboundIpAddresses"] = state ? state.outboundIpAddresses : undefined;
68
+ resourceInputs["registries"] = state ? state.registries : undefined;
69
+ resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
70
+ resourceInputs["revisionMode"] = state ? state.revisionMode : undefined;
71
+ resourceInputs["secrets"] = state ? state.secrets : undefined;
72
+ resourceInputs["tags"] = state ? state.tags : undefined;
73
+ resourceInputs["template"] = state ? state.template : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.containerAppEnvironmentId === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'containerAppEnvironmentId'");
79
+ }
80
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'resourceGroupName'");
82
+ }
83
+ if ((!args || args.revisionMode === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'revisionMode'");
85
+ }
86
+ if ((!args || args.template === undefined) && !opts.urn) {
87
+ throw new Error("Missing required property 'template'");
88
+ }
89
+ resourceInputs["containerAppEnvironmentId"] = args ? args.containerAppEnvironmentId : undefined;
90
+ resourceInputs["dapr"] = args ? args.dapr : undefined;
91
+ resourceInputs["identity"] = args ? args.identity : undefined;
92
+ resourceInputs["ingress"] = args ? args.ingress : undefined;
93
+ resourceInputs["name"] = args ? args.name : undefined;
94
+ resourceInputs["registries"] = args ? args.registries : undefined;
95
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
96
+ resourceInputs["revisionMode"] = args ? args.revisionMode : undefined;
97
+ resourceInputs["secrets"] = (args === null || args === void 0 ? void 0 : args.secrets) ? pulumi.secret(args.secrets) : undefined;
98
+ resourceInputs["tags"] = args ? args.tags : undefined;
99
+ resourceInputs["template"] = args ? args.template : undefined;
100
+ resourceInputs["customDomainVerificationId"] = undefined /*out*/;
101
+ resourceInputs["latestRevisionFqdn"] = undefined /*out*/;
102
+ resourceInputs["latestRevisionName"] = undefined /*out*/;
103
+ resourceInputs["location"] = undefined /*out*/;
104
+ resourceInputs["outboundIpAddresses"] = undefined /*out*/;
105
+ }
106
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
+ const secretOpts = { additionalSecretOutputs: ["customDomainVerificationId", "secrets"] };
108
+ opts = pulumi.mergeOptions(opts, secretOpts);
109
+ super(App.__pulumiType, name, resourceInputs, opts);
110
+ }
111
+ /**
112
+ * Get an existing App resource's state with the given name, ID, and optional extra
113
+ * properties used to qualify the lookup.
114
+ *
115
+ * @param name The _unique_ name of the resulting resource.
116
+ * @param id The _unique_ provider ID of the resource to lookup.
117
+ * @param state Any extra arguments used during the lookup.
118
+ * @param opts Optional settings to control the behavior of the CustomResource.
119
+ */
120
+ static get(name, id, state, opts) {
121
+ return new App(name, state, Object.assign(Object.assign({}, opts), { id: id }));
122
+ }
123
+ /**
124
+ * Returns true if the given object is an instance of App. This is designed to work even
125
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
126
+ */
127
+ static isInstance(obj) {
128
+ if (obj === undefined || obj === null) {
129
+ return false;
130
+ }
131
+ return obj['__pulumiType'] === App.__pulumiType;
132
+ }
133
+ }
134
+ exports.App = App;
135
+ /** @internal */
136
+ App.__pulumiType = 'azure:containerapp/app:App';
137
+ //# sourceMappingURL=app.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.js","sourceRoot":"","sources":["../../containerapp/app.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAkG1C,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmC,CAAC;YAClD,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,4BAA4B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,G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