@pulumi/azure 5.80.0-alpha.1717777691 → 5.80.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.
Files changed (102) hide show
  1. package/apimanagement/namedValue.d.ts +3 -3
  2. package/arc/getResourceBridgeAppliance.d.ts +99 -0
  3. package/arc/getResourceBridgeAppliance.js +52 -0
  4. package/arc/getResourceBridgeAppliance.js.map +1 -0
  5. package/arc/index.d.ts +3 -0
  6. package/arc/index.js +4 -1
  7. package/arc/index.js.map +1 -1
  8. package/automation/powershell72Module.d.ts +18 -0
  9. package/automation/powershell72Module.js +2 -0
  10. package/automation/powershell72Module.js.map +1 -1
  11. package/compute/bastionHost.d.ts +17 -5
  12. package/compute/bastionHost.js +2 -3
  13. package/compute/bastionHost.js.map +1 -1
  14. package/compute/implicitDataDiskFromSource.d.ts +233 -0
  15. package/compute/implicitDataDiskFromSource.js +179 -0
  16. package/compute/implicitDataDiskFromSource.js.map +1 -0
  17. package/compute/index.d.ts +3 -0
  18. package/compute/index.js +6 -1
  19. package/compute/index.js.map +1 -1
  20. package/compute/linuxVirtualMachine.d.ts +6 -0
  21. package/compute/linuxVirtualMachine.js.map +1 -1
  22. package/compute/windowsVirtualMachine.d.ts +6 -0
  23. package/compute/windowsVirtualMachine.js.map +1 -1
  24. package/containerapp/environment.d.ts +18 -0
  25. package/containerapp/environment.js +2 -0
  26. package/containerapp/environment.js.map +1 -1
  27. package/containerapp/job.d.ts +32 -8
  28. package/containerapp/job.js +5 -1
  29. package/containerapp/job.js.map +1 -1
  30. package/containerservice/getRegistryCacheRule.d.ts +58 -0
  31. package/containerservice/getRegistryCacheRule.js +26 -0
  32. package/containerservice/getRegistryCacheRule.js.map +1 -0
  33. package/containerservice/index.d.ts +6 -0
  34. package/containerservice/index.js +9 -1
  35. package/containerservice/index.js.map +1 -1
  36. package/containerservice/kubernetesCluster.d.ts +12 -6
  37. package/containerservice/kubernetesCluster.js +2 -0
  38. package/containerservice/kubernetesCluster.js.map +1 -1
  39. package/containerservice/registryCacheRule.d.ts +135 -0
  40. package/containerservice/registryCacheRule.js +105 -0
  41. package/containerservice/registryCacheRule.js.map +1 -0
  42. package/dataprotection/backupPolicyBlobStorage.d.ts +87 -1
  43. package/dataprotection/backupPolicyBlobStorage.js +10 -3
  44. package/dataprotection/backupPolicyBlobStorage.js.map +1 -1
  45. package/dataprotection/backupPolicyPostgresqlFlexibleServer.d.ts +121 -0
  46. package/dataprotection/backupPolicyPostgresqlFlexibleServer.js +79 -0
  47. package/dataprotection/backupPolicyPostgresqlFlexibleServer.js.map +1 -0
  48. package/dataprotection/index.d.ts +3 -0
  49. package/dataprotection/index.js +6 -1
  50. package/dataprotection/index.js.map +1 -1
  51. package/elasticsan/getVolumeGroup.d.ts +101 -0
  52. package/elasticsan/getVolumeGroup.js +60 -0
  53. package/elasticsan/getVolumeGroup.js.map +1 -0
  54. package/elasticsan/index.d.ts +3 -0
  55. package/elasticsan/index.js +4 -1
  56. package/elasticsan/index.js.map +1 -1
  57. package/logicapps/triggerCustom.d.ts +8 -0
  58. package/logicapps/triggerCustom.js +2 -0
  59. package/logicapps/triggerCustom.js.map +1 -1
  60. package/logicapps/triggerHttpRequest.d.ts +2 -2
  61. package/machinelearning/workspace.d.ts +12 -0
  62. package/machinelearning/workspace.js +2 -0
  63. package/machinelearning/workspace.js.map +1 -1
  64. package/network/getSubnet.d.ts +4 -0
  65. package/network/getSubnet.js.map +1 -1
  66. package/network/subnet.d.ts +12 -0
  67. package/network/subnet.js +2 -0
  68. package/network/subnet.js.map +1 -1
  69. package/network/virtualNetworkGatewayConnection.d.ts +1 -1
  70. package/newrelic/monitor.d.ts +36 -0
  71. package/newrelic/monitor.js +26 -0
  72. package/newrelic/monitor.js.map +1 -1
  73. package/nginx/configuration.d.ts +150 -0
  74. package/nginx/configuration.js +105 -0
  75. package/nginx/configuration.js.map +1 -1
  76. package/nginx/deployment.d.ts +6 -60
  77. package/nginx/deployment.js +0 -45
  78. package/nginx/deployment.js.map +1 -1
  79. package/nginx/getConfiguration.d.ts +45 -0
  80. package/nginx/getConfiguration.js +30 -0
  81. package/nginx/getConfiguration.js.map +1 -1
  82. package/nginx/getDeployment.d.ts +1 -1
  83. package/notificationhub/authorizationRule.d.ts +16 -0
  84. package/notificationhub/authorizationRule.js +6 -0
  85. package/notificationhub/authorizationRule.js.map +1 -1
  86. package/package.json +2 -2
  87. package/securitycenter/automation.d.ts +6 -0
  88. package/securitycenter/automation.js.map +1 -1
  89. package/storage/getQueue.d.ts +92 -0
  90. package/storage/getQueue.js +51 -0
  91. package/storage/getQueue.js.map +1 -0
  92. package/storage/getTable.d.ts +79 -0
  93. package/storage/getTable.js +50 -0
  94. package/storage/getTable.js.map +1 -0
  95. package/storage/index.d.ts +6 -0
  96. package/storage/index.js +8 -2
  97. package/storage/index.js.map +1 -1
  98. package/storage/syncServerEndpoint.d.ts +13 -3
  99. package/storage/syncServerEndpoint.js +10 -0
  100. package/storage/syncServerEndpoint.js.map +1 -1
  101. package/types/input.d.ts +199 -38
  102. package/types/output.d.ts +303 -38
@@ -1,6 +1,111 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
+ /**
5
+ * Manages the configuration for a Nginx Deployment.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as azure from "@pulumi/azure";
12
+ * import * as std from "@pulumi/std";
13
+ *
14
+ * const example = new azure.core.ResourceGroup("example", {
15
+ * name: "example-rg",
16
+ * location: "West Europe",
17
+ * });
18
+ * const examplePublicIp = new azure.network.PublicIp("example", {
19
+ * name: "example",
20
+ * resourceGroupName: example.name,
21
+ * location: example.location,
22
+ * allocationMethod: "Static",
23
+ * sku: "Standard",
24
+ * tags: {
25
+ * environment: "Production",
26
+ * },
27
+ * });
28
+ * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
29
+ * name: "example-vnet",
30
+ * addressSpaces: ["10.0.0.0/16"],
31
+ * location: example.location,
32
+ * resourceGroupName: example.name,
33
+ * });
34
+ * const exampleSubnet = new azure.network.Subnet("example", {
35
+ * name: "example-subnet",
36
+ * resourceGroupName: example.name,
37
+ * virtualNetworkName: exampleVirtualNetwork.name,
38
+ * addressPrefixes: ["10.0.2.0/24"],
39
+ * delegations: [{
40
+ * name: "delegation",
41
+ * serviceDelegation: {
42
+ * name: "NGINX.NGINXPLUS/nginxDeployments",
43
+ * actions: ["Microsoft.Network/virtualNetworks/subnets/join/action"],
44
+ * },
45
+ * }],
46
+ * });
47
+ * const exampleDeployment = new azure.nginx.Deployment("example", {
48
+ * name: "example-nginx",
49
+ * resourceGroupName: example.name,
50
+ * sku: "publicpreview_Monthly_gmz7xq9ge3py",
51
+ * location: example.location,
52
+ * managedResourceGroup: "example",
53
+ * diagnoseSupportEnabled: true,
54
+ * frontendPublic: {
55
+ * ipAddresses: [examplePublicIp.id],
56
+ * },
57
+ * networkInterfaces: [{
58
+ * subnetId: exampleSubnet.id,
59
+ * }],
60
+ * });
61
+ * const exampleConfiguration = new azure.nginx.Configuration("example", {
62
+ * nginxDeploymentId: exampleDeployment.id,
63
+ * rootFile: "/etc/nginx/nginx.conf",
64
+ * configFiles: [
65
+ * {
66
+ * content: std.base64encode({
67
+ * input: `http {
68
+ * server {
69
+ * listen 80;
70
+ * location / {
71
+ * default_type text/html;
72
+ * return 200 '<!doctype html><html lang="en"><head></head><body>
73
+ * <div>this one will be updated</div>
74
+ * <div>at 10:38 am</div>
75
+ * </body></html>';
76
+ * }
77
+ * include site/*.conf;
78
+ * }
79
+ * }
80
+ * `,
81
+ * }).then(invoke => invoke.result),
82
+ * virtualPath: "/etc/nginx/nginx.conf",
83
+ * },
84
+ * {
85
+ * content: std.base64encode({
86
+ * input: `location /bbb {
87
+ * default_type text/html;
88
+ * return 200 '<!doctype html><html lang="en"><head></head><body>
89
+ * <div>this one will be updated</div>
90
+ * <div>at 10:38 am</div>
91
+ * </body></html>';
92
+ * }
93
+ * `,
94
+ * }).then(invoke => invoke.result),
95
+ * virtualPath: "/etc/nginx/site/b.conf",
96
+ * },
97
+ * ],
98
+ * });
99
+ * ```
100
+ *
101
+ * ## Import
102
+ *
103
+ * An Nginx Configuration can be imported using the `resource id`, e.g.
104
+ *
105
+ * ```sh
106
+ * $ pulumi import azure:nginx/configuration:Configuration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1/configurations/default
107
+ * ```
108
+ */
4
109
  export declare class Configuration extends pulumi.CustomResource {
5
110
  /**
6
111
  * Get an existing Configuration resource's state with the given name, ID, and optional extra
@@ -17,10 +122,25 @@ export declare class Configuration extends pulumi.CustomResource {
17
122
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
123
  */
19
124
  static isInstance(obj: any): obj is Configuration;
125
+ /**
126
+ * One or more `configFile` blocks as defined below.
127
+ */
20
128
  readonly configFiles: pulumi.Output<outputs.nginx.ConfigurationConfigFile[] | undefined>;
129
+ /**
130
+ * The ID of the Nginx Deployment. Changing this forces a new Nginx Configuration to be created.
131
+ */
21
132
  readonly nginxDeploymentId: pulumi.Output<string>;
133
+ /**
134
+ * Specifies the package data for this configuration.
135
+ */
22
136
  readonly packageData: pulumi.Output<string | undefined>;
137
+ /**
138
+ * One or more `protectedFile` blocks with sensitive information as defined below. If specified `configFile` must also be specified.
139
+ */
23
140
  readonly protectedFiles: pulumi.Output<outputs.nginx.ConfigurationProtectedFile[] | undefined>;
141
+ /**
142
+ * Specifies the root file path of this Nginx Configuration.
143
+ */
24
144
  readonly rootFile: pulumi.Output<string>;
25
145
  /**
26
146
  * Create a Configuration resource with the given unique name, arguments, and options.
@@ -35,19 +155,49 @@ export declare class Configuration extends pulumi.CustomResource {
35
155
  * Input properties used for looking up and filtering Configuration resources.
36
156
  */
37
157
  export interface ConfigurationState {
158
+ /**
159
+ * One or more `configFile` blocks as defined below.
160
+ */
38
161
  configFiles?: pulumi.Input<pulumi.Input<inputs.nginx.ConfigurationConfigFile>[]>;
162
+ /**
163
+ * The ID of the Nginx Deployment. Changing this forces a new Nginx Configuration to be created.
164
+ */
39
165
  nginxDeploymentId?: pulumi.Input<string>;
166
+ /**
167
+ * Specifies the package data for this configuration.
168
+ */
40
169
  packageData?: pulumi.Input<string>;
170
+ /**
171
+ * One or more `protectedFile` blocks with sensitive information as defined below. If specified `configFile` must also be specified.
172
+ */
41
173
  protectedFiles?: pulumi.Input<pulumi.Input<inputs.nginx.ConfigurationProtectedFile>[]>;
174
+ /**
175
+ * Specifies the root file path of this Nginx Configuration.
176
+ */
42
177
  rootFile?: pulumi.Input<string>;
43
178
  }
44
179
  /**
45
180
  * The set of arguments for constructing a Configuration resource.
46
181
  */
47
182
  export interface ConfigurationArgs {
183
+ /**
184
+ * One or more `configFile` blocks as defined below.
185
+ */
48
186
  configFiles?: pulumi.Input<pulumi.Input<inputs.nginx.ConfigurationConfigFile>[]>;
187
+ /**
188
+ * The ID of the Nginx Deployment. Changing this forces a new Nginx Configuration to be created.
189
+ */
49
190
  nginxDeploymentId: pulumi.Input<string>;
191
+ /**
192
+ * Specifies the package data for this configuration.
193
+ */
50
194
  packageData?: pulumi.Input<string>;
195
+ /**
196
+ * One or more `protectedFile` blocks with sensitive information as defined below. If specified `configFile` must also be specified.
197
+ */
51
198
  protectedFiles?: pulumi.Input<pulumi.Input<inputs.nginx.ConfigurationProtectedFile>[]>;
199
+ /**
200
+ * Specifies the root file path of this Nginx Configuration.
201
+ */
52
202
  rootFile: pulumi.Input<string>;
53
203
  }
@@ -5,6 +5,111 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Configuration = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ /**
9
+ * Manages the configuration for a Nginx Deployment.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ * import * as std from "@pulumi/std";
17
+ *
18
+ * const example = new azure.core.ResourceGroup("example", {
19
+ * name: "example-rg",
20
+ * location: "West Europe",
21
+ * });
22
+ * const examplePublicIp = new azure.network.PublicIp("example", {
23
+ * name: "example",
24
+ * resourceGroupName: example.name,
25
+ * location: example.location,
26
+ * allocationMethod: "Static",
27
+ * sku: "Standard",
28
+ * tags: {
29
+ * environment: "Production",
30
+ * },
31
+ * });
32
+ * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
33
+ * name: "example-vnet",
34
+ * addressSpaces: ["10.0.0.0/16"],
35
+ * location: example.location,
36
+ * resourceGroupName: example.name,
37
+ * });
38
+ * const exampleSubnet = new azure.network.Subnet("example", {
39
+ * name: "example-subnet",
40
+ * resourceGroupName: example.name,
41
+ * virtualNetworkName: exampleVirtualNetwork.name,
42
+ * addressPrefixes: ["10.0.2.0/24"],
43
+ * delegations: [{
44
+ * name: "delegation",
45
+ * serviceDelegation: {
46
+ * name: "NGINX.NGINXPLUS/nginxDeployments",
47
+ * actions: ["Microsoft.Network/virtualNetworks/subnets/join/action"],
48
+ * },
49
+ * }],
50
+ * });
51
+ * const exampleDeployment = new azure.nginx.Deployment("example", {
52
+ * name: "example-nginx",
53
+ * resourceGroupName: example.name,
54
+ * sku: "publicpreview_Monthly_gmz7xq9ge3py",
55
+ * location: example.location,
56
+ * managedResourceGroup: "example",
57
+ * diagnoseSupportEnabled: true,
58
+ * frontendPublic: {
59
+ * ipAddresses: [examplePublicIp.id],
60
+ * },
61
+ * networkInterfaces: [{
62
+ * subnetId: exampleSubnet.id,
63
+ * }],
64
+ * });
65
+ * const exampleConfiguration = new azure.nginx.Configuration("example", {
66
+ * nginxDeploymentId: exampleDeployment.id,
67
+ * rootFile: "/etc/nginx/nginx.conf",
68
+ * configFiles: [
69
+ * {
70
+ * content: std.base64encode({
71
+ * input: `http {
72
+ * server {
73
+ * listen 80;
74
+ * location / {
75
+ * default_type text/html;
76
+ * return 200 '<!doctype html><html lang="en"><head></head><body>
77
+ * <div>this one will be updated</div>
78
+ * <div>at 10:38 am</div>
79
+ * </body></html>';
80
+ * }
81
+ * include site/*.conf;
82
+ * }
83
+ * }
84
+ * `,
85
+ * }).then(invoke => invoke.result),
86
+ * virtualPath: "/etc/nginx/nginx.conf",
87
+ * },
88
+ * {
89
+ * content: std.base64encode({
90
+ * input: `location /bbb {
91
+ * default_type text/html;
92
+ * return 200 '<!doctype html><html lang="en"><head></head><body>
93
+ * <div>this one will be updated</div>
94
+ * <div>at 10:38 am</div>
95
+ * </body></html>';
96
+ * }
97
+ * `,
98
+ * }).then(invoke => invoke.result),
99
+ * virtualPath: "/etc/nginx/site/b.conf",
100
+ * },
101
+ * ],
102
+ * });
103
+ * ```
104
+ *
105
+ * ## Import
106
+ *
107
+ * An Nginx Configuration can be imported using the `resource id`, e.g.
108
+ *
109
+ * ```sh
110
+ * $ pulumi import azure:nginx/configuration:Configuration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1/configurations/default
111
+ * ```
112
+ */
8
113
  class Configuration extends pulumi.CustomResource {
9
114
  constructor(name, argsOrState, opts) {
10
115
  let resourceInputs = {};
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../nginx/configuration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA0CpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAA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AG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAoFC;AAtEG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
@@ -9,7 +9,6 @@ import * as outputs from "../types/output";
9
9
  * ```typescript
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as azure from "@pulumi/azure";
12
- * import * as std from "@pulumi/std";
13
12
  *
14
13
  * const example = new azure.core.ResourceGroup("example", {
15
14
  * name: "example-rg",
@@ -44,33 +43,6 @@ import * as outputs from "../types/output";
44
43
  * },
45
44
  * }],
46
45
  * });
47
- * const configContent = std.base64encode({
48
- * input: `http {
49
- * server {
50
- * listen 80;
51
- * location / {
52
- * auth_basic "Protected Area";
53
- * auth_basic_user_file /opt/.htpasswd;
54
- * default_type text/html;
55
- * }
56
- * include site/*.conf;
57
- * }
58
- * }
59
- * `,
60
- * }).then(invoke => invoke.result);
61
- * const protectedContent = std.base64encode({
62
- * input: "user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1\n",
63
- * }).then(invoke => invoke.result);
64
- * const subConfigContent = std.base64encode({
65
- * input: `location /bbb {
66
- * \x09default_type text/html;
67
- * \x09return 200 '<!doctype html><html lang="en"><head></head><body>
68
- * \x09\x09<div>this one will be updated</div>
69
- * \x09\x09<div>at 10:38 am</div>
70
- * \x09</body></html>';
71
- * }
72
- * `,
73
- * }).then(invoke => invoke.result);
74
46
  * const exampleDeployment = new azure.nginx.Deployment("example", {
75
47
  * name: "example-nginx",
76
48
  * resourceGroupName: example.name,
@@ -87,23 +59,6 @@ import * as outputs from "../types/output";
87
59
  * }],
88
60
  * capacity: 20,
89
61
  * email: "user@test.com",
90
- * configuration: {
91
- * rootFile: "/etc/nginx/nginx.conf",
92
- * configFiles: [
93
- * {
94
- * content: configContent,
95
- * virtualPath: "/etc/nginx/nginx.conf",
96
- * },
97
- * {
98
- * content: subConfigContent,
99
- * virtualPath: "/etc/nginx/site/b.conf",
100
- * },
101
- * ],
102
- * protectedFiles: [{
103
- * content: protectedContent,
104
- * virtualPath: "/opt/.htpasswd",
105
- * }],
106
- * },
107
62
  * });
108
63
  * ```
109
64
  *
@@ -146,11 +101,11 @@ export declare class Deployment extends pulumi.CustomResource {
146
101
  */
147
102
  readonly capacity: pulumi.Output<number | undefined>;
148
103
  /**
149
- * Specify a custom `configuration` block as defined below.
104
+ * @deprecated The `configuration` block has been superseded by the `azure.nginx.Configuration` resource and will be removed in v4.0 of the AzureRM Provider.
150
105
  */
151
106
  readonly configuration: pulumi.Output<outputs.nginx.DeploymentConfiguration>;
152
107
  /**
153
- * Should the diagnosis support be enabled?
108
+ * Should the metrics be exported to Azure Monitor?
154
109
  */
155
110
  readonly diagnoseSupportEnabled: pulumi.Output<boolean | undefined>;
156
111
  /**
@@ -201,9 +156,6 @@ export declare class Deployment extends pulumi.CustomResource {
201
156
  * The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
202
157
  */
203
158
  readonly resourceGroupName: pulumi.Output<string>;
204
- /**
205
- * Specifies the NGINX Deployment SKU. Possible values include `standard_Monthly`. Changing this forces a new resource to be created.
206
- */
207
159
  readonly sku: pulumi.Output<string>;
208
160
  /**
209
161
  * A mapping of tags which should be assigned to the NGINX Deployment.
@@ -239,11 +191,11 @@ export interface DeploymentState {
239
191
  */
240
192
  capacity?: pulumi.Input<number>;
241
193
  /**
242
- * Specify a custom `configuration` block as defined below.
194
+ * @deprecated The `configuration` block has been superseded by the `azure.nginx.Configuration` resource and will be removed in v4.0 of the AzureRM Provider.
243
195
  */
244
196
  configuration?: pulumi.Input<inputs.nginx.DeploymentConfiguration>;
245
197
  /**
246
- * Should the diagnosis support be enabled?
198
+ * Should the metrics be exported to Azure Monitor?
247
199
  */
248
200
  diagnoseSupportEnabled?: pulumi.Input<boolean>;
249
201
  /**
@@ -294,9 +246,6 @@ export interface DeploymentState {
294
246
  * The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
295
247
  */
296
248
  resourceGroupName?: pulumi.Input<string>;
297
- /**
298
- * Specifies the NGINX Deployment SKU. Possible values include `standard_Monthly`. Changing this forces a new resource to be created.
299
- */
300
249
  sku?: pulumi.Input<string>;
301
250
  /**
302
251
  * A mapping of tags which should be assigned to the NGINX Deployment.
@@ -324,11 +273,11 @@ export interface DeploymentArgs {
324
273
  */
325
274
  capacity?: pulumi.Input<number>;
326
275
  /**
327
- * Specify a custom `configuration` block as defined below.
276
+ * @deprecated The `configuration` block has been superseded by the `azure.nginx.Configuration` resource and will be removed in v4.0 of the AzureRM Provider.
328
277
  */
329
278
  configuration?: pulumi.Input<inputs.nginx.DeploymentConfiguration>;
330
279
  /**
331
- * Should the diagnosis support be enabled?
280
+ * Should the metrics be exported to Azure Monitor?
332
281
  */
333
282
  diagnoseSupportEnabled?: pulumi.Input<boolean>;
334
283
  /**
@@ -371,9 +320,6 @@ export interface DeploymentArgs {
371
320
  * The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
372
321
  */
373
322
  resourceGroupName: pulumi.Input<string>;
374
- /**
375
- * Specifies the NGINX Deployment SKU. Possible values include `standard_Monthly`. Changing this forces a new resource to be created.
376
- */
377
323
  sku: pulumi.Input<string>;
378
324
  /**
379
325
  * A mapping of tags which should be assigned to the NGINX Deployment.
@@ -13,7 +13,6 @@ const utilities = require("../utilities");
13
13
  * ```typescript
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as azure from "@pulumi/azure";
16
- * import * as std from "@pulumi/std";
17
16
  *
18
17
  * const example = new azure.core.ResourceGroup("example", {
19
18
  * name: "example-rg",
@@ -48,33 +47,6 @@ const utilities = require("../utilities");
48
47
  * },
49
48
  * }],
50
49
  * });
51
- * const configContent = std.base64encode({
52
- * input: `http {
53
- * server {
54
- * listen 80;
55
- * location / {
56
- * auth_basic "Protected Area";
57
- * auth_basic_user_file /opt/.htpasswd;
58
- * default_type text/html;
59
- * }
60
- * include site/*.conf;
61
- * }
62
- * }
63
- * `,
64
- * }).then(invoke => invoke.result);
65
- * const protectedContent = std.base64encode({
66
- * input: "user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1\n",
67
- * }).then(invoke => invoke.result);
68
- * const subConfigContent = std.base64encode({
69
- * input: `location /bbb {
70
- * \x09default_type text/html;
71
- * \x09return 200 '<!doctype html><html lang="en"><head></head><body>
72
- * \x09\x09<div>this one will be updated</div>
73
- * \x09\x09<div>at 10:38 am</div>
74
- * \x09</body></html>';
75
- * }
76
- * `,
77
- * }).then(invoke => invoke.result);
78
50
  * const exampleDeployment = new azure.nginx.Deployment("example", {
79
51
  * name: "example-nginx",
80
52
  * resourceGroupName: example.name,
@@ -91,23 +63,6 @@ const utilities = require("../utilities");
91
63
  * }],
92
64
  * capacity: 20,
93
65
  * email: "user@test.com",
94
- * configuration: {
95
- * rootFile: "/etc/nginx/nginx.conf",
96
- * configFiles: [
97
- * {
98
- * content: configContent,
99
- * virtualPath: "/etc/nginx/nginx.conf",
100
- * },
101
- * {
102
- * content: subConfigContent,
103
- * virtualPath: "/etc/nginx/site/b.conf",
104
- * },
105
- * ],
106
- * protectedFiles: [{
107
- * content: protectedContent,
108
- * virtualPath: "/opt/.htpasswd",
109
- * }],
110
- * },
111
66
  * });
112
67
  * ```
113
68
  *
@@ -1 +1 @@
1
- {"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../nginx/deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiHG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAmHjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,yBAAyB,C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AAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IArKD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAuKC;AAzJG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
@@ -1,30 +1,75 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to access information about an existing Nginx Configuration.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as azure from "@pulumi/azure";
11
+ *
12
+ * const example = azure.nginx.getConfiguration({
13
+ * nginxDeploymentId: exampleAzurermNginxDeployment.id,
14
+ * });
15
+ * export const id = example.then(example => example.id);
16
+ * ```
17
+ */
3
18
  export declare function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationResult>;
4
19
  /**
5
20
  * A collection of arguments for invoking getConfiguration.
6
21
  */
7
22
  export interface GetConfigurationArgs {
23
+ /**
24
+ * The ID of the Nginx Deployment.
25
+ */
8
26
  nginxDeploymentId: string;
9
27
  }
10
28
  /**
11
29
  * A collection of values returned by getConfiguration.
12
30
  */
13
31
  export interface GetConfigurationResult {
32
+ /**
33
+ * A `configFile` block as defined below.
34
+ */
14
35
  readonly configFiles: outputs.nginx.GetConfigurationConfigFile[];
15
36
  /**
16
37
  * The provider-assigned unique ID for this managed resource.
17
38
  */
18
39
  readonly id: string;
19
40
  readonly nginxDeploymentId: string;
41
+ /**
42
+ * The package data for this configuration.
43
+ */
20
44
  readonly packageData: string;
21
45
  readonly protectedFiles: outputs.nginx.GetConfigurationProtectedFile[];
46
+ /**
47
+ * The root file path of this Nginx Configuration.
48
+ */
22
49
  readonly rootFile: string;
23
50
  }
51
+ /**
52
+ * Use this data source to access information about an existing Nginx Configuration.
53
+ *
54
+ * ## Example Usage
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as azure from "@pulumi/azure";
59
+ *
60
+ * const example = azure.nginx.getConfiguration({
61
+ * nginxDeploymentId: exampleAzurermNginxDeployment.id,
62
+ * });
63
+ * export const id = example.then(example => example.id);
64
+ * ```
65
+ */
24
66
  export declare function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConfigurationResult>;
25
67
  /**
26
68
  * A collection of arguments for invoking getConfiguration.
27
69
  */
28
70
  export interface GetConfigurationOutputArgs {
71
+ /**
72
+ * The ID of the Nginx Deployment.
73
+ */
29
74
  nginxDeploymentId: pulumi.Input<string>;
30
75
  }
@@ -5,6 +5,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getConfigurationOutput = exports.getConfiguration = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to access information about an existing Nginx Configuration.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const example = azure.nginx.getConfiguration({
18
+ * nginxDeploymentId: exampleAzurermNginxDeployment.id,
19
+ * });
20
+ * export const id = example.then(example => example.id);
21
+ * ```
22
+ */
8
23
  function getConfiguration(args, opts) {
9
24
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
25
  return pulumi.runtime.invoke("azure:nginx/getConfiguration:getConfiguration", {
@@ -12,6 +27,21 @@ function getConfiguration(args, opts) {
12
27
  }, opts);
13
28
  }
14
29
  exports.getConfiguration = getConfiguration;
30
+ /**
31
+ * Use this data source to access information about an existing Nginx Configuration.
32
+ *
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as azure from "@pulumi/azure";
38
+ *
39
+ * const example = azure.nginx.getConfiguration({
40
+ * nginxDeploymentId: exampleAzurermNginxDeployment.id,
41
+ * });
42
+ * export const id = example.then(example => example.id);
43
+ * ```
44
+ */
15
45
  function getConfigurationOutput(args, opts) {
16
46
  return pulumi.output(args).apply((a) => getConfiguration(a, opts));
17
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getConfiguration.js","sourceRoot":"","sources":["../../nginx/getConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAuBD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getConfiguration.js","sourceRoot":"","sources":["../../nginx/getConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAmCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -47,7 +47,7 @@ export interface GetDeploymentResult {
47
47
  */
48
48
  readonly capacity: number;
49
49
  /**
50
- * Whether diagnostic settings are enabled.
50
+ * Whether metrics are exported to Azure Monitor.
51
51
  */
52
52
  readonly diagnoseSupportEnabled: boolean;
53
53
  /**