@pulumi/azure-native 1.73.0 → 1.74.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 (134) hide show
  1. package/devcenter/attachedNetworkByDevCenter.d.ts +83 -0
  2. package/devcenter/attachedNetworkByDevCenter.js +85 -0
  3. package/devcenter/catalog.d.ts +83 -0
  4. package/devcenter/catalog.js +80 -0
  5. package/devcenter/devBoxDefinition.d.ts +119 -0
  6. package/devcenter/devBoxDefinition.js +99 -0
  7. package/devcenter/devCenter.d.ts +87 -0
  8. package/devcenter/devCenter.js +76 -0
  9. package/devcenter/environmentType.d.ts +75 -0
  10. package/devcenter/environmentType.js +76 -0
  11. package/devcenter/gallery.d.ts +71 -0
  12. package/devcenter/gallery.js +79 -0
  13. package/devcenter/getAttachedNetworkByDevCenter.d.ts +77 -0
  14. package/devcenter/getAttachedNetworkByDevCenter.js +28 -0
  15. package/devcenter/getCatalog.d.ts +73 -0
  16. package/devcenter/getCatalog.js +28 -0
  17. package/devcenter/getDevBoxDefinition.d.ts +95 -0
  18. package/devcenter/getDevBoxDefinition.js +28 -0
  19. package/devcenter/getDevCenter.d.ts +67 -0
  20. package/devcenter/getDevCenter.js +27 -0
  21. package/devcenter/getEnvironmentType.d.ts +67 -0
  22. package/devcenter/getEnvironmentType.js +28 -0
  23. package/devcenter/getGallery.d.ts +65 -0
  24. package/devcenter/getGallery.js +28 -0
  25. package/devcenter/getNetworkConnection.d.ts +95 -0
  26. package/devcenter/getNetworkConnection.js +27 -0
  27. package/devcenter/getPool.d.ts +87 -0
  28. package/devcenter/getPool.js +28 -0
  29. package/devcenter/getProject.d.ts +71 -0
  30. package/devcenter/getProject.js +27 -0
  31. package/devcenter/getProjectEnvironmentType.d.ts +93 -0
  32. package/devcenter/getProjectEnvironmentType.js +28 -0
  33. package/devcenter/getSchedule.d.ts +93 -0
  34. package/devcenter/getSchedule.js +30 -0
  35. package/devcenter/index.d.ts +23 -0
  36. package/devcenter/index.js +86 -1
  37. package/devcenter/networkConnection.d.ts +139 -0
  38. package/devcenter/networkConnection.js +96 -0
  39. package/devcenter/pool.d.ts +115 -0
  40. package/devcenter/pool.js +98 -0
  41. package/devcenter/project.d.ts +95 -0
  42. package/devcenter/project.js +78 -0
  43. package/devcenter/projectEnvironmentType.d.ts +127 -0
  44. package/devcenter/projectEnvironmentType.js +88 -0
  45. package/devcenter/schedule.d.ts +107 -0
  46. package/devcenter/schedule.js +99 -0
  47. package/devcenter/v20220801preview/attachedNetworkByDevCenter.js +2 -2
  48. package/devcenter/v20220801preview/catalog.js +2 -2
  49. package/devcenter/v20220801preview/devBoxDefinition.js +2 -2
  50. package/devcenter/v20220801preview/devCenter.js +2 -2
  51. package/devcenter/v20220801preview/environmentType.js +2 -2
  52. package/devcenter/v20220801preview/gallery.js +2 -2
  53. package/devcenter/v20220801preview/networkConnection.js +2 -2
  54. package/devcenter/v20220801preview/pool.js +2 -2
  55. package/devcenter/v20220801preview/project.js +2 -2
  56. package/devcenter/v20220801preview/projectEnvironmentType.js +2 -2
  57. package/devcenter/v20220801preview/schedule.js +2 -2
  58. package/devcenter/v20220901preview/attachedNetworkByDevCenter.js +2 -2
  59. package/devcenter/v20220901preview/catalog.js +2 -2
  60. package/devcenter/v20220901preview/devBoxDefinition.js +2 -2
  61. package/devcenter/v20220901preview/devCenter.js +2 -2
  62. package/devcenter/v20220901preview/environmentType.js +2 -2
  63. package/devcenter/v20220901preview/gallery.js +2 -2
  64. package/devcenter/v20220901preview/networkConnection.js +2 -2
  65. package/devcenter/v20220901preview/pool.js +2 -2
  66. package/devcenter/v20220901preview/project.js +2 -2
  67. package/devcenter/v20220901preview/projectEnvironmentType.js +2 -2
  68. package/devcenter/v20220901preview/schedule.js +2 -2
  69. package/hybridcontainerservice/agentPool.d.ts +190 -0
  70. package/hybridcontainerservice/agentPool.js +107 -0
  71. package/hybridcontainerservice/getHybridIdentityMetadatum.d.ts +73 -0
  72. package/hybridcontainerservice/getHybridIdentityMetadatum.js +28 -0
  73. package/hybridcontainerservice/getProvisionedCluster.d.ts +65 -0
  74. package/hybridcontainerservice/getProvisionedCluster.js +27 -0
  75. package/hybridcontainerservice/getagentPool.d.ts +123 -0
  76. package/hybridcontainerservice/getagentPool.js +28 -0
  77. package/hybridcontainerservice/getstorageSpaceRetrieve.d.ts +64 -0
  78. package/hybridcontainerservice/getstorageSpaceRetrieve.js +27 -0
  79. package/hybridcontainerservice/getvirtualNetworkRetrieve.d.ts +64 -0
  80. package/hybridcontainerservice/getvirtualNetworkRetrieve.js +27 -0
  81. package/hybridcontainerservice/hybridIdentityMetadatum.d.ts +87 -0
  82. package/hybridcontainerservice/hybridIdentityMetadatum.js +80 -0
  83. package/hybridcontainerservice/index.d.ts +11 -0
  84. package/hybridcontainerservice/index.js +56 -1
  85. package/hybridcontainerservice/provisionedCluster.d.ts +90 -0
  86. package/hybridcontainerservice/provisionedCluster.js +79 -0
  87. package/hybridcontainerservice/storageSpaceRetrieve.d.ts +85 -0
  88. package/hybridcontainerservice/storageSpaceRetrieve.js +76 -0
  89. package/hybridcontainerservice/v20220501preview/agentPool.js +3 -1
  90. package/hybridcontainerservice/v20220501preview/hybridIdentityMetadatum.js +3 -1
  91. package/hybridcontainerservice/v20220501preview/provisionedCluster.js +3 -1
  92. package/hybridcontainerservice/v20220501preview/storageSpaceRetrieve.js +3 -1
  93. package/hybridcontainerservice/v20220501preview/virtualNetworkRetrieve.js +3 -1
  94. package/hybridcontainerservice/virtualNetworkRetrieve.d.ts +85 -0
  95. package/hybridcontainerservice/virtualNetworkRetrieve.js +76 -0
  96. package/package.json +2 -2
  97. package/package.json.dev +2 -2
  98. package/storagemover/agent.d.ts +116 -0
  99. package/storagemover/agent.js +102 -0
  100. package/storagemover/endpoint.d.ts +67 -0
  101. package/storagemover/endpoint.js +77 -0
  102. package/storagemover/getAgent.d.ts +102 -0
  103. package/storagemover/getAgent.js +28 -0
  104. package/storagemover/getEndpoint.d.ts +61 -0
  105. package/storagemover/getEndpoint.js +28 -0
  106. package/storagemover/getJobDefinition.d.ts +121 -0
  107. package/storagemover/getJobDefinition.js +29 -0
  108. package/storagemover/getProject.d.ts +65 -0
  109. package/storagemover/getProject.js +28 -0
  110. package/storagemover/getStorageMover.d.ts +67 -0
  111. package/storagemover/getStorageMover.js +27 -0
  112. package/storagemover/index.d.ts +11 -0
  113. package/storagemover/index.js +56 -1
  114. package/storagemover/jobDefinition.d.ts +147 -0
  115. package/storagemover/jobDefinition.js +113 -0
  116. package/storagemover/project.d.ts +71 -0
  117. package/storagemover/project.js +76 -0
  118. package/storagemover/storageMover.d.ts +87 -0
  119. package/storagemover/storageMover.js +76 -0
  120. package/storagemover/v20220701preview/agent.js +3 -1
  121. package/storagemover/v20220701preview/endpoint.js +3 -1
  122. package/storagemover/v20220701preview/jobDefinition.js +3 -1
  123. package/storagemover/v20220701preview/project.js +3 -1
  124. package/storagemover/v20220701preview/storageMover.js +3 -1
  125. package/types/enums/devcenter/index.d.ts +65 -0
  126. package/types/enums/devcenter/index.js +35 -2
  127. package/types/enums/hybridcontainerservice/index.d.ts +59 -0
  128. package/types/enums/hybridcontainerservice/index.js +33 -2
  129. package/types/enums/storagemover/index.d.ts +25 -0
  130. package/types/enums/storagemover/index.js +15 -2
  131. package/types/input.d.ts +888 -0
  132. package/types/input.js +55 -1
  133. package/types/output.d.ts +1188 -0
  134. package/types/output.js +55 -1
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.NetworkConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Network related settings
10
+ * API Version: 2022-09-01-preview.
11
+ */
12
+ class NetworkConnection extends pulumi.CustomResource {
13
+ /**
14
+ * Create a NetworkConnection resource with the given unique name, arguments, and options.
15
+ *
16
+ * @param name The _unique_ name of the resource.
17
+ * @param args The arguments to use to populate this resource's properties.
18
+ * @param opts A bag of options that control this resource's behavior.
19
+ */
20
+ constructor(name, args, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (!opts.id) {
24
+ if ((!args || args.domainJoinType === undefined) && !opts.urn) {
25
+ throw new Error("Missing required property 'domainJoinType'");
26
+ }
27
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
28
+ throw new Error("Missing required property 'resourceGroupName'");
29
+ }
30
+ if ((!args || args.subnetId === undefined) && !opts.urn) {
31
+ throw new Error("Missing required property 'subnetId'");
32
+ }
33
+ resourceInputs["domainJoinType"] = args ? args.domainJoinType : undefined;
34
+ resourceInputs["domainName"] = args ? args.domainName : undefined;
35
+ resourceInputs["domainPassword"] = args ? args.domainPassword : undefined;
36
+ resourceInputs["domainUsername"] = args ? args.domainUsername : undefined;
37
+ resourceInputs["location"] = args ? args.location : undefined;
38
+ resourceInputs["networkConnectionName"] = args ? args.networkConnectionName : undefined;
39
+ resourceInputs["networkingResourceGroupName"] = args ? args.networkingResourceGroupName : undefined;
40
+ resourceInputs["organizationUnit"] = args ? args.organizationUnit : undefined;
41
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
42
+ resourceInputs["subnetId"] = args ? args.subnetId : undefined;
43
+ resourceInputs["tags"] = args ? args.tags : undefined;
44
+ resourceInputs["healthCheckStatus"] = undefined /*out*/;
45
+ resourceInputs["name"] = undefined /*out*/;
46
+ resourceInputs["provisioningState"] = undefined /*out*/;
47
+ resourceInputs["systemData"] = undefined /*out*/;
48
+ resourceInputs["type"] = undefined /*out*/;
49
+ }
50
+ else {
51
+ resourceInputs["domainJoinType"] = undefined /*out*/;
52
+ resourceInputs["domainName"] = undefined /*out*/;
53
+ resourceInputs["domainPassword"] = undefined /*out*/;
54
+ resourceInputs["domainUsername"] = undefined /*out*/;
55
+ resourceInputs["healthCheckStatus"] = undefined /*out*/;
56
+ resourceInputs["location"] = undefined /*out*/;
57
+ resourceInputs["name"] = undefined /*out*/;
58
+ resourceInputs["networkingResourceGroupName"] = undefined /*out*/;
59
+ resourceInputs["organizationUnit"] = undefined /*out*/;
60
+ resourceInputs["provisioningState"] = undefined /*out*/;
61
+ resourceInputs["subnetId"] = undefined /*out*/;
62
+ resourceInputs["systemData"] = undefined /*out*/;
63
+ resourceInputs["tags"] = undefined /*out*/;
64
+ resourceInputs["type"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:NetworkConnection" }, { type: "azure-native:devcenter/v20220901preview:NetworkConnection" }] };
68
+ opts = pulumi.mergeOptions(opts, aliasOpts);
69
+ super(NetworkConnection.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ /**
72
+ * Get an existing NetworkConnection resource's state with the given name, ID, and optional extra
73
+ * properties used to qualify the lookup.
74
+ *
75
+ * @param name The _unique_ name of the resulting resource.
76
+ * @param id The _unique_ provider ID of the resource to lookup.
77
+ * @param opts Optional settings to control the behavior of the CustomResource.
78
+ */
79
+ static get(name, id, opts) {
80
+ return new NetworkConnection(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
81
+ }
82
+ /**
83
+ * Returns true if the given object is an instance of NetworkConnection. This is designed to work even
84
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
85
+ */
86
+ static isInstance(obj) {
87
+ if (obj === undefined || obj === null) {
88
+ return false;
89
+ }
90
+ return obj['__pulumiType'] === NetworkConnection.__pulumiType;
91
+ }
92
+ }
93
+ exports.NetworkConnection = NetworkConnection;
94
+ /** @internal */
95
+ NetworkConnection.__pulumiType = 'azure-native:devcenter:NetworkConnection';
96
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV0d29ya0Nvbm5lY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kZXZjZW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FDLEdBQUcsQ0FBQyxJQUFZLEVBQUUsRUFBMkIsRUFBRSxJQUFtQztRQUM1RixPQUFPLElBQUksaUJBQWlCLENBQUMsSUFBSSxFQUFFLFNBQWdCLGtDQUFPLElBQUksS0FBRSxFQUFFLEVBQUUsRUFBRSxJQUFHLENBQUM7SUFDOUUsQ0FBQztJQUtEOzs7T0FHRztJQUNJLE1BQU0sQ0FBQyxVQUFVLENBQUMsR0FBUTtRQUM3QixJQUFJLEdBQUcsS0FBSyxTQUFTLElBQUksR0FBRyxLQUFLLElBQUksRUFBRTtZQUNuQyxPQUFPLEtBQUssQ0FBQztTQUNoQjtRQUNELE9BQU8sR0FBRyxDQUFDLGNBQWMsQ0FBQyxLQUFLLGlCQUFpQixDQUFDLFlBQVksQ0FBQztJQUNsRSxDQUFDOztBQXpCTCw4Q0E2SUM7QUFoSUcsZ0JBQWdCO0FBQ08sOEJBQVksR0FBRywwQ0FBMEMsQ0FBQyJ9
@@ -0,0 +1,115 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs, enums } from "../types";
3
+ /**
4
+ * A pool of Virtual Machines.
5
+ * API Version: 2022-09-01-preview.
6
+ */
7
+ export declare class Pool extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Pool 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): Pool;
17
+ /**
18
+ * Returns true if the given object is an instance of Pool. 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 Pool;
22
+ /**
23
+ * Name of a Dev Box definition in parent Project of this Pool
24
+ */
25
+ readonly devBoxDefinitionName: pulumi.Output<string>;
26
+ /**
27
+ * Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
28
+ */
29
+ readonly licenseType: pulumi.Output<string>;
30
+ /**
31
+ * Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
32
+ */
33
+ readonly localAdministrator: pulumi.Output<string>;
34
+ /**
35
+ * The geo-location where the resource lives
36
+ */
37
+ readonly location: pulumi.Output<string>;
38
+ /**
39
+ * The name of the resource
40
+ */
41
+ readonly name: pulumi.Output<string>;
42
+ /**
43
+ * Name of a Network Connection in parent Project of this Pool
44
+ */
45
+ readonly networkConnectionName: pulumi.Output<string>;
46
+ /**
47
+ * The provisioning state of the resource.
48
+ */
49
+ readonly provisioningState: pulumi.Output<string>;
50
+ /**
51
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
52
+ */
53
+ readonly systemData: pulumi.Output<outputs.devcenter.SystemDataResponse>;
54
+ /**
55
+ * Resource tags.
56
+ */
57
+ readonly tags: pulumi.Output<{
58
+ [key: string]: string;
59
+ } | undefined>;
60
+ /**
61
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
62
+ */
63
+ readonly type: pulumi.Output<string>;
64
+ /**
65
+ * Create a Pool resource with the given unique name, arguments, and options.
66
+ *
67
+ * @param name The _unique_ name of the resource.
68
+ * @param args The arguments to use to populate this resource's properties.
69
+ * @param opts A bag of options that control this resource's behavior.
70
+ */
71
+ constructor(name: string, args: PoolArgs, opts?: pulumi.CustomResourceOptions);
72
+ }
73
+ /**
74
+ * The set of arguments for constructing a Pool resource.
75
+ */
76
+ export interface PoolArgs {
77
+ /**
78
+ * Name of a Dev Box definition in parent Project of this Pool
79
+ */
80
+ devBoxDefinitionName: pulumi.Input<string>;
81
+ /**
82
+ * Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.
83
+ */
84
+ licenseType: pulumi.Input<string | enums.devcenter.LicenseType>;
85
+ /**
86
+ * Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.
87
+ */
88
+ localAdministrator: pulumi.Input<string | enums.devcenter.LocalAdminStatus>;
89
+ /**
90
+ * The geo-location where the resource lives
91
+ */
92
+ location?: pulumi.Input<string>;
93
+ /**
94
+ * Name of a Network Connection in parent Project of this Pool
95
+ */
96
+ networkConnectionName: pulumi.Input<string>;
97
+ /**
98
+ * Name of the pool.
99
+ */
100
+ poolName?: pulumi.Input<string>;
101
+ /**
102
+ * The name of the project.
103
+ */
104
+ projectName: pulumi.Input<string>;
105
+ /**
106
+ * Name of the resource group within the Azure subscription.
107
+ */
108
+ resourceGroupName: pulumi.Input<string>;
109
+ /**
110
+ * Resource tags.
111
+ */
112
+ tags?: pulumi.Input<{
113
+ [key: string]: pulumi.Input<string>;
114
+ }>;
115
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.Pool = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A pool of Virtual Machines.
10
+ * API Version: 2022-09-01-preview.
11
+ */
12
+ class Pool extends pulumi.CustomResource {
13
+ /**
14
+ * Create a Pool resource with the given unique name, arguments, and options.
15
+ *
16
+ * @param name The _unique_ name of the resource.
17
+ * @param args The arguments to use to populate this resource's properties.
18
+ * @param opts A bag of options that control this resource's behavior.
19
+ */
20
+ constructor(name, args, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (!opts.id) {
24
+ if ((!args || args.devBoxDefinitionName === undefined) && !opts.urn) {
25
+ throw new Error("Missing required property 'devBoxDefinitionName'");
26
+ }
27
+ if ((!args || args.licenseType === undefined) && !opts.urn) {
28
+ throw new Error("Missing required property 'licenseType'");
29
+ }
30
+ if ((!args || args.localAdministrator === undefined) && !opts.urn) {
31
+ throw new Error("Missing required property 'localAdministrator'");
32
+ }
33
+ if ((!args || args.networkConnectionName === undefined) && !opts.urn) {
34
+ throw new Error("Missing required property 'networkConnectionName'");
35
+ }
36
+ if ((!args || args.projectName === undefined) && !opts.urn) {
37
+ throw new Error("Missing required property 'projectName'");
38
+ }
39
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
40
+ throw new Error("Missing required property 'resourceGroupName'");
41
+ }
42
+ resourceInputs["devBoxDefinitionName"] = args ? args.devBoxDefinitionName : undefined;
43
+ resourceInputs["licenseType"] = args ? args.licenseType : undefined;
44
+ resourceInputs["localAdministrator"] = args ? args.localAdministrator : undefined;
45
+ resourceInputs["location"] = args ? args.location : undefined;
46
+ resourceInputs["networkConnectionName"] = args ? args.networkConnectionName : undefined;
47
+ resourceInputs["poolName"] = args ? args.poolName : undefined;
48
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
49
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
50
+ resourceInputs["tags"] = args ? args.tags : undefined;
51
+ resourceInputs["name"] = undefined /*out*/;
52
+ resourceInputs["provisioningState"] = undefined /*out*/;
53
+ resourceInputs["systemData"] = undefined /*out*/;
54
+ resourceInputs["type"] = undefined /*out*/;
55
+ }
56
+ else {
57
+ resourceInputs["devBoxDefinitionName"] = undefined /*out*/;
58
+ resourceInputs["licenseType"] = undefined /*out*/;
59
+ resourceInputs["localAdministrator"] = undefined /*out*/;
60
+ resourceInputs["location"] = undefined /*out*/;
61
+ resourceInputs["name"] = undefined /*out*/;
62
+ resourceInputs["networkConnectionName"] = undefined /*out*/;
63
+ resourceInputs["provisioningState"] = undefined /*out*/;
64
+ resourceInputs["systemData"] = undefined /*out*/;
65
+ resourceInputs["tags"] = undefined /*out*/;
66
+ resourceInputs["type"] = undefined /*out*/;
67
+ }
68
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
69
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Pool" }, { type: "azure-native:devcenter/v20220901preview:Pool" }] };
70
+ opts = pulumi.mergeOptions(opts, aliasOpts);
71
+ super(Pool.__pulumiType, name, resourceInputs, opts);
72
+ }
73
+ /**
74
+ * Get an existing Pool resource's state with the given name, ID, and optional extra
75
+ * properties used to qualify the lookup.
76
+ *
77
+ * @param name The _unique_ name of the resulting resource.
78
+ * @param id The _unique_ provider ID of the resource to lookup.
79
+ * @param opts Optional settings to control the behavior of the CustomResource.
80
+ */
81
+ static get(name, id, opts) {
82
+ return new Pool(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
83
+ }
84
+ /**
85
+ * Returns true if the given object is an instance of Pool. This is designed to work even
86
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
87
+ */
88
+ static isInstance(obj) {
89
+ if (obj === undefined || obj === null) {
90
+ return false;
91
+ }
92
+ return obj['__pulumiType'] === Pool.__pulumiType;
93
+ }
94
+ }
95
+ exports.Pool = Pool;
96
+ /** @internal */
97
+ Pool.__pulumiType = 'azure-native:devcenter:Pool';
98
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9vbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2RldmNlbnRlci9wb29sLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3RUFBd0U7QUFDeEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBRXpDLDBDQUEwQztBQUUxQzs7O0dBR0c7QUFDSCxNQUFhLElBQUssU0FBUSxNQUFNLENBQUMsY0FBYztJQW9FM0M7Ozs7OztPQU1HO0lBQ0gsWUFBWSxJQUFZLEVBQUUsSUFBYyxFQUFFLElBQW1DO1FBQ3pFLElBQUksY0FBYyxHQUFrQixFQUFFLENBQUM7UUFDdkMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFLENBQUM7UUFDbEIsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLEVBQUU7WUFDVixJQUFJLENBQUMsQ0FBQyxJQUFJLElBQUksSUFBSSxDQU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BQyJ9
@@ -0,0 +1,95 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Represents a project resource.
5
+ * API Version: 2022-09-01-preview.
6
+ */
7
+ export declare class Project extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Project 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): Project;
17
+ /**
18
+ * Returns true if the given object is an instance of Project. 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 Project;
22
+ /**
23
+ * Description of the project.
24
+ */
25
+ readonly description: pulumi.Output<string | undefined>;
26
+ /**
27
+ * Resource Id of an associated DevCenter
28
+ */
29
+ readonly devCenterId: pulumi.Output<string | undefined>;
30
+ /**
31
+ * The geo-location where the resource lives
32
+ */
33
+ readonly location: pulumi.Output<string>;
34
+ /**
35
+ * The name of the resource
36
+ */
37
+ readonly name: pulumi.Output<string>;
38
+ /**
39
+ * The provisioning state of the resource.
40
+ */
41
+ readonly provisioningState: pulumi.Output<string>;
42
+ /**
43
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
44
+ */
45
+ readonly systemData: pulumi.Output<outputs.devcenter.SystemDataResponse>;
46
+ /**
47
+ * Resource tags.
48
+ */
49
+ readonly tags: pulumi.Output<{
50
+ [key: string]: string;
51
+ } | undefined>;
52
+ /**
53
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
54
+ */
55
+ readonly type: pulumi.Output<string>;
56
+ /**
57
+ * Create a Project resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions);
64
+ }
65
+ /**
66
+ * The set of arguments for constructing a Project resource.
67
+ */
68
+ export interface ProjectArgs {
69
+ /**
70
+ * Description of the project.
71
+ */
72
+ description?: pulumi.Input<string>;
73
+ /**
74
+ * Resource Id of an associated DevCenter
75
+ */
76
+ devCenterId?: pulumi.Input<string>;
77
+ /**
78
+ * The geo-location where the resource lives
79
+ */
80
+ location?: pulumi.Input<string>;
81
+ /**
82
+ * The name of the project.
83
+ */
84
+ projectName?: pulumi.Input<string>;
85
+ /**
86
+ * Name of the resource group within the Azure subscription.
87
+ */
88
+ resourceGroupName: pulumi.Input<string>;
89
+ /**
90
+ * Resource tags.
91
+ */
92
+ tags?: pulumi.Input<{
93
+ [key: string]: pulumi.Input<string>;
94
+ }>;
95
+ }
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.Project = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Represents a project resource.
10
+ * API Version: 2022-09-01-preview.
11
+ */
12
+ class Project extends pulumi.CustomResource {
13
+ /**
14
+ * Create a Project resource with the given unique name, arguments, and options.
15
+ *
16
+ * @param name The _unique_ name of the resource.
17
+ * @param args The arguments to use to populate this resource's properties.
18
+ * @param opts A bag of options that control this resource's behavior.
19
+ */
20
+ constructor(name, args, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (!opts.id) {
24
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
25
+ throw new Error("Missing required property 'resourceGroupName'");
26
+ }
27
+ resourceInputs["description"] = args ? args.description : undefined;
28
+ resourceInputs["devCenterId"] = args ? args.devCenterId : undefined;
29
+ resourceInputs["location"] = args ? args.location : undefined;
30
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
31
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
32
+ resourceInputs["tags"] = args ? args.tags : undefined;
33
+ resourceInputs["name"] = undefined /*out*/;
34
+ resourceInputs["provisioningState"] = undefined /*out*/;
35
+ resourceInputs["systemData"] = undefined /*out*/;
36
+ resourceInputs["type"] = undefined /*out*/;
37
+ }
38
+ else {
39
+ resourceInputs["description"] = undefined /*out*/;
40
+ resourceInputs["devCenterId"] = undefined /*out*/;
41
+ resourceInputs["location"] = undefined /*out*/;
42
+ resourceInputs["name"] = undefined /*out*/;
43
+ resourceInputs["provisioningState"] = undefined /*out*/;
44
+ resourceInputs["systemData"] = undefined /*out*/;
45
+ resourceInputs["tags"] = undefined /*out*/;
46
+ resourceInputs["type"] = undefined /*out*/;
47
+ }
48
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
49
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Project" }, { type: "azure-native:devcenter/v20220901preview:Project" }] };
50
+ opts = pulumi.mergeOptions(opts, aliasOpts);
51
+ super(Project.__pulumiType, name, resourceInputs, opts);
52
+ }
53
+ /**
54
+ * Get an existing Project resource's state with the given name, ID, and optional extra
55
+ * properties used to qualify the lookup.
56
+ *
57
+ * @param name The _unique_ name of the resulting resource.
58
+ * @param id The _unique_ provider ID of the resource to lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name, id, opts) {
62
+ return new Project(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
63
+ }
64
+ /**
65
+ * Returns true if the given object is an instance of Project. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj) {
69
+ if (obj === undefined || obj === null) {
70
+ return false;
71
+ }
72
+ return obj['__pulumiType'] === Project.__pulumiType;
73
+ }
74
+ }
75
+ exports.Project = Project;
76
+ /**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FDO1NBQ2hCO1FBQ0QsT0FBTyxHQUFHLENBQUMsY0FBYyxDQUFDLEtBQUssT0FBTyxDQUFDLFlBQVksQ0FBQztJQUN4RCxDQUFDOztBQXpCTCwwQkFtR0M7QUF0RkcsZ0JBQWdCO0FBQ08sb0JBQVksR0FBRyxnQ0FBZ0MsQ0FBQyJ9
@@ -0,0 +1,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs, enums } from "../types";
3
+ /**
4
+ * Represents an environment type.
5
+ * API Version: 2022-09-01-preview.
6
+ */
7
+ export declare class ProjectEnvironmentType extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing ProjectEnvironmentType 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): ProjectEnvironmentType;
17
+ /**
18
+ * Returns true if the given object is an instance of ProjectEnvironmentType. 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 ProjectEnvironmentType;
22
+ /**
23
+ * The role definition assigned to the environment creator on backing resources.
24
+ */
25
+ readonly creatorRoleAssignment: pulumi.Output<outputs.devcenter.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment | undefined>;
26
+ /**
27
+ * Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
28
+ */
29
+ readonly deploymentTargetId: pulumi.Output<string | undefined>;
30
+ /**
31
+ * Managed identity properties
32
+ */
33
+ readonly identity: pulumi.Output<outputs.devcenter.ManagedServiceIdentityResponse | undefined>;
34
+ /**
35
+ * The geo-location for the environment type
36
+ */
37
+ readonly location: pulumi.Output<string | undefined>;
38
+ /**
39
+ * The name of the resource
40
+ */
41
+ readonly name: pulumi.Output<string>;
42
+ /**
43
+ * The provisioning state of the resource.
44
+ */
45
+ readonly provisioningState: pulumi.Output<string>;
46
+ /**
47
+ * Defines whether this Environment Type can be used in this Project.
48
+ */
49
+ readonly status: pulumi.Output<string | undefined>;
50
+ /**
51
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
52
+ */
53
+ readonly systemData: pulumi.Output<outputs.devcenter.SystemDataResponse>;
54
+ /**
55
+ * Resource tags.
56
+ */
57
+ readonly tags: pulumi.Output<{
58
+ [key: string]: string;
59
+ } | undefined>;
60
+ /**
61
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
62
+ */
63
+ readonly type: pulumi.Output<string>;
64
+ /**
65
+ * Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
66
+ */
67
+ readonly userRoleAssignments: pulumi.Output<{
68
+ [key: string]: outputs.devcenter.UserRoleAssignmentResponse;
69
+ } | undefined>;
70
+ /**
71
+ * Create a ProjectEnvironmentType resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args: ProjectEnvironmentTypeArgs, opts?: pulumi.CustomResourceOptions);
78
+ }
79
+ /**
80
+ * The set of arguments for constructing a ProjectEnvironmentType resource.
81
+ */
82
+ export interface ProjectEnvironmentTypeArgs {
83
+ /**
84
+ * The role definition assigned to the environment creator on backing resources.
85
+ */
86
+ creatorRoleAssignment?: pulumi.Input<inputs.devcenter.ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs>;
87
+ /**
88
+ * Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
89
+ */
90
+ deploymentTargetId?: pulumi.Input<string>;
91
+ /**
92
+ * The name of the environment type.
93
+ */
94
+ environmentTypeName?: pulumi.Input<string>;
95
+ /**
96
+ * Managed identity properties
97
+ */
98
+ identity?: pulumi.Input<inputs.devcenter.ManagedServiceIdentityArgs>;
99
+ /**
100
+ * The geo-location for the environment type
101
+ */
102
+ location?: pulumi.Input<string>;
103
+ /**
104
+ * The name of the project.
105
+ */
106
+ projectName: pulumi.Input<string>;
107
+ /**
108
+ * Name of the resource group within the Azure subscription.
109
+ */
110
+ resourceGroupName: pulumi.Input<string>;
111
+ /**
112
+ * Defines whether this Environment Type can be used in this Project.
113
+ */
114
+ status?: pulumi.Input<string | enums.devcenter.EnableStatus>;
115
+ /**
116
+ * Resource tags.
117
+ */
118
+ tags?: pulumi.Input<{
119
+ [key: string]: pulumi.Input<string>;
120
+ }>;
121
+ /**
122
+ * Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
123
+ */
124
+ userRoleAssignments?: pulumi.Input<{
125
+ [key: string]: pulumi.Input<inputs.devcenter.UserRoleAssignmentArgs>;
126
+ }>;
127
+ }