trafficmanager

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	pulumi.CustomResourceState

	// One or more `customHeader` blocks as defined below
	CustomHeaders EndpointCustomHeaderArrayOutput `pulumi:"customHeaders"`
	// Specifies the Azure location of the Endpoint,
	// this must be specified for Profiles using the `Performance` routing method
	// if the Endpoint is of either type `nestedEndpoints` or `externalEndpoints`.
	// For Endpoints of type `azureEndpoints` the value will be taken from the
	// location of the Azure target resource.
	EndpointLocation      pulumi.StringOutput `pulumi:"endpointLocation"`
	EndpointMonitorStatus pulumi.StringOutput `pulumi:"endpointMonitorStatus"`
	// The status of the Endpoint, can be set to
	// either `Enabled` or `Disabled`. Defaults to `Enabled`.
	EndpointStatus pulumi.StringOutput `pulumi:"endpointStatus"`
	// A list of Geographic Regions used to distribute traffic, such as `WORLD`, `UK` or `DE`. The same location can't be specified in two endpoints. [See the Geographic Hierarchies documentation for more information](https://docs.microsoft.com/en-us/rest/api/trafficmanager/geographichierarchies/getdefault).
	GeoMappings pulumi.StringArrayOutput `pulumi:"geoMappings"`
	// This argument specifies the minimum number
	// of endpoints that must be ‘online’ in the child profile in order for the
	// parent profile to direct traffic to any of the endpoints in that child
	// profile. This argument only applies to Endpoints of type `nestedEndpoints`
	// and defaults to `1`.
	MinChildEndpoints pulumi.IntPtrOutput `pulumi:"minChildEndpoints"`
	// The name of the Traffic Manager endpoint. Changing this forces a
	// new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the priority of this Endpoint, this must be
	// specified for Profiles using the `Priority` traffic routing method. Supports
	// values between 1 and 1000, with no Endpoints sharing the same value. If
	// omitted the value will be computed in order of creation.
	Priority pulumi.IntOutput `pulumi:"priority"`
	// The name of the Traffic Manager Profile to attach
	// create the Traffic Manager endpoint.
	ProfileName pulumi.StringOutput `pulumi:"profileName"`
	// The name of the resource group in which to
	// create the Traffic Manager endpoint.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// One or more `subnet` blocks as defined below
	Subnets EndpointSubnetArrayOutput `pulumi:"subnets"`
	// The FQDN DNS name of the target. This argument must be
	// provided for an endpoint of type `externalEndpoints`, for other types it
	// will be computed.
	Target pulumi.StringOutput `pulumi:"target"`
	// The resource id of an Azure resource to
	// target. This argument must be provided for an endpoint of type
	// `azureEndpoints` or `nestedEndpoints`.
	TargetResourceId pulumi.StringPtrOutput `pulumi:"targetResourceId"`
	// The Endpoint type, must be one of:
	// - `azureEndpoints`
	// - `externalEndpoints`
	// - `nestedEndpoints`
	Type pulumi.StringOutput `pulumi:"type"`
	// Specifies how much traffic should be distributed to this
	// endpoint, this must be specified for Profiles using the  `Weighted` traffic
	// routing method. Supports values between 1 and 1000.
	Weight pulumi.IntOutput `pulumi:"weight"`
}

Manages a Traffic Manager Endpoint.

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

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)

GetEndpoint gets an existing Endpoint 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 NewEndpoint

func NewEndpoint(ctx *pulumi.Context,
	name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)

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

type EndpointArgs

type EndpointArgs struct {
	// One or more `customHeader` blocks as defined below
	CustomHeaders EndpointCustomHeaderArrayInput
	// Specifies the Azure location of the Endpoint,
	// this must be specified for Profiles using the `Performance` routing method
	// if the Endpoint is of either type `nestedEndpoints` or `externalEndpoints`.
	// For Endpoints of type `azureEndpoints` the value will be taken from the
	// location of the Azure target resource.
	EndpointLocation pulumi.StringPtrInput
	// The status of the Endpoint, can be set to
	// either `Enabled` or `Disabled`. Defaults to `Enabled`.
	EndpointStatus pulumi.StringPtrInput
	// A list of Geographic Regions used to distribute traffic, such as `WORLD`, `UK` or `DE`. The same location can't be specified in two endpoints. [See the Geographic Hierarchies documentation for more information](https://docs.microsoft.com/en-us/rest/api/trafficmanager/geographichierarchies/getdefault).
	GeoMappings pulumi.StringArrayInput
	// This argument specifies the minimum number
	// of endpoints that must be ‘online’ in the child profile in order for the
	// parent profile to direct traffic to any of the endpoints in that child
	// profile. This argument only applies to Endpoints of type `nestedEndpoints`
	// and defaults to `1`.
	MinChildEndpoints pulumi.IntPtrInput
	// The name of the Traffic Manager endpoint. Changing this forces a
	// new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the priority of this Endpoint, this must be
	// specified for Profiles using the `Priority` traffic routing method. Supports
	// values between 1 and 1000, with no Endpoints sharing the same value. If
	// omitted the value will be computed in order of creation.
	Priority pulumi.IntPtrInput
	// The name of the Traffic Manager Profile to attach
	// create the Traffic Manager endpoint.
	ProfileName pulumi.StringInput
	// The name of the resource group in which to
	// create the Traffic Manager endpoint.
	ResourceGroupName pulumi.StringInput
	// One or more `subnet` blocks as defined below
	Subnets EndpointSubnetArrayInput
	// The FQDN DNS name of the target. This argument must be
	// provided for an endpoint of type `externalEndpoints`, for other types it
	// will be computed.
	Target pulumi.StringPtrInput
	// The resource id of an Azure resource to
	// target. This argument must be provided for an endpoint of type
	// `azureEndpoints` or `nestedEndpoints`.
	TargetResourceId pulumi.StringPtrInput
	// The Endpoint type, must be one of:
	// - `azureEndpoints`
	// - `externalEndpoints`
	// - `nestedEndpoints`
	Type pulumi.StringInput
	// Specifies how much traffic should be distributed to this
	// endpoint, this must be specified for Profiles using the  `Weighted` traffic
	// routing method. Supports values between 1 and 1000.
	Weight pulumi.IntPtrInput
}

The set of arguments for constructing a Endpoint resource.

func (EndpointArgs) ElementType

func (EndpointArgs) ElementType() reflect.Type

type EndpointCustomHeader

type EndpointCustomHeader struct {
	// The name of the custom header.
	Name string `pulumi:"name"`
	// The value of custom header. Applicable for Http and Https protocol.
	Value string `pulumi:"value"`
}

type EndpointCustomHeaderArgs

type EndpointCustomHeaderArgs struct {
	// The name of the custom header.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of custom header. Applicable for Http and Https protocol.
	Value pulumi.StringInput `pulumi:"value"`
}

func (EndpointCustomHeaderArgs) ElementType

func (EndpointCustomHeaderArgs) ElementType() reflect.Type

func (EndpointCustomHeaderArgs) ToEndpointCustomHeaderOutput

func (i EndpointCustomHeaderArgs) ToEndpointCustomHeaderOutput() EndpointCustomHeaderOutput

func (EndpointCustomHeaderArgs) ToEndpointCustomHeaderOutputWithContext

func (i EndpointCustomHeaderArgs) ToEndpointCustomHeaderOutputWithContext(ctx context.Context) EndpointCustomHeaderOutput

type EndpointCustomHeaderArray

type EndpointCustomHeaderArray []EndpointCustomHeaderInput

func (EndpointCustomHeaderArray) ElementType

func (EndpointCustomHeaderArray) ElementType() reflect.Type

func (EndpointCustomHeaderArray) ToEndpointCustomHeaderArrayOutput

func (i EndpointCustomHeaderArray) ToEndpointCustomHeaderArrayOutput() EndpointCustomHeaderArrayOutput

func (EndpointCustomHeaderArray) ToEndpointCustomHeaderArrayOutputWithContext

func (i EndpointCustomHeaderArray) ToEndpointCustomHeaderArrayOutputWithContext(ctx context.Context) EndpointCustomHeaderArrayOutput

type EndpointCustomHeaderArrayInput

type EndpointCustomHeaderArrayInput interface {
	pulumi.Input

	ToEndpointCustomHeaderArrayOutput() EndpointCustomHeaderArrayOutput
	ToEndpointCustomHeaderArrayOutputWithContext(context.Context) EndpointCustomHeaderArrayOutput
}

type EndpointCustomHeaderArrayOutput

type EndpointCustomHeaderArrayOutput struct{ *pulumi.OutputState }

func (EndpointCustomHeaderArrayOutput) ElementType

func (EndpointCustomHeaderArrayOutput) Index

func (EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutput

func (o EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutput() EndpointCustomHeaderArrayOutput

func (EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutputWithContext

func (o EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutputWithContext(ctx context.Context) EndpointCustomHeaderArrayOutput

type EndpointCustomHeaderInput

type EndpointCustomHeaderInput interface {
	pulumi.Input

	ToEndpointCustomHeaderOutput() EndpointCustomHeaderOutput
	ToEndpointCustomHeaderOutputWithContext(context.Context) EndpointCustomHeaderOutput
}

type EndpointCustomHeaderOutput

type EndpointCustomHeaderOutput struct{ *pulumi.OutputState }

func (EndpointCustomHeaderOutput) ElementType

func (EndpointCustomHeaderOutput) ElementType() reflect.Type

func (EndpointCustomHeaderOutput) Name

The name of the custom header.

func (EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutput

func (o EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutput() EndpointCustomHeaderOutput

func (EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutputWithContext

func (o EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutputWithContext(ctx context.Context) EndpointCustomHeaderOutput

func (EndpointCustomHeaderOutput) Value

The value of custom header. Applicable for Http and Https protocol.

type EndpointState

type EndpointState struct {
	// One or more `customHeader` blocks as defined below
	CustomHeaders EndpointCustomHeaderArrayInput
	// Specifies the Azure location of the Endpoint,
	// this must be specified for Profiles using the `Performance` routing method
	// if the Endpoint is of either type `nestedEndpoints` or `externalEndpoints`.
	// For Endpoints of type `azureEndpoints` the value will be taken from the
	// location of the Azure target resource.
	EndpointLocation      pulumi.StringPtrInput
	EndpointMonitorStatus pulumi.StringPtrInput
	// The status of the Endpoint, can be set to
	// either `Enabled` or `Disabled`. Defaults to `Enabled`.
	EndpointStatus pulumi.StringPtrInput
	// A list of Geographic Regions used to distribute traffic, such as `WORLD`, `UK` or `DE`. The same location can't be specified in two endpoints. [See the Geographic Hierarchies documentation for more information](https://docs.microsoft.com/en-us/rest/api/trafficmanager/geographichierarchies/getdefault).
	GeoMappings pulumi.StringArrayInput
	// This argument specifies the minimum number
	// of endpoints that must be ‘online’ in the child profile in order for the
	// parent profile to direct traffic to any of the endpoints in that child
	// profile. This argument only applies to Endpoints of type `nestedEndpoints`
	// and defaults to `1`.
	MinChildEndpoints pulumi.IntPtrInput
	// The name of the Traffic Manager endpoint. Changing this forces a
	// new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the priority of this Endpoint, this must be
	// specified for Profiles using the `Priority` traffic routing method. Supports
	// values between 1 and 1000, with no Endpoints sharing the same value. If
	// omitted the value will be computed in order of creation.
	Priority pulumi.IntPtrInput
	// The name of the Traffic Manager Profile to attach
	// create the Traffic Manager endpoint.
	ProfileName pulumi.StringPtrInput
	// The name of the resource group in which to
	// create the Traffic Manager endpoint.
	ResourceGroupName pulumi.StringPtrInput
	// One or more `subnet` blocks as defined below
	Subnets EndpointSubnetArrayInput
	// The FQDN DNS name of the target. This argument must be
	// provided for an endpoint of type `externalEndpoints`, for other types it
	// will be computed.
	Target pulumi.StringPtrInput
	// The resource id of an Azure resource to
	// target. This argument must be provided for an endpoint of type
	// `azureEndpoints` or `nestedEndpoints`.
	TargetResourceId pulumi.StringPtrInput
	// The Endpoint type, must be one of:
	// - `azureEndpoints`
	// - `externalEndpoints`
	// - `nestedEndpoints`
	Type pulumi.StringPtrInput
	// Specifies how much traffic should be distributed to this
	// endpoint, this must be specified for Profiles using the  `Weighted` traffic
	// routing method. Supports values between 1 and 1000.
	Weight pulumi.IntPtrInput
}

func (EndpointState) ElementType

func (EndpointState) ElementType() reflect.Type

type EndpointSubnet

type EndpointSubnet struct {
	// The First IP....
	First string `pulumi:"first"`
	// The Last IP...
	Last *string `pulumi:"last"`
	// The Scope...
	Scope *int `pulumi:"scope"`
}

type EndpointSubnetArgs

type EndpointSubnetArgs struct {
	// The First IP....
	First pulumi.StringInput `pulumi:"first"`
	// The Last IP...
	Last pulumi.StringPtrInput `pulumi:"last"`
	// The Scope...
	Scope pulumi.IntPtrInput `pulumi:"scope"`
}

func (EndpointSubnetArgs) ElementType

func (EndpointSubnetArgs) ElementType() reflect.Type

func (EndpointSubnetArgs) ToEndpointSubnetOutput

func (i EndpointSubnetArgs) ToEndpointSubnetOutput() EndpointSubnetOutput

func (EndpointSubnetArgs) ToEndpointSubnetOutputWithContext

func (i EndpointSubnetArgs) ToEndpointSubnetOutputWithContext(ctx context.Context) EndpointSubnetOutput

type EndpointSubnetArray

type EndpointSubnetArray []EndpointSubnetInput

func (EndpointSubnetArray) ElementType

func (EndpointSubnetArray) ElementType() reflect.Type

func (EndpointSubnetArray) ToEndpointSubnetArrayOutput

func (i EndpointSubnetArray) ToEndpointSubnetArrayOutput() EndpointSubnetArrayOutput

func (EndpointSubnetArray) ToEndpointSubnetArrayOutputWithContext

func (i EndpointSubnetArray) ToEndpointSubnetArrayOutputWithContext(ctx context.Context) EndpointSubnetArrayOutput

type EndpointSubnetArrayInput

type EndpointSubnetArrayInput interface {
	pulumi.Input

	ToEndpointSubnetArrayOutput() EndpointSubnetArrayOutput
	ToEndpointSubnetArrayOutputWithContext(context.Context) EndpointSubnetArrayOutput
}

type EndpointSubnetArrayOutput

type EndpointSubnetArrayOutput struct{ *pulumi.OutputState }

func (EndpointSubnetArrayOutput) ElementType

func (EndpointSubnetArrayOutput) ElementType() reflect.Type

func (EndpointSubnetArrayOutput) Index

func (EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutput

func (o EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutput() EndpointSubnetArrayOutput

func (EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutputWithContext

func (o EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutputWithContext(ctx context.Context) EndpointSubnetArrayOutput

type EndpointSubnetInput

type EndpointSubnetInput interface {
	pulumi.Input

	ToEndpointSubnetOutput() EndpointSubnetOutput
	ToEndpointSubnetOutputWithContext(context.Context) EndpointSubnetOutput
}

type EndpointSubnetOutput

type EndpointSubnetOutput struct{ *pulumi.OutputState }

func (EndpointSubnetOutput) ElementType

func (EndpointSubnetOutput) ElementType() reflect.Type

func (EndpointSubnetOutput) First

The First IP....

func (EndpointSubnetOutput) Last

The Last IP...

func (EndpointSubnetOutput) Scope

The Scope...

func (EndpointSubnetOutput) ToEndpointSubnetOutput

func (o EndpointSubnetOutput) ToEndpointSubnetOutput() EndpointSubnetOutput

func (EndpointSubnetOutput) ToEndpointSubnetOutputWithContext

func (o EndpointSubnetOutput) ToEndpointSubnetOutputWithContext(ctx context.Context) EndpointSubnetOutput

type GetGeographicalLocationArgs

type GetGeographicalLocationArgs struct {
	// Specifies the name of the Location, for example `World`, `Europe` or `Germany`.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getGeographicalLocation.

type GetGeographicalLocationResult

type GetGeographicalLocationResult struct {
	// id is the provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getGeographicalLocation.

func GetGeographicalLocation

func GetGeographicalLocation(ctx *pulumi.Context, args *GetGeographicalLocationArgs, opts ...pulumi.InvokeOption) (*GetGeographicalLocationResult, error)

Use this data source to access the ID of a specified Traffic Manager Geographical Location within the Geographical Hierarchy.

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

type Profile

type Profile struct {
	pulumi.CustomResourceState

	// This block specifies the DNS configuration of the Profile, it supports the fields documented below.
	DnsConfig ProfileDnsConfigOutput `pulumi:"dnsConfig"`
	// The FQDN of the created Profile.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// This block specifies the Endpoint monitoring configuration for the Profile, it supports the fields documented below.
	MonitorConfig ProfileMonitorConfigOutput `pulumi:"monitorConfig"`
	// The name of the Traffic Manager profile. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The status of the profile, can be set to either `Enabled` or `Disabled`. Defaults to `Enabled`.
	ProfileStatus pulumi.StringOutput `pulumi:"profileStatus"`
	// The name of the resource group in which to create the Traffic Manager profile.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the algorithm used to route traffic, possible values are:
	TrafficRoutingMethod pulumi.StringOutput `pulumi:"trafficRoutingMethod"`
}

Manages a Traffic Manager Profile to which multiple endpoints can be attached.

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

func GetProfile

func GetProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*Profile, error)

GetProfile gets an existing Profile 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 NewProfile

func NewProfile(ctx *pulumi.Context,
	name string, args *ProfileArgs, opts ...pulumi.ResourceOption) (*Profile, error)

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

type ProfileArgs

type ProfileArgs struct {
	// This block specifies the DNS configuration of the Profile, it supports the fields documented below.
	DnsConfig ProfileDnsConfigInput
	// This block specifies the Endpoint monitoring configuration for the Profile, it supports the fields documented below.
	MonitorConfig ProfileMonitorConfigInput
	// The name of the Traffic Manager profile. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The status of the profile, can be set to either `Enabled` or `Disabled`. Defaults to `Enabled`.
	ProfileStatus pulumi.StringPtrInput
	// The name of the resource group in which to create the Traffic Manager profile.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the algorithm used to route traffic, possible values are:
	TrafficRoutingMethod pulumi.StringInput
}

The set of arguments for constructing a Profile resource.

func (ProfileArgs) ElementType

func (ProfileArgs) ElementType() reflect.Type

type ProfileDnsConfig

type ProfileDnsConfig struct {
	// The relative domain name, this is combined with the domain name used by Traffic Manager to form the FQDN which is exported as documented below. Changing this forces a new resource to be created.
	RelativeName string `pulumi:"relativeName"`
	// The TTL value of the Profile used by Local DNS resolvers and clients.
	Ttl int `pulumi:"ttl"`
}

type ProfileDnsConfigArgs

type ProfileDnsConfigArgs struct {
	// The relative domain name, this is combined with the domain name used by Traffic Manager to form the FQDN which is exported as documented below. Changing this forces a new resource to be created.
	RelativeName pulumi.StringInput `pulumi:"relativeName"`
	// The TTL value of the Profile used by Local DNS resolvers and clients.
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (ProfileDnsConfigArgs) ElementType

func (ProfileDnsConfigArgs) ElementType() reflect.Type

func (ProfileDnsConfigArgs) ToProfileDnsConfigOutput

func (i ProfileDnsConfigArgs) ToProfileDnsConfigOutput() ProfileDnsConfigOutput

func (ProfileDnsConfigArgs) ToProfileDnsConfigOutputWithContext

func (i ProfileDnsConfigArgs) ToProfileDnsConfigOutputWithContext(ctx context.Context) ProfileDnsConfigOutput

func (ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutput

func (i ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput

func (ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutputWithContext

func (i ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput

type ProfileDnsConfigInput

type ProfileDnsConfigInput interface {
	pulumi.Input

	ToProfileDnsConfigOutput() ProfileDnsConfigOutput
	ToProfileDnsConfigOutputWithContext(context.Context) ProfileDnsConfigOutput
}

type ProfileDnsConfigOutput

type ProfileDnsConfigOutput struct{ *pulumi.OutputState }

func (ProfileDnsConfigOutput) ElementType

func (ProfileDnsConfigOutput) ElementType() reflect.Type

func (ProfileDnsConfigOutput) RelativeName

func (o ProfileDnsConfigOutput) RelativeName() pulumi.StringOutput

The relative domain name, this is combined with the domain name used by Traffic Manager to form the FQDN which is exported as documented below. Changing this forces a new resource to be created.

func (ProfileDnsConfigOutput) ToProfileDnsConfigOutput

func (o ProfileDnsConfigOutput) ToProfileDnsConfigOutput() ProfileDnsConfigOutput

func (ProfileDnsConfigOutput) ToProfileDnsConfigOutputWithContext

func (o ProfileDnsConfigOutput) ToProfileDnsConfigOutputWithContext(ctx context.Context) ProfileDnsConfigOutput

func (ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutput

func (o ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput

func (ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutputWithContext

func (o ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput

func (ProfileDnsConfigOutput) Ttl

The TTL value of the Profile used by Local DNS resolvers and clients.

type ProfileDnsConfigPtrInput

type ProfileDnsConfigPtrInput interface {
	pulumi.Input

	ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput
	ToProfileDnsConfigPtrOutputWithContext(context.Context) ProfileDnsConfigPtrOutput
}

type ProfileDnsConfigPtrOutput

type ProfileDnsConfigPtrOutput struct{ *pulumi.OutputState }

func (ProfileDnsConfigPtrOutput) Elem

func (ProfileDnsConfigPtrOutput) ElementType

func (ProfileDnsConfigPtrOutput) ElementType() reflect.Type

func (ProfileDnsConfigPtrOutput) RelativeName

The relative domain name, this is combined with the domain name used by Traffic Manager to form the FQDN which is exported as documented below. Changing this forces a new resource to be created.

func (ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput

func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput

func (ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutputWithContext

func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput

func (ProfileDnsConfigPtrOutput) Ttl

The TTL value of the Profile used by Local DNS resolvers and clients.

type ProfileMonitorConfig

type ProfileMonitorConfig struct {
	// One or more `customHeader` blocks as defined below.
	CustomHeaders []ProfileMonitorConfigCustomHeader `pulumi:"customHeaders"`
	// A list of status code ranges in the format of `100-101`.
	ExpectedStatusCodeRanges []string `pulumi:"expectedStatusCodeRanges"`
	// The interval used to check the endpoint health from a Traffic Manager probing agent. You can specify two values here: `30` (normal probing) and `10` (fast probing). The default value is `30`.
	IntervalInSeconds *int `pulumi:"intervalInSeconds"`
	// The path used by the monitoring checks. Required when `protocol` is set to `HTTP` or `HTTPS` - cannot be set when `protocol` is set to `TCP`.
	Path *string `pulumi:"path"`
	// The port number used by the monitoring checks.
	Port int `pulumi:"port"`
	// The protocol used by the monitoring checks, supported values are `HTTP`, `HTTPS` and `TCP`.
	Protocol string `pulumi:"protocol"`
	// The amount of time the Traffic Manager probing agent should wait before considering that check a failure when a health check probe is sent to the endpoint. If `intervalInSeconds` is set to `30`, then `timeoutInSeconds` can be between `5` and `10`. The default value is `10`. If `intervalInSeconds` is set to `10`, then valid values are between `5` and `9` and `timeoutInSeconds` is required.
	TimeoutInSeconds *int `pulumi:"timeoutInSeconds"`
	// The number of failures a Traffic Manager probing agent tolerates before marking that endpoint as unhealthy. Valid values are between `0` and `9`. The default value is `3`
	ToleratedNumberOfFailures *int `pulumi:"toleratedNumberOfFailures"`
}

type ProfileMonitorConfigArgs

type ProfileMonitorConfigArgs struct {
	// One or more `customHeader` blocks as defined below.
	CustomHeaders ProfileMonitorConfigCustomHeaderArrayInput `pulumi:"customHeaders"`
	// A list of status code ranges in the format of `100-101`.
	ExpectedStatusCodeRanges pulumi.StringArrayInput `pulumi:"expectedStatusCodeRanges"`
	// The interval used to check the endpoint health from a Traffic Manager probing agent. You can specify two values here: `30` (normal probing) and `10` (fast probing). The default value is `30`.
	IntervalInSeconds pulumi.IntPtrInput `pulumi:"intervalInSeconds"`
	// The path used by the monitoring checks. Required when `protocol` is set to `HTTP` or `HTTPS` - cannot be set when `protocol` is set to `TCP`.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The port number used by the monitoring checks.
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol used by the monitoring checks, supported values are `HTTP`, `HTTPS` and `TCP`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The amount of time the Traffic Manager probing agent should wait before considering that check a failure when a health check probe is sent to the endpoint. If `intervalInSeconds` is set to `30`, then `timeoutInSeconds` can be between `5` and `10`. The default value is `10`. If `intervalInSeconds` is set to `10`, then valid values are between `5` and `9` and `timeoutInSeconds` is required.
	TimeoutInSeconds pulumi.IntPtrInput `pulumi:"timeoutInSeconds"`
	// The number of failures a Traffic Manager probing agent tolerates before marking that endpoint as unhealthy. Valid values are between `0` and `9`. The default value is `3`
	ToleratedNumberOfFailures pulumi.IntPtrInput `pulumi:"toleratedNumberOfFailures"`
}

func (ProfileMonitorConfigArgs) ElementType

func (ProfileMonitorConfigArgs) ElementType() reflect.Type

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigOutput

func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigOutput() ProfileMonitorConfigOutput

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigOutputWithContext

func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigOutputWithContext(ctx context.Context) ProfileMonitorConfigOutput

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutput

func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutputWithContext

func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutputWithContext(ctx context.Context) ProfileMonitorConfigPtrOutput

type ProfileMonitorConfigCustomHeader

type ProfileMonitorConfigCustomHeader struct {
	// The name of the custom header.
	Name string `pulumi:"name"`
	// The value of custom header. Applicable for Http and Https protocol.
	Value string `pulumi:"value"`
}

type ProfileMonitorConfigCustomHeaderArgs

type ProfileMonitorConfigCustomHeaderArgs struct {
	// The name of the custom header.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of custom header. Applicable for Http and Https protocol.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ProfileMonitorConfigCustomHeaderArgs) ElementType

func (ProfileMonitorConfigCustomHeaderArgs) ToProfileMonitorConfigCustomHeaderOutput

func (i ProfileMonitorConfigCustomHeaderArgs) ToProfileMonitorConfigCustomHeaderOutput() ProfileMonitorConfigCustomHeaderOutput

func (ProfileMonitorConfigCustomHeaderArgs) ToProfileMonitorConfigCustomHeaderOutputWithContext

func (i ProfileMonitorConfigCustomHeaderArgs) ToProfileMonitorConfigCustomHeaderOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderOutput

type ProfileMonitorConfigCustomHeaderArray

type ProfileMonitorConfigCustomHeaderArray []ProfileMonitorConfigCustomHeaderInput

func (ProfileMonitorConfigCustomHeaderArray) ElementType

func (ProfileMonitorConfigCustomHeaderArray) ToProfileMonitorConfigCustomHeaderArrayOutput

func (i ProfileMonitorConfigCustomHeaderArray) ToProfileMonitorConfigCustomHeaderArrayOutput() ProfileMonitorConfigCustomHeaderArrayOutput

func (ProfileMonitorConfigCustomHeaderArray) ToProfileMonitorConfigCustomHeaderArrayOutputWithContext

func (i ProfileMonitorConfigCustomHeaderArray) ToProfileMonitorConfigCustomHeaderArrayOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderArrayOutput

type ProfileMonitorConfigCustomHeaderArrayInput

type ProfileMonitorConfigCustomHeaderArrayInput interface {
	pulumi.Input

	ToProfileMonitorConfigCustomHeaderArrayOutput() ProfileMonitorConfigCustomHeaderArrayOutput
	ToProfileMonitorConfigCustomHeaderArrayOutputWithContext(context.Context) ProfileMonitorConfigCustomHeaderArrayOutput
}

type ProfileMonitorConfigCustomHeaderArrayOutput

type ProfileMonitorConfigCustomHeaderArrayOutput struct{ *pulumi.OutputState }

func (ProfileMonitorConfigCustomHeaderArrayOutput) ElementType

func (ProfileMonitorConfigCustomHeaderArrayOutput) Index

func (ProfileMonitorConfigCustomHeaderArrayOutput) ToProfileMonitorConfigCustomHeaderArrayOutput

func (o ProfileMonitorConfigCustomHeaderArrayOutput) ToProfileMonitorConfigCustomHeaderArrayOutput() ProfileMonitorConfigCustomHeaderArrayOutput

func (ProfileMonitorConfigCustomHeaderArrayOutput) ToProfileMonitorConfigCustomHeaderArrayOutputWithContext

func (o ProfileMonitorConfigCustomHeaderArrayOutput) ToProfileMonitorConfigCustomHeaderArrayOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderArrayOutput

type ProfileMonitorConfigCustomHeaderInput

type ProfileMonitorConfigCustomHeaderInput interface {
	pulumi.Input

	ToProfileMonitorConfigCustomHeaderOutput() ProfileMonitorConfigCustomHeaderOutput
	ToProfileMonitorConfigCustomHeaderOutputWithContext(context.Context) ProfileMonitorConfigCustomHeaderOutput
}

type ProfileMonitorConfigCustomHeaderOutput

type ProfileMonitorConfigCustomHeaderOutput struct{ *pulumi.OutputState }

func (ProfileMonitorConfigCustomHeaderOutput) ElementType

func (ProfileMonitorConfigCustomHeaderOutput) Name

The name of the custom header.

func (ProfileMonitorConfigCustomHeaderOutput) ToProfileMonitorConfigCustomHeaderOutput

func (o ProfileMonitorConfigCustomHeaderOutput) ToProfileMonitorConfigCustomHeaderOutput() ProfileMonitorConfigCustomHeaderOutput

func (ProfileMonitorConfigCustomHeaderOutput) ToProfileMonitorConfigCustomHeaderOutputWithContext

func (o ProfileMonitorConfigCustomHeaderOutput) ToProfileMonitorConfigCustomHeaderOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderOutput

func (ProfileMonitorConfigCustomHeaderOutput) Value

The value of custom header. Applicable for Http and Https protocol.

type ProfileMonitorConfigInput

type ProfileMonitorConfigInput interface {
	pulumi.Input

	ToProfileMonitorConfigOutput() ProfileMonitorConfigOutput
	ToProfileMonitorConfigOutputWithContext(context.Context) ProfileMonitorConfigOutput
}

type ProfileMonitorConfigOutput

type ProfileMonitorConfigOutput struct{ *pulumi.OutputState }

func (ProfileMonitorConfigOutput) CustomHeaders

One or more `customHeader` blocks as defined below.

func (ProfileMonitorConfigOutput) ElementType

func (ProfileMonitorConfigOutput) ElementType() reflect.Type

func (ProfileMonitorConfigOutput) ExpectedStatusCodeRanges

func (o ProfileMonitorConfigOutput) ExpectedStatusCodeRanges() pulumi.StringArrayOutput

A list of status code ranges in the format of `100-101`.

func (ProfileMonitorConfigOutput) IntervalInSeconds

func (o ProfileMonitorConfigOutput) IntervalInSeconds() pulumi.IntPtrOutput

The interval used to check the endpoint health from a Traffic Manager probing agent. You can specify two values here: `30` (normal probing) and `10` (fast probing). The default value is `30`.

func (ProfileMonitorConfigOutput) Path

The path used by the monitoring checks. Required when `protocol` is set to `HTTP` or `HTTPS` - cannot be set when `protocol` is set to `TCP`.

func (ProfileMonitorConfigOutput) Port

The port number used by the monitoring checks.

func (ProfileMonitorConfigOutput) Protocol

The protocol used by the monitoring checks, supported values are `HTTP`, `HTTPS` and `TCP`.

func (ProfileMonitorConfigOutput) TimeoutInSeconds

func (o ProfileMonitorConfigOutput) TimeoutInSeconds() pulumi.IntPtrOutput

The amount of time the Traffic Manager probing agent should wait before considering that check a failure when a health check probe is sent to the endpoint. If `intervalInSeconds` is set to `30`, then `timeoutInSeconds` can be between `5` and `10`. The default value is `10`. If `intervalInSeconds` is set to `10`, then valid values are between `5` and `9` and `timeoutInSeconds` is required.

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigOutput

func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigOutput() ProfileMonitorConfigOutput

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigOutputWithContext

func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigOutputWithContext(ctx context.Context) ProfileMonitorConfigOutput

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutput

func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutputWithContext

func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutputWithContext(ctx context.Context) ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigOutput) ToleratedNumberOfFailures

func (o ProfileMonitorConfigOutput) ToleratedNumberOfFailures() pulumi.IntPtrOutput

The number of failures a Traffic Manager probing agent tolerates before marking that endpoint as unhealthy. Valid values are between `0` and `9`. The default value is `3`

type ProfileMonitorConfigPtrInput

type ProfileMonitorConfigPtrInput interface {
	pulumi.Input

	ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput
	ToProfileMonitorConfigPtrOutputWithContext(context.Context) ProfileMonitorConfigPtrOutput
}

type ProfileMonitorConfigPtrOutput

type ProfileMonitorConfigPtrOutput struct{ *pulumi.OutputState }

func (ProfileMonitorConfigPtrOutput) CustomHeaders

One or more `customHeader` blocks as defined below.

func (ProfileMonitorConfigPtrOutput) Elem

func (ProfileMonitorConfigPtrOutput) ElementType

func (ProfileMonitorConfigPtrOutput) ExpectedStatusCodeRanges

func (o ProfileMonitorConfigPtrOutput) ExpectedStatusCodeRanges() pulumi.StringArrayOutput

A list of status code ranges in the format of `100-101`.

func (ProfileMonitorConfigPtrOutput) IntervalInSeconds

func (o ProfileMonitorConfigPtrOutput) IntervalInSeconds() pulumi.IntPtrOutput

The interval used to check the endpoint health from a Traffic Manager probing agent. You can specify two values here: `30` (normal probing) and `10` (fast probing). The default value is `30`.

func (ProfileMonitorConfigPtrOutput) Path

The path used by the monitoring checks. Required when `protocol` is set to `HTTP` or `HTTPS` - cannot be set when `protocol` is set to `TCP`.

func (ProfileMonitorConfigPtrOutput) Port

The port number used by the monitoring checks.

func (ProfileMonitorConfigPtrOutput) Protocol

The protocol used by the monitoring checks, supported values are `HTTP`, `HTTPS` and `TCP`.

func (ProfileMonitorConfigPtrOutput) TimeoutInSeconds

func (o ProfileMonitorConfigPtrOutput) TimeoutInSeconds() pulumi.IntPtrOutput

The amount of time the Traffic Manager probing agent should wait before considering that check a failure when a health check probe is sent to the endpoint. If `intervalInSeconds` is set to `30`, then `timeoutInSeconds` can be between `5` and `10`. The default value is `10`. If `intervalInSeconds` is set to `10`, then valid values are between `5` and `9` and `timeoutInSeconds` is required.

func (ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutput

func (o ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutputWithContext

func (o ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutputWithContext(ctx context.Context) ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigPtrOutput) ToleratedNumberOfFailures

func (o ProfileMonitorConfigPtrOutput) ToleratedNumberOfFailures() pulumi.IntPtrOutput

The number of failures a Traffic Manager probing agent tolerates before marking that endpoint as unhealthy. Valid values are between `0` and `9`. The default value is `3`

type ProfileState

type ProfileState struct {
	// This block specifies the DNS configuration of the Profile, it supports the fields documented below.
	DnsConfig ProfileDnsConfigPtrInput
	// The FQDN of the created Profile.
	Fqdn pulumi.StringPtrInput
	// This block specifies the Endpoint monitoring configuration for the Profile, it supports the fields documented below.
	MonitorConfig ProfileMonitorConfigPtrInput
	// The name of the Traffic Manager profile. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The status of the profile, can be set to either `Enabled` or `Disabled`. Defaults to `Enabled`.
	ProfileStatus pulumi.StringPtrInput
	// The name of the resource group in which to create the Traffic Manager profile.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies the algorithm used to route traffic, possible values are:
	TrafficRoutingMethod pulumi.StringPtrInput
}

func (ProfileState) ElementType

func (ProfileState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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