@pulumi/azure 5.20.0 → 5.21.0-alpha.1665003888
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/apimanagement/logger.d.ts +3 -3
- package/automation/softwareUpdateConfiguration.d.ts +3 -3
- package/cdn/frontdoorCustomEndpoint.d.ts +176 -0
- package/cdn/frontdoorCustomEndpoint.js +122 -0
- package/cdn/frontdoorCustomEndpoint.js.map +1 -0
- package/cdn/frontdoorOrigin.d.ts +16 -4
- package/cdn/frontdoorOrigin.js +2 -0
- package/cdn/frontdoorOrigin.js.map +1 -1
- package/cdn/frontdoorRoute.d.ts +193 -0
- package/cdn/frontdoorRoute.js +97 -0
- package/cdn/frontdoorRoute.js.map +1 -0
- package/cdn/frontdoorRouteDisableLinkToDefaultDomain.d.ts +86 -0
- package/cdn/frontdoorRouteDisableLinkToDefaultDomain.js +83 -0
- package/cdn/frontdoorRouteDisableLinkToDefaultDomain.js.map +1 -0
- package/cdn/frontdoorRule.d.ts +4 -4
- package/cdn/frontdoorRule.js +1 -1
- package/cdn/index.d.ts +9 -0
- package/cdn/index.js +16 -1
- package/cdn/index.js.map +1 -1
- package/cognitive/account.d.ts +12 -0
- package/cognitive/account.js +2 -0
- package/cognitive/account.js.map +1 -1
- package/cognitive/accountCustomerManagedKey.d.ts +2 -0
- package/cognitive/accountCustomerManagedKey.js +2 -0
- package/cognitive/accountCustomerManagedKey.js.map +1 -1
- package/compute/linuxVirtualMachine.d.ts +12 -0
- package/compute/linuxVirtualMachine.js +2 -0
- package/compute/linuxVirtualMachine.js.map +1 -1
- package/compute/orchestratedVirtualMachineScaleSet.d.ts +15 -3
- package/compute/orchestratedVirtualMachineScaleSet.js +2 -0
- package/compute/orchestratedVirtualMachineScaleSet.js.map +1 -1
- package/compute/windowsVirtualMachine.d.ts +12 -0
- package/compute/windowsVirtualMachine.js +2 -0
- package/compute/windowsVirtualMachine.js.map +1 -1
- package/config/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/databricks/getWorkspace.d.ts +4 -0
- package/databricks/getWorkspace.js.map +1 -1
- package/dataprotection/backupInstanceBlogStorage.d.ts +9 -0
- package/dataprotection/backupInstanceBlogStorage.js.map +1 -1
- package/devtest/lab.d.ts +6 -0
- package/devtest/lab.js.map +1 -1
- package/eventhub/eventHubNamespace.d.ts +3 -3
- package/healthcare/fhirService.d.ts +20 -0
- package/healthcare/fhirService.js +4 -0
- package/healthcare/fhirService.js.map +1 -1
- package/iot/route.d.ts +3 -3
- package/iotcentral/application.d.ts +26 -0
- package/iotcentral/application.js +4 -0
- package/iotcentral/application.js.map +1 -1
- package/loganalytics/linkedStorageAccount.d.ts +4 -4
- package/loganalytics/linkedStorageAccount.js +1 -1
- package/machinelearning/workspace.d.ts +19 -7
- package/machinelearning/workspace.js +2 -0
- package/machinelearning/workspace.js.map +1 -1
- package/monitoring/dataCollectionRuleAssociation.d.ts +4 -4
- package/monitoring/dataCollectionRuleAssociation.js +4 -4
- package/network/bgpConnection.d.ts +12 -0
- package/network/bgpConnection.js +2 -0
- package/network/bgpConnection.js.map +1 -1
- package/network/firewall.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +8 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/types/input.d.ts +277 -11
- package/types/output.d.ts +282 -16
|
@@ -86,7 +86,7 @@ export declare class Logger extends pulumi.CustomResource {
|
|
|
86
86
|
*/
|
|
87
87
|
readonly resourceGroupName: pulumi.Output<string>;
|
|
88
88
|
/**
|
|
89
|
-
* The target resource id which will be linked in the API-Management portal page.
|
|
89
|
+
* The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
|
|
90
90
|
*/
|
|
91
91
|
readonly resourceId: pulumi.Output<string | undefined>;
|
|
92
92
|
/**
|
|
@@ -131,7 +131,7 @@ export interface LoggerState {
|
|
|
131
131
|
*/
|
|
132
132
|
resourceGroupName?: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
134
|
-
* The target resource id which will be linked in the API-Management portal page.
|
|
134
|
+
* The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
|
|
135
135
|
*/
|
|
136
136
|
resourceId?: pulumi.Input<string>;
|
|
137
137
|
}
|
|
@@ -168,7 +168,7 @@ export interface LoggerArgs {
|
|
|
168
168
|
*/
|
|
169
169
|
resourceGroupName: pulumi.Input<string>;
|
|
170
170
|
/**
|
|
171
|
-
* The target resource id which will be linked in the API-Management portal page.
|
|
171
|
+
* The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
|
|
172
172
|
*/
|
|
173
173
|
resourceId?: pulumi.Input<string>;
|
|
174
174
|
}
|
|
@@ -83,7 +83,7 @@ export declare class SoftwareUpdateConfiguration extends pulumi.CustomResource {
|
|
|
83
83
|
/**
|
|
84
84
|
* One or more `windows` blocks as defined below.
|
|
85
85
|
*/
|
|
86
|
-
readonly windows: pulumi.Output<outputs.automation.
|
|
86
|
+
readonly windows: pulumi.Output<outputs.automation.SoftwareUpdateConfigurationWindows | undefined>;
|
|
87
87
|
/**
|
|
88
88
|
* Create a SoftwareUpdateConfiguration resource with the given unique name, arguments, and options.
|
|
89
89
|
*
|
|
@@ -152,7 +152,7 @@ export interface SoftwareUpdateConfigurationState {
|
|
|
152
152
|
/**
|
|
153
153
|
* One or more `windows` blocks as defined below.
|
|
154
154
|
*/
|
|
155
|
-
windows?: pulumi.Input<
|
|
155
|
+
windows?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationWindows>;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* The set of arguments for constructing a SoftwareUpdateConfiguration resource.
|
|
@@ -205,5 +205,5 @@ export interface SoftwareUpdateConfigurationArgs {
|
|
|
205
205
|
/**
|
|
206
206
|
* One or more `windows` blocks as defined below.
|
|
207
207
|
*/
|
|
208
|
-
windows?: pulumi.Input<
|
|
208
|
+
windows?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationWindows>;
|
|
209
209
|
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
12
|
+
* const exampleZone = new azure.dns.Zone("exampleZone", {resourceGroupName: azurerm_resource_group.test.name});
|
|
13
|
+
* const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("exampleFrontdoorProfile", {resourceGroupName: exampleResourceGroup.name});
|
|
14
|
+
* const exampleFrontdoorCustomEndpoint = new azure.cdn.FrontdoorCustomEndpoint("exampleFrontdoorCustomEndpoint", {
|
|
15
|
+
* cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
|
|
16
|
+
* dnsZoneId: exampleZone.id,
|
|
17
|
+
* hostName: "contoso.com",
|
|
18
|
+
* associateWithCdnFrontdoorRouteId: azurerm_cdn_frontdoor_route.example.id,
|
|
19
|
+
* tls: {
|
|
20
|
+
* certificateType: "ManagedCertificate",
|
|
21
|
+
* minimumTlsVersion: "TLS12",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
* ## Example CNAME Record Usage
|
|
26
|
+
*
|
|
27
|
+
* !>**IMPORTANT:** You **must** include the `dependsOn` meta-argument which references both the `azure.cdn.FrontdoorRoute` and the `azure.cdn.FrontdoorSecurityPolicy` that are associated with your Custom Domain. The reason for these `dependsOn` meta-arguments is because all of the resources for the Custom Domain need to be associated within FrontDoor before the CNAME record can be written to the domains DNS, else the CNAME validation will fail and FrontDoor will not enable traffic to the Domain.
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as azure from "@pulumi/azure";
|
|
32
|
+
*
|
|
33
|
+
* const example = new azure.dns.CNameRecord("example", {
|
|
34
|
+
* zoneName: azurerm_dns_zone.example.name,
|
|
35
|
+
* resourceGroupName: azurerm_resource_group.example.name,
|
|
36
|
+
* ttl: 3600,
|
|
37
|
+
* record: azurerm_cdn_frontdoor_endpoint.example.host_name,
|
|
38
|
+
* }, {
|
|
39
|
+
* dependsOn: [
|
|
40
|
+
* azurerm_cdn_frontdoor_route.example,
|
|
41
|
+
* azurerm_cdn_frontdoor_security_policy.example,
|
|
42
|
+
* ],
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* CDN FrontDoor Custom Domains can be imported using the `resource id`, e.g.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import azure:cdn/frontdoorCustomEndpoint:FrontdoorCustomEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/customDomains/customDomain1
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare class FrontdoorCustomEndpoint extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing FrontdoorCustomEndpoint resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FrontdoorCustomEndpointState, opts?: pulumi.CustomResourceOptions): FrontdoorCustomEndpoint;
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of FrontdoorCustomEndpoint. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj: any): obj is FrontdoorCustomEndpoint;
|
|
70
|
+
/**
|
|
71
|
+
* The resource ID of the CDN FrontDoor Route this Custom Domain should be associated with.
|
|
72
|
+
*/
|
|
73
|
+
readonly associateWithCdnFrontdoorRouteId: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the Frontdoor Profile. Changing this forces a new Frontdoor Profile to be created.
|
|
76
|
+
*/
|
|
77
|
+
readonly cdnFrontdoorProfileId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the DNS Zone which should be used for this FrontDoor Custom Domain.
|
|
80
|
+
*/
|
|
81
|
+
readonly dnsZoneId: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The date time that the token expires.
|
|
84
|
+
*/
|
|
85
|
+
readonly expirationDate: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The host name of the domain. Changing this forces a new CDN FrontDoor Custom Domain to be created.
|
|
88
|
+
*/
|
|
89
|
+
readonly hostName: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The name which should be used for this CDN FrontDoor Custom Domain. Possible values must be between 2 and 260 characters in length, must begin with a letter or number, end with a letter or number and contain only letters, numbers and hyphens. Changing this forces a new CDN FrontDoor Custom Domain to be created.
|
|
92
|
+
*/
|
|
93
|
+
readonly name: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* A `tls` block as defined below.
|
|
96
|
+
*/
|
|
97
|
+
readonly tls: pulumi.Output<outputs.cdn.FrontdoorCustomEndpointTls>;
|
|
98
|
+
/**
|
|
99
|
+
* Challenge used for DNS TXT record or file based validation.
|
|
100
|
+
*/
|
|
101
|
+
readonly validationToken: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a FrontdoorCustomEndpoint resource with the given unique name, arguments, and options.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resource.
|
|
106
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
107
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
108
|
+
*/
|
|
109
|
+
constructor(name: string, args: FrontdoorCustomEndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Input properties used for looking up and filtering FrontdoorCustomEndpoint resources.
|
|
113
|
+
*/
|
|
114
|
+
export interface FrontdoorCustomEndpointState {
|
|
115
|
+
/**
|
|
116
|
+
* The resource ID of the CDN FrontDoor Route this Custom Domain should be associated with.
|
|
117
|
+
*/
|
|
118
|
+
associateWithCdnFrontdoorRouteId?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the Frontdoor Profile. Changing this forces a new Frontdoor Profile to be created.
|
|
121
|
+
*/
|
|
122
|
+
cdnFrontdoorProfileId?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The ID of the DNS Zone which should be used for this FrontDoor Custom Domain.
|
|
125
|
+
*/
|
|
126
|
+
dnsZoneId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The date time that the token expires.
|
|
129
|
+
*/
|
|
130
|
+
expirationDate?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The host name of the domain. Changing this forces a new CDN FrontDoor Custom Domain to be created.
|
|
133
|
+
*/
|
|
134
|
+
hostName?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The name which should be used for this CDN FrontDoor Custom Domain. Possible values must be between 2 and 260 characters in length, must begin with a letter or number, end with a letter or number and contain only letters, numbers and hyphens. Changing this forces a new CDN FrontDoor Custom Domain to be created.
|
|
137
|
+
*/
|
|
138
|
+
name?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* A `tls` block as defined below.
|
|
141
|
+
*/
|
|
142
|
+
tls?: pulumi.Input<inputs.cdn.FrontdoorCustomEndpointTls>;
|
|
143
|
+
/**
|
|
144
|
+
* Challenge used for DNS TXT record or file based validation.
|
|
145
|
+
*/
|
|
146
|
+
validationToken?: pulumi.Input<string>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The set of arguments for constructing a FrontdoorCustomEndpoint resource.
|
|
150
|
+
*/
|
|
151
|
+
export interface FrontdoorCustomEndpointArgs {
|
|
152
|
+
/**
|
|
153
|
+
* The resource ID of the CDN FrontDoor Route this Custom Domain should be associated with.
|
|
154
|
+
*/
|
|
155
|
+
associateWithCdnFrontdoorRouteId?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the Frontdoor Profile. Changing this forces a new Frontdoor Profile to be created.
|
|
158
|
+
*/
|
|
159
|
+
cdnFrontdoorProfileId: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The ID of the DNS Zone which should be used for this FrontDoor Custom Domain.
|
|
162
|
+
*/
|
|
163
|
+
dnsZoneId?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The host name of the domain. Changing this forces a new CDN FrontDoor Custom Domain to be created.
|
|
166
|
+
*/
|
|
167
|
+
hostName: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The name which should be used for this CDN FrontDoor Custom Domain. Possible values must be between 2 and 260 characters in length, must begin with a letter or number, end with a letter or number and contain only letters, numbers and hyphens. Changing this forces a new CDN FrontDoor Custom Domain to be created.
|
|
170
|
+
*/
|
|
171
|
+
name?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* A `tls` block as defined below.
|
|
174
|
+
*/
|
|
175
|
+
tls: pulumi.Input<inputs.cdn.FrontdoorCustomEndpointTls>;
|
|
176
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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.FrontdoorCustomEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as azure from "@pulumi/azure";
|
|
14
|
+
*
|
|
15
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
16
|
+
* const exampleZone = new azure.dns.Zone("exampleZone", {resourceGroupName: azurerm_resource_group.test.name});
|
|
17
|
+
* const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("exampleFrontdoorProfile", {resourceGroupName: exampleResourceGroup.name});
|
|
18
|
+
* const exampleFrontdoorCustomEndpoint = new azure.cdn.FrontdoorCustomEndpoint("exampleFrontdoorCustomEndpoint", {
|
|
19
|
+
* cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
|
|
20
|
+
* dnsZoneId: exampleZone.id,
|
|
21
|
+
* hostName: "contoso.com",
|
|
22
|
+
* associateWithCdnFrontdoorRouteId: azurerm_cdn_frontdoor_route.example.id,
|
|
23
|
+
* tls: {
|
|
24
|
+
* certificateType: "ManagedCertificate",
|
|
25
|
+
* minimumTlsVersion: "TLS12",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
* ## Example CNAME Record Usage
|
|
30
|
+
*
|
|
31
|
+
* !>**IMPORTANT:** You **must** include the `dependsOn` meta-argument which references both the `azure.cdn.FrontdoorRoute` and the `azure.cdn.FrontdoorSecurityPolicy` that are associated with your Custom Domain. The reason for these `dependsOn` meta-arguments is because all of the resources for the Custom Domain need to be associated within FrontDoor before the CNAME record can be written to the domains DNS, else the CNAME validation will fail and FrontDoor will not enable traffic to the Domain.
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as azure from "@pulumi/azure";
|
|
36
|
+
*
|
|
37
|
+
* const example = new azure.dns.CNameRecord("example", {
|
|
38
|
+
* zoneName: azurerm_dns_zone.example.name,
|
|
39
|
+
* resourceGroupName: azurerm_resource_group.example.name,
|
|
40
|
+
* ttl: 3600,
|
|
41
|
+
* record: azurerm_cdn_frontdoor_endpoint.example.host_name,
|
|
42
|
+
* }, {
|
|
43
|
+
* dependsOn: [
|
|
44
|
+
* azurerm_cdn_frontdoor_route.example,
|
|
45
|
+
* azurerm_cdn_frontdoor_security_policy.example,
|
|
46
|
+
* ],
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* CDN FrontDoor Custom Domains can be imported using the `resource id`, e.g.
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import azure:cdn/frontdoorCustomEndpoint:FrontdoorCustomEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/customDomains/customDomain1
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
class FrontdoorCustomEndpoint extends pulumi.CustomResource {
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["associateWithCdnFrontdoorRouteId"] = state ? state.associateWithCdnFrontdoorRouteId : undefined;
|
|
65
|
+
resourceInputs["cdnFrontdoorProfileId"] = state ? state.cdnFrontdoorProfileId : undefined;
|
|
66
|
+
resourceInputs["dnsZoneId"] = state ? state.dnsZoneId : undefined;
|
|
67
|
+
resourceInputs["expirationDate"] = state ? state.expirationDate : undefined;
|
|
68
|
+
resourceInputs["hostName"] = state ? state.hostName : undefined;
|
|
69
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
70
|
+
resourceInputs["tls"] = state ? state.tls : undefined;
|
|
71
|
+
resourceInputs["validationToken"] = state ? state.validationToken : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.cdnFrontdoorProfileId === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'cdnFrontdoorProfileId'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.hostName === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'hostName'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.tls === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'tls'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["associateWithCdnFrontdoorRouteId"] = args ? args.associateWithCdnFrontdoorRouteId : undefined;
|
|
85
|
+
resourceInputs["cdnFrontdoorProfileId"] = args ? args.cdnFrontdoorProfileId : undefined;
|
|
86
|
+
resourceInputs["dnsZoneId"] = args ? args.dnsZoneId : undefined;
|
|
87
|
+
resourceInputs["hostName"] = args ? args.hostName : undefined;
|
|
88
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
89
|
+
resourceInputs["tls"] = args ? args.tls : undefined;
|
|
90
|
+
resourceInputs["expirationDate"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["validationToken"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(FrontdoorCustomEndpoint.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Get an existing FrontdoorCustomEndpoint resource's state with the given name, ID, and optional extra
|
|
98
|
+
* properties used to qualify the lookup.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resulting resource.
|
|
101
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
102
|
+
* @param state Any extra arguments used during the lookup.
|
|
103
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
104
|
+
*/
|
|
105
|
+
static get(name, id, state, opts) {
|
|
106
|
+
return new FrontdoorCustomEndpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Returns true if the given object is an instance of FrontdoorCustomEndpoint. This is designed to work even
|
|
110
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
111
|
+
*/
|
|
112
|
+
static isInstance(obj) {
|
|
113
|
+
if (obj === undefined || obj === null) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
return obj['__pulumiType'] === FrontdoorCustomEndpoint.__pulumiType;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.FrontdoorCustomEndpoint = FrontdoorCustomEndpoint;
|
|
120
|
+
/** @internal */
|
|
121
|
+
FrontdoorCustomEndpoint.__pulumiType = 'azure:cdn/frontdoorCustomEndpoint:FrontdoorCustomEndpoint';
|
|
122
|
+
//# sourceMappingURL=frontdoorCustomEndpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontdoorCustomEndpoint.js","sourceRoot":"","sources":["../../cdn/frontdoorCustomEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAqE9D,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI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E,CAAC;IAvGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;;AA1BL,0DAyGC;AA3FG,gBAAgB;AACO,oCAAY,GAAG,2DAA2D,CAAC"}
|
package/cdn/frontdoorOrigin.d.ts
CHANGED
|
@@ -35,9 +35,13 @@ export declare class FrontdoorOrigin extends pulumi.CustomResource {
|
|
|
35
35
|
*/
|
|
36
36
|
readonly certificateNameCheckEnabled: pulumi.Output<boolean>;
|
|
37
37
|
/**
|
|
38
|
-
* Should the
|
|
38
|
+
* Should the origin be enabled? Possible values are `true` or `false`. Defaults to `true`.
|
|
39
39
|
*/
|
|
40
|
-
readonly
|
|
40
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated `health_probes_enabled` will be removed in favour of the `enabled` property in version 4.0 of the AzureRM Provider.
|
|
43
|
+
*/
|
|
44
|
+
readonly healthProbesEnabled: pulumi.Output<boolean>;
|
|
41
45
|
/**
|
|
42
46
|
* The IPv4 address, IPv6 address or Domain name of the Origin.
|
|
43
47
|
*/
|
|
@@ -92,7 +96,11 @@ export interface FrontdoorOriginState {
|
|
|
92
96
|
*/
|
|
93
97
|
certificateNameCheckEnabled?: pulumi.Input<boolean>;
|
|
94
98
|
/**
|
|
95
|
-
* Should the
|
|
99
|
+
* Should the origin be enabled? Possible values are `true` or `false`. Defaults to `true`.
|
|
100
|
+
*/
|
|
101
|
+
enabled?: pulumi.Input<boolean>;
|
|
102
|
+
/**
|
|
103
|
+
* @deprecated `health_probes_enabled` will be removed in favour of the `enabled` property in version 4.0 of the AzureRM Provider.
|
|
96
104
|
*/
|
|
97
105
|
healthProbesEnabled?: pulumi.Input<boolean>;
|
|
98
106
|
/**
|
|
@@ -141,7 +149,11 @@ export interface FrontdoorOriginArgs {
|
|
|
141
149
|
*/
|
|
142
150
|
certificateNameCheckEnabled: pulumi.Input<boolean>;
|
|
143
151
|
/**
|
|
144
|
-
* Should the
|
|
152
|
+
* Should the origin be enabled? Possible values are `true` or `false`. Defaults to `true`.
|
|
153
|
+
*/
|
|
154
|
+
enabled?: pulumi.Input<boolean>;
|
|
155
|
+
/**
|
|
156
|
+
* @deprecated `health_probes_enabled` will be removed in favour of the `enabled` property in version 4.0 of the AzureRM Provider.
|
|
145
157
|
*/
|
|
146
158
|
healthProbesEnabled?: pulumi.Input<boolean>;
|
|
147
159
|
/**
|
package/cdn/frontdoorOrigin.js
CHANGED
|
@@ -22,6 +22,7 @@ class FrontdoorOrigin extends pulumi.CustomResource {
|
|
|
22
22
|
const state = argsOrState;
|
|
23
23
|
resourceInputs["cdnFrontdoorOriginGroupId"] = state ? state.cdnFrontdoorOriginGroupId : undefined;
|
|
24
24
|
resourceInputs["certificateNameCheckEnabled"] = state ? state.certificateNameCheckEnabled : undefined;
|
|
25
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
25
26
|
resourceInputs["healthProbesEnabled"] = state ? state.healthProbesEnabled : undefined;
|
|
26
27
|
resourceInputs["hostName"] = state ? state.hostName : undefined;
|
|
27
28
|
resourceInputs["httpPort"] = state ? state.httpPort : undefined;
|
|
@@ -45,6 +46,7 @@ class FrontdoorOrigin extends pulumi.CustomResource {
|
|
|
45
46
|
}
|
|
46
47
|
resourceInputs["cdnFrontdoorOriginGroupId"] = args ? args.cdnFrontdoorOriginGroupId : undefined;
|
|
47
48
|
resourceInputs["certificateNameCheckEnabled"] = args ? args.certificateNameCheckEnabled : undefined;
|
|
49
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
48
50
|
resourceInputs["healthProbesEnabled"] = args ? args.healthProbesEnabled : undefined;
|
|
49
51
|
resourceInputs["hostName"] = args ? args.hostName : undefined;
|
|
50
52
|
resourceInputs["httpPort"] = args ? args.httpPort : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontdoorOrigin.js","sourceRoot":"","sources":["../../cdn/frontdoorOrigin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"frontdoorOrigin.js","sourceRoot":"","sources":["../../cdn/frontdoorOrigin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAqFtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,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
|
+
/**
|
|
5
|
+
* Manages a CDN FrontDoor Route.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* Frontdoor Routes can be imported using the `resource id`, e.g.
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import azure:cdn/frontdoorRoute:FrontdoorRoute example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1/routes/route1
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class FrontdoorRoute extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing FrontdoorRoute resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FrontdoorRouteState, opts?: pulumi.CustomResourceOptions): FrontdoorRoute;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of FrontdoorRoute. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is FrontdoorRoute;
|
|
31
|
+
/**
|
|
32
|
+
* A `cache` block as defined below.
|
|
33
|
+
*/
|
|
34
|
+
readonly cache: pulumi.Output<outputs.cdn.FrontdoorRouteCache | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* The resource ID of the CDN FrontDoor Endpoint where this CDN FrontDoor Route should exist. Changing this forces a new Frontdoor Route to be created.
|
|
37
|
+
*/
|
|
38
|
+
readonly cdnFrontdoorEndpointId: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The resource ID of the CDN FrontDoor Origin Group where this CDN FrontDoor Route should be created.
|
|
41
|
+
*/
|
|
42
|
+
readonly cdnFrontdoorOriginGroupId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* One or more Frontdoor Origin resource IDs that this Frontdoor Route will link to.
|
|
45
|
+
*/
|
|
46
|
+
readonly cdnFrontdoorOriginIds: pulumi.Output<string[]>;
|
|
47
|
+
/**
|
|
48
|
+
* A directory path on the origin that Frontdoor can use to retrieve content from (e.g. `contoso.cloudapp.net/originpath`).
|
|
49
|
+
*/
|
|
50
|
+
readonly cdnFrontdoorOriginPath: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* A list of the CDN FrontDoor Rule Set IDs which should be assigned to this CDN FrontDoor Route.
|
|
53
|
+
*/
|
|
54
|
+
readonly cdnFrontdoorRuleSetIds: pulumi.Output<string[] | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* Is this Frontdoor Route enabled? Possible values are `true` or `false`. Defaults to `true`.
|
|
57
|
+
*/
|
|
58
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* The Protocol that will be use when forwarding traffic to backends. Possible values are `HttpOnly`, `HttpsOnly` or `MatchRequest`.
|
|
61
|
+
*/
|
|
62
|
+
readonly forwardingProtocol: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Automatically redirect HTTP traffic to HTTPS traffic? Possible values are `true` or `false`. Defaults to `true`.
|
|
65
|
+
*/
|
|
66
|
+
readonly httpsRedirectEnabled: pulumi.Output<boolean | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The name which should be used for this Frontdoor Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hypens with a maximum length of 90 characters. Changing this forces a new Frontdoor Route to be created.
|
|
69
|
+
*/
|
|
70
|
+
readonly name: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The route patterns of the rule.
|
|
73
|
+
*/
|
|
74
|
+
readonly patternsToMatches: pulumi.Output<string[]>;
|
|
75
|
+
/**
|
|
76
|
+
* One or more Protocols supported by this Frontdoor Route. Possible values are `Http` or `Https`.
|
|
77
|
+
*/
|
|
78
|
+
readonly supportedProtocols: pulumi.Output<string[]>;
|
|
79
|
+
/**
|
|
80
|
+
* Create a FrontdoorRoute resource with the given unique name, arguments, and options.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resource.
|
|
83
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
84
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
85
|
+
*/
|
|
86
|
+
constructor(name: string, args: FrontdoorRouteArgs, opts?: pulumi.CustomResourceOptions);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Input properties used for looking up and filtering FrontdoorRoute resources.
|
|
90
|
+
*/
|
|
91
|
+
export interface FrontdoorRouteState {
|
|
92
|
+
/**
|
|
93
|
+
* A `cache` block as defined below.
|
|
94
|
+
*/
|
|
95
|
+
cache?: pulumi.Input<inputs.cdn.FrontdoorRouteCache>;
|
|
96
|
+
/**
|
|
97
|
+
* The resource ID of the CDN FrontDoor Endpoint where this CDN FrontDoor Route should exist. Changing this forces a new Frontdoor Route to be created.
|
|
98
|
+
*/
|
|
99
|
+
cdnFrontdoorEndpointId?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The resource ID of the CDN FrontDoor Origin Group where this CDN FrontDoor Route should be created.
|
|
102
|
+
*/
|
|
103
|
+
cdnFrontdoorOriginGroupId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* One or more Frontdoor Origin resource IDs that this Frontdoor Route will link to.
|
|
106
|
+
*/
|
|
107
|
+
cdnFrontdoorOriginIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
|
+
/**
|
|
109
|
+
* A directory path on the origin that Frontdoor can use to retrieve content from (e.g. `contoso.cloudapp.net/originpath`).
|
|
110
|
+
*/
|
|
111
|
+
cdnFrontdoorOriginPath?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* A list of the CDN FrontDoor Rule Set IDs which should be assigned to this CDN FrontDoor Route.
|
|
114
|
+
*/
|
|
115
|
+
cdnFrontdoorRuleSetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* Is this Frontdoor Route enabled? Possible values are `true` or `false`. Defaults to `true`.
|
|
118
|
+
*/
|
|
119
|
+
enabled?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* The Protocol that will be use when forwarding traffic to backends. Possible values are `HttpOnly`, `HttpsOnly` or `MatchRequest`.
|
|
122
|
+
*/
|
|
123
|
+
forwardingProtocol?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Automatically redirect HTTP traffic to HTTPS traffic? Possible values are `true` or `false`. Defaults to `true`.
|
|
126
|
+
*/
|
|
127
|
+
httpsRedirectEnabled?: pulumi.Input<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* The name which should be used for this Frontdoor Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hypens with a maximum length of 90 characters. Changing this forces a new Frontdoor Route to be created.
|
|
130
|
+
*/
|
|
131
|
+
name?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The route patterns of the rule.
|
|
134
|
+
*/
|
|
135
|
+
patternsToMatches?: pulumi.Input<pulumi.Input<string>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* One or more Protocols supported by this Frontdoor Route. Possible values are `Http` or `Https`.
|
|
138
|
+
*/
|
|
139
|
+
supportedProtocols?: pulumi.Input<pulumi.Input<string>[]>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The set of arguments for constructing a FrontdoorRoute resource.
|
|
143
|
+
*/
|
|
144
|
+
export interface FrontdoorRouteArgs {
|
|
145
|
+
/**
|
|
146
|
+
* A `cache` block as defined below.
|
|
147
|
+
*/
|
|
148
|
+
cache?: pulumi.Input<inputs.cdn.FrontdoorRouteCache>;
|
|
149
|
+
/**
|
|
150
|
+
* The resource ID of the CDN FrontDoor Endpoint where this CDN FrontDoor Route should exist. Changing this forces a new Frontdoor Route to be created.
|
|
151
|
+
*/
|
|
152
|
+
cdnFrontdoorEndpointId: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The resource ID of the CDN FrontDoor Origin Group where this CDN FrontDoor Route should be created.
|
|
155
|
+
*/
|
|
156
|
+
cdnFrontdoorOriginGroupId: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* One or more Frontdoor Origin resource IDs that this Frontdoor Route will link to.
|
|
159
|
+
*/
|
|
160
|
+
cdnFrontdoorOriginIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* A directory path on the origin that Frontdoor can use to retrieve content from (e.g. `contoso.cloudapp.net/originpath`).
|
|
163
|
+
*/
|
|
164
|
+
cdnFrontdoorOriginPath?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* A list of the CDN FrontDoor Rule Set IDs which should be assigned to this CDN FrontDoor Route.
|
|
167
|
+
*/
|
|
168
|
+
cdnFrontdoorRuleSetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* Is this Frontdoor Route enabled? Possible values are `true` or `false`. Defaults to `true`.
|
|
171
|
+
*/
|
|
172
|
+
enabled?: pulumi.Input<boolean>;
|
|
173
|
+
/**
|
|
174
|
+
* The Protocol that will be use when forwarding traffic to backends. Possible values are `HttpOnly`, `HttpsOnly` or `MatchRequest`.
|
|
175
|
+
*/
|
|
176
|
+
forwardingProtocol?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Automatically redirect HTTP traffic to HTTPS traffic? Possible values are `true` or `false`. Defaults to `true`.
|
|
179
|
+
*/
|
|
180
|
+
httpsRedirectEnabled?: pulumi.Input<boolean>;
|
|
181
|
+
/**
|
|
182
|
+
* The name which should be used for this Frontdoor Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hypens with a maximum length of 90 characters. Changing this forces a new Frontdoor Route to be created.
|
|
183
|
+
*/
|
|
184
|
+
name?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The route patterns of the rule.
|
|
187
|
+
*/
|
|
188
|
+
patternsToMatches: pulumi.Input<pulumi.Input<string>[]>;
|
|
189
|
+
/**
|
|
190
|
+
* One or more Protocols supported by this Frontdoor Route. Possible values are `Http` or `Https`.
|
|
191
|
+
*/
|
|
192
|
+
supportedProtocols: pulumi.Input<pulumi.Input<string>[]>;
|
|
193
|
+
}
|