@pulumi/azure-native 1.71.0 → 1.72.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 (101) hide show
  1. package/devcenter/index.d.ts +2 -1
  2. package/devcenter/index.js +4 -2
  3. package/devcenter/v20220801preview/attachedNetworkByDevCenter.js +3 -1
  4. package/devcenter/v20220801preview/catalog.js +3 -1
  5. package/devcenter/v20220801preview/devBoxDefinition.js +3 -1
  6. package/devcenter/v20220801preview/devCenter.js +3 -1
  7. package/devcenter/v20220801preview/environmentType.js +3 -1
  8. package/devcenter/v20220801preview/gallery.js +3 -1
  9. package/devcenter/v20220801preview/networkConnection.js +3 -1
  10. package/devcenter/v20220801preview/pool.js +3 -1
  11. package/devcenter/v20220801preview/project.js +3 -1
  12. package/devcenter/v20220801preview/projectEnvironmentType.js +3 -1
  13. package/devcenter/v20220801preview/schedule.js +3 -1
  14. package/devcenter/v20220901preview/attachedNetworkByDevCenter.d.ts +82 -0
  15. package/devcenter/v20220901preview/attachedNetworkByDevCenter.js +84 -0
  16. package/devcenter/v20220901preview/catalog.d.ts +82 -0
  17. package/devcenter/v20220901preview/catalog.js +79 -0
  18. package/devcenter/v20220901preview/devBoxDefinition.d.ts +118 -0
  19. package/devcenter/v20220901preview/devBoxDefinition.js +98 -0
  20. package/devcenter/v20220901preview/devCenter.d.ts +86 -0
  21. package/devcenter/v20220901preview/devCenter.js +75 -0
  22. package/devcenter/v20220901preview/environmentType.d.ts +74 -0
  23. package/devcenter/v20220901preview/environmentType.js +75 -0
  24. package/devcenter/v20220901preview/gallery.d.ts +70 -0
  25. package/devcenter/v20220901preview/gallery.js +78 -0
  26. package/devcenter/v20220901preview/getAttachedNetworkByDevCenter.d.ts +76 -0
  27. package/devcenter/v20220901preview/getAttachedNetworkByDevCenter.js +27 -0
  28. package/devcenter/v20220901preview/getCatalog.d.ts +72 -0
  29. package/devcenter/v20220901preview/getCatalog.js +27 -0
  30. package/devcenter/v20220901preview/getDevBoxDefinition.d.ts +94 -0
  31. package/devcenter/v20220901preview/getDevBoxDefinition.js +27 -0
  32. package/devcenter/v20220901preview/getDevCenter.d.ts +66 -0
  33. package/devcenter/v20220901preview/getDevCenter.js +26 -0
  34. package/devcenter/v20220901preview/getEnvironmentType.d.ts +66 -0
  35. package/devcenter/v20220901preview/getEnvironmentType.js +27 -0
  36. package/devcenter/v20220901preview/getGallery.d.ts +64 -0
  37. package/devcenter/v20220901preview/getGallery.js +27 -0
  38. package/devcenter/v20220901preview/getNetworkConnection.d.ts +94 -0
  39. package/devcenter/v20220901preview/getNetworkConnection.js +26 -0
  40. package/devcenter/v20220901preview/getPool.d.ts +86 -0
  41. package/devcenter/v20220901preview/getPool.js +27 -0
  42. package/devcenter/v20220901preview/getProject.d.ts +70 -0
  43. package/devcenter/v20220901preview/getProject.js +26 -0
  44. package/devcenter/v20220901preview/getProjectEnvironmentType.d.ts +92 -0
  45. package/devcenter/v20220901preview/getProjectEnvironmentType.js +27 -0
  46. package/devcenter/v20220901preview/getSchedule.d.ts +92 -0
  47. package/devcenter/v20220901preview/getSchedule.js +29 -0
  48. package/devcenter/v20220901preview/index.d.ts +23 -0
  49. package/devcenter/v20220901preview/index.js +90 -0
  50. package/devcenter/v20220901preview/networkConnection.d.ts +138 -0
  51. package/devcenter/v20220901preview/networkConnection.js +95 -0
  52. package/devcenter/v20220901preview/pool.d.ts +114 -0
  53. package/devcenter/v20220901preview/pool.js +97 -0
  54. package/devcenter/v20220901preview/project.d.ts +94 -0
  55. package/devcenter/v20220901preview/project.js +77 -0
  56. package/devcenter/v20220901preview/projectEnvironmentType.d.ts +126 -0
  57. package/devcenter/v20220901preview/projectEnvironmentType.js +87 -0
  58. package/devcenter/v20220901preview/schedule.d.ts +106 -0
  59. package/devcenter/v20220901preview/schedule.js +98 -0
  60. package/hybridcontainerservice/index.d.ts +2 -0
  61. package/hybridcontainerservice/index.js +9 -0
  62. package/hybridcontainerservice/v20220501preview/agentPool.d.ts +189 -0
  63. package/hybridcontainerservice/v20220501preview/agentPool.js +104 -0
  64. package/hybridcontainerservice/v20220501preview/getHybridIdentityMetadatum.d.ts +72 -0
  65. package/hybridcontainerservice/v20220501preview/getHybridIdentityMetadatum.js +27 -0
  66. package/hybridcontainerservice/v20220501preview/getProvisionedCluster.d.ts +64 -0
  67. package/hybridcontainerservice/v20220501preview/getProvisionedCluster.js +26 -0
  68. package/hybridcontainerservice/v20220501preview/getagentPool.d.ts +122 -0
  69. package/hybridcontainerservice/v20220501preview/getagentPool.js +27 -0
  70. package/hybridcontainerservice/v20220501preview/getstorageSpaceRetrieve.d.ts +63 -0
  71. package/hybridcontainerservice/v20220501preview/getstorageSpaceRetrieve.js +26 -0
  72. package/hybridcontainerservice/v20220501preview/getvirtualNetworkRetrieve.d.ts +63 -0
  73. package/hybridcontainerservice/v20220501preview/getvirtualNetworkRetrieve.js +26 -0
  74. package/hybridcontainerservice/v20220501preview/hybridIdentityMetadatum.d.ts +86 -0
  75. package/hybridcontainerservice/v20220501preview/hybridIdentityMetadatum.js +77 -0
  76. package/hybridcontainerservice/v20220501preview/index.d.ts +11 -0
  77. package/hybridcontainerservice/v20220501preview/index.js +60 -0
  78. package/hybridcontainerservice/v20220501preview/provisionedCluster.d.ts +89 -0
  79. package/hybridcontainerservice/v20220501preview/provisionedCluster.js +76 -0
  80. package/hybridcontainerservice/v20220501preview/storageSpaceRetrieve.d.ts +84 -0
  81. package/hybridcontainerservice/v20220501preview/storageSpaceRetrieve.js +73 -0
  82. package/hybridcontainerservice/v20220501preview/virtualNetworkRetrieve.d.ts +84 -0
  83. package/hybridcontainerservice/v20220501preview/virtualNetworkRetrieve.js +73 -0
  84. package/index.d.ts +2 -1
  85. package/index.js +6 -4
  86. package/package.json +2 -2
  87. package/package.json.dev +2 -2
  88. package/types/enums/devcenter/index.d.ts +2 -1
  89. package/types/enums/devcenter/index.js +4 -2
  90. package/types/enums/devcenter/v20220901preview/index.d.ts +65 -0
  91. package/types/enums/devcenter/v20220901preview/index.js +39 -0
  92. package/types/enums/hybridcontainerservice/index.d.ts +2 -0
  93. package/types/enums/hybridcontainerservice/index.js +9 -0
  94. package/types/enums/hybridcontainerservice/v20220501preview/index.d.ts +59 -0
  95. package/types/enums/hybridcontainerservice/v20220501preview/index.js +37 -0
  96. package/types/enums/index.d.ts +2 -1
  97. package/types/enums/index.js +6 -4
  98. package/types/input.d.ts +852 -0
  99. package/types/input.js +63 -3
  100. package/types/output.d.ts +1105 -0
  101. package/types/output.js +63 -3
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * Represents a catalog.
5
+ */
6
+ export declare class Catalog extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Catalog resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Catalog;
16
+ /**
17
+ * Returns true if the given object is an instance of Catalog. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is Catalog;
21
+ /**
22
+ * Properties for an Azure DevOps catalog type.
23
+ */
24
+ readonly adoGit: pulumi.Output<outputs.devcenter.v20220901preview.GitCatalogResponse | undefined>;
25
+ /**
26
+ * Properties for a GitHub catalog type.
27
+ */
28
+ readonly gitHub: pulumi.Output<outputs.devcenter.v20220901preview.GitCatalogResponse | undefined>;
29
+ /**
30
+ * When the catalog was last synced.
31
+ */
32
+ readonly lastSyncTime: pulumi.Output<string>;
33
+ /**
34
+ * The name of the resource
35
+ */
36
+ readonly name: pulumi.Output<string>;
37
+ /**
38
+ * The provisioning state of the resource.
39
+ */
40
+ readonly provisioningState: pulumi.Output<string>;
41
+ /**
42
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
43
+ */
44
+ readonly systemData: pulumi.Output<outputs.devcenter.v20220901preview.SystemDataResponse>;
45
+ /**
46
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
47
+ */
48
+ readonly type: pulumi.Output<string>;
49
+ /**
50
+ * Create a Catalog resource with the given unique name, arguments, and options.
51
+ *
52
+ * @param name The _unique_ name of the resource.
53
+ * @param args The arguments to use to populate this resource's properties.
54
+ * @param opts A bag of options that control this resource's behavior.
55
+ */
56
+ constructor(name: string, args: CatalogArgs, opts?: pulumi.CustomResourceOptions);
57
+ }
58
+ /**
59
+ * The set of arguments for constructing a Catalog resource.
60
+ */
61
+ export interface CatalogArgs {
62
+ /**
63
+ * Properties for an Azure DevOps catalog type.
64
+ */
65
+ adoGit?: pulumi.Input<inputs.devcenter.v20220901preview.GitCatalogArgs>;
66
+ /**
67
+ * The name of the Catalog.
68
+ */
69
+ catalogName?: pulumi.Input<string>;
70
+ /**
71
+ * The name of the devcenter.
72
+ */
73
+ devCenterName: pulumi.Input<string>;
74
+ /**
75
+ * Properties for a GitHub catalog type.
76
+ */
77
+ gitHub?: pulumi.Input<inputs.devcenter.v20220901preview.GitCatalogArgs>;
78
+ /**
79
+ * Name of the resource group within the Azure subscription.
80
+ */
81
+ resourceGroupName: pulumi.Input<string>;
82
+ }
@@ -0,0 +1,79 @@
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.Catalog = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Represents a catalog.
10
+ */
11
+ class Catalog extends pulumi.CustomResource {
12
+ /**
13
+ * Create a Catalog resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.devCenterName === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'devCenterName'");
25
+ }
26
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'resourceGroupName'");
28
+ }
29
+ resourceInputs["adoGit"] = args ? args.adoGit : undefined;
30
+ resourceInputs["catalogName"] = args ? args.catalogName : undefined;
31
+ resourceInputs["devCenterName"] = args ? args.devCenterName : undefined;
32
+ resourceInputs["gitHub"] = args ? args.gitHub : undefined;
33
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
34
+ resourceInputs["lastSyncTime"] = undefined /*out*/;
35
+ resourceInputs["name"] = undefined /*out*/;
36
+ resourceInputs["provisioningState"] = undefined /*out*/;
37
+ resourceInputs["systemData"] = undefined /*out*/;
38
+ resourceInputs["type"] = undefined /*out*/;
39
+ }
40
+ else {
41
+ resourceInputs["adoGit"] = undefined /*out*/;
42
+ resourceInputs["gitHub"] = undefined /*out*/;
43
+ resourceInputs["lastSyncTime"] = undefined /*out*/;
44
+ resourceInputs["name"] = undefined /*out*/;
45
+ resourceInputs["provisioningState"] = undefined /*out*/;
46
+ resourceInputs["systemData"] = undefined /*out*/;
47
+ resourceInputs["type"] = undefined /*out*/;
48
+ }
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
50
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Catalog" }] };
51
+ opts = pulumi.mergeOptions(opts, aliasOpts);
52
+ super(Catalog.__pulumiType, name, resourceInputs, opts);
53
+ }
54
+ /**
55
+ * Get an existing Catalog resource's state with the given name, ID, and optional extra
56
+ * properties used to qualify the lookup.
57
+ *
58
+ * @param name The _unique_ name of the resulting resource.
59
+ * @param id The _unique_ provider ID of the resource to lookup.
60
+ * @param opts Optional settings to control the behavior of the CustomResource.
61
+ */
62
+ static get(name, id, opts) {
63
+ return new Catalog(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
64
+ }
65
+ /**
66
+ * Returns true if the given object is an instance of Catalog. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj) {
70
+ if (obj === undefined || obj === null) {
71
+ return false;
72
+ }
73
+ return obj['__pulumiType'] === Catalog.__pulumiType;
74
+ }
75
+ }
76
+ exports.Catalog = Catalog;
77
+ /** @internal */
78
+ Catalog.__pulumiType = 'azure-native:devcenter/v20220901preview:Catalog';
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0YWxvZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RldmNlbnRlci92MjAyMjA5MDFwcmV2aWV3L2NhdGFsb2cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsTUFBYSxPQUFRLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUF3RDlDOzs7Ozs7T0FNRztJQUNILFlBQVksSUFBWSxFQUFFLElBQWlCLEVBQUUsSUFBbUM7UUFDNUUsSUFBSSxjQUFjLEdBQWtCLEVBQUUsQ0FBQztRQUN2QyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUUsQ0FBQztRQUNsQixJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsRUFBRTtZQUNWLElBQUksQ0FBQyxDQUFDLElBQUksSUFBSSxJQUFJLENBQUMsYUFBYSxLQUFLLFNBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtnQkFDMUQsTUFBTSxJQUFJLEtBQUssQ0FBQywyQ0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vRkQ7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLE9BQU8sQ0FBQyxJQUFJLEVBQUUsU0FBZ0Isa0NBQU8sSUFBSSxLQUFFLEVBQUUsRUFBRSxFQUFFLElBQUcsQ0FBQztJQUNwRSxDQUFDO0lBS0Q7OztPQUdHO0lBQ0ksTUFBTSxDQUFDLFVBQVUsQ0FBQyxHQUFRO1FBQzdCLElBQUksR0FBRyxLQUFLLFNBQVMsSUFBSSxHQUFHLEtBQUssSUFBSSxFQUFFO1lBQ25DLE9BQU8sS0FBSyxDQUFDO1NBQ2hCO1FBQ0QsT0FBTyxHQUFHLENBQUMsY0FBYyxDQUFDLEtBQUssT0FBTyxDQUFDLFlBQVksQ0FBQztJQUN4RCxDQUFDOztBQXpCTCwwQkFpR0M7QUFwRkcsZ0JBQWdCO0FBQ08sb0JBQVksR0FBRyxpREFBaUQsQ0FBQyJ9
@@ -0,0 +1,118 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * Represents a definition for a Developer Machine.
5
+ */
6
+ export declare class DevBoxDefinition extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing DevBoxDefinition resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DevBoxDefinition;
16
+ /**
17
+ * Returns true if the given object is an instance of DevBoxDefinition. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is DevBoxDefinition;
21
+ /**
22
+ * Image reference information for the currently active image (only populated during updates).
23
+ */
24
+ readonly activeImageReference: pulumi.Output<outputs.devcenter.v20220901preview.ImageReferenceResponse>;
25
+ /**
26
+ * Image reference information.
27
+ */
28
+ readonly imageReference: pulumi.Output<outputs.devcenter.v20220901preview.ImageReferenceResponse>;
29
+ /**
30
+ * Details for image validator error. Populated when the image validation is not successful.
31
+ */
32
+ readonly imageValidationErrorDetails: pulumi.Output<outputs.devcenter.v20220901preview.ImageValidationErrorDetailsResponse>;
33
+ /**
34
+ * Validation status of the configured image.
35
+ */
36
+ readonly imageValidationStatus: pulumi.Output<string>;
37
+ /**
38
+ * The geo-location where the resource lives
39
+ */
40
+ readonly location: pulumi.Output<string>;
41
+ /**
42
+ * The name of the resource
43
+ */
44
+ readonly name: pulumi.Output<string>;
45
+ /**
46
+ * The storage type used for the Operating System disk of Dev Boxes created using this definition.
47
+ */
48
+ readonly osStorageType: pulumi.Output<string>;
49
+ /**
50
+ * The provisioning state of the resource.
51
+ */
52
+ readonly provisioningState: pulumi.Output<string>;
53
+ /**
54
+ * The SKU for Dev Boxes created using this definition.
55
+ */
56
+ readonly sku: pulumi.Output<outputs.devcenter.v20220901preview.SkuResponse>;
57
+ /**
58
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
59
+ */
60
+ readonly systemData: pulumi.Output<outputs.devcenter.v20220901preview.SystemDataResponse>;
61
+ /**
62
+ * Resource tags.
63
+ */
64
+ readonly tags: pulumi.Output<{
65
+ [key: string]: string;
66
+ } | undefined>;
67
+ /**
68
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
69
+ */
70
+ readonly type: pulumi.Output<string>;
71
+ /**
72
+ * Create a DevBoxDefinition resource with the given unique name, arguments, and options.
73
+ *
74
+ * @param name The _unique_ name of the resource.
75
+ * @param args The arguments to use to populate this resource's properties.
76
+ * @param opts A bag of options that control this resource's behavior.
77
+ */
78
+ constructor(name: string, args: DevBoxDefinitionArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * The set of arguments for constructing a DevBoxDefinition resource.
82
+ */
83
+ export interface DevBoxDefinitionArgs {
84
+ /**
85
+ * The name of the Dev Box definition.
86
+ */
87
+ devBoxDefinitionName?: pulumi.Input<string>;
88
+ /**
89
+ * The name of the devcenter.
90
+ */
91
+ devCenterName: pulumi.Input<string>;
92
+ /**
93
+ * Image reference information.
94
+ */
95
+ imageReference: pulumi.Input<inputs.devcenter.v20220901preview.ImageReferenceArgs>;
96
+ /**
97
+ * The geo-location where the resource lives
98
+ */
99
+ location?: pulumi.Input<string>;
100
+ /**
101
+ * The storage type used for the Operating System disk of Dev Boxes created using this definition.
102
+ */
103
+ osStorageType: pulumi.Input<string>;
104
+ /**
105
+ * Name of the resource group within the Azure subscription.
106
+ */
107
+ resourceGroupName: pulumi.Input<string>;
108
+ /**
109
+ * The SKU for Dev Boxes created using this definition.
110
+ */
111
+ sku: pulumi.Input<inputs.devcenter.v20220901preview.SkuArgs>;
112
+ /**
113
+ * Resource tags.
114
+ */
115
+ tags?: pulumi.Input<{
116
+ [key: string]: pulumi.Input<string>;
117
+ }>;
118
+ }
@@ -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.DevBoxDefinition = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Represents a definition for a Developer Machine.
10
+ */
11
+ class DevBoxDefinition extends pulumi.CustomResource {
12
+ /**
13
+ * Create a DevBoxDefinition resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.devCenterName === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'devCenterName'");
25
+ }
26
+ if ((!args || args.imageReference === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'imageReference'");
28
+ }
29
+ if ((!args || args.osStorageType === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'osStorageType'");
31
+ }
32
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
33
+ throw new Error("Missing required property 'resourceGroupName'");
34
+ }
35
+ if ((!args || args.sku === undefined) && !opts.urn) {
36
+ throw new Error("Missing required property 'sku'");
37
+ }
38
+ resourceInputs["devBoxDefinitionName"] = args ? args.devBoxDefinitionName : undefined;
39
+ resourceInputs["devCenterName"] = args ? args.devCenterName : undefined;
40
+ resourceInputs["imageReference"] = args ? args.imageReference : undefined;
41
+ resourceInputs["location"] = args ? args.location : undefined;
42
+ resourceInputs["osStorageType"] = args ? args.osStorageType : undefined;
43
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
44
+ resourceInputs["sku"] = args ? args.sku : undefined;
45
+ resourceInputs["tags"] = args ? args.tags : undefined;
46
+ resourceInputs["activeImageReference"] = undefined /*out*/;
47
+ resourceInputs["imageValidationErrorDetails"] = undefined /*out*/;
48
+ resourceInputs["imageValidationStatus"] = undefined /*out*/;
49
+ resourceInputs["name"] = undefined /*out*/;
50
+ resourceInputs["provisioningState"] = undefined /*out*/;
51
+ resourceInputs["systemData"] = undefined /*out*/;
52
+ resourceInputs["type"] = undefined /*out*/;
53
+ }
54
+ else {
55
+ resourceInputs["activeImageReference"] = undefined /*out*/;
56
+ resourceInputs["imageReference"] = undefined /*out*/;
57
+ resourceInputs["imageValidationErrorDetails"] = undefined /*out*/;
58
+ resourceInputs["imageValidationStatus"] = undefined /*out*/;
59
+ resourceInputs["location"] = undefined /*out*/;
60
+ resourceInputs["name"] = undefined /*out*/;
61
+ resourceInputs["osStorageType"] = undefined /*out*/;
62
+ resourceInputs["provisioningState"] = undefined /*out*/;
63
+ resourceInputs["sku"] = 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:DevBoxDefinition" }] };
70
+ opts = pulumi.mergeOptions(opts, aliasOpts);
71
+ super(DevBoxDefinition.__pulumiType, name, resourceInputs, opts);
72
+ }
73
+ /**
74
+ * Get an existing DevBoxDefinition 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 DevBoxDefinition(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
83
+ }
84
+ /**
85
+ * Returns true if the given object is an instance of DevBoxDefinition. 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'] === DevBoxDefinition.__pulumiType;
93
+ }
94
+ }
95
+ exports.DevBoxDefinition = DevBoxDefinition;
96
+ /** @internal */
97
+ DevBoxDefinition.__pulumiType = 'azure-native:devcenter/v20220901preview:DevBoxDefinition';
98
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV2Qm94RGVmaW5pdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RldmNlbnRlci92MjAyMjA5MDFwcmV2aWV3L2RldkJveERlZmluaXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QU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BQUM7SUFLRDs7O09BR0c7SUFDSSxNQUFNLENBQUMsVUFBVSxDQUFDLEdBQVE7UUFDN0IsSUFBSSxHQUFHLEtBQUssU0FBUyxJQUFJLEdBQUcsS0FBSyxJQUFJLEVBQUU7WUFDbkMsT0FBTyxLQUFLLENBQUM7U0FDaEI7UUFDRCxPQUFPLEdBQUcsQ0FBQyxjQUFjLENBQUMsS0FBSyxnQkFBZ0IsQ0FBQyxZQUFZLENBQUM7SUFDakUsQ0FBQzs7QUF6QkwsNENBd0lDO0FBM0hHLGdCQUFnQjtBQUNPLDZCQUFZLEdBQUcsMERBQTBELENBQUMifQ==
@@ -0,0 +1,86 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * Represents a devcenter resource.
5
+ */
6
+ export declare class DevCenter extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing DevCenter resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DevCenter;
16
+ /**
17
+ * Returns true if the given object is an instance of DevCenter. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is DevCenter;
21
+ /**
22
+ * Managed identity properties
23
+ */
24
+ readonly identity: pulumi.Output<outputs.devcenter.v20220901preview.ManagedServiceIdentityResponse | undefined>;
25
+ /**
26
+ * The geo-location where the resource lives
27
+ */
28
+ readonly location: pulumi.Output<string>;
29
+ /**
30
+ * The name of the resource
31
+ */
32
+ readonly name: pulumi.Output<string>;
33
+ /**
34
+ * The provisioning state of the resource.
35
+ */
36
+ readonly provisioningState: pulumi.Output<string>;
37
+ /**
38
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
39
+ */
40
+ readonly systemData: pulumi.Output<outputs.devcenter.v20220901preview.SystemDataResponse>;
41
+ /**
42
+ * Resource tags.
43
+ */
44
+ readonly tags: pulumi.Output<{
45
+ [key: string]: string;
46
+ } | undefined>;
47
+ /**
48
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
49
+ */
50
+ readonly type: pulumi.Output<string>;
51
+ /**
52
+ * Create a DevCenter resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args: DevCenterArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * The set of arguments for constructing a DevCenter resource.
62
+ */
63
+ export interface DevCenterArgs {
64
+ /**
65
+ * The name of the devcenter.
66
+ */
67
+ devCenterName?: pulumi.Input<string>;
68
+ /**
69
+ * Managed identity properties
70
+ */
71
+ identity?: pulumi.Input<inputs.devcenter.v20220901preview.ManagedServiceIdentityArgs>;
72
+ /**
73
+ * The geo-location where the resource lives
74
+ */
75
+ location?: pulumi.Input<string>;
76
+ /**
77
+ * Name of the resource group within the Azure subscription.
78
+ */
79
+ resourceGroupName: pulumi.Input<string>;
80
+ /**
81
+ * Resource tags.
82
+ */
83
+ tags?: pulumi.Input<{
84
+ [key: string]: pulumi.Input<string>;
85
+ }>;
86
+ }
@@ -0,0 +1,75 @@
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.DevCenter = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Represents a devcenter resource.
10
+ */
11
+ class DevCenter extends pulumi.CustomResource {
12
+ /**
13
+ * Create a DevCenter resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'resourceGroupName'");
25
+ }
26
+ resourceInputs["devCenterName"] = args ? args.devCenterName : undefined;
27
+ resourceInputs["identity"] = args ? args.identity : undefined;
28
+ resourceInputs["location"] = args ? args.location : undefined;
29
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
30
+ resourceInputs["tags"] = args ? args.tags : undefined;
31
+ resourceInputs["name"] = undefined /*out*/;
32
+ resourceInputs["provisioningState"] = undefined /*out*/;
33
+ resourceInputs["systemData"] = undefined /*out*/;
34
+ resourceInputs["type"] = undefined /*out*/;
35
+ }
36
+ else {
37
+ resourceInputs["identity"] = undefined /*out*/;
38
+ resourceInputs["location"] = undefined /*out*/;
39
+ resourceInputs["name"] = undefined /*out*/;
40
+ resourceInputs["provisioningState"] = undefined /*out*/;
41
+ resourceInputs["systemData"] = undefined /*out*/;
42
+ resourceInputs["tags"] = undefined /*out*/;
43
+ resourceInputs["type"] = undefined /*out*/;
44
+ }
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
46
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:DevCenter" }] };
47
+ opts = pulumi.mergeOptions(opts, aliasOpts);
48
+ super(DevCenter.__pulumiType, name, resourceInputs, opts);
49
+ }
50
+ /**
51
+ * Get an existing DevCenter resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name, id, opts) {
59
+ return new DevCenter(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
60
+ }
61
+ /**
62
+ * Returns true if the given object is an instance of DevCenter. This is designed to work even
63
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
+ */
65
+ static isInstance(obj) {
66
+ if (obj === undefined || obj === null) {
67
+ return false;
68
+ }
69
+ return obj['__pulumiType'] === DevCenter.__pulumiType;
70
+ }
71
+ }
72
+ exports.DevCenter = DevCenter;
73
+ /** @internal */
74
+ DevCenter.__pulumiType = 'azure-native:devcenter/v20220901preview:DevCenter';
75
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV2Q2VudGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vZGV2Y2VudGVyL3YyMDIyMDkwMXByZXZpZXcvZGV2Q2VudGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3RUFBd0U7QUFDeEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBRXpDLDZDQUE2QztBQUU3Qzs7R0FFRztBQUNILE1BQWEsU0FBVSxTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBd0RoRDs7Ozs7O09BTUc7SUFDSCxZQUFZLElBQVksRUFBRSxJQUFtQixFQUFFLElBQW1DO1FBQzlFLElBQUksY0FBYyxHQUFrQixFQUFFLENBQUM7UUFDdkMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFLENBQUM7UUFDbEIsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLEVBQUU7WUFDVixJQUFJLENBQUMsQ0FBQyxJQUFJLElBQUksSUFBSSxDQUFDLGlCQUFpQixLQUFLLFNBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtnQkFDOUQsTUFBTSxJQUFJLEtBQUssQ0FBQywrQ0FBK0MsQ0FBQyxDQUFDO2FBQ3BFO1lBQ0QsY0FBYyxDQUFDLGVBQWUsQ0FBQyxH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BSyxJQUFJLEVBQUU7WUFDbkMsT0FBTyxLQUFLLENBQUM7U0FDaEI7UUFDRCxPQUFPLEdBQUcsQ0FBQyxjQUFjLENBQUMsS0FBSyxTQUFTLENBQUMsWUFBWSxDQUFDO0lBQzFELENBQUM7O0FBekJMLDhCQTZGQztBQWhGRyxnQkFBZ0I7QUFDTyxzQkFBWSxHQUFHLG1EQUFtRCxDQUFDIn0=
@@ -0,0 +1,74 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../../types";
3
+ /**
4
+ * Represents an environment type.
5
+ */
6
+ export declare class EnvironmentType extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing EnvironmentType resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EnvironmentType;
16
+ /**
17
+ * Returns true if the given object is an instance of EnvironmentType. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is EnvironmentType;
21
+ /**
22
+ * The name of the resource
23
+ */
24
+ readonly name: pulumi.Output<string>;
25
+ /**
26
+ * The provisioning state of the resource.
27
+ */
28
+ readonly provisioningState: pulumi.Output<string>;
29
+ /**
30
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
31
+ */
32
+ readonly systemData: pulumi.Output<outputs.devcenter.v20220901preview.SystemDataResponse>;
33
+ /**
34
+ * Resource tags.
35
+ */
36
+ readonly tags: pulumi.Output<{
37
+ [key: string]: string;
38
+ } | undefined>;
39
+ /**
40
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
41
+ */
42
+ readonly type: pulumi.Output<string>;
43
+ /**
44
+ * Create a EnvironmentType resource with the given unique name, arguments, and options.
45
+ *
46
+ * @param name The _unique_ name of the resource.
47
+ * @param args The arguments to use to populate this resource's properties.
48
+ * @param opts A bag of options that control this resource's behavior.
49
+ */
50
+ constructor(name: string, args: EnvironmentTypeArgs, opts?: pulumi.CustomResourceOptions);
51
+ }
52
+ /**
53
+ * The set of arguments for constructing a EnvironmentType resource.
54
+ */
55
+ export interface EnvironmentTypeArgs {
56
+ /**
57
+ * The name of the devcenter.
58
+ */
59
+ devCenterName: pulumi.Input<string>;
60
+ /**
61
+ * The name of the environment type.
62
+ */
63
+ environmentTypeName?: pulumi.Input<string>;
64
+ /**
65
+ * Name of the resource group within the Azure subscription.
66
+ */
67
+ resourceGroupName: pulumi.Input<string>;
68
+ /**
69
+ * Resource tags.
70
+ */
71
+ tags?: pulumi.Input<{
72
+ [key: string]: pulumi.Input<string>;
73
+ }>;
74
+ }