trafficmanager

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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_legacy.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 added in v1.12.0

func (EndpointArgs) ElementType() reflect.Type

type EndpointCustomHeader added in v1.12.0

type EndpointCustomHeader struct {
	// The name of the Traffic Manager endpoint. Changing this forces a
	// new resource to be created.
	Name  string `pulumi:"name"`
	Value string `pulumi:"value"`
}

type EndpointCustomHeaderArgs added in v1.12.0

type EndpointCustomHeaderArgs struct {
	// The name of the Traffic Manager endpoint. Changing this forces a
	// new resource to be created.
	Name  pulumi.StringInput `pulumi:"name"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (EndpointCustomHeaderArgs) ElementType added in v1.12.0

func (EndpointCustomHeaderArgs) ElementType() reflect.Type

func (EndpointCustomHeaderArgs) ToEndpointCustomHeaderOutput added in v1.12.0

func (i EndpointCustomHeaderArgs) ToEndpointCustomHeaderOutput() EndpointCustomHeaderOutput

func (EndpointCustomHeaderArgs) ToEndpointCustomHeaderOutputWithContext added in v1.12.0

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

type EndpointCustomHeaderArray added in v1.12.0

type EndpointCustomHeaderArray []EndpointCustomHeaderInput

func (EndpointCustomHeaderArray) ElementType added in v1.12.0

func (EndpointCustomHeaderArray) ElementType() reflect.Type

func (EndpointCustomHeaderArray) ToEndpointCustomHeaderArrayOutput added in v1.12.0

func (i EndpointCustomHeaderArray) ToEndpointCustomHeaderArrayOutput() EndpointCustomHeaderArrayOutput

func (EndpointCustomHeaderArray) ToEndpointCustomHeaderArrayOutputWithContext added in v1.12.0

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

type EndpointCustomHeaderArrayInput added in v1.12.0

type EndpointCustomHeaderArrayInput interface {
	pulumi.Input

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

type EndpointCustomHeaderArrayOutput added in v1.12.0

type EndpointCustomHeaderArrayOutput struct{ *pulumi.OutputState }

func (EndpointCustomHeaderArrayOutput) ElementType added in v1.12.0

func (EndpointCustomHeaderArrayOutput) Index added in v1.12.0

func (EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutput added in v1.12.0

func (o EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutput() EndpointCustomHeaderArrayOutput

func (EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutputWithContext added in v1.12.0

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

type EndpointCustomHeaderInput added in v1.12.0

type EndpointCustomHeaderInput interface {
	pulumi.Input

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

type EndpointCustomHeaderOutput added in v1.12.0

type EndpointCustomHeaderOutput struct{ *pulumi.OutputState }

func (EndpointCustomHeaderOutput) ElementType added in v1.12.0

func (EndpointCustomHeaderOutput) ElementType() reflect.Type

func (EndpointCustomHeaderOutput) Name added in v1.12.0

The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.

func (EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutput added in v1.12.0

func (o EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutput() EndpointCustomHeaderOutput

func (EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutputWithContext added in v1.12.0

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

func (EndpointCustomHeaderOutput) Value added in v1.12.0

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 added in v1.12.0

func (EndpointState) ElementType() reflect.Type

type EndpointSubnet added in v1.12.0

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

type EndpointSubnetArgs added in v1.12.0

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

func (EndpointSubnetArgs) ElementType added in v1.12.0

func (EndpointSubnetArgs) ElementType() reflect.Type

func (EndpointSubnetArgs) ToEndpointSubnetOutput added in v1.12.0

func (i EndpointSubnetArgs) ToEndpointSubnetOutput() EndpointSubnetOutput

func (EndpointSubnetArgs) ToEndpointSubnetOutputWithContext added in v1.12.0

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

type EndpointSubnetArray added in v1.12.0

type EndpointSubnetArray []EndpointSubnetInput

func (EndpointSubnetArray) ElementType added in v1.12.0

func (EndpointSubnetArray) ElementType() reflect.Type

func (EndpointSubnetArray) ToEndpointSubnetArrayOutput added in v1.12.0

func (i EndpointSubnetArray) ToEndpointSubnetArrayOutput() EndpointSubnetArrayOutput

func (EndpointSubnetArray) ToEndpointSubnetArrayOutputWithContext added in v1.12.0

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

type EndpointSubnetArrayInput added in v1.12.0

type EndpointSubnetArrayInput interface {
	pulumi.Input

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

type EndpointSubnetArrayOutput added in v1.12.0

type EndpointSubnetArrayOutput struct{ *pulumi.OutputState }

func (EndpointSubnetArrayOutput) ElementType added in v1.12.0

func (EndpointSubnetArrayOutput) ElementType() reflect.Type

func (EndpointSubnetArrayOutput) Index added in v1.12.0

func (EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutput added in v1.12.0

func (o EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutput() EndpointSubnetArrayOutput

func (EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutputWithContext added in v1.12.0

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

type EndpointSubnetInput added in v1.12.0

type EndpointSubnetInput interface {
	pulumi.Input

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

type EndpointSubnetOutput added in v1.12.0

type EndpointSubnetOutput struct{ *pulumi.OutputState }

func (EndpointSubnetOutput) ElementType added in v1.12.0

func (EndpointSubnetOutput) ElementType() reflect.Type

func (EndpointSubnetOutput) First added in v1.12.0

func (EndpointSubnetOutput) Last added in v1.12.0

func (EndpointSubnetOutput) Scope added in v1.12.0

func (EndpointSubnetOutput) ToEndpointSubnetOutput added in v1.12.0

func (o EndpointSubnetOutput) ToEndpointSubnetOutput() EndpointSubnetOutput

func (EndpointSubnetOutput) ToEndpointSubnetOutputWithContext added in v1.12.0

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 added in v0.14.1

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 added in v1.12.0

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_legacy.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 virtual network. 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 virtual network.
	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:
	// - `Geographic` - Traffic is routed based on Geographic regions specified in the Endpoint.
	// - `MultiValue`- All healthy Endpoints are returned.  MultiValue routing method works only if all the endpoints of type ‘External’ and are specified as IPv4 or IPv6 addresses.
	// - `Performance` - Traffic is routed via the User's closest Endpoint
	// - `Priority` - Traffic is routed to the Endpoint with the lowest `priority` value.
	// - `Subnet` - Traffic is routed based on a mapping of sets of end-user IP address ranges to a specific Endpoint within a Traffic Manager profile.
	// - `Weighted` - Traffic is spread across Endpoints proportional to their `weight` value.
	TrafficRoutingMethod pulumi.StringOutput `pulumi:"trafficRoutingMethod"`
}

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

## Notes

The Traffic Manager is created with the location `global`.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/traffic_manager_profile_legacy.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 virtual network. 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 virtual network.
	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:
	// - `Geographic` - Traffic is routed based on Geographic regions specified in the Endpoint.
	// - `MultiValue`- All healthy Endpoints are returned.  MultiValue routing method works only if all the endpoints of type ‘External’ and are specified as IPv4 or IPv6 addresses.
	// - `Performance` - Traffic is routed via the User's closest Endpoint
	// - `Priority` - Traffic is routed to the Endpoint with the lowest `priority` value.
	// - `Subnet` - Traffic is routed based on a mapping of sets of end-user IP address ranges to a specific Endpoint within a Traffic Manager profile.
	// - `Weighted` - Traffic is spread across Endpoints proportional to their `weight` value.
	TrafficRoutingMethod pulumi.StringInput
}

The set of arguments for constructing a Profile resource.

func (ProfileArgs) ElementType added in v1.12.0

func (ProfileArgs) ElementType() reflect.Type

type ProfileDnsConfig added in v1.12.0

type ProfileDnsConfig struct {
	RelativeName string `pulumi:"relativeName"`
	Ttl          int    `pulumi:"ttl"`
}

type ProfileDnsConfigArgs added in v1.12.0

type ProfileDnsConfigArgs struct {
	RelativeName pulumi.StringInput `pulumi:"relativeName"`
	Ttl          pulumi.IntInput    `pulumi:"ttl"`
}

func (ProfileDnsConfigArgs) ElementType added in v1.12.0

func (ProfileDnsConfigArgs) ElementType() reflect.Type

func (ProfileDnsConfigArgs) ToProfileDnsConfigOutput added in v1.12.0

func (i ProfileDnsConfigArgs) ToProfileDnsConfigOutput() ProfileDnsConfigOutput

func (ProfileDnsConfigArgs) ToProfileDnsConfigOutputWithContext added in v1.12.0

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

func (ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutput added in v1.12.0

func (i ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput

func (ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutputWithContext added in v1.12.0

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

type ProfileDnsConfigInput added in v1.12.0

type ProfileDnsConfigInput interface {
	pulumi.Input

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

type ProfileDnsConfigOutput added in v1.12.0

type ProfileDnsConfigOutput struct{ *pulumi.OutputState }

func (ProfileDnsConfigOutput) ElementType added in v1.12.0

func (ProfileDnsConfigOutput) ElementType() reflect.Type

func (ProfileDnsConfigOutput) RelativeName added in v1.12.0

func (o ProfileDnsConfigOutput) RelativeName() pulumi.StringOutput

func (ProfileDnsConfigOutput) ToProfileDnsConfigOutput added in v1.12.0

func (o ProfileDnsConfigOutput) ToProfileDnsConfigOutput() ProfileDnsConfigOutput

func (ProfileDnsConfigOutput) ToProfileDnsConfigOutputWithContext added in v1.12.0

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

func (ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutput added in v1.12.0

func (o ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput

func (ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutputWithContext added in v1.12.0

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

func (ProfileDnsConfigOutput) Ttl added in v1.12.0

type ProfileDnsConfigPtrInput added in v1.12.0

type ProfileDnsConfigPtrInput interface {
	pulumi.Input

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

func ProfileDnsConfigPtr added in v1.12.0

func ProfileDnsConfigPtr(v *ProfileDnsConfigArgs) ProfileDnsConfigPtrInput

type ProfileDnsConfigPtrOutput added in v1.12.0

type ProfileDnsConfigPtrOutput struct{ *pulumi.OutputState }

func (ProfileDnsConfigPtrOutput) Elem added in v1.12.0

func (ProfileDnsConfigPtrOutput) ElementType added in v1.12.0

func (ProfileDnsConfigPtrOutput) ElementType() reflect.Type

func (ProfileDnsConfigPtrOutput) RelativeName added in v1.12.0

func (ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput added in v1.12.0

func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput

func (ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutputWithContext added in v1.12.0

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

func (ProfileDnsConfigPtrOutput) Ttl added in v1.12.0

type ProfileMonitorConfig added in v1.12.0

type ProfileMonitorConfig struct {
	ExpectedStatusCodeRanges  []string `pulumi:"expectedStatusCodeRanges"`
	IntervalInSeconds         *int     `pulumi:"intervalInSeconds"`
	Path                      *string  `pulumi:"path"`
	Port                      int      `pulumi:"port"`
	Protocol                  string   `pulumi:"protocol"`
	TimeoutInSeconds          *int     `pulumi:"timeoutInSeconds"`
	ToleratedNumberOfFailures *int     `pulumi:"toleratedNumberOfFailures"`
}

type ProfileMonitorConfigArgs added in v1.12.0

type ProfileMonitorConfigArgs struct {
	ExpectedStatusCodeRanges  pulumi.StringArrayInput `pulumi:"expectedStatusCodeRanges"`
	IntervalInSeconds         pulumi.IntPtrInput      `pulumi:"intervalInSeconds"`
	Path                      pulumi.StringPtrInput   `pulumi:"path"`
	Port                      pulumi.IntInput         `pulumi:"port"`
	Protocol                  pulumi.StringInput      `pulumi:"protocol"`
	TimeoutInSeconds          pulumi.IntPtrInput      `pulumi:"timeoutInSeconds"`
	ToleratedNumberOfFailures pulumi.IntPtrInput      `pulumi:"toleratedNumberOfFailures"`
}

func (ProfileMonitorConfigArgs) ElementType added in v1.12.0

func (ProfileMonitorConfigArgs) ElementType() reflect.Type

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigOutput added in v1.12.0

func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigOutput() ProfileMonitorConfigOutput

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigOutputWithContext added in v1.12.0

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

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutput added in v1.12.0

func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutputWithContext added in v1.12.0

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

type ProfileMonitorConfigInput added in v1.12.0

type ProfileMonitorConfigInput interface {
	pulumi.Input

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

type ProfileMonitorConfigOutput added in v1.12.0

type ProfileMonitorConfigOutput struct{ *pulumi.OutputState }

func (ProfileMonitorConfigOutput) ElementType added in v1.12.0

func (ProfileMonitorConfigOutput) ElementType() reflect.Type

func (ProfileMonitorConfigOutput) ExpectedStatusCodeRanges added in v1.12.0

func (o ProfileMonitorConfigOutput) ExpectedStatusCodeRanges() pulumi.StringArrayOutput

func (ProfileMonitorConfigOutput) IntervalInSeconds added in v1.12.0

func (o ProfileMonitorConfigOutput) IntervalInSeconds() pulumi.IntPtrOutput

func (ProfileMonitorConfigOutput) Path added in v1.12.0

func (ProfileMonitorConfigOutput) Port added in v1.12.0

func (ProfileMonitorConfigOutput) Protocol added in v1.12.0

func (ProfileMonitorConfigOutput) TimeoutInSeconds added in v1.12.0

func (o ProfileMonitorConfigOutput) TimeoutInSeconds() pulumi.IntPtrOutput

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigOutput added in v1.12.0

func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigOutput() ProfileMonitorConfigOutput

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigOutputWithContext added in v1.12.0

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

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutput added in v1.12.0

func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutputWithContext added in v1.12.0

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

func (ProfileMonitorConfigOutput) ToleratedNumberOfFailures added in v1.12.0

func (o ProfileMonitorConfigOutput) ToleratedNumberOfFailures() pulumi.IntPtrOutput

type ProfileMonitorConfigPtrInput added in v1.12.0

type ProfileMonitorConfigPtrInput interface {
	pulumi.Input

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

func ProfileMonitorConfigPtr added in v1.12.0

func ProfileMonitorConfigPtr(v *ProfileMonitorConfigArgs) ProfileMonitorConfigPtrInput

type ProfileMonitorConfigPtrOutput added in v1.12.0

type ProfileMonitorConfigPtrOutput struct{ *pulumi.OutputState }

func (ProfileMonitorConfigPtrOutput) Elem added in v1.12.0

func (ProfileMonitorConfigPtrOutput) ElementType added in v1.12.0

func (ProfileMonitorConfigPtrOutput) ExpectedStatusCodeRanges added in v1.12.0

func (o ProfileMonitorConfigPtrOutput) ExpectedStatusCodeRanges() pulumi.StringArrayOutput

func (ProfileMonitorConfigPtrOutput) IntervalInSeconds added in v1.12.0

func (o ProfileMonitorConfigPtrOutput) IntervalInSeconds() pulumi.IntPtrOutput

func (ProfileMonitorConfigPtrOutput) Path added in v1.12.0

func (ProfileMonitorConfigPtrOutput) Port added in v1.12.0

func (ProfileMonitorConfigPtrOutput) Protocol added in v1.12.0

func (ProfileMonitorConfigPtrOutput) TimeoutInSeconds added in v1.12.0

func (o ProfileMonitorConfigPtrOutput) TimeoutInSeconds() pulumi.IntPtrOutput

func (ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutput added in v1.12.0

func (o ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput

func (ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutputWithContext added in v1.12.0

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

func (ProfileMonitorConfigPtrOutput) ToleratedNumberOfFailures added in v1.12.0

func (o ProfileMonitorConfigPtrOutput) ToleratedNumberOfFailures() pulumi.IntPtrOutput

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 virtual network. 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 virtual network.
	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:
	// - `Geographic` - Traffic is routed based on Geographic regions specified in the Endpoint.
	// - `MultiValue`- All healthy Endpoints are returned.  MultiValue routing method works only if all the endpoints of type ‘External’ and are specified as IPv4 or IPv6 addresses.
	// - `Performance` - Traffic is routed via the User's closest Endpoint
	// - `Priority` - Traffic is routed to the Endpoint with the lowest `priority` value.
	// - `Subnet` - Traffic is routed based on a mapping of sets of end-user IP address ranges to a specific Endpoint within a Traffic Manager profile.
	// - `Weighted` - Traffic is spread across Endpoints proportional to their `weight` value.
	TrafficRoutingMethod pulumi.StringPtrInput
}

func (ProfileState) ElementType added in v1.12.0

func (ProfileState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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