@pulumi/azure 5.1.0 → 5.2.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.
- package/README.md +5 -5
- package/appservice/linuxWebApp.d.ts +1 -1
- package/appservice/linuxWebApp.js +1 -1
- package/appservice/linuxWebAppSlot.d.ts +1 -1
- package/appservice/linuxWebAppSlot.js +1 -1
- package/appservice/servicePlan.d.ts +1 -1
- package/appservice/servicePlan.js +1 -1
- package/appservice/sourceControl.d.ts +1 -1
- package/appservice/sourceControl.js +1 -1
- package/appservice/sourceControlSlot.d.ts +1 -1
- package/appservice/sourceControlSlot.js +1 -1
- package/appservice/webAppActiveSlot.d.ts +2 -2
- package/appservice/webAppActiveSlot.js +2 -2
- package/appservice/windowsWebApp.d.ts +1 -1
- package/appservice/windowsWebApp.js +1 -1
- package/appservice/windowsWebAppSlot.d.ts +1 -1
- package/appservice/windowsWebAppSlot.js +1 -1
- package/containerservice/connectedRegistry.d.ts +231 -0
- package/containerservice/connectedRegistry.js +127 -0
- package/containerservice/connectedRegistry.js.map +1 -0
- package/containerservice/group.d.ts +12 -0
- package/containerservice/group.js +2 -0
- package/containerservice/group.js.map +1 -1
- package/containerservice/index.d.ts +1 -0
- package/containerservice/index.js +5 -0
- package/containerservice/index.js.map +1 -1
- package/core/index.d.ts +3 -0
- package/core/index.js +15 -0
- package/core/index.js.map +1 -1
- package/core/resourceGroupPolicyExemption.d.ts +181 -0
- package/core/resourceGroupPolicyExemption.js +111 -0
- package/core/resourceGroupPolicyExemption.js.map +1 -0
- package/core/resourcePolicyExemption.d.ts +185 -0
- package/core/resourcePolicyExemption.js +115 -0
- package/core/resourcePolicyExemption.js.map +1 -0
- package/core/subscriptionPolicyExemption.d.ts +180 -0
- package/core/subscriptionPolicyExemption.js +110 -0
- package/core/subscriptionPolicyExemption.js.map +1 -0
- package/kusto/cluster.d.ts +9 -0
- package/kusto/cluster.js.map +1 -1
- package/kusto/getDatabase.d.ts +81 -0
- package/kusto/getDatabase.js +40 -0
- package/kusto/getDatabase.js.map +1 -0
- package/kusto/index.d.ts +1 -0
- package/kusto/index.js +1 -0
- package/kusto/index.js.map +1 -1
- package/lb/outboundRule.d.ts +3 -3
- package/machinelearning/workspace.d.ts +19 -1
- package/machinelearning/workspace.js +2 -0
- package/machinelearning/workspace.js.map +1 -1
- package/management/groupPolicyExemption.d.ts +180 -0
- package/management/groupPolicyExemption.js +110 -0
- package/management/groupPolicyExemption.js.map +1 -0
- package/management/index.d.ts +1 -0
- package/management/index.js +5 -0
- package/management/index.js.map +1 -1
- package/media/streamingEndpoint.d.ts +3 -3
- package/mssql/managedInstanceActiveDirectoryAdministrator.d.ts +9 -0
- package/mssql/managedInstanceActiveDirectoryAdministrator.js.map +1 -1
- package/mysql/flexibleServer.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/sentinel/watchlist.d.ts +13 -0
- package/sentinel/watchlist.js +6 -0
- package/sentinel/watchlist.js.map +1 -1
- package/storage/dataLakeGen2Path.d.ts +6 -6
- package/streamanalytics/getJob.d.ts +15 -3
- package/streamanalytics/getJob.js.map +1 -1
- package/streamanalytics/index.d.ts +1 -0
- package/streamanalytics/index.js +5 -0
- package/streamanalytics/index.js.map +1 -1
- package/streamanalytics/jobSchedule.d.ts +173 -0
- package/streamanalytics/jobSchedule.js +154 -0
- package/streamanalytics/jobSchedule.js.map +1 -0
- package/types/input.d.ts +115 -13
- package/types/output.d.ts +115 -13
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
> Azure Classic is based on the Terraform azurerm provider. It has fewer resources and resource options and receives new Azure features more slowly than Azure Native. However, Azure Classic remains fully-supported for existing usage.
|
|
14
14
|
|
|
15
15
|
The Azure Classic resource provider for Pulumi lets you use Azure resources in your cloud programs. To use
|
|
16
|
-
this package, please [install the Pulumi CLI first](https://pulumi.io/). For a streamlined Pulumi walkthrough, including language runtime installation and Azure configuration,
|
|
16
|
+
this package, please [install the Pulumi CLI first](https://pulumi.io/). For a streamlined Pulumi walkthrough, including language runtime installation and Azure configuration, select "Get Started" below.
|
|
17
17
|
|
|
18
18
|
<div>
|
|
19
19
|
<a href="https://www.pulumi.com/docs/get-started/azure" title="Get Started">
|
|
@@ -62,10 +62,10 @@ including (but not limited to), 'appinsights', 'compute', 'cosmosdb', 'keyvault'
|
|
|
62
62
|
## Configuring credentials
|
|
63
63
|
|
|
64
64
|
There are a variety of ways credentials may be configured for the Azure provider, appropriate for
|
|
65
|
-
different use cases.
|
|
66
|
-
https://www.pulumi.com/
|
|
65
|
+
different use cases. Refer to the [Azure configuration options](
|
|
66
|
+
https://www.pulumi.com/registry/packages/azure-native/installation-configuration/#configuration-options).
|
|
67
67
|
|
|
68
68
|
## Reference
|
|
69
69
|
|
|
70
|
-
For further information,
|
|
71
|
-
https://www.pulumi.com/
|
|
70
|
+
For further information, visit [Azure in the Pulumi Registry](https://www.pulumi.com/registry/packages/azure-native/)
|
|
71
|
+
or for detailed API reference documentation, visit [Azure API Docs in the Pulumi Registry](https://www.pulumi.com/registry/packages/azure-native/api-docs/).
|
|
@@ -14,7 +14,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
14
14
|
* resourceGroupName: exampleResourceGroup.name,
|
|
15
15
|
* location: "West Europe",
|
|
16
16
|
* osType: "Linux",
|
|
17
|
-
* skuName: "
|
|
17
|
+
* skuName: "P1v2",
|
|
18
18
|
* });
|
|
19
19
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
20
20
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
20
20
|
* location: "West Europe",
|
|
21
21
|
* osType: "Linux",
|
|
22
|
-
* skuName: "
|
|
22
|
+
* skuName: "P1v2",
|
|
23
23
|
* });
|
|
24
24
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
25
25
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -14,7 +14,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
14
14
|
* resourceGroupName: exampleResourceGroup.name,
|
|
15
15
|
* location: "West Europe",
|
|
16
16
|
* osType: "Linux",
|
|
17
|
-
* skuName: "
|
|
17
|
+
* skuName: "P1v2",
|
|
18
18
|
* });
|
|
19
19
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
20
20
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
20
20
|
* location: "West Europe",
|
|
21
21
|
* osType: "Linux",
|
|
22
|
-
* skuName: "
|
|
22
|
+
* skuName: "P1v2",
|
|
23
23
|
* });
|
|
24
24
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
25
25
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -14,7 +14,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
14
14
|
* resourceGroupName: exampleResourceGroup.name,
|
|
15
15
|
* location: "West Europe",
|
|
16
16
|
* osType: "Linux",
|
|
17
|
-
* skuName: "
|
|
17
|
+
* skuName: "P1v2",
|
|
18
18
|
* });
|
|
19
19
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
20
20
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
20
20
|
* location: "West Europe",
|
|
21
21
|
* osType: "Linux",
|
|
22
|
-
* skuName: "
|
|
22
|
+
* skuName: "P1v2",
|
|
23
23
|
* });
|
|
24
24
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
25
25
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -14,7 +14,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
14
14
|
* resourceGroupName: exampleResourceGroup.name,
|
|
15
15
|
* location: "West Europe",
|
|
16
16
|
* osType: "Linux",
|
|
17
|
-
* skuName: "
|
|
17
|
+
* skuName: "P1v2",
|
|
18
18
|
* });
|
|
19
19
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
20
20
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
20
20
|
* location: "West Europe",
|
|
21
21
|
* osType: "Linux",
|
|
22
|
-
* skuName: "
|
|
22
|
+
* skuName: "P1v2",
|
|
23
23
|
* });
|
|
24
24
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
25
25
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* resourceGroupName: exampleResourceGroup.name,
|
|
15
15
|
* location: "West Europe",
|
|
16
16
|
* osType: "Windows",
|
|
17
|
-
* skuName: "
|
|
17
|
+
* skuName: "P1v2",
|
|
18
18
|
* });
|
|
19
19
|
* const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("exampleWindowsWebApp", {
|
|
20
20
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -39,7 +39,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
39
|
* resourceGroupName: exampleResourceGroup.name,
|
|
40
40
|
* location: "West Europe",
|
|
41
41
|
* osType: "Linux",
|
|
42
|
-
* skuName: "
|
|
42
|
+
* skuName: "P1v2",
|
|
43
43
|
* });
|
|
44
44
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
45
45
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* resourceGroupName: exampleResourceGroup.name,
|
|
21
21
|
* location: "West Europe",
|
|
22
22
|
* osType: "Windows",
|
|
23
|
-
* skuName: "
|
|
23
|
+
* skuName: "P1v2",
|
|
24
24
|
* });
|
|
25
25
|
* const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("exampleWindowsWebApp", {
|
|
26
26
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -45,7 +45,7 @@ const utilities = require("../utilities");
|
|
|
45
45
|
* resourceGroupName: exampleResourceGroup.name,
|
|
46
46
|
* location: "West Europe",
|
|
47
47
|
* osType: "Linux",
|
|
48
|
-
* skuName: "
|
|
48
|
+
* skuName: "P1v2",
|
|
49
49
|
* });
|
|
50
50
|
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("exampleLinuxWebApp", {
|
|
51
51
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -13,7 +13,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
13
13
|
* const exampleServicePlan = new azure.appservice.ServicePlan("exampleServicePlan", {
|
|
14
14
|
* resourceGroupName: exampleResourceGroup.name,
|
|
15
15
|
* location: "West Europe",
|
|
16
|
-
* skuName: "
|
|
16
|
+
* skuName: "P1v2",
|
|
17
17
|
* });
|
|
18
18
|
* const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("exampleWindowsWebApp", {
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -18,7 +18,7 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* const exampleServicePlan = new azure.appservice.ServicePlan("exampleServicePlan", {
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
20
20
|
* location: "West Europe",
|
|
21
|
-
* skuName: "
|
|
21
|
+
* skuName: "P1v2",
|
|
22
22
|
* });
|
|
23
23
|
* const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("exampleWindowsWebApp", {
|
|
24
24
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -14,7 +14,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
14
14
|
* resourceGroupName: exampleResourceGroup.name,
|
|
15
15
|
* location: "West Europe",
|
|
16
16
|
* osType: "Windows",
|
|
17
|
-
* skuName: "
|
|
17
|
+
* skuName: "P1v2",
|
|
18
18
|
* });
|
|
19
19
|
* const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("exampleWindowsWebApp", {
|
|
20
20
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
20
20
|
* location: "West Europe",
|
|
21
21
|
* osType: "Windows",
|
|
22
|
-
* skuName: "
|
|
22
|
+
* skuName: "P1v2",
|
|
23
23
|
* });
|
|
24
24
|
* const exampleWindowsWebApp = new azure.appservice.WindowsWebApp("exampleWindowsWebApp", {
|
|
25
25
|
* resourceGroupName: exampleResourceGroup.name,
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages a Container Connected Registry.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as azure from "@pulumi/azure";
|
|
11
|
+
*
|
|
12
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
13
|
+
* const exampleRegistry = new azure.containerservice.Registry("exampleRegistry", {
|
|
14
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
15
|
+
* location: exampleResourceGroup.location,
|
|
16
|
+
* sku: "Premium",
|
|
17
|
+
* dataEndpointEnabled: true,
|
|
18
|
+
* });
|
|
19
|
+
* const exampleRegistryScopeMap = new azure.containerservice.RegistryScopeMap("exampleRegistryScopeMap", {
|
|
20
|
+
* containerRegistryName: exampleRegistry.name,
|
|
21
|
+
* resourceGroupName: exampleRegistry.resourceGroupName,
|
|
22
|
+
* actions: [
|
|
23
|
+
* "repositories/hello-world/content/delete",
|
|
24
|
+
* "repositories/hello-world/content/read",
|
|
25
|
+
* "repositories/hello-world/content/write",
|
|
26
|
+
* "repositories/hello-world/metadata/read",
|
|
27
|
+
* "repositories/hello-world/metadata/write",
|
|
28
|
+
* "gateway/examplecr/config/read",
|
|
29
|
+
* "gateway/examplecr/config/write",
|
|
30
|
+
* "gateway/examplecr/message/read",
|
|
31
|
+
* "gateway/examplecr/message/write",
|
|
32
|
+
* ],
|
|
33
|
+
* });
|
|
34
|
+
* const exampleRegistryToken = new azure.containerservice.RegistryToken("exampleRegistryToken", {
|
|
35
|
+
* containerRegistryName: exampleRegistry.name,
|
|
36
|
+
* resourceGroupName: exampleRegistry.resourceGroupName,
|
|
37
|
+
* scopeMapId: exampleRegistryScopeMap.id,
|
|
38
|
+
* });
|
|
39
|
+
* const exampleConnectedRegistry = new azure.containerservice.ConnectedRegistry("exampleConnectedRegistry", {
|
|
40
|
+
* containerRegistryId: exampleRegistry.id,
|
|
41
|
+
* syncTokenId: exampleRegistryToken.id,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* Container Connected Registrys can be imported using the `resource id`, e.g.
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import azure:containerservice/connectedRegistry:ConnectedRegistry example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.ContainerRegistry/registries/registry1/connectedRegistries/registry1
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare class ConnectedRegistry extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing ConnectedRegistry 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 state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectedRegistryState, opts?: pulumi.CustomResourceOptions): ConnectedRegistry;
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of ConnectedRegistry. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj: any): obj is ConnectedRegistry;
|
|
69
|
+
/**
|
|
70
|
+
* Should the log auditting be enabled?
|
|
71
|
+
*/
|
|
72
|
+
readonly auditLogEnabled: pulumi.Output<boolean | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Specifies a list of IDs of Container Registry Tokens, which are meant to be used by the clients to connect to the Connected Registry.
|
|
75
|
+
*/
|
|
76
|
+
readonly clientTokenIds: pulumi.Output<string[] | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the Container Registry that this Connected Registry will reside in. Changing this forces a new Container Connected Registry to be created.
|
|
79
|
+
*/
|
|
80
|
+
readonly containerRegistryId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The verbosity of the logs. Possible values are `None`, `Debug`, `Information`, `Warning` and `Error`.
|
|
83
|
+
*/
|
|
84
|
+
readonly logLevel: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* The mode of the Connected Registry. Possible values are `Mirror`, `ReadOnly`, `ReadWrite` and `Registry`. Changing this forces a new Container Connected Registry to be created.
|
|
87
|
+
*/
|
|
88
|
+
readonly mode: pulumi.Output<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The name which should be used for this Container Connected Registry. Changing this forces a new Container Connected Registry to be created.
|
|
91
|
+
*/
|
|
92
|
+
readonly name: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* One or more `notification` blocks as defined below.
|
|
95
|
+
*/
|
|
96
|
+
readonly notifications: pulumi.Output<outputs.containerservice.ConnectedRegistryNotification[] | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* The ID of the parent registry. This can be either a Container Registry ID or a Connected Registry ID. Changing this forces a new Container Connected Registry to be created.
|
|
99
|
+
*/
|
|
100
|
+
readonly parentRegistryId: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* The period of time (in form of ISO8601) for which a message is available to sync before it is expired. Allowed range is from `P1D` to `P90D`.
|
|
103
|
+
*/
|
|
104
|
+
readonly syncMessageTtl: pulumi.Output<string | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* The cron expression indicating the schedule that the Connected Registry will sync with its parent.
|
|
107
|
+
*/
|
|
108
|
+
readonly syncSchedule: pulumi.Output<string | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* The ID of the Container Registry Token which is used for synchronizing the Connected Registry. Changing this forces a new Container Connected Registry to be created.
|
|
111
|
+
*/
|
|
112
|
+
readonly syncTokenId: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The time window (in form of ISO8601) during which sync is enabled for each schedule occurrence. Allowed range is from `PT3H` to `P7D`.
|
|
115
|
+
*/
|
|
116
|
+
readonly syncWindow: pulumi.Output<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Create a ConnectedRegistry resource with the given unique name, arguments, and options.
|
|
119
|
+
*
|
|
120
|
+
* @param name The _unique_ name of the resource.
|
|
121
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
122
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
123
|
+
*/
|
|
124
|
+
constructor(name: string, args: ConnectedRegistryArgs, opts?: pulumi.CustomResourceOptions);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Input properties used for looking up and filtering ConnectedRegistry resources.
|
|
128
|
+
*/
|
|
129
|
+
export interface ConnectedRegistryState {
|
|
130
|
+
/**
|
|
131
|
+
* Should the log auditting be enabled?
|
|
132
|
+
*/
|
|
133
|
+
auditLogEnabled?: pulumi.Input<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* Specifies a list of IDs of Container Registry Tokens, which are meant to be used by the clients to connect to the Connected Registry.
|
|
136
|
+
*/
|
|
137
|
+
clientTokenIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the Container Registry that this Connected Registry will reside in. Changing this forces a new Container Connected Registry to be created.
|
|
140
|
+
*/
|
|
141
|
+
containerRegistryId?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The verbosity of the logs. Possible values are `None`, `Debug`, `Information`, `Warning` and `Error`.
|
|
144
|
+
*/
|
|
145
|
+
logLevel?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The mode of the Connected Registry. Possible values are `Mirror`, `ReadOnly`, `ReadWrite` and `Registry`. Changing this forces a new Container Connected Registry to be created.
|
|
148
|
+
*/
|
|
149
|
+
mode?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The name which should be used for this Container Connected Registry. Changing this forces a new Container Connected Registry to be created.
|
|
152
|
+
*/
|
|
153
|
+
name?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* One or more `notification` blocks as defined below.
|
|
156
|
+
*/
|
|
157
|
+
notifications?: pulumi.Input<pulumi.Input<inputs.containerservice.ConnectedRegistryNotification>[]>;
|
|
158
|
+
/**
|
|
159
|
+
* The ID of the parent registry. This can be either a Container Registry ID or a Connected Registry ID. Changing this forces a new Container Connected Registry to be created.
|
|
160
|
+
*/
|
|
161
|
+
parentRegistryId?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* The period of time (in form of ISO8601) for which a message is available to sync before it is expired. Allowed range is from `P1D` to `P90D`.
|
|
164
|
+
*/
|
|
165
|
+
syncMessageTtl?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The cron expression indicating the schedule that the Connected Registry will sync with its parent.
|
|
168
|
+
*/
|
|
169
|
+
syncSchedule?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The ID of the Container Registry Token which is used for synchronizing the Connected Registry. Changing this forces a new Container Connected Registry to be created.
|
|
172
|
+
*/
|
|
173
|
+
syncTokenId?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The time window (in form of ISO8601) during which sync is enabled for each schedule occurrence. Allowed range is from `PT3H` to `P7D`.
|
|
176
|
+
*/
|
|
177
|
+
syncWindow?: pulumi.Input<string>;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The set of arguments for constructing a ConnectedRegistry resource.
|
|
181
|
+
*/
|
|
182
|
+
export interface ConnectedRegistryArgs {
|
|
183
|
+
/**
|
|
184
|
+
* Should the log auditting be enabled?
|
|
185
|
+
*/
|
|
186
|
+
auditLogEnabled?: pulumi.Input<boolean>;
|
|
187
|
+
/**
|
|
188
|
+
* Specifies a list of IDs of Container Registry Tokens, which are meant to be used by the clients to connect to the Connected Registry.
|
|
189
|
+
*/
|
|
190
|
+
clientTokenIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
191
|
+
/**
|
|
192
|
+
* The ID of the Container Registry that this Connected Registry will reside in. Changing this forces a new Container Connected Registry to be created.
|
|
193
|
+
*/
|
|
194
|
+
containerRegistryId: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* The verbosity of the logs. Possible values are `None`, `Debug`, `Information`, `Warning` and `Error`.
|
|
197
|
+
*/
|
|
198
|
+
logLevel?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The mode of the Connected Registry. Possible values are `Mirror`, `ReadOnly`, `ReadWrite` and `Registry`. Changing this forces a new Container Connected Registry to be created.
|
|
201
|
+
*/
|
|
202
|
+
mode?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* The name which should be used for this Container Connected Registry. Changing this forces a new Container Connected Registry to be created.
|
|
205
|
+
*/
|
|
206
|
+
name?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* One or more `notification` blocks as defined below.
|
|
209
|
+
*/
|
|
210
|
+
notifications?: pulumi.Input<pulumi.Input<inputs.containerservice.ConnectedRegistryNotification>[]>;
|
|
211
|
+
/**
|
|
212
|
+
* The ID of the parent registry. This can be either a Container Registry ID or a Connected Registry ID. Changing this forces a new Container Connected Registry to be created.
|
|
213
|
+
*/
|
|
214
|
+
parentRegistryId?: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* The period of time (in form of ISO8601) for which a message is available to sync before it is expired. Allowed range is from `P1D` to `P90D`.
|
|
217
|
+
*/
|
|
218
|
+
syncMessageTtl?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* The cron expression indicating the schedule that the Connected Registry will sync with its parent.
|
|
221
|
+
*/
|
|
222
|
+
syncSchedule?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* The ID of the Container Registry Token which is used for synchronizing the Connected Registry. Changing this forces a new Container Connected Registry to be created.
|
|
225
|
+
*/
|
|
226
|
+
syncTokenId: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* The time window (in form of ISO8601) during which sync is enabled for each schedule occurrence. Allowed range is from `PT3H` to `P7D`.
|
|
229
|
+
*/
|
|
230
|
+
syncWindow?: pulumi.Input<string>;
|
|
231
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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.ConnectedRegistry = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Container Connected Registry.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
18
|
+
* const exampleRegistry = new azure.containerservice.Registry("exampleRegistry", {
|
|
19
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
20
|
+
* location: exampleResourceGroup.location,
|
|
21
|
+
* sku: "Premium",
|
|
22
|
+
* dataEndpointEnabled: true,
|
|
23
|
+
* });
|
|
24
|
+
* const exampleRegistryScopeMap = new azure.containerservice.RegistryScopeMap("exampleRegistryScopeMap", {
|
|
25
|
+
* containerRegistryName: exampleRegistry.name,
|
|
26
|
+
* resourceGroupName: exampleRegistry.resourceGroupName,
|
|
27
|
+
* actions: [
|
|
28
|
+
* "repositories/hello-world/content/delete",
|
|
29
|
+
* "repositories/hello-world/content/read",
|
|
30
|
+
* "repositories/hello-world/content/write",
|
|
31
|
+
* "repositories/hello-world/metadata/read",
|
|
32
|
+
* "repositories/hello-world/metadata/write",
|
|
33
|
+
* "gateway/examplecr/config/read",
|
|
34
|
+
* "gateway/examplecr/config/write",
|
|
35
|
+
* "gateway/examplecr/message/read",
|
|
36
|
+
* "gateway/examplecr/message/write",
|
|
37
|
+
* ],
|
|
38
|
+
* });
|
|
39
|
+
* const exampleRegistryToken = new azure.containerservice.RegistryToken("exampleRegistryToken", {
|
|
40
|
+
* containerRegistryName: exampleRegistry.name,
|
|
41
|
+
* resourceGroupName: exampleRegistry.resourceGroupName,
|
|
42
|
+
* scopeMapId: exampleRegistryScopeMap.id,
|
|
43
|
+
* });
|
|
44
|
+
* const exampleConnectedRegistry = new azure.containerservice.ConnectedRegistry("exampleConnectedRegistry", {
|
|
45
|
+
* containerRegistryId: exampleRegistry.id,
|
|
46
|
+
* syncTokenId: exampleRegistryToken.id,
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* Container Connected Registrys can be imported using the `resource id`, e.g.
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import azure:containerservice/connectedRegistry:ConnectedRegistry example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.ContainerRegistry/registries/registry1/connectedRegistries/registry1
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
class ConnectedRegistry extends pulumi.CustomResource {
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["auditLogEnabled"] = state ? state.auditLogEnabled : undefined;
|
|
65
|
+
resourceInputs["clientTokenIds"] = state ? state.clientTokenIds : undefined;
|
|
66
|
+
resourceInputs["containerRegistryId"] = state ? state.containerRegistryId : undefined;
|
|
67
|
+
resourceInputs["logLevel"] = state ? state.logLevel : undefined;
|
|
68
|
+
resourceInputs["mode"] = state ? state.mode : undefined;
|
|
69
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
70
|
+
resourceInputs["notifications"] = state ? state.notifications : undefined;
|
|
71
|
+
resourceInputs["parentRegistryId"] = state ? state.parentRegistryId : undefined;
|
|
72
|
+
resourceInputs["syncMessageTtl"] = state ? state.syncMessageTtl : undefined;
|
|
73
|
+
resourceInputs["syncSchedule"] = state ? state.syncSchedule : undefined;
|
|
74
|
+
resourceInputs["syncTokenId"] = state ? state.syncTokenId : undefined;
|
|
75
|
+
resourceInputs["syncWindow"] = state ? state.syncWindow : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.containerRegistryId === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'containerRegistryId'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.syncTokenId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'syncTokenId'");
|
|
84
|
+
}
|
|
85
|
+
resourceInputs["auditLogEnabled"] = args ? args.auditLogEnabled : undefined;
|
|
86
|
+
resourceInputs["clientTokenIds"] = args ? args.clientTokenIds : undefined;
|
|
87
|
+
resourceInputs["containerRegistryId"] = args ? args.containerRegistryId : undefined;
|
|
88
|
+
resourceInputs["logLevel"] = args ? args.logLevel : undefined;
|
|
89
|
+
resourceInputs["mode"] = args ? args.mode : undefined;
|
|
90
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
91
|
+
resourceInputs["notifications"] = args ? args.notifications : undefined;
|
|
92
|
+
resourceInputs["parentRegistryId"] = args ? args.parentRegistryId : undefined;
|
|
93
|
+
resourceInputs["syncMessageTtl"] = args ? args.syncMessageTtl : undefined;
|
|
94
|
+
resourceInputs["syncSchedule"] = args ? args.syncSchedule : undefined;
|
|
95
|
+
resourceInputs["syncTokenId"] = args ? args.syncTokenId : undefined;
|
|
96
|
+
resourceInputs["syncWindow"] = args ? args.syncWindow : undefined;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(ConnectedRegistry.__pulumiType, name, resourceInputs, opts);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Get an existing ConnectedRegistry resource's state with the given name, ID, and optional extra
|
|
103
|
+
* properties used to qualify the lookup.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resulting resource.
|
|
106
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
107
|
+
* @param state Any extra arguments used during the lookup.
|
|
108
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
109
|
+
*/
|
|
110
|
+
static get(name, id, state, opts) {
|
|
111
|
+
return new ConnectedRegistry(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Returns true if the given object is an instance of ConnectedRegistry. This is designed to work even
|
|
115
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
116
|
+
*/
|
|
117
|
+
static isInstance(obj) {
|
|
118
|
+
if (obj === undefined || obj === null) {
|
|
119
|
+
return false;
|
|
120
|
+
}
|
|
121
|
+
return obj['__pulumiType'] === ConnectedRegistry.__pulumiType;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.ConnectedRegistry = ConnectedRegistry;
|
|
125
|
+
/** @internal */
|
|
126
|
+
ConnectedRegistry.__pulumiType = 'azure:containerservice/connectedRegistry:ConnectedRegistry';
|
|
127
|
+
//# sourceMappingURL=connectedRegistry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectedRegistry.js","sourceRoot":"","sources":["../../containerservice/connectedRegistry.ts"],"names":[],"mappings":"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"}
|
|
@@ -98,6 +98,10 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
98
98
|
* A `imageRegistryCredential` block as documented below. Changing this forces a new resource to be created.
|
|
99
99
|
*/
|
|
100
100
|
readonly imageRegistryCredentials: pulumi.Output<outputs.containerservice.GroupImageRegistryCredential[] | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* The definition of an init container that is part of the group as documented in the `initContainer` block below. Changing this forces a new resource to be created.
|
|
103
|
+
*/
|
|
104
|
+
readonly initContainers: pulumi.Output<outputs.containerservice.GroupInitContainer[] | undefined>;
|
|
101
105
|
/**
|
|
102
106
|
* The IP address allocated to the container group.
|
|
103
107
|
*/
|
|
@@ -181,6 +185,10 @@ export interface GroupState {
|
|
|
181
185
|
* A `imageRegistryCredential` block as documented below. Changing this forces a new resource to be created.
|
|
182
186
|
*/
|
|
183
187
|
imageRegistryCredentials?: pulumi.Input<pulumi.Input<inputs.containerservice.GroupImageRegistryCredential>[]>;
|
|
188
|
+
/**
|
|
189
|
+
* The definition of an init container that is part of the group as documented in the `initContainer` block below. Changing this forces a new resource to be created.
|
|
190
|
+
*/
|
|
191
|
+
initContainers?: pulumi.Input<pulumi.Input<inputs.containerservice.GroupInitContainer>[]>;
|
|
184
192
|
/**
|
|
185
193
|
* The IP address allocated to the container group.
|
|
186
194
|
*/
|
|
@@ -252,6 +260,10 @@ export interface GroupArgs {
|
|
|
252
260
|
* A `imageRegistryCredential` block as documented below. Changing this forces a new resource to be created.
|
|
253
261
|
*/
|
|
254
262
|
imageRegistryCredentials?: pulumi.Input<pulumi.Input<inputs.containerservice.GroupImageRegistryCredential>[]>;
|
|
263
|
+
/**
|
|
264
|
+
* The definition of an init container that is part of the group as documented in the `initContainer` block below. Changing this forces a new resource to be created.
|
|
265
|
+
*/
|
|
266
|
+
initContainers?: pulumi.Input<pulumi.Input<inputs.containerservice.GroupInitContainer>[]>;
|
|
255
267
|
/**
|
|
256
268
|
* Specifies the ip address type of the container. `Public`, `Private` or `None`. Changing this forces a new resource to be created. If set to `Private`, `networkProfileId` also needs to be set.
|
|
257
269
|
*/
|
|
@@ -69,6 +69,7 @@ class Group extends pulumi.CustomResource {
|
|
|
69
69
|
resourceInputs["fqdn"] = state ? state.fqdn : undefined;
|
|
70
70
|
resourceInputs["identity"] = state ? state.identity : undefined;
|
|
71
71
|
resourceInputs["imageRegistryCredentials"] = state ? state.imageRegistryCredentials : undefined;
|
|
72
|
+
resourceInputs["initContainers"] = state ? state.initContainers : undefined;
|
|
72
73
|
resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
73
74
|
resourceInputs["ipAddressType"] = state ? state.ipAddressType : undefined;
|
|
74
75
|
resourceInputs["location"] = state ? state.location : undefined;
|
|
@@ -97,6 +98,7 @@ class Group extends pulumi.CustomResource {
|
|
|
97
98
|
resourceInputs["exposedPorts"] = args ? args.exposedPorts : undefined;
|
|
98
99
|
resourceInputs["identity"] = args ? args.identity : undefined;
|
|
99
100
|
resourceInputs["imageRegistryCredentials"] = args ? args.imageRegistryCredentials : undefined;
|
|
101
|
+
resourceInputs["initContainers"] = args ? args.initContainers : undefined;
|
|
100
102
|
resourceInputs["ipAddressType"] = args ? args.ipAddressType : undefined;
|
|
101
103
|
resourceInputs["location"] = args ? args.location : undefined;
|
|
102
104
|
resourceInputs["name"] = args ? args.name : undefined;
|