@pulumi/azure-native 2.1.0 → 2.1.1-alpha.1689851370

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 (85) hide show
  1. package/devices/certificate.d.ts +1 -1
  2. package/devices/certificate.js +1 -1
  3. package/devices/getCertificate.d.ts +2 -2
  4. package/devices/getCertificate.js +2 -2
  5. package/devices/getIotHubResource.d.ts +2 -2
  6. package/devices/getIotHubResource.js +2 -2
  7. package/devices/getIotHubResourceEventHubConsumerGroup.d.ts +2 -2
  8. package/devices/getIotHubResourceEventHubConsumerGroup.js +2 -2
  9. package/devices/getPrivateEndpointConnection.d.ts +2 -2
  10. package/devices/getPrivateEndpointConnection.js +2 -2
  11. package/devices/index.d.ts +2 -1
  12. package/devices/index.js +4 -2
  13. package/devices/iotHubResource.d.ts +1 -1
  14. package/devices/iotHubResource.js +1 -1
  15. package/devices/iotHubResourceEventHubConsumerGroup.d.ts +1 -1
  16. package/devices/iotHubResourceEventHubConsumerGroup.js +1 -1
  17. package/devices/listIotHubResourceKeys.d.ts +2 -2
  18. package/devices/listIotHubResourceKeys.js +2 -2
  19. package/devices/listIotHubResourceKeysForKeyName.d.ts +2 -2
  20. package/devices/listIotHubResourceKeysForKeyName.js +2 -2
  21. package/devices/privateEndpointConnection.d.ts +1 -1
  22. package/devices/privateEndpointConnection.js +1 -1
  23. package/devices/v20220430preview/certificate.d.ts +67 -0
  24. package/devices/v20220430preview/certificate.js +73 -0
  25. package/devices/v20220430preview/getCertificate.d.ts +63 -0
  26. package/devices/v20220430preview/getCertificate.js +27 -0
  27. package/devices/v20220430preview/getIotHubResource.d.ts +77 -0
  28. package/devices/v20220430preview/getIotHubResource.js +26 -0
  29. package/devices/v20220430preview/getIotHubResourceEventHubConsumerGroup.d.ts +70 -0
  30. package/devices/v20220430preview/getIotHubResourceEventHubConsumerGroup.js +28 -0
  31. package/devices/v20220430preview/getPrivateEndpointConnection.d.ts +59 -0
  32. package/devices/v20220430preview/getPrivateEndpointConnection.js +27 -0
  33. package/devices/v20220430preview/index.d.ts +31 -0
  34. package/devices/v20220430preview/index.js +68 -0
  35. package/devices/v20220430preview/iotHubResource.d.ts +103 -0
  36. package/devices/v20220430preview/iotHubResource.js +83 -0
  37. package/devices/v20220430preview/iotHubResourceEventHubConsumerGroup.d.ts +70 -0
  38. package/devices/v20220430preview/iotHubResourceEventHubConsumerGroup.js +79 -0
  39. package/devices/v20220430preview/listIotHubResourceKeys.d.ts +43 -0
  40. package/devices/v20220430preview/listIotHubResourceKeys.js +26 -0
  41. package/devices/v20220430preview/listIotHubResourceKeysForKeyName.d.ts +58 -0
  42. package/devices/v20220430preview/listIotHubResourceKeysForKeyName.js +27 -0
  43. package/devices/v20220430preview/privateEndpointConnection.d.ts +63 -0
  44. package/devices/v20220430preview/privateEndpointConnection.js +74 -0
  45. package/network/getDnsResourceReferenceByTarResources.d.ts +2 -2
  46. package/network/getDnsResourceReferenceByTarResources.js +2 -2
  47. package/network/getRecordSet.d.ts +4 -16
  48. package/network/getRecordSet.js +3 -3
  49. package/network/getZone.d.ts +4 -12
  50. package/network/getZone.js +3 -3
  51. package/network/index.d.ts +0 -6
  52. package/network/index.js +10 -17
  53. package/network/recordSet.d.ts +3 -27
  54. package/network/recordSet.js +2 -8
  55. package/network/v20180501/getRecordSet.d.ts +129 -0
  56. package/network/v20180501/getRecordSet.js +28 -0
  57. package/network/v20180501/getZone.d.ts +89 -0
  58. package/network/v20180501/getZone.js +26 -0
  59. package/network/v20180501/index.d.ts +13 -0
  60. package/network/v20180501/index.js +43 -2
  61. package/network/v20180501/recordSet.d.ts +179 -0
  62. package/network/v20180501/recordSet.js +105 -0
  63. package/network/v20180501/zone.d.ts +116 -0
  64. package/network/v20180501/zone.js +86 -0
  65. package/network/v20230701preview/dnssecConfig.js +1 -3
  66. package/network/zone.d.ts +2 -10
  67. package/network/zone.js +2 -6
  68. package/package.json +2 -2
  69. package/tsconfig.tsbuildinfo +1 -1
  70. package/types/enums/devices/index.d.ts +2 -10
  71. package/types/enums/devices/index.js +4 -7
  72. package/types/enums/devices/v20220430preview/index.d.ts +115 -0
  73. package/types/enums/devices/v20220430preview/index.js +77 -0
  74. package/types/enums/network/index.d.ts +2 -1
  75. package/types/enums/network/index.js +8 -6
  76. package/types/enums/network/v20180501/index.d.ts +8 -0
  77. package/types/enums/network/v20180501/index.js +10 -0
  78. package/types/input.d.ts +896 -84
  79. package/types/input.js +27 -1
  80. package/types/output.d.ts +1331 -437
  81. package/types/output.js +27 -1
  82. package/network/dnssecConfig.d.ts +0 -67
  83. package/network/dnssecConfig.js +0 -77
  84. package/network/getDnssecConfig.d.ts +0 -65
  85. package/network/getDnssecConfig.js +0 -28
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../../types/output";
3
+ /**
4
+ * Get the non-security related metadata of an IoT hub.
5
+ */
6
+ export declare function getIotHubResource(args: GetIotHubResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetIotHubResourceResult>;
7
+ export interface GetIotHubResourceArgs {
8
+ /**
9
+ * The name of the resource group that contains the IoT hub.
10
+ */
11
+ resourceGroupName: string;
12
+ /**
13
+ * The name of the IoT hub.
14
+ */
15
+ resourceName: string;
16
+ }
17
+ /**
18
+ * The description of the IoT hub.
19
+ */
20
+ export interface GetIotHubResourceResult {
21
+ /**
22
+ * The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
23
+ */
24
+ readonly etag?: string;
25
+ /**
26
+ * The resource identifier.
27
+ */
28
+ readonly id: string;
29
+ /**
30
+ * The managed identities for the IotHub.
31
+ */
32
+ readonly identity?: outputs.devices.v20220430preview.ArmIdentityResponse;
33
+ /**
34
+ * The resource location.
35
+ */
36
+ readonly location: string;
37
+ /**
38
+ * The resource name.
39
+ */
40
+ readonly name: string;
41
+ /**
42
+ * IotHub properties
43
+ */
44
+ readonly properties: outputs.devices.v20220430preview.IotHubPropertiesResponse;
45
+ /**
46
+ * IotHub SKU info
47
+ */
48
+ readonly sku: outputs.devices.v20220430preview.IotHubSkuInfoResponse;
49
+ /**
50
+ * The system meta data relating to this resource.
51
+ */
52
+ readonly systemData: outputs.devices.v20220430preview.SystemDataResponse;
53
+ /**
54
+ * The resource tags.
55
+ */
56
+ readonly tags?: {
57
+ [key: string]: string;
58
+ };
59
+ /**
60
+ * The resource type.
61
+ */
62
+ readonly type: string;
63
+ }
64
+ /**
65
+ * Get the non-security related metadata of an IoT hub.
66
+ */
67
+ export declare function getIotHubResourceOutput(args: GetIotHubResourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIotHubResourceResult>;
68
+ export interface GetIotHubResourceOutputArgs {
69
+ /**
70
+ * The name of the resource group that contains the IoT hub.
71
+ */
72
+ resourceGroupName: pulumi.Input<string>;
73
+ /**
74
+ * The name of the IoT hub.
75
+ */
76
+ resourceName: pulumi.Input<string>;
77
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi. ***
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.getIotHubResourceOutput = exports.getIotHubResource = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Get the non-security related metadata of an IoT hub.
10
+ */
11
+ function getIotHubResource(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("azure-native:devices/v20220430preview:getIotHubResource", {
14
+ "resourceGroupName": args.resourceGroupName,
15
+ "resourceName": args.resourceName,
16
+ }, opts);
17
+ }
18
+ exports.getIotHubResource = getIotHubResource;
19
+ /**
20
+ * Get the non-security related metadata of an IoT hub.
21
+ */
22
+ function getIotHubResourceOutput(args, opts) {
23
+ return pulumi.output(args).apply((a) => getIotHubResource(a, opts));
24
+ }
25
+ exports.getIotHubResourceOutput = getIotHubResourceOutput;
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0SW90SHViUmVzb3VyY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kZXZpY2VzL3YyMDIyMDQzMHByZXZpZXcvZ2V0SW90SHViUmVzb3VyY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNEQUFzRDtBQUN0RCxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsU0FBZ0IsaUJBQWlCLENBQUMsSUFBMkIsRUFBRSxJQUEyQjtJQUV0RixJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyx5REFBeUQsRUFBRTtRQUNwRixtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGNBQWMsRUFBRSxJQUFJLENBQUMsWUFBWTtLQUNwQyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVBELDhDQU9DO0FBMEREOztHQUVHO0FBQ0gsU0FBZ0IsdUJBQXVCLENBQUMsSUFBaUMsRUFBRSxJQUEyQjtJQUNsRyxPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBTSxFQUFFLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQTtBQUM1RSxDQUFDO0FBRkQsMERBRUMifQ==
@@ -0,0 +1,70 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.
4
+ */
5
+ export declare function getIotHubResourceEventHubConsumerGroup(args: GetIotHubResourceEventHubConsumerGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetIotHubResourceEventHubConsumerGroupResult>;
6
+ export interface GetIotHubResourceEventHubConsumerGroupArgs {
7
+ /**
8
+ * The name of the Event Hub-compatible endpoint in the IoT hub.
9
+ */
10
+ eventHubEndpointName: string;
11
+ /**
12
+ * The name of the consumer group to retrieve.
13
+ */
14
+ name: string;
15
+ /**
16
+ * The name of the resource group that contains the IoT hub.
17
+ */
18
+ resourceGroupName: string;
19
+ /**
20
+ * The name of the IoT hub.
21
+ */
22
+ resourceName: string;
23
+ }
24
+ /**
25
+ * The properties of the EventHubConsumerGroupInfo object.
26
+ */
27
+ export interface GetIotHubResourceEventHubConsumerGroupResult {
28
+ /**
29
+ * The etag.
30
+ */
31
+ readonly etag: string;
32
+ /**
33
+ * The Event Hub-compatible consumer group identifier.
34
+ */
35
+ readonly id: string;
36
+ /**
37
+ * The Event Hub-compatible consumer group name.
38
+ */
39
+ readonly name: string;
40
+ /**
41
+ * The tags.
42
+ */
43
+ readonly properties: any;
44
+ /**
45
+ * the resource type.
46
+ */
47
+ readonly type: string;
48
+ }
49
+ /**
50
+ * Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.
51
+ */
52
+ export declare function getIotHubResourceEventHubConsumerGroupOutput(args: GetIotHubResourceEventHubConsumerGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIotHubResourceEventHubConsumerGroupResult>;
53
+ export interface GetIotHubResourceEventHubConsumerGroupOutputArgs {
54
+ /**
55
+ * The name of the Event Hub-compatible endpoint in the IoT hub.
56
+ */
57
+ eventHubEndpointName: pulumi.Input<string>;
58
+ /**
59
+ * The name of the consumer group to retrieve.
60
+ */
61
+ name: pulumi.Input<string>;
62
+ /**
63
+ * The name of the resource group that contains the IoT hub.
64
+ */
65
+ resourceGroupName: pulumi.Input<string>;
66
+ /**
67
+ * The name of the IoT hub.
68
+ */
69
+ resourceName: pulumi.Input<string>;
70
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi. ***
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.getIotHubResourceEventHubConsumerGroupOutput = exports.getIotHubResourceEventHubConsumerGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.
10
+ */
11
+ function getIotHubResourceEventHubConsumerGroup(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("azure-native:devices/v20220430preview:getIotHubResourceEventHubConsumerGroup", {
14
+ "eventHubEndpointName": args.eventHubEndpointName,
15
+ "name": args.name,
16
+ "resourceGroupName": args.resourceGroupName,
17
+ "resourceName": args.resourceName,
18
+ }, opts);
19
+ }
20
+ exports.getIotHubResourceEventHubConsumerGroup = getIotHubResourceEventHubConsumerGroup;
21
+ /**
22
+ * Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.
23
+ */
24
+ function getIotHubResourceEventHubConsumerGroupOutput(args, opts) {
25
+ return pulumi.output(args).apply((a) => getIotHubResourceEventHubConsumerGroup(a, opts));
26
+ }
27
+ exports.getIotHubResourceEventHubConsumerGroupOutput = getIotHubResourceEventHubConsumerGroupOutput;
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0SW90SHViUmVzb3VyY2VFdmVudEh1YkNvbnN1bWVyR3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kZXZpY2VzL3YyMDIyMDQzMHByZXZpZXcvZ2V0SW90SHViUmVzb3VyY2VFdmVudEh1YkNvbnN1bWVyR3JvdXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNEQUFzRDtBQUN0RCxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFDekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsU0FBZ0Isc0NBQXNDLENBQUMsSUFBZ0QsRUFBRSxJQUEyQjtJQUVoSSxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyw4RUFBOEUsRUFBRTtRQUN6RyxzQkFBc0IsRUFBRSxJQUFJLENBQUMsb0JBQW9CO1FBQ2pELE1BQU0sRUFBRSxJQUFJLENBQUMsSUFBSTtRQUNqQixtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGNBQWMsRUFBRSxJQUFJLENBQUMsWUFBWTtLQUNwQyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVRELHdGQVNDO0FBOENEOztHQUVHO0FBQ0gsU0FBZ0IsNENBQTRDLENBQUMsSUFBc0QsRUFBRSxJQUEyQjtJQUM1SSxPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBTSxFQUFFLEVBQUUsQ0FBQyxzQ0FBc0MsQ0FBQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQTtBQUNqRyxDQUFDO0FBRkQsb0dBRUMifQ==
@@ -0,0 +1,59 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../../types/output";
3
+ /**
4
+ * Get private endpoint connection properties
5
+ */
6
+ export declare function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateEndpointConnectionResult>;
7
+ export interface GetPrivateEndpointConnectionArgs {
8
+ /**
9
+ * The name of the private endpoint connection
10
+ */
11
+ privateEndpointConnectionName: string;
12
+ /**
13
+ * The name of the resource group that contains the IoT hub.
14
+ */
15
+ resourceGroupName: string;
16
+ /**
17
+ * The name of the IoT hub.
18
+ */
19
+ resourceName: string;
20
+ }
21
+ /**
22
+ * The private endpoint connection of an IotHub
23
+ */
24
+ export interface GetPrivateEndpointConnectionResult {
25
+ /**
26
+ * The resource identifier.
27
+ */
28
+ readonly id: string;
29
+ /**
30
+ * The resource name.
31
+ */
32
+ readonly name: string;
33
+ /**
34
+ * The properties of a private endpoint connection
35
+ */
36
+ readonly properties: outputs.devices.v20220430preview.PrivateEndpointConnectionPropertiesResponse;
37
+ /**
38
+ * The resource type.
39
+ */
40
+ readonly type: string;
41
+ }
42
+ /**
43
+ * Get private endpoint connection properties
44
+ */
45
+ export declare function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrivateEndpointConnectionResult>;
46
+ export interface GetPrivateEndpointConnectionOutputArgs {
47
+ /**
48
+ * The name of the private endpoint connection
49
+ */
50
+ privateEndpointConnectionName: pulumi.Input<string>;
51
+ /**
52
+ * The name of the resource group that contains the IoT hub.
53
+ */
54
+ resourceGroupName: pulumi.Input<string>;
55
+ /**
56
+ * The name of the IoT hub.
57
+ */
58
+ resourceName: pulumi.Input<string>;
59
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi. ***
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.getPrivateEndpointConnectionOutput = exports.getPrivateEndpointConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Get private endpoint connection properties
10
+ */
11
+ function getPrivateEndpointConnection(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("azure-native:devices/v20220430preview:getPrivateEndpointConnection", {
14
+ "privateEndpointConnectionName": args.privateEndpointConnectionName,
15
+ "resourceGroupName": args.resourceGroupName,
16
+ "resourceName": args.resourceName,
17
+ }, opts);
18
+ }
19
+ exports.getPrivateEndpointConnection = getPrivateEndpointConnection;
20
+ /**
21
+ * Get private endpoint connection properties
22
+ */
23
+ function getPrivateEndpointConnectionOutput(args, opts) {
24
+ return pulumi.output(args).apply((a) => getPrivateEndpointConnection(a, opts));
25
+ }
26
+ exports.getPrivateEndpointConnectionOutput = getPrivateEndpointConnectionOutput;
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UHJpdmF0ZUVuZHBvaW50Q29ubmVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RldmljZXMvdjIwMjIwNDMwcHJldmlldy9nZXRQcml2YXRlRW5kcG9pbnRDb25uZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzREFBc0Q7QUFDdEQsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBSXpDLDZDQUE2QztBQUU3Qzs7R0FFRztBQUNILFNBQWdCLDRCQUE0QixDQUFDLElBQXNDLEVBQUUsSUFBMkI7SUFFNUcsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3pFLE9BQU8sTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsb0VBQW9FLEVBQUU7UUFDL0YsK0JBQStCLEVBQUUsSUFBSSxDQUFDLDZCQUE2QjtRQUNuRSxtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGNBQWMsRUFBRSxJQUFJLENBQUMsWUFBWTtLQUNwQyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVJELG9FQVFDO0FBc0NEOztHQUVHO0FBQ0gsU0FBZ0Isa0NBQWtDLENBQUMsSUFBNEMsRUFBRSxJQUEyQjtJQUN4SCxPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBTSxFQUFFLEVBQUUsQ0FBQyw0QkFBNEIsQ0FBQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQTtBQUN2RixDQUFDO0FBRkQsZ0ZBRUMifQ==
@@ -0,0 +1,31 @@
1
+ export { CertificateArgs } from "./certificate";
2
+ export type Certificate = import("./certificate").Certificate;
3
+ export declare const Certificate: typeof import("./certificate").Certificate;
4
+ export { GetCertificateArgs, GetCertificateResult, GetCertificateOutputArgs } from "./getCertificate";
5
+ export declare const getCertificate: typeof import("./getCertificate").getCertificate;
6
+ export declare const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput;
7
+ export { GetIotHubResourceArgs, GetIotHubResourceResult, GetIotHubResourceOutputArgs } from "./getIotHubResource";
8
+ export declare const getIotHubResource: typeof import("./getIotHubResource").getIotHubResource;
9
+ export declare const getIotHubResourceOutput: typeof import("./getIotHubResource").getIotHubResourceOutput;
10
+ export { GetIotHubResourceEventHubConsumerGroupArgs, GetIotHubResourceEventHubConsumerGroupResult, GetIotHubResourceEventHubConsumerGroupOutputArgs } from "./getIotHubResourceEventHubConsumerGroup";
11
+ export declare const getIotHubResourceEventHubConsumerGroup: typeof import("./getIotHubResourceEventHubConsumerGroup").getIotHubResourceEventHubConsumerGroup;
12
+ export declare const getIotHubResourceEventHubConsumerGroupOutput: typeof import("./getIotHubResourceEventHubConsumerGroup").getIotHubResourceEventHubConsumerGroupOutput;
13
+ export { GetPrivateEndpointConnectionArgs, GetPrivateEndpointConnectionResult, GetPrivateEndpointConnectionOutputArgs } from "./getPrivateEndpointConnection";
14
+ export declare const getPrivateEndpointConnection: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnection;
15
+ export declare const getPrivateEndpointConnectionOutput: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnectionOutput;
16
+ export { IotHubResourceArgs } from "./iotHubResource";
17
+ export type IotHubResource = import("./iotHubResource").IotHubResource;
18
+ export declare const IotHubResource: typeof import("./iotHubResource").IotHubResource;
19
+ export { IotHubResourceEventHubConsumerGroupArgs } from "./iotHubResourceEventHubConsumerGroup";
20
+ export type IotHubResourceEventHubConsumerGroup = import("./iotHubResourceEventHubConsumerGroup").IotHubResourceEventHubConsumerGroup;
21
+ export declare const IotHubResourceEventHubConsumerGroup: typeof import("./iotHubResourceEventHubConsumerGroup").IotHubResourceEventHubConsumerGroup;
22
+ export { ListIotHubResourceKeysArgs, ListIotHubResourceKeysResult, ListIotHubResourceKeysOutputArgs } from "./listIotHubResourceKeys";
23
+ export declare const listIotHubResourceKeys: typeof import("./listIotHubResourceKeys").listIotHubResourceKeys;
24
+ export declare const listIotHubResourceKeysOutput: typeof import("./listIotHubResourceKeys").listIotHubResourceKeysOutput;
25
+ export { ListIotHubResourceKeysForKeyNameArgs, ListIotHubResourceKeysForKeyNameResult, ListIotHubResourceKeysForKeyNameOutputArgs } from "./listIotHubResourceKeysForKeyName";
26
+ export declare const listIotHubResourceKeysForKeyName: typeof import("./listIotHubResourceKeysForKeyName").listIotHubResourceKeysForKeyName;
27
+ export declare const listIotHubResourceKeysForKeyNameOutput: typeof import("./listIotHubResourceKeysForKeyName").listIotHubResourceKeysForKeyNameOutput;
28
+ export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection";
29
+ export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection;
30
+ export declare const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection;
31
+ export * from "../../types/enums/devices/v20220430preview";
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.PrivateEndpointConnection = exports.listIotHubResourceKeysForKeyNameOutput = exports.listIotHubResourceKeysForKeyName = exports.listIotHubResourceKeysOutput = exports.listIotHubResourceKeys = exports.IotHubResourceEventHubConsumerGroup = exports.IotHubResource = exports.getPrivateEndpointConnectionOutput = exports.getPrivateEndpointConnection = exports.getIotHubResourceEventHubConsumerGroupOutput = exports.getIotHubResourceEventHubConsumerGroup = exports.getIotHubResourceOutput = exports.getIotHubResource = exports.getCertificateOutput = exports.getCertificate = exports.Certificate = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("../../utilities");
22
+ exports.Certificate = null;
23
+ utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
24
+ exports.getCertificate = null;
25
+ exports.getCertificateOutput = null;
26
+ utilities.lazyLoad(exports, ["getCertificate", "getCertificateOutput"], () => require("./getCertificate"));
27
+ exports.getIotHubResource = null;
28
+ exports.getIotHubResourceOutput = null;
29
+ utilities.lazyLoad(exports, ["getIotHubResource", "getIotHubResourceOutput"], () => require("./getIotHubResource"));
30
+ exports.getIotHubResourceEventHubConsumerGroup = null;
31
+ exports.getIotHubResourceEventHubConsumerGroupOutput = null;
32
+ utilities.lazyLoad(exports, ["getIotHubResourceEventHubConsumerGroup", "getIotHubResourceEventHubConsumerGroupOutput"], () => require("./getIotHubResourceEventHubConsumerGroup"));
33
+ exports.getPrivateEndpointConnection = null;
34
+ exports.getPrivateEndpointConnectionOutput = null;
35
+ utilities.lazyLoad(exports, ["getPrivateEndpointConnection", "getPrivateEndpointConnectionOutput"], () => require("./getPrivateEndpointConnection"));
36
+ exports.IotHubResource = null;
37
+ utilities.lazyLoad(exports, ["IotHubResource"], () => require("./iotHubResource"));
38
+ exports.IotHubResourceEventHubConsumerGroup = null;
39
+ utilities.lazyLoad(exports, ["IotHubResourceEventHubConsumerGroup"], () => require("./iotHubResourceEventHubConsumerGroup"));
40
+ exports.listIotHubResourceKeys = null;
41
+ exports.listIotHubResourceKeysOutput = null;
42
+ utilities.lazyLoad(exports, ["listIotHubResourceKeys", "listIotHubResourceKeysOutput"], () => require("./listIotHubResourceKeys"));
43
+ exports.listIotHubResourceKeysForKeyName = null;
44
+ exports.listIotHubResourceKeysForKeyNameOutput = null;
45
+ utilities.lazyLoad(exports, ["listIotHubResourceKeysForKeyName", "listIotHubResourceKeysForKeyNameOutput"], () => require("./listIotHubResourceKeysForKeyName"));
46
+ exports.PrivateEndpointConnection = null;
47
+ utilities.lazyLoad(exports, ["PrivateEndpointConnection"], () => require("./privateEndpointConnection"));
48
+ // Export enums:
49
+ __exportStar(require("../../types/enums/devices/v20220430preview"), exports);
50
+ const _module = {
51
+ version: utilities.getVersion(),
52
+ construct: (name, type, urn) => {
53
+ switch (type) {
54
+ case "azure-native:devices/v20220430preview:Certificate":
55
+ return new exports.Certificate(name, undefined, { urn });
56
+ case "azure-native:devices/v20220430preview:IotHubResource":
57
+ return new exports.IotHubResource(name, undefined, { urn });
58
+ case "azure-native:devices/v20220430preview:IotHubResourceEventHubConsumerGroup":
59
+ return new exports.IotHubResourceEventHubConsumerGroup(name, undefined, { urn });
60
+ case "azure-native:devices/v20220430preview:PrivateEndpointConnection":
61
+ return new exports.PrivateEndpointConnection(name, undefined, { urn });
62
+ default:
63
+ throw new Error(`unknown resource type ${type}`);
64
+ }
65
+ },
66
+ };
67
+ pulumi.runtime.registerResourceModule("azure-native", "devices/v20220430preview", _module);
68
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kZXZpY2VzL3YyMDIyMDQzMHByZXZpZXcvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNEQUFzRDtBQUN0RCxpRkFBaUY7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRWpGLHlDQUF5QztBQUN6Qyw2Q0FBNkM7QUFLaEMsUUFBQSxXQUFXLEdBQStDLElBQVcsQ0FBQztBQUNuRixTQUFTLENBQUMsUUFBUSxDQUFDLE9BQU8sRUFBRSxDQUFDLGFBQWEsQ0FBQyxFQUFFLEdBQUcsRUFBRSxDQUFDLE9BQU8sQ0FBQyxlQUFlLENBQUMsQ0FBQyxDQUFDO0FBR2hFLFFBQUEsY0FBYyxHQUFxRCxJQUFXLENBQUM7QUFDL0UsUUFBQSxvQkFBb0IsR0FBMkQsSUFBVyxDQUFDO0FBQ3hHLFNBQVMsQ0FBQyxRQUFRLENBQUMsT0FBTyxFQUFFLENBQUMsZ0JBQWdCLEVBQUMsc0JBQXNCLENBQUMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxPQUFPLENBQUMsa0JBQWtCLENBQUMsQ0FBQyxDQUFDO0FBRzdGLFFBQUEsaUJBQWlCLEdBQTJELElBQVcsQ0FBQztBQUN4RixRQUFBLHVCQUF1QixHQUFpRSxJQUFXLENBQUM7QUFDakgsU0FBUyxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxtQkFBbUIsRUFBQyx5QkFBeUIsQ0FBQyxFQUFFLEdBQUc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FLLDJFQUEyRTtnQkFDNUUsT0FBTyxJQUFJLDJDQUFtQyxDQUFDLElBQUksRUFBTyxTQUFTLEVBQUUsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFBO1lBQ2pGLEtBQUssaUVBQWlFO2dCQUNsRSxPQUFPLElBQUksaUNBQXlCLENBQUMsSUFBSSxFQUFPLFNBQVMsRUFBRSxFQUFFLEdBQUcsRUFBRSxDQUFDLENBQUE7WUFDdkU7Z0JBQ0ksTUFBTSxJQUFJLEtBQUssQ0FBQyx5QkFBeUIsSUFBSSxFQUFFLENBQUMsQ0FBQztTQUN4RDtJQUNMLENBQUM7Q0FDSixDQUFDO0FBQ0YsTUFBTSxDQUFDLE9BQU8sQ0FBQyxzQkFBc0IsQ0FBQyxjQUFjLEVBQUUsMEJBQTBCLEVBQUUsT0FBTyxDQUFDLENBQUEifQ==
@@ -0,0 +1,103 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * The description of the IoT hub.
6
+ */
7
+ export declare class IotHubResource extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing IotHubResource resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IotHubResource;
17
+ /**
18
+ * Returns true if the given object is an instance of IotHubResource. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is IotHubResource;
22
+ /**
23
+ * The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
24
+ */
25
+ readonly etag: pulumi.Output<string | undefined>;
26
+ /**
27
+ * The managed identities for the IotHub.
28
+ */
29
+ readonly identity: pulumi.Output<outputs.devices.v20220430preview.ArmIdentityResponse | undefined>;
30
+ /**
31
+ * The resource location.
32
+ */
33
+ readonly location: pulumi.Output<string>;
34
+ /**
35
+ * The resource name.
36
+ */
37
+ readonly name: pulumi.Output<string>;
38
+ /**
39
+ * IotHub properties
40
+ */
41
+ readonly properties: pulumi.Output<outputs.devices.v20220430preview.IotHubPropertiesResponse>;
42
+ /**
43
+ * IotHub SKU info
44
+ */
45
+ readonly sku: pulumi.Output<outputs.devices.v20220430preview.IotHubSkuInfoResponse>;
46
+ /**
47
+ * The system meta data relating to this resource.
48
+ */
49
+ readonly systemData: pulumi.Output<outputs.devices.v20220430preview.SystemDataResponse>;
50
+ /**
51
+ * The resource tags.
52
+ */
53
+ readonly tags: pulumi.Output<{
54
+ [key: string]: string;
55
+ } | undefined>;
56
+ /**
57
+ * The resource type.
58
+ */
59
+ readonly type: pulumi.Output<string>;
60
+ /**
61
+ * Create a IotHubResource resource with the given unique name, arguments, and options.
62
+ *
63
+ * @param name The _unique_ name of the resource.
64
+ * @param args The arguments to use to populate this resource's properties.
65
+ * @param opts A bag of options that control this resource's behavior.
66
+ */
67
+ constructor(name: string, args: IotHubResourceArgs, opts?: pulumi.CustomResourceOptions);
68
+ }
69
+ /**
70
+ * The set of arguments for constructing a IotHubResource resource.
71
+ */
72
+ export interface IotHubResourceArgs {
73
+ /**
74
+ * The managed identities for the IotHub.
75
+ */
76
+ identity?: pulumi.Input<inputs.devices.v20220430preview.ArmIdentityArgs>;
77
+ /**
78
+ * The resource location.
79
+ */
80
+ location?: pulumi.Input<string>;
81
+ /**
82
+ * IotHub properties
83
+ */
84
+ properties?: pulumi.Input<inputs.devices.v20220430preview.IotHubPropertiesArgs>;
85
+ /**
86
+ * The name of the resource group that contains the IoT hub.
87
+ */
88
+ resourceGroupName: pulumi.Input<string>;
89
+ /**
90
+ * The name of the IoT hub.
91
+ */
92
+ resourceName?: pulumi.Input<string>;
93
+ /**
94
+ * IotHub SKU info
95
+ */
96
+ sku: pulumi.Input<inputs.devices.v20220430preview.IotHubSkuInfoArgs>;
97
+ /**
98
+ * The resource tags.
99
+ */
100
+ tags?: pulumi.Input<{
101
+ [key: string]: pulumi.Input<string>;
102
+ }>;
103
+ }
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi. ***
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.IotHubResource = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const inputs = require("../../types/input");
8
+ const utilities = require("../../utilities");
9
+ /**
10
+ * The description of the IoT hub.
11
+ */
12
+ class IotHubResource extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing IotHubResource resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, opts) {
22
+ return new IotHubResource(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of IotHubResource. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === IotHubResource.__pulumiType;
33
+ }
34
+ /**
35
+ * Create a IotHubResource resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name, args, opts) {
42
+ let resourceInputs = {};
43
+ opts = opts || {};
44
+ if (!opts.id) {
45
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'resourceGroupName'");
47
+ }
48
+ if ((!args || args.sku === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'sku'");
50
+ }
51
+ resourceInputs["identity"] = args ? args.identity : undefined;
52
+ resourceInputs["location"] = args ? args.location : undefined;
53
+ resourceInputs["properties"] = args ? (args.properties ? pulumi.output(args.properties).apply(inputs.devices.v20220430preview.iotHubPropertiesArgsProvideDefaults) : undefined) : undefined;
54
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
55
+ resourceInputs["resourceName"] = args ? args.resourceName : undefined;
56
+ resourceInputs["sku"] = args ? args.sku : undefined;
57
+ resourceInputs["tags"] = args ? args.tags : undefined;
58
+ resourceInputs["etag"] = undefined /*out*/;
59
+ resourceInputs["name"] = undefined /*out*/;
60
+ resourceInputs["systemData"] = undefined /*out*/;
61
+ resourceInputs["type"] = undefined /*out*/;
62
+ }
63
+ else {
64
+ resourceInputs["etag"] = undefined /*out*/;
65
+ resourceInputs["identity"] = undefined /*out*/;
66
+ resourceInputs["location"] = undefined /*out*/;
67
+ resourceInputs["name"] = undefined /*out*/;
68
+ resourceInputs["properties"] = undefined /*out*/;
69
+ resourceInputs["sku"] = undefined /*out*/;
70
+ resourceInputs["systemData"] = undefined /*out*/;
71
+ resourceInputs["tags"] = undefined /*out*/;
72
+ resourceInputs["type"] = undefined /*out*/;
73
+ }
74
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
75
+ const aliasOpts = { aliases: [{ type: "azure-native:devices:IotHubResource" }, { type: "azure-native:devices/v20160203:IotHubResource" }, { type: "azure-native:devices/v20170119:IotHubResource" }, { type: "azure-native:devices/v20170701:IotHubResource" }, { type: "azure-native:devices/v20180122:IotHubResource" }, { type: "azure-native:devices/v20180401:IotHubResource" }, { type: "azure-native:devices/v20181201preview:IotHubResource" }, { type: "azure-native:devices/v20190322:IotHubResource" }, { type: "azure-native:devices/v20190322preview:IotHubResource" }, { type: "azure-native:devices/v20190701preview:IotHubResource" }, { type: "azure-native:devices/v20191104:IotHubResource" }, { type: "azure-native:devices/v20200301:IotHubResource" }, { type: "azure-native:devices/v20200401:IotHubResource" }, { type: "azure-native:devices/v20200615:IotHubResource" }, { type: "azure-native:devices/v20200710preview:IotHubResource" }, { type: "azure-native:devices/v20200801:IotHubResource" }, { type: "azure-native:devices/v20200831:IotHubResource" }, { type: "azure-native:devices/v20200831preview:IotHubResource" }, { type: "azure-native:devices/v20210201preview:IotHubResource" }, { type: "azure-native:devices/v20210303preview:IotHubResource" }, { type: "azure-native:devices/v20210331:IotHubResource" }, { type: "azure-native:devices/v20210701:IotHubResource" }, { type: "azure-native:devices/v20210701preview:IotHubResource" }, { type: "azure-native:devices/v20210702:IotHubResource" }, { type: "azure-native:devices/v20210702preview:IotHubResource" }, { type: "azure-native:devices/v20221115preview:IotHubResource" }] };
76
+ opts = pulumi.mergeOptions(opts, aliasOpts);
77
+ super(IotHubResource.__pulumiType, name, resourceInputs, opts);
78
+ }
79
+ }
80
+ exports.IotHubResource = IotHubResource;
81
+ /** @internal */
82
+ IotHubResource.__pulumiType = 'azure-native:devices/v20220430preview:IotHubResource';
83
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW90SHViUmVzb3VyY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9kZXZpY2VzL3YyMDIyMDQzMHByZXZpZXcvaW90SHViUmVzb3VyY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNEQUFzRDtBQUN0RCxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFDekMsNENBQTRDO0FBRzVDLDZDQUE2QztBQUU3Qzs7R0FFRztBQUNILE1BQWEsY0FBZSxTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBQ3JEOzs7Ozs7O09BT0c7SUFDSSxNQUFNLENBQUMsR0FBRyxDQUFDLElBQVksRUFBRSxFQUEyQixFQUFFLElBQW1DO1FBQzVGLE9BQU8sSUFBSSxjQUFjLENBQUMsSUFBSSxFQUFFLFNBQWdC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