@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,97 @@
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
+ */
11
+ class Pool extends pulumi.CustomResource {
12
+ /**
13
+ * Create a Pool 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.devBoxDefinitionName === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'devBoxDefinitionName'");
25
+ }
26
+ if ((!args || args.licenseType === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'licenseType'");
28
+ }
29
+ if ((!args || args.localAdministrator === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'localAdministrator'");
31
+ }
32
+ if ((!args || args.networkConnectionName === undefined) && !opts.urn) {
33
+ throw new Error("Missing required property 'networkConnectionName'");
34
+ }
35
+ if ((!args || args.projectName === undefined) && !opts.urn) {
36
+ throw new Error("Missing required property 'projectName'");
37
+ }
38
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
39
+ throw new Error("Missing required property 'resourceGroupName'");
40
+ }
41
+ resourceInputs["devBoxDefinitionName"] = args ? args.devBoxDefinitionName : undefined;
42
+ resourceInputs["licenseType"] = args ? args.licenseType : undefined;
43
+ resourceInputs["localAdministrator"] = args ? args.localAdministrator : undefined;
44
+ resourceInputs["location"] = args ? args.location : undefined;
45
+ resourceInputs["networkConnectionName"] = args ? args.networkConnectionName : undefined;
46
+ resourceInputs["poolName"] = args ? args.poolName : undefined;
47
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
48
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
49
+ resourceInputs["tags"] = args ? args.tags : undefined;
50
+ resourceInputs["name"] = undefined /*out*/;
51
+ resourceInputs["provisioningState"] = undefined /*out*/;
52
+ resourceInputs["systemData"] = undefined /*out*/;
53
+ resourceInputs["type"] = undefined /*out*/;
54
+ }
55
+ else {
56
+ resourceInputs["devBoxDefinitionName"] = undefined /*out*/;
57
+ resourceInputs["licenseType"] = undefined /*out*/;
58
+ resourceInputs["localAdministrator"] = undefined /*out*/;
59
+ resourceInputs["location"] = undefined /*out*/;
60
+ resourceInputs["name"] = undefined /*out*/;
61
+ resourceInputs["networkConnectionName"] = undefined /*out*/;
62
+ resourceInputs["provisioningState"] = undefined /*out*/;
63
+ resourceInputs["systemData"] = undefined /*out*/;
64
+ resourceInputs["tags"] = undefined /*out*/;
65
+ resourceInputs["type"] = undefined /*out*/;
66
+ }
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Pool" }] };
69
+ opts = pulumi.mergeOptions(opts, aliasOpts);
70
+ super(Pool.__pulumiType, name, resourceInputs, opts);
71
+ }
72
+ /**
73
+ * Get an existing Pool resource's state with the given name, ID, and optional extra
74
+ * properties used to qualify the lookup.
75
+ *
76
+ * @param name The _unique_ name of the resulting resource.
77
+ * @param id The _unique_ provider ID of the resource to lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name, id, opts) {
81
+ return new Pool(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
82
+ }
83
+ /**
84
+ * Returns true if the given object is an instance of Pool. This is designed to work even
85
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
+ */
87
+ static isInstance(obj) {
88
+ if (obj === undefined || obj === null) {
89
+ return false;
90
+ }
91
+ return obj['__pulumiType'] === Pool.__pulumiType;
92
+ }
93
+ }
94
+ exports.Pool = Pool;
95
+ /** @internal */
96
+ Pool.__pulumiType = 'azure-native:devcenter/v20220901preview:Pool';
97
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9vbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RldmNlbnRlci92MjAyMjA5MDFwcmV2aWV3L3Bvb2wudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsTUFBYSxJQUFLLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUFvRTNDOzs7Ozs7T0FNRztJQUNILFlBQVksSUFBWSxFQUFFLElBQWMsRUFBRSxJQUFtQztRQUN6RSxJQUFJLGNBQWMsR0FBa0IsRUFBRSxDQUFDO1FBQ3ZDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRSxDQUFDO1FBQ2xCLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxFQUFFO1lBQ1YsSUFBSSxDQUFDLENBQUMsSUFBSSxJQUFJLElBQUksQ0FBQyxvQkFBb0IsS0FBSyxTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLEVBQUU7Z0JBQ2pFLE1BQU0sSUFBSSxLQUFLLENBQUMsa0RBQWtELENBQUMsQ0FB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QyxDQUFDO1FBQ25FLE1BQU0sU0FBUyxHQUFHLEVBQUUsT0FBTyxFQUFFLENBQUMsRUFBRSxJQUFJLEVBQUUsOENBQThDLEVBQUUsQ0FBQyxFQUFFLENBQUM7UUFDMUYsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsSUFBSSxFQUFFLFNBQVMsQ0FBQyxDQUFDO1FBQzVDLEtBQUssQ0FBQyxJQUFJLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDekQsQ0FBQztJQTdIRDs7Ozs7OztPQU9HO0lBQ0ksTUFBTSxDQUFDLEdBQUcsQ0FBQyxJQUFZLEVBQUUsRUFBMkIsRUFBRSxJQUFtQztRQUM1RixPQUFPLElBQUksSUFBSSxDQUFDLElBQUksRUFBRSxTQUFnQixrQ0FBTyxJQUFJLEtBQUUsRUFBRSxFQUFFLEVBQUUsSUFBRyxDQUFDO0lBQ2pFLENBQUM7SUFLRDs7O09BR0c7SUFDSSxNQUFNLENBQUMsVUFBVSxDQUFDLEdBQVE7UUFDN0IsSUFBSSxHQUFHLEtBQUssU0FBUyxJQUFJLEdBQUcsS0FBSyxJQUFJLEVBQUU7WUFDbkMsT0FBTyxLQUFLLENBQUM7U0FDaEI7UUFDRCxPQUFPLEdBQUcsQ0FBQyxjQUFjLENBQUMsS0FBSyxJQUFJLENBQUMsWUFBWSxDQUFDO0lBQ3JELENBQUM7O0FBekJMLG9CQStIQztBQWxIRyxnQkFBZ0I7QUFDTyxpQkFBWSxHQUFHLDhDQUE4QyxDQUFDIn0=
@@ -0,0 +1,94 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../../types";
3
+ /**
4
+ * Represents a project resource.
5
+ */
6
+ export declare class Project extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Project 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): Project;
16
+ /**
17
+ * Returns true if the given object is an instance of Project. 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 Project;
21
+ /**
22
+ * Description of the project.
23
+ */
24
+ readonly description: pulumi.Output<string | undefined>;
25
+ /**
26
+ * Resource Id of an associated DevCenter
27
+ */
28
+ readonly devCenterId: pulumi.Output<string | undefined>;
29
+ /**
30
+ * The geo-location where the resource lives
31
+ */
32
+ readonly location: 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
+ * Resource tags.
47
+ */
48
+ readonly tags: pulumi.Output<{
49
+ [key: string]: string;
50
+ } | undefined>;
51
+ /**
52
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
53
+ */
54
+ readonly type: pulumi.Output<string>;
55
+ /**
56
+ * Create a Project resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions);
63
+ }
64
+ /**
65
+ * The set of arguments for constructing a Project resource.
66
+ */
67
+ export interface ProjectArgs {
68
+ /**
69
+ * Description of the project.
70
+ */
71
+ description?: pulumi.Input<string>;
72
+ /**
73
+ * Resource Id of an associated DevCenter
74
+ */
75
+ devCenterId?: pulumi.Input<string>;
76
+ /**
77
+ * The geo-location where the resource lives
78
+ */
79
+ location?: pulumi.Input<string>;
80
+ /**
81
+ * The name of the project.
82
+ */
83
+ projectName?: pulumi.Input<string>;
84
+ /**
85
+ * Name of the resource group within the Azure subscription.
86
+ */
87
+ resourceGroupName: pulumi.Input<string>;
88
+ /**
89
+ * Resource tags.
90
+ */
91
+ tags?: pulumi.Input<{
92
+ [key: string]: pulumi.Input<string>;
93
+ }>;
94
+ }
@@ -0,0 +1,77 @@
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
+ */
11
+ class Project extends pulumi.CustomResource {
12
+ /**
13
+ * Create a Project 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["description"] = args ? args.description : undefined;
27
+ resourceInputs["devCenterId"] = args ? args.devCenterId : undefined;
28
+ resourceInputs["location"] = args ? args.location : undefined;
29
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
30
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
31
+ resourceInputs["tags"] = args ? args.tags : undefined;
32
+ resourceInputs["name"] = undefined /*out*/;
33
+ resourceInputs["provisioningState"] = undefined /*out*/;
34
+ resourceInputs["systemData"] = undefined /*out*/;
35
+ resourceInputs["type"] = undefined /*out*/;
36
+ }
37
+ else {
38
+ resourceInputs["description"] = undefined /*out*/;
39
+ resourceInputs["devCenterId"] = undefined /*out*/;
40
+ resourceInputs["location"] = undefined /*out*/;
41
+ resourceInputs["name"] = undefined /*out*/;
42
+ resourceInputs["provisioningState"] = undefined /*out*/;
43
+ resourceInputs["systemData"] = undefined /*out*/;
44
+ resourceInputs["tags"] = undefined /*out*/;
45
+ resourceInputs["type"] = undefined /*out*/;
46
+ }
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
48
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:Project" }] };
49
+ opts = pulumi.mergeOptions(opts, aliasOpts);
50
+ super(Project.__pulumiType, name, resourceInputs, opts);
51
+ }
52
+ /**
53
+ * Get an existing Project resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name, id, opts) {
61
+ return new Project(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
62
+ }
63
+ /**
64
+ * Returns true if the given object is an instance of Project. This is designed to work even
65
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
+ */
67
+ static isInstance(obj) {
68
+ if (obj === undefined || obj === null) {
69
+ return false;
70
+ }
71
+ return obj['__pulumiType'] === Project.__pulumiType;
72
+ }
73
+ }
74
+ exports.Project = Project;
75
+ /** @internal */
76
+ Project.__pulumiType = 'azure-native:devcenter/v20220901preview:Project';
77
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RldmNlbnRlci92MjAyMjA5MDFwcmV2aWV3L3Byb2plY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN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QUM5QztRQUNELElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxvQkFBb0IsRUFBRSxFQUFFLElBQUksQ0FBQyxDQUFDO1FBQ25FLE1BQU0sU0FBUyxHQUFHLEVBQUUsT0FBTyxFQUFFLENBQUMsRUFBRSxJQUFJLEVBQUUsaURBQWlELEVBQUUsQ0FBQyxFQUFFLENBQUM7UUFDN0YsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsSUFBSSxFQUFFLFNBQVMsQ0FBQyxDQUFDO1FBQzVDLEtBQUssQ0FBQyxPQUFPLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDNUQsQ0FBQztJQWpHRDs7Ozs7OztPQU9HO0lBQ0ksTUFBTSxDQUFDLEdBQUcsQ0FBQyxJQUFZLEVBQUUsRUFBMkIsRUFBRSxJQUFtQztRQUM1RixPQUFPLElBQUksT0FBTyxDQUFDLElBQUksRUFBRSxTQUFnQixrQ0FBTyxJQUFJLEtBQUUsRUFBRSxFQUFFLEVBQUUsSUFBRyxDQUFDO0lBQ3BFLENBQUM7SUFLRDs7O09BR0c7SUFDSSxNQUFNLENBQUMsVUFBVSxDQUFDLEdBQVE7UUFDN0IsSUFBSSxHQUFHLEtBQUssU0FBUyxJQUFJLEdBQUcsS0FBSyxJQUFJLEVBQUU7WUFDbkMsT0FBTyxLQUFLLENBQUM7U0FDaEI7UUFDRCxPQUFPLEdBQUcsQ0FBQyxjQUFjLENBQUMsS0FBSyxPQUFPLENBQUMsWUFBWSxDQUFDO0lBQ3hELENBQUM7O0FBekJMLDBCQW1HQztBQXRGRyxnQkFBZ0I7QUFDTyxvQkFBWSxHQUFHLGlEQUFpRCxDQUFDIn0=
@@ -0,0 +1,126 @@
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
+ */
6
+ export declare class ProjectEnvironmentType extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing ProjectEnvironmentType 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): ProjectEnvironmentType;
16
+ /**
17
+ * Returns true if the given object is an instance of ProjectEnvironmentType. 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 ProjectEnvironmentType;
21
+ /**
22
+ * The role definition assigned to the environment creator on backing resources.
23
+ */
24
+ readonly creatorRoleAssignment: pulumi.Output<outputs.devcenter.v20220901preview.ProjectEnvironmentTypeUpdatePropertiesResponseCreatorRoleAssignment | undefined>;
25
+ /**
26
+ * Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
27
+ */
28
+ readonly deploymentTargetId: pulumi.Output<string | undefined>;
29
+ /**
30
+ * Managed identity properties
31
+ */
32
+ readonly identity: pulumi.Output<outputs.devcenter.v20220901preview.ManagedServiceIdentityResponse | undefined>;
33
+ /**
34
+ * The geo-location for the environment type
35
+ */
36
+ readonly location: pulumi.Output<string | undefined>;
37
+ /**
38
+ * The name of the resource
39
+ */
40
+ readonly name: pulumi.Output<string>;
41
+ /**
42
+ * The provisioning state of the resource.
43
+ */
44
+ readonly provisioningState: pulumi.Output<string>;
45
+ /**
46
+ * Defines whether this Environment Type can be used in this Project.
47
+ */
48
+ readonly status: pulumi.Output<string | undefined>;
49
+ /**
50
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
51
+ */
52
+ readonly systemData: pulumi.Output<outputs.devcenter.v20220901preview.SystemDataResponse>;
53
+ /**
54
+ * Resource tags.
55
+ */
56
+ readonly tags: pulumi.Output<{
57
+ [key: string]: string;
58
+ } | undefined>;
59
+ /**
60
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
61
+ */
62
+ readonly type: pulumi.Output<string>;
63
+ /**
64
+ * Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
65
+ */
66
+ readonly userRoleAssignments: pulumi.Output<{
67
+ [key: string]: outputs.devcenter.v20220901preview.UserRoleAssignmentResponse;
68
+ } | undefined>;
69
+ /**
70
+ * Create a ProjectEnvironmentType resource with the given unique name, arguments, and options.
71
+ *
72
+ * @param name The _unique_ name of the resource.
73
+ * @param args The arguments to use to populate this resource's properties.
74
+ * @param opts A bag of options that control this resource's behavior.
75
+ */
76
+ constructor(name: string, args: ProjectEnvironmentTypeArgs, opts?: pulumi.CustomResourceOptions);
77
+ }
78
+ /**
79
+ * The set of arguments for constructing a ProjectEnvironmentType resource.
80
+ */
81
+ export interface ProjectEnvironmentTypeArgs {
82
+ /**
83
+ * The role definition assigned to the environment creator on backing resources.
84
+ */
85
+ creatorRoleAssignment?: pulumi.Input<inputs.devcenter.v20220901preview.ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignmentArgs>;
86
+ /**
87
+ * Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
88
+ */
89
+ deploymentTargetId?: pulumi.Input<string>;
90
+ /**
91
+ * The name of the environment type.
92
+ */
93
+ environmentTypeName?: pulumi.Input<string>;
94
+ /**
95
+ * Managed identity properties
96
+ */
97
+ identity?: pulumi.Input<inputs.devcenter.v20220901preview.ManagedServiceIdentityArgs>;
98
+ /**
99
+ * The geo-location for the environment type
100
+ */
101
+ location?: pulumi.Input<string>;
102
+ /**
103
+ * The name of the project.
104
+ */
105
+ projectName: pulumi.Input<string>;
106
+ /**
107
+ * Name of the resource group within the Azure subscription.
108
+ */
109
+ resourceGroupName: pulumi.Input<string>;
110
+ /**
111
+ * Defines whether this Environment Type can be used in this Project.
112
+ */
113
+ status?: pulumi.Input<string | enums.devcenter.v20220901preview.EnableStatus>;
114
+ /**
115
+ * Resource tags.
116
+ */
117
+ tags?: pulumi.Input<{
118
+ [key: string]: pulumi.Input<string>;
119
+ }>;
120
+ /**
121
+ * Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
122
+ */
123
+ userRoleAssignments?: pulumi.Input<{
124
+ [key: string]: pulumi.Input<inputs.devcenter.v20220901preview.UserRoleAssignmentArgs>;
125
+ }>;
126
+ }
@@ -0,0 +1,87 @@
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.ProjectEnvironmentType = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Represents an environment type.
10
+ */
11
+ class ProjectEnvironmentType extends pulumi.CustomResource {
12
+ /**
13
+ * Create a ProjectEnvironmentType 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.projectName === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'projectName'");
25
+ }
26
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
27
+ throw new Error("Missing required property 'resourceGroupName'");
28
+ }
29
+ resourceInputs["creatorRoleAssignment"] = args ? args.creatorRoleAssignment : undefined;
30
+ resourceInputs["deploymentTargetId"] = args ? args.deploymentTargetId : undefined;
31
+ resourceInputs["environmentTypeName"] = args ? args.environmentTypeName : undefined;
32
+ resourceInputs["identity"] = args ? args.identity : undefined;
33
+ resourceInputs["location"] = args ? args.location : undefined;
34
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
35
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
36
+ resourceInputs["status"] = args ? args.status : undefined;
37
+ resourceInputs["tags"] = args ? args.tags : undefined;
38
+ resourceInputs["userRoleAssignments"] = args ? args.userRoleAssignments : undefined;
39
+ resourceInputs["name"] = undefined /*out*/;
40
+ resourceInputs["provisioningState"] = undefined /*out*/;
41
+ resourceInputs["systemData"] = undefined /*out*/;
42
+ resourceInputs["type"] = undefined /*out*/;
43
+ }
44
+ else {
45
+ resourceInputs["creatorRoleAssignment"] = undefined /*out*/;
46
+ resourceInputs["deploymentTargetId"] = undefined /*out*/;
47
+ resourceInputs["identity"] = undefined /*out*/;
48
+ resourceInputs["location"] = undefined /*out*/;
49
+ resourceInputs["name"] = undefined /*out*/;
50
+ resourceInputs["provisioningState"] = undefined /*out*/;
51
+ resourceInputs["status"] = undefined /*out*/;
52
+ resourceInputs["systemData"] = undefined /*out*/;
53
+ resourceInputs["tags"] = undefined /*out*/;
54
+ resourceInputs["type"] = undefined /*out*/;
55
+ resourceInputs["userRoleAssignments"] = undefined /*out*/;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ const aliasOpts = { aliases: [{ type: "azure-native:devcenter/v20220801preview:ProjectEnvironmentType" }] };
59
+ opts = pulumi.mergeOptions(opts, aliasOpts);
60
+ super(ProjectEnvironmentType.__pulumiType, name, resourceInputs, opts);
61
+ }
62
+ /**
63
+ * Get an existing ProjectEnvironmentType resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param opts Optional settings to control the behavior of the CustomResource.
69
+ */
70
+ static get(name, id, opts) {
71
+ return new ProjectEnvironmentType(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
72
+ }
73
+ /**
74
+ * Returns true if the given object is an instance of ProjectEnvironmentType. This is designed to work even
75
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
76
+ */
77
+ static isInstance(obj) {
78
+ if (obj === undefined || obj === null) {
79
+ return false;
80
+ }
81
+ return obj['__pulumiType'] === ProjectEnvironmentType.__pulumiType;
82
+ }
83
+ }
84
+ exports.ProjectEnvironmentType = ProjectEnvironmentType;
85
+ /** @internal */
86
+ ProjectEnvironmentType.__pulumiType = 'azure-native:devcenter/v20220901preview:ProjectEnvironmentType';
87
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdEVudmlyb25tZW50VHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2RldmNlbnRlci92MjAyMjA5MDFwcmV2aWV3L3Byb2plY3RFbnZpcm9ubWVudFR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsTUFBYSxzQkFBdUIsU0FBUSxNQUFNLENBQUMsY0FBYztJQXdFN0Q7Ozs7OztPQU1HO0lBQ0gsWUFBWSxJQUFZLEVBQUUsSUFBZ0MsRUFBRSxJQUFtQztRQUMzRixJQUFJLGNBQWMsR0FBa0IsRUFBRSxDQUFDO1FBQ3ZDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRSxDQUFDO1FBQ2xCLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxFQUFFO1lBQ1YsSUFBSSxDQUFDLENBQUMsSUFBSSxJQUFJLElBQUksQ0FBQyxXQUFXLEtBQUssU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxFQUFFO2dCQUN4RCxNQUFNLElBQUksS0FBSyxDQUFDLHlDQUF5QyxDQUFDLENBQUM7YUFDOUQ7WUFDRCxJQUFJLENBQUMsQ0FBQyxJQUFJLElBQUksSUFBSSxDQUFDLGlCQUFpQixLQUFLLFNBQ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0FBRyxLQUFLLFNBQVMsSUFBSSxHQUFHLEtBQUssSUFBSSxFQUFFO1lBQ25DLE9BQU8sS0FBSyxDQUFDO1NBQ2hCO1FBQ0QsT0FBTyxHQUFHLENBQUMsY0FBYyxDQUFDLEtBQUssc0JBQXNCLENBQUMsWUFBWSxDQUFDO0lBQ3ZFLENBQUM7O0FBekJMLHdEQXlIQztBQTVHRyxnQkFBZ0I7QUFDTyxtQ0FBWSxHQUFHLGdFQUFnRSxDQUFDIn0=
@@ -0,0 +1,106 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs, enums } from "../../types";
3
+ /**
4
+ * Represents a Schedule to execute a task.
5
+ */
6
+ export declare class Schedule extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Schedule 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): Schedule;
16
+ /**
17
+ * Returns true if the given object is an instance of Schedule. 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 Schedule;
21
+ /**
22
+ * The frequency of this scheduled task.
23
+ */
24
+ readonly frequency: pulumi.Output<string>;
25
+ /**
26
+ * The name of the resource
27
+ */
28
+ readonly name: pulumi.Output<string>;
29
+ /**
30
+ * The provisioning state of the resource.
31
+ */
32
+ readonly provisioningState: pulumi.Output<string>;
33
+ /**
34
+ * Indicates whether or not this scheduled task is enabled.
35
+ */
36
+ readonly state: pulumi.Output<string | undefined>;
37
+ /**
38
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
39
+ */
40
+ readonly systemData: pulumi.Output<outputs.devcenter.v20220901preview.SystemDataResponse>;
41
+ /**
42
+ * The target time to trigger the action. The format is HH:MM.
43
+ */
44
+ readonly time: pulumi.Output<string>;
45
+ /**
46
+ * The IANA timezone id at which the schedule should execute.
47
+ */
48
+ readonly timeZone: pulumi.Output<string>;
49
+ /**
50
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
51
+ */
52
+ readonly type: pulumi.Output<string>;
53
+ /**
54
+ * Create a Schedule resource with the given unique name, arguments, and options.
55
+ *
56
+ * @param name The _unique_ name of the resource.
57
+ * @param args The arguments to use to populate this resource's properties.
58
+ * @param opts A bag of options that control this resource's behavior.
59
+ */
60
+ constructor(name: string, args: ScheduleArgs, opts?: pulumi.CustomResourceOptions);
61
+ }
62
+ /**
63
+ * The set of arguments for constructing a Schedule resource.
64
+ */
65
+ export interface ScheduleArgs {
66
+ /**
67
+ * The frequency of this scheduled task.
68
+ */
69
+ frequency: pulumi.Input<string | enums.devcenter.v20220901preview.ScheduledFrequency>;
70
+ /**
71
+ * Name of the pool.
72
+ */
73
+ poolName: pulumi.Input<string>;
74
+ /**
75
+ * The name of the project.
76
+ */
77
+ projectName: pulumi.Input<string>;
78
+ /**
79
+ * Name of the resource group within the Azure subscription.
80
+ */
81
+ resourceGroupName: pulumi.Input<string>;
82
+ /**
83
+ * The name of the schedule that uniquely identifies it.
84
+ */
85
+ scheduleName?: pulumi.Input<string>;
86
+ /**
87
+ * Indicates whether or not this scheduled task is enabled.
88
+ */
89
+ state?: pulumi.Input<string | enums.devcenter.v20220901preview.EnableStatus>;
90
+ /**
91
+ * The target time to trigger the action. The format is HH:MM.
92
+ */
93
+ time: pulumi.Input<string>;
94
+ /**
95
+ * The IANA timezone id at which the schedule should execute.
96
+ */
97
+ timeZone: pulumi.Input<string>;
98
+ /**
99
+ * The maximum number of resources to return from the operation. Example: '$top=10'.
100
+ */
101
+ top?: pulumi.Input<number>;
102
+ /**
103
+ * Supported type this scheduled task represents.
104
+ */
105
+ type: pulumi.Input<string | enums.devcenter.v20220901preview.ScheduledType>;
106
+ }