@pulumi/gcp 6.4.0 → 6.6.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 (107) hide show
  1. package/apigee/environmentIamBinding.d.ts +166 -0
  2. package/apigee/environmentIamBinding.js +155 -0
  3. package/apigee/environmentIamBinding.js.map +1 -0
  4. package/apigee/environmentIamMember.d.ts +166 -0
  5. package/apigee/environmentIamMember.js +155 -0
  6. package/apigee/environmentIamMember.js.map +1 -0
  7. package/apigee/environmentIamPolicy.d.ts +156 -0
  8. package/apigee/environmentIamPolicy.js +148 -0
  9. package/apigee/environmentIamPolicy.js.map +1 -0
  10. package/apigee/index.d.ts +3 -0
  11. package/apigee/index.js +15 -0
  12. package/apigee/index.js.map +1 -1
  13. package/bigquery/dataTransferConfig.d.ts +3 -3
  14. package/bigquery/routine.d.ts +24 -3
  15. package/bigquery/routine.js +2 -0
  16. package/bigquery/routine.js.map +1 -1
  17. package/certificateauthority/authority.d.ts +2 -1
  18. package/certificateauthority/authority.js +2 -1
  19. package/certificateauthority/authority.js.map +1 -1
  20. package/certificateauthority/certificate.d.ts +2 -0
  21. package/certificateauthority/certificate.js +2 -0
  22. package/certificateauthority/certificate.js.map +1 -1
  23. package/certificateauthority/certificateTemplate.d.ts +3 -0
  24. package/certificateauthority/certificateTemplate.js +3 -0
  25. package/certificateauthority/certificateTemplate.js.map +1 -1
  26. package/cloudbuild/trigger.d.ts +7 -0
  27. package/cloudbuild/trigger.js +7 -0
  28. package/cloudbuild/trigger.js.map +1 -1
  29. package/cloudbuild/workerPool.d.ts +60 -0
  30. package/cloudbuild/workerPool.js +60 -0
  31. package/cloudbuild/workerPool.js.map +1 -1
  32. package/cloudfunctions/function.d.ts +12 -0
  33. package/cloudfunctions/function.js +2 -0
  34. package/cloudfunctions/function.js.map +1 -1
  35. package/cloudfunctions/getFunction.d.ts +1 -0
  36. package/cloudfunctions/getFunction.js.map +1 -1
  37. package/compute/forwardingRule.d.ts +199 -10
  38. package/compute/forwardingRule.js +190 -4
  39. package/compute/forwardingRule.js.map +1 -1
  40. package/compute/networkPeering.d.ts +5 -5
  41. package/compute/networkPeering.js +5 -5
  42. package/compute/packetMirroring.d.ts +1 -1
  43. package/compute/packetMirroring.js +1 -1
  44. package/compute/regionBackendService.d.ts +6 -6
  45. package/compute/subnetwork.d.ts +9 -15
  46. package/compute/subnetwork.js.map +1 -1
  47. package/config/vars.d.ts +3 -0
  48. package/config/vars.js +18 -0
  49. package/config/vars.js.map +1 -1
  50. package/container/awsCluster.d.ts +326 -0
  51. package/container/awsCluster.js +198 -0
  52. package/container/awsCluster.js.map +1 -0
  53. package/container/awsNodePool.d.ts +355 -0
  54. package/container/awsNodePool.js +242 -0
  55. package/container/awsNodePool.js.map +1 -0
  56. package/container/azureClient.d.ts +156 -0
  57. package/container/azureClient.js +110 -0
  58. package/container/azureClient.js.map +1 -0
  59. package/container/azureCluster.d.ts +322 -0
  60. package/container/azureCluster.js +180 -0
  61. package/container/azureCluster.js.map +1 -0
  62. package/container/azureNodePool.d.ts +323 -0
  63. package/container/azureNodePool.js +200 -0
  64. package/container/azureNodePool.js.map +1 -0
  65. package/container/getAwsVersions.d.ts +66 -0
  66. package/container/getAwsVersions.js +42 -0
  67. package/container/getAwsVersions.js.map +1 -0
  68. package/container/getAzureVersions.d.ts +66 -0
  69. package/container/getAzureVersions.js +42 -0
  70. package/container/getAzureVersions.js.map +1 -0
  71. package/container/index.d.ts +7 -0
  72. package/container/index.js +27 -0
  73. package/container/index.js.map +1 -1
  74. package/filestore/instance.d.ts +33 -13
  75. package/filestore/instance.js +7 -12
  76. package/filestore/instance.js.map +1 -1
  77. package/notebooks/index.d.ts +3 -0
  78. package/notebooks/index.js +15 -0
  79. package/notebooks/index.js.map +1 -1
  80. package/notebooks/runtimeIamBinding.d.ts +193 -0
  81. package/notebooks/runtimeIamBinding.js +157 -0
  82. package/notebooks/runtimeIamBinding.js.map +1 -0
  83. package/notebooks/runtimeIamMember.d.ts +193 -0
  84. package/notebooks/runtimeIamMember.js +157 -0
  85. package/notebooks/runtimeIamMember.js.map +1 -0
  86. package/notebooks/runtimeIamPolicy.d.ts +183 -0
  87. package/notebooks/runtimeIamPolicy.js +150 -0
  88. package/notebooks/runtimeIamPolicy.js.map +1 -0
  89. package/osconfig/index.d.ts +1 -0
  90. package/osconfig/index.js +5 -0
  91. package/osconfig/index.js.map +1 -1
  92. package/osconfig/osPolicyAssignment.d.ts +672 -0
  93. package/osconfig/osPolicyAssignment.js +568 -0
  94. package/osconfig/osPolicyAssignment.js.map +1 -0
  95. package/package.json +2 -2
  96. package/package.json.dev +1 -1
  97. package/provider.d.ts +6 -0
  98. package/provider.js +3 -0
  99. package/provider.js.map +1 -1
  100. package/storage/bucket.d.ts +12 -0
  101. package/storage/bucket.js +2 -0
  102. package/storage/bucket.js.map +1 -1
  103. package/storage/getBucket.d.ts +1 -0
  104. package/storage/getBucket.js.map +1 -1
  105. package/types/input.d.ts +7380 -6218
  106. package/types/output.d.ts +6360 -5196
  107. package/vertex/aiMetadataStore.d.ts +3 -3
@@ -0,0 +1,156 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.
4
+ *
5
+ * For more information, see:
6
+ * * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
7
+ * ## Example Usage
8
+ * ### Basic_azure_client
9
+ * A basic example of a containerazure azure client
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as gcp from "@pulumi/gcp";
13
+ *
14
+ * const primary = new gcp.container.AzureClient("primary", {
15
+ * applicationId: "12345678-1234-1234-1234-123456789111",
16
+ * location: "us-west1",
17
+ * project: "my-project-name",
18
+ * tenantId: "12345678-1234-1234-1234-123456789111",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * Client can be imported using any of these accepted formats
25
+ *
26
+ * ```sh
27
+ * $ pulumi import gcp:container/azureClient:AzureClient default projects/{{project}}/locations/{{location}}/azureClients/{{name}}
28
+ * ```
29
+ *
30
+ * ```sh
31
+ * $ pulumi import gcp:container/azureClient:AzureClient default {{project}}/{{location}}/{{name}}
32
+ * ```
33
+ *
34
+ * ```sh
35
+ * $ pulumi import gcp:container/azureClient:AzureClient default {{location}}/{{name}}
36
+ * ```
37
+ */
38
+ export declare class AzureClient extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing AzureClient resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureClientState, opts?: pulumi.CustomResourceOptions): AzureClient;
49
+ /**
50
+ * Returns true if the given object is an instance of AzureClient. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj: any): obj is AzureClient;
54
+ /**
55
+ * Required. The Azure Active Directory Application ID.
56
+ */
57
+ readonly applicationId: pulumi.Output<string>;
58
+ /**
59
+ * Output only. The PEM encoded x509 certificate.
60
+ */
61
+ readonly certificate: pulumi.Output<string>;
62
+ /**
63
+ * Output only. The time at which this resource was created.
64
+ */
65
+ readonly createTime: pulumi.Output<string>;
66
+ /**
67
+ * The location for the resource
68
+ */
69
+ readonly location: pulumi.Output<string>;
70
+ /**
71
+ * The name of this resource.
72
+ */
73
+ readonly name: pulumi.Output<string>;
74
+ /**
75
+ * The project for the resource
76
+ */
77
+ readonly project: pulumi.Output<string>;
78
+ /**
79
+ * Required. The Azure Active Directory Tenant ID.
80
+ */
81
+ readonly tenantId: pulumi.Output<string>;
82
+ /**
83
+ * Output only. A globally unique identifier for the client.
84
+ */
85
+ readonly uid: pulumi.Output<string>;
86
+ /**
87
+ * Create a AzureClient resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: AzureClientArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering AzureClient resources.
97
+ */
98
+ export interface AzureClientState {
99
+ /**
100
+ * Required. The Azure Active Directory Application ID.
101
+ */
102
+ applicationId?: pulumi.Input<string>;
103
+ /**
104
+ * Output only. The PEM encoded x509 certificate.
105
+ */
106
+ certificate?: pulumi.Input<string>;
107
+ /**
108
+ * Output only. The time at which this resource was created.
109
+ */
110
+ createTime?: pulumi.Input<string>;
111
+ /**
112
+ * The location for the resource
113
+ */
114
+ location?: pulumi.Input<string>;
115
+ /**
116
+ * The name of this resource.
117
+ */
118
+ name?: pulumi.Input<string>;
119
+ /**
120
+ * The project for the resource
121
+ */
122
+ project?: pulumi.Input<string>;
123
+ /**
124
+ * Required. The Azure Active Directory Tenant ID.
125
+ */
126
+ tenantId?: pulumi.Input<string>;
127
+ /**
128
+ * Output only. A globally unique identifier for the client.
129
+ */
130
+ uid?: pulumi.Input<string>;
131
+ }
132
+ /**
133
+ * The set of arguments for constructing a AzureClient resource.
134
+ */
135
+ export interface AzureClientArgs {
136
+ /**
137
+ * Required. The Azure Active Directory Application ID.
138
+ */
139
+ applicationId: pulumi.Input<string>;
140
+ /**
141
+ * The location for the resource
142
+ */
143
+ location: pulumi.Input<string>;
144
+ /**
145
+ * The name of this resource.
146
+ */
147
+ name?: pulumi.Input<string>;
148
+ /**
149
+ * The project for the resource
150
+ */
151
+ project?: pulumi.Input<string>;
152
+ /**
153
+ * Required. The Azure Active Directory Tenant ID.
154
+ */
155
+ tenantId: pulumi.Input<string>;
156
+ }
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.AzureClient = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * AzureClient resources hold client authentication information needed by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When an AzureCluster is created, an AzureClient resource needs to be provided and all operations on Azure resources associated to that cluster will authenticate to Azure services using the given client.AzureClient resources are immutable and cannot be modified upon creation.Each AzureClient resource is bound to a single Azure Active Directory Application and tenant.
10
+ *
11
+ * For more information, see:
12
+ * * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
13
+ * ## Example Usage
14
+ * ### Basic_azure_client
15
+ * A basic example of a containerazure azure client
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as gcp from "@pulumi/gcp";
19
+ *
20
+ * const primary = new gcp.container.AzureClient("primary", {
21
+ * applicationId: "12345678-1234-1234-1234-123456789111",
22
+ * location: "us-west1",
23
+ * project: "my-project-name",
24
+ * tenantId: "12345678-1234-1234-1234-123456789111",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Client can be imported using any of these accepted formats
31
+ *
32
+ * ```sh
33
+ * $ pulumi import gcp:container/azureClient:AzureClient default projects/{{project}}/locations/{{location}}/azureClients/{{name}}
34
+ * ```
35
+ *
36
+ * ```sh
37
+ * $ pulumi import gcp:container/azureClient:AzureClient default {{project}}/{{location}}/{{name}}
38
+ * ```
39
+ *
40
+ * ```sh
41
+ * $ pulumi import gcp:container/azureClient:AzureClient default {{location}}/{{name}}
42
+ * ```
43
+ */
44
+ class AzureClient extends pulumi.CustomResource {
45
+ constructor(name, argsOrState, opts) {
46
+ let inputs = {};
47
+ opts = opts || {};
48
+ if (opts.id) {
49
+ const state = argsOrState;
50
+ inputs["applicationId"] = state ? state.applicationId : undefined;
51
+ inputs["certificate"] = state ? state.certificate : undefined;
52
+ inputs["createTime"] = state ? state.createTime : undefined;
53
+ inputs["location"] = state ? state.location : undefined;
54
+ inputs["name"] = state ? state.name : undefined;
55
+ inputs["project"] = state ? state.project : undefined;
56
+ inputs["tenantId"] = state ? state.tenantId : undefined;
57
+ inputs["uid"] = state ? state.uid : undefined;
58
+ }
59
+ else {
60
+ const args = argsOrState;
61
+ if ((!args || args.applicationId === undefined) && !opts.urn) {
62
+ throw new Error("Missing required property 'applicationId'");
63
+ }
64
+ if ((!args || args.location === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'location'");
66
+ }
67
+ if ((!args || args.tenantId === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'tenantId'");
69
+ }
70
+ inputs["applicationId"] = args ? args.applicationId : undefined;
71
+ inputs["location"] = args ? args.location : undefined;
72
+ inputs["name"] = args ? args.name : undefined;
73
+ inputs["project"] = args ? args.project : undefined;
74
+ inputs["tenantId"] = args ? args.tenantId : undefined;
75
+ inputs["certificate"] = undefined /*out*/;
76
+ inputs["createTime"] = undefined /*out*/;
77
+ inputs["uid"] = undefined /*out*/;
78
+ }
79
+ if (!opts.version) {
80
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
81
+ }
82
+ super(AzureClient.__pulumiType, name, inputs, opts);
83
+ }
84
+ /**
85
+ * Get an existing AzureClient resource's state with the given name, ID, and optional extra
86
+ * properties used to qualify the lookup.
87
+ *
88
+ * @param name The _unique_ name of the resulting resource.
89
+ * @param id The _unique_ provider ID of the resource to lookup.
90
+ * @param state Any extra arguments used during the lookup.
91
+ * @param opts Optional settings to control the behavior of the CustomResource.
92
+ */
93
+ static get(name, id, state, opts) {
94
+ return new AzureClient(name, state, Object.assign(Object.assign({}, opts), { id: id }));
95
+ }
96
+ /**
97
+ * Returns true if the given object is an instance of AzureClient. This is designed to work even
98
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
99
+ */
100
+ static isInstance(obj) {
101
+ if (obj === undefined || obj === null) {
102
+ return false;
103
+ }
104
+ return obj['__pulumiType'] === AzureClient.__pulumiType;
105
+ }
106
+ }
107
+ exports.AzureClient = AzureClient;
108
+ /** @internal */
109
+ AzureClient.__pulumiType = 'gcp:container/azureClient:AzureClient';
110
+ //# sourceMappingURL=azureClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureClient.js","sourceRoot":"","sources":["../../container/azureClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAqElD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK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as outputs } from "../types";
3
+ /**
4
+ * An Anthos cluster running on Azure.
5
+ *
6
+ * For more information, see:
7
+ * * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
8
+ * ## Example Usage
9
+ * ### Basic_azure_cluster
10
+ * A basic example of a containerazure azure cluster
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as gcp from "@pulumi/gcp";
14
+ *
15
+ * const versions = pulumi.output(gcp.container.getAzureVersions({
16
+ * location: "us-west1",
17
+ * project: "my-project-name",
18
+ * }));
19
+ * const basic = new gcp.container.AzureClient("basic", {
20
+ * applicationId: "12345678-1234-1234-1234-123456789111",
21
+ * location: "us-west1",
22
+ * project: "my-project-name",
23
+ * tenantId: "12345678-1234-1234-1234-123456789111",
24
+ * });
25
+ * const primary = new gcp.container.AzureCluster("primary", {
26
+ * authorization: {
27
+ * adminUsers: [{
28
+ * username: "mmv2@google.com",
29
+ * }],
30
+ * },
31
+ * azureRegion: "westus2",
32
+ * client: pulumi.interpolate`projects/my-project-number/locations/us-west1/azureClients/${basic.name}`,
33
+ * controlPlane: {
34
+ * sshConfig: {
35
+ * authorizedKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8yaayO6lnb2v+SedxUMa2c8vtIEzCzBjM3EJJsv8Vm9zUDWR7dXWKoNGARUb2mNGXASvI6mFIDXTIlkQ0poDEPpMaXR0g2cb5xT8jAAJq7fqXL3+0rcJhY/uigQ+MrT6s+ub0BFVbsmGHNrMQttXX9gtmwkeAEvj3mra9e5pkNf90qlKnZz6U0SVArxVsLx07vHPHDIYrl0OPG4zUREF52igbBPiNrHJFDQJT/4YlDMJmo/QT/A1D6n9ocemvZSzhRx15/Arjowhr+VVKSbaxzPtEfY0oIg2SrqJnnr/l3Du5qIefwh5VmCZe4xopPUaDDoOIEFriZ88sB+3zz8ib8sk8zJJQCgeP78tQvXCgS+4e5W3TUg9mxjB6KjXTyHIVhDZqhqde0OI3Fy1UuVzRUwnBaLjBnAwP5EoFQGRmDYk/rEYe7HTmovLeEBUDQocBQKT4Ripm/xJkkWY7B07K/tfo56dGUCkvyIVXKBInCh+dLK7gZapnd4UWkY0xBYcwo1geMLRq58iFTLA2j/JmpmHXp7m0l7jJii7d44uD3tTIFYThn7NlOnvhLim/YcBK07GMGIN7XwrrKZKmxXaspw6KBWVhzuw1UPxctxshYEaMLfFg/bwOw8HvMPr9VtrElpSB7oiOh91PDIPdPBgHCi7N2QgQ5l/ZDBHieSpNrQ== thomasrodgers",
36
+ * },
37
+ * subnetId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet/subnets/default",
38
+ * version: versions.apply(versions => versions.validVersions[0]),
39
+ * },
40
+ * fleet: {
41
+ * project: "my-project-number",
42
+ * },
43
+ * location: "us-west1",
44
+ * networking: {
45
+ * podAddressCidrBlocks: ["10.200.0.0/16"],
46
+ * serviceAddressCidrBlocks: ["10.32.0.0/24"],
47
+ * virtualNetworkId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-byo/providers/Microsoft.Network/virtualNetworks/my--dev-vnet",
48
+ * },
49
+ * project: "my-project-name",
50
+ * resourceGroupId: "/subscriptions/12345678-1234-1234-1234-123456789111/resourceGroups/my--dev-cluster",
51
+ * });
52
+ * ```
53
+ *
54
+ * ## Import
55
+ *
56
+ * Cluster can be imported using any of these accepted formats
57
+ *
58
+ * ```sh
59
+ * $ pulumi import gcp:container/azureCluster:AzureCluster default projects/{{project}}/locations/{{location}}/azureClusters/{{name}}
60
+ * ```
61
+ *
62
+ * ```sh
63
+ * $ pulumi import gcp:container/azureCluster:AzureCluster default {{project}}/{{location}}/{{name}}
64
+ * ```
65
+ *
66
+ * ```sh
67
+ * $ pulumi import gcp:container/azureCluster:AzureCluster default {{location}}/{{name}}
68
+ * ```
69
+ */
70
+ export declare class AzureCluster extends pulumi.CustomResource {
71
+ /**
72
+ * Get an existing AzureCluster 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 state Any extra arguments used during the lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureClusterState, opts?: pulumi.CustomResourceOptions): AzureCluster;
81
+ /**
82
+ * Returns true if the given object is an instance of AzureCluster. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj: any): obj is AzureCluster;
86
+ /**
87
+ * Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
88
+ */
89
+ readonly annotations: pulumi.Output<{
90
+ [key: string]: string;
91
+ } | undefined>;
92
+ /**
93
+ * Required. Configuration related to the cluster RBAC settings.
94
+ */
95
+ readonly authorization: pulumi.Output<outputs.container.AzureClusterAuthorization>;
96
+ /**
97
+ * Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call to list all supported Azure regions within a given Google Cloud region.
98
+ */
99
+ readonly azureRegion: pulumi.Output<string>;
100
+ /**
101
+ * Required. Name of the AzureClient. The `AzureClient` resource must reside on the same GCP project and region as the `AzureCluster`. `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
102
+ */
103
+ readonly client: pulumi.Output<string>;
104
+ /**
105
+ * Required. Configuration related to the cluster control plane.
106
+ */
107
+ readonly controlPlane: pulumi.Output<outputs.container.AzureClusterControlPlane>;
108
+ /**
109
+ * Output only. The time at which this cluster was created.
110
+ */
111
+ readonly createTime: pulumi.Output<string>;
112
+ /**
113
+ * Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
114
+ */
115
+ readonly description: pulumi.Output<string | undefined>;
116
+ /**
117
+ * Output only. The endpoint of the cluster's API server.
118
+ */
119
+ readonly endpoint: pulumi.Output<string>;
120
+ /**
121
+ * Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update
122
+ * and delete requests to ensure the client has an up-to-date value before proceeding.
123
+ */
124
+ readonly etag: pulumi.Output<string>;
125
+ /**
126
+ * Fleet configuration.
127
+ */
128
+ readonly fleet: pulumi.Output<outputs.container.AzureClusterFleet>;
129
+ /**
130
+ * The location for the resource
131
+ */
132
+ readonly location: pulumi.Output<string>;
133
+ /**
134
+ * The name of this resource.
135
+ */
136
+ readonly name: pulumi.Output<string>;
137
+ /**
138
+ * Required. Cluster-wide networking configuration.
139
+ */
140
+ readonly networking: pulumi.Output<outputs.container.AzureClusterNetworking>;
141
+ /**
142
+ * The project for the resource
143
+ */
144
+ readonly project: pulumi.Output<string>;
145
+ /**
146
+ * Output only. If set, there are currently changes in flight to the cluster.
147
+ */
148
+ readonly reconciling: pulumi.Output<boolean>;
149
+ /**
150
+ * The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`
151
+ */
152
+ readonly resourceGroupId: pulumi.Output<string>;
153
+ /**
154
+ * Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING,
155
+ * STOPPING, ERROR, DEGRADED
156
+ */
157
+ readonly state: pulumi.Output<string>;
158
+ /**
159
+ * Output only. A globally unique identifier for the cluster.
160
+ */
161
+ readonly uid: pulumi.Output<string>;
162
+ /**
163
+ * Output only. The time at which this cluster was last updated.
164
+ */
165
+ readonly updateTime: pulumi.Output<string>;
166
+ /**
167
+ * Output only. Workload Identity settings.
168
+ */
169
+ readonly workloadIdentityConfigs: pulumi.Output<outputs.container.AzureClusterWorkloadIdentityConfig[]>;
170
+ /**
171
+ * Create a AzureCluster resource with the given unique name, arguments, and options.
172
+ *
173
+ * @param name The _unique_ name of the resource.
174
+ * @param args The arguments to use to populate this resource's properties.
175
+ * @param opts A bag of options that control this resource's behavior.
176
+ */
177
+ constructor(name: string, args: AzureClusterArgs, opts?: pulumi.CustomResourceOptions);
178
+ }
179
+ /**
180
+ * Input properties used for looking up and filtering AzureCluster resources.
181
+ */
182
+ export interface AzureClusterState {
183
+ /**
184
+ * Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
185
+ */
186
+ annotations?: pulumi.Input<{
187
+ [key: string]: pulumi.Input<string>;
188
+ }>;
189
+ /**
190
+ * Required. Configuration related to the cluster RBAC settings.
191
+ */
192
+ authorization?: pulumi.Input<inputs.container.AzureClusterAuthorization>;
193
+ /**
194
+ * Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call to list all supported Azure regions within a given Google Cloud region.
195
+ */
196
+ azureRegion?: pulumi.Input<string>;
197
+ /**
198
+ * Required. Name of the AzureClient. The `AzureClient` resource must reside on the same GCP project and region as the `AzureCluster`. `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
199
+ */
200
+ client?: pulumi.Input<string>;
201
+ /**
202
+ * Required. Configuration related to the cluster control plane.
203
+ */
204
+ controlPlane?: pulumi.Input<inputs.container.AzureClusterControlPlane>;
205
+ /**
206
+ * Output only. The time at which this cluster was created.
207
+ */
208
+ createTime?: pulumi.Input<string>;
209
+ /**
210
+ * Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
211
+ */
212
+ description?: pulumi.Input<string>;
213
+ /**
214
+ * Output only. The endpoint of the cluster's API server.
215
+ */
216
+ endpoint?: pulumi.Input<string>;
217
+ /**
218
+ * Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update
219
+ * and delete requests to ensure the client has an up-to-date value before proceeding.
220
+ */
221
+ etag?: pulumi.Input<string>;
222
+ /**
223
+ * Fleet configuration.
224
+ */
225
+ fleet?: pulumi.Input<inputs.container.AzureClusterFleet>;
226
+ /**
227
+ * The location for the resource
228
+ */
229
+ location?: pulumi.Input<string>;
230
+ /**
231
+ * The name of this resource.
232
+ */
233
+ name?: pulumi.Input<string>;
234
+ /**
235
+ * Required. Cluster-wide networking configuration.
236
+ */
237
+ networking?: pulumi.Input<inputs.container.AzureClusterNetworking>;
238
+ /**
239
+ * The project for the resource
240
+ */
241
+ project?: pulumi.Input<string>;
242
+ /**
243
+ * Output only. If set, there are currently changes in flight to the cluster.
244
+ */
245
+ reconciling?: pulumi.Input<boolean>;
246
+ /**
247
+ * The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`
248
+ */
249
+ resourceGroupId?: pulumi.Input<string>;
250
+ /**
251
+ * Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING,
252
+ * STOPPING, ERROR, DEGRADED
253
+ */
254
+ state?: pulumi.Input<string>;
255
+ /**
256
+ * Output only. A globally unique identifier for the cluster.
257
+ */
258
+ uid?: pulumi.Input<string>;
259
+ /**
260
+ * Output only. The time at which this cluster was last updated.
261
+ */
262
+ updateTime?: pulumi.Input<string>;
263
+ /**
264
+ * Output only. Workload Identity settings.
265
+ */
266
+ workloadIdentityConfigs?: pulumi.Input<pulumi.Input<inputs.container.AzureClusterWorkloadIdentityConfig>[]>;
267
+ }
268
+ /**
269
+ * The set of arguments for constructing a AzureCluster resource.
270
+ */
271
+ export interface AzureClusterArgs {
272
+ /**
273
+ * Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
274
+ */
275
+ annotations?: pulumi.Input<{
276
+ [key: string]: pulumi.Input<string>;
277
+ }>;
278
+ /**
279
+ * Required. Configuration related to the cluster RBAC settings.
280
+ */
281
+ authorization: pulumi.Input<inputs.container.AzureClusterAuthorization>;
282
+ /**
283
+ * Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call to list all supported Azure regions within a given Google Cloud region.
284
+ */
285
+ azureRegion: pulumi.Input<string>;
286
+ /**
287
+ * Required. Name of the AzureClient. The `AzureClient` resource must reside on the same GCP project and region as the `AzureCluster`. `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
288
+ */
289
+ client: pulumi.Input<string>;
290
+ /**
291
+ * Required. Configuration related to the cluster control plane.
292
+ */
293
+ controlPlane: pulumi.Input<inputs.container.AzureClusterControlPlane>;
294
+ /**
295
+ * Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
296
+ */
297
+ description?: pulumi.Input<string>;
298
+ /**
299
+ * Fleet configuration.
300
+ */
301
+ fleet: pulumi.Input<inputs.container.AzureClusterFleet>;
302
+ /**
303
+ * The location for the resource
304
+ */
305
+ location: pulumi.Input<string>;
306
+ /**
307
+ * The name of this resource.
308
+ */
309
+ name?: pulumi.Input<string>;
310
+ /**
311
+ * Required. Cluster-wide networking configuration.
312
+ */
313
+ networking: pulumi.Input<inputs.container.AzureClusterNetworking>;
314
+ /**
315
+ * The project for the resource
316
+ */
317
+ project?: pulumi.Input<string>;
318
+ /**
319
+ * The ARM ID the of the resource group containing proxy keyvault. Resource group ids are formatted as `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`
320
+ */
321
+ resourceGroupId: pulumi.Input<string>;
322
+ }