frontdoor

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirewallPolicy

type FirewallPolicy struct {
	// contains filtered or unexported fields
}

Manages an Azure Front Door Web Application Firewall Policy instance.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/frontdoor_firewall_policy.html.markdown.

func GetFirewallPolicy

func GetFirewallPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *FirewallPolicyState, opts ...pulumi.ResourceOpt) (*FirewallPolicy, error)

GetFirewallPolicy gets an existing FirewallPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFirewallPolicy

func NewFirewallPolicy(ctx *pulumi.Context,
	name string, args *FirewallPolicyArgs, opts ...pulumi.ResourceOpt) (*FirewallPolicy, error)

NewFirewallPolicy registers a new resource with the given unique name, arguments, and options.

func (*FirewallPolicy) CustomBlockResponseBody

func (r *FirewallPolicy) CustomBlockResponseBody() pulumi.StringOutput

If a `customRule` block's action type is `block`, this is the response body. The body must be specified in base64 encoding.

func (*FirewallPolicy) CustomBlockResponseStatusCode

func (r *FirewallPolicy) CustomBlockResponseStatusCode() pulumi.IntOutput

If a `customRule` block's action type is `block`, this is the response status code. Possible values are `200`, `403`, `405`, `406`, or `429`.

func (*FirewallPolicy) CustomRules

func (r *FirewallPolicy) CustomRules() pulumi.ArrayOutput

One or more `customRule` blocks as defined below.

func (*FirewallPolicy) Enabled

func (r *FirewallPolicy) Enabled() pulumi.BoolOutput

Is the policy a enabled state or disabled state. Defaults to `true`.

func (*FirewallPolicy) FrontendEndpointIds

func (r *FirewallPolicy) FrontendEndpointIds() pulumi.ArrayOutput

the Frontend Endpoints associated with this Front Door Web Application Firewall policy.

func (*FirewallPolicy) ID

func (r *FirewallPolicy) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*FirewallPolicy) Location

func (r *FirewallPolicy) Location() pulumi.StringOutput

Resource location.

func (*FirewallPolicy) ManagedRules

func (r *FirewallPolicy) ManagedRules() pulumi.ArrayOutput

One or more `managedRule` blocks as defined below.

func (*FirewallPolicy) Mode

The firewall policy mode. Possible values are `Detection`, `Prevention` and defaults to `Prevention`.

func (*FirewallPolicy) Name

The name of the policy. Changing this forces a new resource to be created.

func (*FirewallPolicy) RedirectUrl

func (r *FirewallPolicy) RedirectUrl() pulumi.StringOutput

If action type is redirect, this field represents redirect URL for the client.

func (*FirewallPolicy) ResourceGroupName

func (r *FirewallPolicy) ResourceGroupName() pulumi.StringOutput

The name of the resource group. Changing this forces a new resource to be created.

func (*FirewallPolicy) Tags

func (r *FirewallPolicy) Tags() pulumi.MapOutput

A mapping of tags to assign to the Web Application Firewall Policy.

func (*FirewallPolicy) URN

func (r *FirewallPolicy) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type FirewallPolicyArgs

type FirewallPolicyArgs struct {
	// If a `customRule` block's action type is `block`, this is the response body. The body must be specified in base64 encoding.
	CustomBlockResponseBody interface{}
	// If a `customRule` block's action type is `block`, this is the response status code. Possible values are `200`, `403`, `405`, `406`, or `429`.
	CustomBlockResponseStatusCode interface{}
	// One or more `customRule` blocks as defined below.
	CustomRules interface{}
	// Is the policy a enabled state or disabled state. Defaults to `true`.
	Enabled interface{}
	// One or more `managedRule` blocks as defined below.
	ManagedRules interface{}
	// The firewall policy mode. Possible values are `Detection`, `Prevention` and defaults to `Prevention`.
	Mode interface{}
	// The name of the policy. Changing this forces a new resource to be created.
	Name interface{}
	// If action type is redirect, this field represents redirect URL for the client.
	RedirectUrl interface{}
	// The name of the resource group. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the Web Application Firewall Policy.
	Tags interface{}
}

The set of arguments for constructing a FirewallPolicy resource.

type FirewallPolicyState

type FirewallPolicyState struct {
	// If a `customRule` block's action type is `block`, this is the response body. The body must be specified in base64 encoding.
	CustomBlockResponseBody interface{}
	// If a `customRule` block's action type is `block`, this is the response status code. Possible values are `200`, `403`, `405`, `406`, or `429`.
	CustomBlockResponseStatusCode interface{}
	// One or more `customRule` blocks as defined below.
	CustomRules interface{}
	// Is the policy a enabled state or disabled state. Defaults to `true`.
	Enabled interface{}
	// the Frontend Endpoints associated with this Front Door Web Application Firewall policy.
	FrontendEndpointIds interface{}
	// Resource location.
	Location interface{}
	// One or more `managedRule` blocks as defined below.
	ManagedRules interface{}
	// The firewall policy mode. Possible values are `Detection`, `Prevention` and defaults to `Prevention`.
	Mode interface{}
	// The name of the policy. Changing this forces a new resource to be created.
	Name interface{}
	// If action type is redirect, this field represents redirect URL for the client.
	RedirectUrl interface{}
	// The name of the resource group. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the Web Application Firewall Policy.
	Tags interface{}
}

Input properties used for looking up and filtering FirewallPolicy resources.

type Frontdoor

type Frontdoor struct {
	// contains filtered or unexported fields
}

Manages an Azure Front Door instance.

Azure Front Door Service is Microsoft's highly available and scalable web application acceleration platform and global HTTP(s) load balancer. It provides built-in DDoS protection and application layer security and caching. Front Door enables you to build applications that maximize and automate high-availability and performance for your end-users. Use Front Door with Azure services including Web/Mobile Apps, Cloud Services and Virtual Machines – or combine it with on-premises services for hybrid deployments and smooth cloud migration.

Below are some of the key scenarios that Azure Front Door Service addresses: * Use Front Door to improve application scale and availability with instant multi-region failover * Use Front Door to improve application performance with SSL offload and routing requests to the fastest available application backend. * Use Front Door for application layer security and DDoS protection for your application.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/frontdoor.html.markdown.

func GetFrontdoor

func GetFrontdoor(ctx *pulumi.Context,
	name string, id pulumi.ID, state *FrontdoorState, opts ...pulumi.ResourceOpt) (*Frontdoor, error)

GetFrontdoor gets an existing Frontdoor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFrontdoor

func NewFrontdoor(ctx *pulumi.Context,
	name string, args *FrontdoorArgs, opts ...pulumi.ResourceOpt) (*Frontdoor, error)

NewFrontdoor registers a new resource with the given unique name, arguments, and options.

func (*Frontdoor) BackendPoolHealthProbes

func (r *Frontdoor) BackendPoolHealthProbes() pulumi.ArrayOutput

A `backendPoolHealthProbe` block as defined below.

func (*Frontdoor) BackendPoolLoadBalancings

func (r *Frontdoor) BackendPoolLoadBalancings() pulumi.ArrayOutput

A `backendPoolLoadBalancing` block as defined below.

func (*Frontdoor) BackendPools

func (r *Frontdoor) BackendPools() pulumi.ArrayOutput

A `backendPool` block as defined below.

func (*Frontdoor) Cname

func (r *Frontdoor) Cname() pulumi.StringOutput

The host that each frontendEndpoint must CNAME to.

func (*Frontdoor) EnforceBackendPoolsCertificateNameCheck

func (r *Frontdoor) EnforceBackendPoolsCertificateNameCheck() pulumi.BoolOutput

Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests. Permitted values are `true` or `false`.

func (*Frontdoor) FriendlyName

func (r *Frontdoor) FriendlyName() pulumi.StringOutput

A friendly name for the Front Door service.

func (*Frontdoor) FrontendEndpoints

func (r *Frontdoor) FrontendEndpoints() pulumi.ArrayOutput

A `frontendEndpoint` block as defined below.

func (*Frontdoor) ID

func (r *Frontdoor) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Frontdoor) LoadBalancerEnabled

func (r *Frontdoor) LoadBalancerEnabled() pulumi.BoolOutput

Operational status of the Front Door load balancer. Permitted values are `true` or `false` Defaults to `true`.

func (*Frontdoor) Location

func (r *Frontdoor) Location() pulumi.StringOutput

Resource location. Changing this forces a new resource to be created.

func (*Frontdoor) Name

func (r *Frontdoor) Name() pulumi.StringOutput

Name of the Front Door which is globally unique. Changing this forces a new resource to be created.

func (*Frontdoor) ResourceGroupName

func (r *Frontdoor) ResourceGroupName() pulumi.StringOutput

Name of the Resource group within the Azure subscription. Changing this forces a new resource to be created.

func (*Frontdoor) RoutingRules

func (r *Frontdoor) RoutingRules() pulumi.ArrayOutput

A `routingRule` block as defined below.

func (*Frontdoor) Tags

func (r *Frontdoor) Tags() pulumi.MapOutput

Resource tags.

func (*Frontdoor) URN

func (r *Frontdoor) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type FrontdoorArgs

type FrontdoorArgs struct {
	// A `backendPool` block as defined below.
	BackendPools interface{}
	// A `backendPoolHealthProbe` block as defined below.
	BackendPoolHealthProbes interface{}
	// A `backendPoolLoadBalancing` block as defined below.
	BackendPoolLoadBalancings interface{}
	// Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests. Permitted values are `true` or `false`.
	EnforceBackendPoolsCertificateNameCheck interface{}
	// A friendly name for the Front Door service.
	FriendlyName interface{}
	// A `frontendEndpoint` block as defined below.
	FrontendEndpoints interface{}
	// Operational status of the Front Door load balancer. Permitted values are `true` or `false` Defaults to `true`.
	LoadBalancerEnabled interface{}
	// Resource location. Changing this forces a new resource to be created.
	Location interface{}
	// Name of the Front Door which is globally unique. Changing this forces a new resource to be created.
	Name interface{}
	// Name of the Resource group within the Azure subscription. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A `routingRule` block as defined below.
	RoutingRules interface{}
	// Resource tags.
	Tags interface{}
}

The set of arguments for constructing a Frontdoor resource.

type FrontdoorState

type FrontdoorState struct {
	// A `backendPool` block as defined below.
	BackendPools interface{}
	// A `backendPoolHealthProbe` block as defined below.
	BackendPoolHealthProbes interface{}
	// A `backendPoolLoadBalancing` block as defined below.
	BackendPoolLoadBalancings interface{}
	// The host that each frontendEndpoint must CNAME to.
	Cname interface{}
	// Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests. Permitted values are `true` or `false`.
	EnforceBackendPoolsCertificateNameCheck interface{}
	// A friendly name for the Front Door service.
	FriendlyName interface{}
	// A `frontendEndpoint` block as defined below.
	FrontendEndpoints interface{}
	// Operational status of the Front Door load balancer. Permitted values are `true` or `false` Defaults to `true`.
	LoadBalancerEnabled interface{}
	// Resource location. Changing this forces a new resource to be created.
	Location interface{}
	// Name of the Front Door which is globally unique. Changing this forces a new resource to be created.
	Name interface{}
	// Name of the Resource group within the Azure subscription. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A `routingRule` block as defined below.
	RoutingRules interface{}
	// Resource tags.
	Tags interface{}
}

Input properties used for looking up and filtering Frontdoor resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL