Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type Endpoint
- type EndpointArgs
- type EndpointCustomHeader
- type EndpointCustomHeaderArgs
- type EndpointCustomHeaderArray
- type EndpointCustomHeaderArrayInput
- type EndpointCustomHeaderArrayOutput
- func (EndpointCustomHeaderArrayOutput) ElementType() reflect.Type
- func (o EndpointCustomHeaderArrayOutput) Index(i pulumi.IntInput) EndpointCustomHeaderOutput
- func (o EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutput() EndpointCustomHeaderArrayOutput
- func (o EndpointCustomHeaderArrayOutput) ToEndpointCustomHeaderArrayOutputWithContext(ctx context.Context) EndpointCustomHeaderArrayOutput
- type EndpointCustomHeaderInput
- type EndpointCustomHeaderOutput
- func (EndpointCustomHeaderOutput) ElementType() reflect.Type
- func (o EndpointCustomHeaderOutput) Name() pulumi.StringOutput
- func (o EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutput() EndpointCustomHeaderOutput
- func (o EndpointCustomHeaderOutput) ToEndpointCustomHeaderOutputWithContext(ctx context.Context) EndpointCustomHeaderOutput
- func (o EndpointCustomHeaderOutput) Value() pulumi.StringOutput
- type EndpointState
- type EndpointSubnet
- type EndpointSubnetArgs
- type EndpointSubnetArray
- type EndpointSubnetArrayInput
- type EndpointSubnetArrayOutput
- func (EndpointSubnetArrayOutput) ElementType() reflect.Type
- func (o EndpointSubnetArrayOutput) Index(i pulumi.IntInput) EndpointSubnetOutput
- func (o EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutput() EndpointSubnetArrayOutput
- func (o EndpointSubnetArrayOutput) ToEndpointSubnetArrayOutputWithContext(ctx context.Context) EndpointSubnetArrayOutput
- type EndpointSubnetInput
- type EndpointSubnetOutput
- func (EndpointSubnetOutput) ElementType() reflect.Type
- func (o EndpointSubnetOutput) First() pulumi.StringOutput
- func (o EndpointSubnetOutput) Last() pulumi.StringPtrOutput
- func (o EndpointSubnetOutput) Scope() pulumi.IntPtrOutput
- func (o EndpointSubnetOutput) ToEndpointSubnetOutput() EndpointSubnetOutput
- func (o EndpointSubnetOutput) ToEndpointSubnetOutputWithContext(ctx context.Context) EndpointSubnetOutput
- type GetGeographicalLocationArgs
- type GetGeographicalLocationResult
- type Profile
- type ProfileArgs
- type ProfileDnsConfig
- type ProfileDnsConfigArgs
- func (ProfileDnsConfigArgs) ElementType() reflect.Type
- func (i ProfileDnsConfigArgs) ToProfileDnsConfigOutput() ProfileDnsConfigOutput
- func (i ProfileDnsConfigArgs) ToProfileDnsConfigOutputWithContext(ctx context.Context) ProfileDnsConfigOutput
- func (i ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput
- func (i ProfileDnsConfigArgs) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput
- type ProfileDnsConfigInput
- type ProfileDnsConfigOutput
- func (ProfileDnsConfigOutput) ElementType() reflect.Type
- func (o ProfileDnsConfigOutput) RelativeName() pulumi.StringOutput
- func (o ProfileDnsConfigOutput) ToProfileDnsConfigOutput() ProfileDnsConfigOutput
- func (o ProfileDnsConfigOutput) ToProfileDnsConfigOutputWithContext(ctx context.Context) ProfileDnsConfigOutput
- func (o ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput
- func (o ProfileDnsConfigOutput) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput
- func (o ProfileDnsConfigOutput) Ttl() pulumi.IntOutput
- type ProfileDnsConfigPtrInput
- type ProfileDnsConfigPtrOutput
- func (o ProfileDnsConfigPtrOutput) Elem() ProfileDnsConfigOutput
- func (ProfileDnsConfigPtrOutput) ElementType() reflect.Type
- func (o ProfileDnsConfigPtrOutput) RelativeName() pulumi.StringOutput
- func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput
- func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput
- func (o ProfileDnsConfigPtrOutput) Ttl() pulumi.IntOutput
- type ProfileMonitorConfig
- type ProfileMonitorConfigArgs
- func (ProfileMonitorConfigArgs) ElementType() reflect.Type
- func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigOutput() ProfileMonitorConfigOutput
- func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigOutputWithContext(ctx context.Context) ProfileMonitorConfigOutput
- func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput
- func (i ProfileMonitorConfigArgs) ToProfileMonitorConfigPtrOutputWithContext(ctx context.Context) ProfileMonitorConfigPtrOutput
- type ProfileMonitorConfigCustomHeader
- type ProfileMonitorConfigCustomHeaderArgs
- func (ProfileMonitorConfigCustomHeaderArgs) ElementType() reflect.Type
- func (i ProfileMonitorConfigCustomHeaderArgs) ToProfileMonitorConfigCustomHeaderOutput() ProfileMonitorConfigCustomHeaderOutput
- func (i ProfileMonitorConfigCustomHeaderArgs) ToProfileMonitorConfigCustomHeaderOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderOutput
- type ProfileMonitorConfigCustomHeaderArray
- func (ProfileMonitorConfigCustomHeaderArray) ElementType() reflect.Type
- func (i ProfileMonitorConfigCustomHeaderArray) ToProfileMonitorConfigCustomHeaderArrayOutput() ProfileMonitorConfigCustomHeaderArrayOutput
- func (i ProfileMonitorConfigCustomHeaderArray) ToProfileMonitorConfigCustomHeaderArrayOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderArrayOutput
- type ProfileMonitorConfigCustomHeaderArrayInput
- type ProfileMonitorConfigCustomHeaderArrayOutput
- func (ProfileMonitorConfigCustomHeaderArrayOutput) ElementType() reflect.Type
- func (o ProfileMonitorConfigCustomHeaderArrayOutput) Index(i pulumi.IntInput) ProfileMonitorConfigCustomHeaderOutput
- func (o ProfileMonitorConfigCustomHeaderArrayOutput) ToProfileMonitorConfigCustomHeaderArrayOutput() ProfileMonitorConfigCustomHeaderArrayOutput
- func (o ProfileMonitorConfigCustomHeaderArrayOutput) ToProfileMonitorConfigCustomHeaderArrayOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderArrayOutput
- type ProfileMonitorConfigCustomHeaderInput
- type ProfileMonitorConfigCustomHeaderOutput
- func (ProfileMonitorConfigCustomHeaderOutput) ElementType() reflect.Type
- func (o ProfileMonitorConfigCustomHeaderOutput) Name() pulumi.StringOutput
- func (o ProfileMonitorConfigCustomHeaderOutput) ToProfileMonitorConfigCustomHeaderOutput() ProfileMonitorConfigCustomHeaderOutput
- func (o ProfileMonitorConfigCustomHeaderOutput) ToProfileMonitorConfigCustomHeaderOutputWithContext(ctx context.Context) ProfileMonitorConfigCustomHeaderOutput
- func (o ProfileMonitorConfigCustomHeaderOutput) Value() pulumi.StringOutput
- type ProfileMonitorConfigInput
- type ProfileMonitorConfigOutput
- func (o ProfileMonitorConfigOutput) CustomHeaders() ProfileMonitorConfigCustomHeaderArrayOutput
- func (ProfileMonitorConfigOutput) ElementType() reflect.Type
- func (o ProfileMonitorConfigOutput) ExpectedStatusCodeRanges() pulumi.StringArrayOutput
- func (o ProfileMonitorConfigOutput) IntervalInSeconds() pulumi.IntPtrOutput
- func (o ProfileMonitorConfigOutput) Path() pulumi.StringPtrOutput
- func (o ProfileMonitorConfigOutput) Port() pulumi.IntOutput
- func (o ProfileMonitorConfigOutput) Protocol() pulumi.StringOutput
- func (o ProfileMonitorConfigOutput) TimeoutInSeconds() pulumi.IntPtrOutput
- func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigOutput() ProfileMonitorConfigOutput
- func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigOutputWithContext(ctx context.Context) ProfileMonitorConfigOutput
- func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput
- func (o ProfileMonitorConfigOutput) ToProfileMonitorConfigPtrOutputWithContext(ctx context.Context) ProfileMonitorConfigPtrOutput
- func (o ProfileMonitorConfigOutput) ToleratedNumberOfFailures() pulumi.IntPtrOutput
- type ProfileMonitorConfigPtrInput
- type ProfileMonitorConfigPtrOutput
- func (o ProfileMonitorConfigPtrOutput) CustomHeaders() ProfileMonitorConfigCustomHeaderArrayOutput
- func (o ProfileMonitorConfigPtrOutput) Elem() ProfileMonitorConfigOutput
- func (ProfileMonitorConfigPtrOutput) ElementType() reflect.Type
- func (o ProfileMonitorConfigPtrOutput) ExpectedStatusCodeRanges() pulumi.StringArrayOutput
- func (o ProfileMonitorConfigPtrOutput) IntervalInSeconds() pulumi.IntPtrOutput
- func (o ProfileMonitorConfigPtrOutput) Path() pulumi.StringPtrOutput
- func (o ProfileMonitorConfigPtrOutput) Port() pulumi.IntOutput
- func (o ProfileMonitorConfigPtrOutput) Protocol() pulumi.StringOutput
- func (o ProfileMonitorConfigPtrOutput) TimeoutInSeconds() pulumi.IntPtrOutput
- func (o ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutput() ProfileMonitorConfigPtrOutput
- func (o ProfileMonitorConfigPtrOutput) ToProfileMonitorConfigPtrOutputWithContext(ctx context.Context) ProfileMonitorConfigPtrOutput
- func (o ProfileMonitorConfigPtrOutput) ToleratedNumberOfFailures() pulumi.IntPtrOutput
- type ProfileState
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 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) ElementType() reflect.Type
func (EndpointCustomHeaderArrayOutput) Index ¶
func (o EndpointCustomHeaderArrayOutput) Index(i pulumi.IntInput) EndpointCustomHeaderOutput
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 ¶
func (o EndpointCustomHeaderOutput) Name() pulumi.StringOutput
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 ¶
func (o EndpointCustomHeaderOutput) Value() pulumi.StringOutput
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 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 (o EndpointSubnetArrayOutput) Index(i pulumi.IntInput) EndpointSubnetOutput
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 ¶
func (o EndpointSubnetOutput) First() pulumi.StringOutput
The First IP....
func (EndpointSubnetOutput) Last ¶
func (o EndpointSubnetOutput) Last() pulumi.StringPtrOutput
The Last IP...
func (EndpointSubnetOutput) Scope ¶
func (o EndpointSubnetOutput) Scope() pulumi.IntPtrOutput
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 ¶
func (o ProfileDnsConfigOutput) Ttl() pulumi.IntOutput
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 }
func ProfileDnsConfigPtr ¶
func ProfileDnsConfigPtr(v *ProfileDnsConfigArgs) ProfileDnsConfigPtrInput
type ProfileDnsConfigPtrOutput ¶
type ProfileDnsConfigPtrOutput struct{ *pulumi.OutputState }
func (ProfileDnsConfigPtrOutput) Elem ¶
func (o ProfileDnsConfigPtrOutput) Elem() ProfileDnsConfigOutput
func (ProfileDnsConfigPtrOutput) ElementType ¶
func (ProfileDnsConfigPtrOutput) ElementType() reflect.Type
func (ProfileDnsConfigPtrOutput) RelativeName ¶
func (o ProfileDnsConfigPtrOutput) 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 (ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput ¶
func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput
func (ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutputWithContext ¶
func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput
func (ProfileDnsConfigPtrOutput) Ttl ¶
func (o ProfileDnsConfigPtrOutput) Ttl() pulumi.IntOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ProfileMonitorConfigCustomHeaderOutput) Name ¶
func (o ProfileMonitorConfigCustomHeaderOutput) Name() pulumi.StringOutput
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 ¶
func (o ProfileMonitorConfigCustomHeaderOutput) Value() pulumi.StringOutput
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 ¶
func (o ProfileMonitorConfigOutput) CustomHeaders() ProfileMonitorConfigCustomHeaderArrayOutput
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 ¶
func (o ProfileMonitorConfigOutput) Path() pulumi.StringPtrOutput
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 ¶
func (o ProfileMonitorConfigOutput) Port() pulumi.IntOutput
The port number used by the monitoring checks.
func (ProfileMonitorConfigOutput) Protocol ¶
func (o ProfileMonitorConfigOutput) Protocol() pulumi.StringOutput
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 }
func ProfileMonitorConfigPtr ¶
func ProfileMonitorConfigPtr(v *ProfileMonitorConfigArgs) ProfileMonitorConfigPtrInput
type ProfileMonitorConfigPtrOutput ¶
type ProfileMonitorConfigPtrOutput struct{ *pulumi.OutputState }
func (ProfileMonitorConfigPtrOutput) CustomHeaders ¶
func (o ProfileMonitorConfigPtrOutput) CustomHeaders() ProfileMonitorConfigCustomHeaderArrayOutput
One or more `customHeader` blocks as defined below.
func (ProfileMonitorConfigPtrOutput) Elem ¶
func (o ProfileMonitorConfigPtrOutput) Elem() ProfileMonitorConfigOutput
func (ProfileMonitorConfigPtrOutput) ElementType ¶
func (ProfileMonitorConfigPtrOutput) ElementType() reflect.Type
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 ¶
func (o ProfileMonitorConfigPtrOutput) Path() pulumi.StringPtrOutput
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 ¶
func (o ProfileMonitorConfigPtrOutput) Port() pulumi.IntOutput
The port number used by the monitoring checks.
func (ProfileMonitorConfigPtrOutput) Protocol ¶
func (o ProfileMonitorConfigPtrOutput) Protocol() pulumi.StringOutput
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