Documentation ¶
Index ¶
- type GetGeographicalLocationArgs
- type GetGeographicalLocationOutputArgs
- type GetGeographicalLocationResult
- type GetGeographicalLocationResultOutput
- func (GetGeographicalLocationResultOutput) ElementType() reflect.Type
- func (o GetGeographicalLocationResultOutput) Id() pulumi.StringOutput
- func (o GetGeographicalLocationResultOutput) Name() pulumi.StringOutput
- func (o GetGeographicalLocationResultOutput) ToGetGeographicalLocationResultOutput() GetGeographicalLocationResultOutput
- func (o GetGeographicalLocationResultOutput) ToGetGeographicalLocationResultOutputWithContext(ctx context.Context) GetGeographicalLocationResultOutput
- type Profiledeprecated
- type ProfileArgs
- type ProfileArray
- type ProfileArrayInput
- type ProfileArrayOutput
- 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.StringPtrOutput
- func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutput() ProfileDnsConfigPtrOutput
- func (o ProfileDnsConfigPtrOutput) ToProfileDnsConfigPtrOutputWithContext(ctx context.Context) ProfileDnsConfigPtrOutput
- func (o ProfileDnsConfigPtrOutput) Ttl() pulumi.IntPtrOutput
- type ProfileInput
- type ProfileMap
- type ProfileMapInput
- type ProfileMapOutput
- 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.IntPtrOutput
- func (o ProfileMonitorConfigPtrOutput) Protocol() pulumi.StringPtrOutput
- 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 ProfileOutput
- func (o ProfileOutput) DnsConfig() ProfileDnsConfigOutput
- func (ProfileOutput) ElementType() reflect.Type
- func (o ProfileOutput) Fqdn() pulumi.StringOutput
- func (o ProfileOutput) MaxReturn() pulumi.IntPtrOutput
- func (o ProfileOutput) MonitorConfig() ProfileMonitorConfigOutput
- func (o ProfileOutput) Name() pulumi.StringOutput
- func (o ProfileOutput) ProfileStatus() pulumi.StringOutput
- func (o ProfileOutput) ResourceGroupName() pulumi.StringOutput
- func (o ProfileOutput) Tags() pulumi.StringMapOutput
- func (o ProfileOutput) ToProfileOutput() ProfileOutput
- func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
- func (o ProfileOutput) TrafficRoutingMethod() pulumi.StringOutput
- func (o ProfileOutput) TrafficViewEnabled() pulumi.BoolPtrOutput
- type ProfileState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 GetGeographicalLocationOutputArgs ¶
type GetGeographicalLocationOutputArgs struct { // Specifies the name of the Location, for example `World`, `Europe` or `Germany`. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getGeographicalLocation.
func (GetGeographicalLocationOutputArgs) ElementType ¶
func (GetGeographicalLocationOutputArgs) ElementType() reflect.Type
type GetGeographicalLocationResult ¶
type GetGeographicalLocationResult struct { // 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
deprecated
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.
## Example Usage ### World)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := network.GetTrafficManager(ctx, &network.GetTrafficManagerArgs{ Name: "World", }, nil) if err != nil { return err } ctx.Export("locationCode", example.Id) return nil }) }
```
Deprecated: azure.trafficmanager.getGeographicalLocation has been deprecated in favor of azure.network.getTrafficManager
type GetGeographicalLocationResultOutput ¶
type GetGeographicalLocationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGeographicalLocation.
func GetGeographicalLocationOutput ¶
func GetGeographicalLocationOutput(ctx *pulumi.Context, args GetGeographicalLocationOutputArgs, opts ...pulumi.InvokeOption) GetGeographicalLocationResultOutput
func (GetGeographicalLocationResultOutput) ElementType ¶
func (GetGeographicalLocationResultOutput) ElementType() reflect.Type
func (GetGeographicalLocationResultOutput) Id ¶
func (o GetGeographicalLocationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGeographicalLocationResultOutput) Name ¶
func (o GetGeographicalLocationResultOutput) Name() pulumi.StringOutput
func (GetGeographicalLocationResultOutput) ToGetGeographicalLocationResultOutput ¶
func (o GetGeographicalLocationResultOutput) ToGetGeographicalLocationResultOutput() GetGeographicalLocationResultOutput
func (GetGeographicalLocationResultOutput) ToGetGeographicalLocationResultOutputWithContext ¶
func (o GetGeographicalLocationResultOutput) ToGetGeographicalLocationResultOutputWithContext(ctx context.Context) GetGeographicalLocationResultOutput
type Profile
deprecated
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"` // The amount of endpoints to return for DNS queries to this Profile. Possible values range from `1` to `8`. MaxReturn pulumi.IntPtrOutput `pulumi:"maxReturn"` // 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"` // Indicates whether Traffic View is enabled for the Traffic Manager profile. TrafficViewEnabled pulumi.BoolPtrOutput `pulumi:"trafficViewEnabled"` }
Manages a Traffic Manager Profile to which multiple endpoints can be attached.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { server, err := random.NewRandomId(ctx, "server", &random.RandomIdArgs{ Keepers: pulumi.AnyMap{ "azi_id": pulumi.Any(1), }, ByteLength: pulumi.Int(8), }) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = network.NewTrafficManagerProfile(ctx, "exampleTrafficManagerProfile", &network.TrafficManagerProfileArgs{ ResourceGroupName: exampleResourceGroup.Name, TrafficRoutingMethod: pulumi.String("Weighted"), DnsConfig: &network.TrafficManagerProfileDnsConfigArgs{ RelativeName: server.Hex, Ttl: pulumi.Int(100), }, MonitorConfig: &network.TrafficManagerProfileMonitorConfigArgs{ Protocol: pulumi.String("HTTP"), Port: pulumi.Int(80), Path: pulumi.String("/"), IntervalInSeconds: pulumi.Int(30), TimeoutInSeconds: pulumi.Int(9), ToleratedNumberOfFailures: pulumi.Int(3), }, Tags: pulumi.StringMap{ "environment": pulumi.String("Production"), }, }) if err != nil { return err } return nil }) }
```
## Import
Traffic Manager Profiles can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:trafficmanager/profile:Profile exampleProfile /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/trafficManagerProfiles/mytrafficmanagerprofile1
```
Deprecated: azure.trafficmanager.Profile has been deprecated in favor of azure.network.TrafficManagerProfile
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.
func (*Profile) ElementType ¶
func (*Profile) ToProfileOutput ¶
func (i *Profile) ToProfileOutput() ProfileOutput
func (*Profile) ToProfileOutputWithContext ¶
func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
type ProfileArgs ¶
type ProfileArgs struct { // This block specifies the DNS configuration of the Profile, it supports the fields documented below. DnsConfig ProfileDnsConfigInput // The amount of endpoints to return for DNS queries to this Profile. Possible values range from `1` to `8`. MaxReturn pulumi.IntPtrInput // 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 // Indicates whether Traffic View is enabled for the Traffic Manager profile. TrafficViewEnabled pulumi.BoolPtrInput }
The set of arguments for constructing a Profile resource.
func (ProfileArgs) ElementType ¶
func (ProfileArgs) ElementType() reflect.Type
type ProfileArray ¶
type ProfileArray []ProfileInput
func (ProfileArray) ElementType ¶
func (ProfileArray) ElementType() reflect.Type
func (ProfileArray) ToProfileArrayOutput ¶
func (i ProfileArray) ToProfileArrayOutput() ProfileArrayOutput
func (ProfileArray) ToProfileArrayOutputWithContext ¶
func (i ProfileArray) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput
type ProfileArrayInput ¶
type ProfileArrayInput interface { pulumi.Input ToProfileArrayOutput() ProfileArrayOutput ToProfileArrayOutputWithContext(context.Context) ProfileArrayOutput }
ProfileArrayInput is an input type that accepts ProfileArray and ProfileArrayOutput values. You can construct a concrete instance of `ProfileArrayInput` via:
ProfileArray{ ProfileArgs{...} }
type ProfileArrayOutput ¶
type ProfileArrayOutput struct{ *pulumi.OutputState }
func (ProfileArrayOutput) ElementType ¶
func (ProfileArrayOutput) ElementType() reflect.Type
func (ProfileArrayOutput) Index ¶
func (o ProfileArrayOutput) Index(i pulumi.IntInput) ProfileOutput
func (ProfileArrayOutput) ToProfileArrayOutput ¶
func (o ProfileArrayOutput) ToProfileArrayOutput() ProfileArrayOutput
func (ProfileArrayOutput) ToProfileArrayOutputWithContext ¶
func (o ProfileArrayOutput) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput
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 }
ProfileDnsConfigInput is an input type that accepts ProfileDnsConfigArgs and ProfileDnsConfigOutput values. You can construct a concrete instance of `ProfileDnsConfigInput` via:
ProfileDnsConfigArgs{...}
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 }
ProfileDnsConfigPtrInput is an input type that accepts ProfileDnsConfigArgs, ProfileDnsConfigPtr and ProfileDnsConfigPtrOutput values. You can construct a concrete instance of `ProfileDnsConfigPtrInput` via:
ProfileDnsConfigArgs{...} or: nil
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.StringPtrOutput
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.IntPtrOutput
The TTL value of the Profile used by Local DNS resolvers and clients.
type ProfileInput ¶
type ProfileInput interface { pulumi.Input ToProfileOutput() ProfileOutput ToProfileOutputWithContext(ctx context.Context) ProfileOutput }
type ProfileMap ¶
type ProfileMap map[string]ProfileInput
func (ProfileMap) ElementType ¶
func (ProfileMap) ElementType() reflect.Type
func (ProfileMap) ToProfileMapOutput ¶
func (i ProfileMap) ToProfileMapOutput() ProfileMapOutput
func (ProfileMap) ToProfileMapOutputWithContext ¶
func (i ProfileMap) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput
type ProfileMapInput ¶
type ProfileMapInput interface { pulumi.Input ToProfileMapOutput() ProfileMapOutput ToProfileMapOutputWithContext(context.Context) ProfileMapOutput }
ProfileMapInput is an input type that accepts ProfileMap and ProfileMapOutput values. You can construct a concrete instance of `ProfileMapInput` via:
ProfileMap{ "key": ProfileArgs{...} }
type ProfileMapOutput ¶
type ProfileMapOutput struct{ *pulumi.OutputState }
func (ProfileMapOutput) ElementType ¶
func (ProfileMapOutput) ElementType() reflect.Type
func (ProfileMapOutput) MapIndex ¶
func (o ProfileMapOutput) MapIndex(k pulumi.StringInput) ProfileOutput
func (ProfileMapOutput) ToProfileMapOutput ¶
func (o ProfileMapOutput) ToProfileMapOutput() ProfileMapOutput
func (ProfileMapOutput) ToProfileMapOutputWithContext ¶
func (o ProfileMapOutput) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput
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 }
ProfileMonitorConfigCustomHeaderArrayInput is an input type that accepts ProfileMonitorConfigCustomHeaderArray and ProfileMonitorConfigCustomHeaderArrayOutput values. You can construct a concrete instance of `ProfileMonitorConfigCustomHeaderArrayInput` via:
ProfileMonitorConfigCustomHeaderArray{ ProfileMonitorConfigCustomHeaderArgs{...} }
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 }
ProfileMonitorConfigCustomHeaderInput is an input type that accepts ProfileMonitorConfigCustomHeaderArgs and ProfileMonitorConfigCustomHeaderOutput values. You can construct a concrete instance of `ProfileMonitorConfigCustomHeaderInput` via:
ProfileMonitorConfigCustomHeaderArgs{...}
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 }
ProfileMonitorConfigInput is an input type that accepts ProfileMonitorConfigArgs and ProfileMonitorConfigOutput values. You can construct a concrete instance of `ProfileMonitorConfigInput` via:
ProfileMonitorConfigArgs{...}
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 }
ProfileMonitorConfigPtrInput is an input type that accepts ProfileMonitorConfigArgs, ProfileMonitorConfigPtr and ProfileMonitorConfigPtrOutput values. You can construct a concrete instance of `ProfileMonitorConfigPtrInput` via:
ProfileMonitorConfigArgs{...} or: nil
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.IntPtrOutput
The port number used by the monitoring checks.
func (ProfileMonitorConfigPtrOutput) Protocol ¶
func (o ProfileMonitorConfigPtrOutput) Protocol() pulumi.StringPtrOutput
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 ProfileOutput ¶
type ProfileOutput struct{ *pulumi.OutputState }
func (ProfileOutput) DnsConfig ¶ added in v5.5.0
func (o ProfileOutput) DnsConfig() ProfileDnsConfigOutput
This block specifies the DNS configuration of the Profile, it supports the fields documented below.
func (ProfileOutput) ElementType ¶
func (ProfileOutput) ElementType() reflect.Type
func (ProfileOutput) Fqdn ¶ added in v5.5.0
func (o ProfileOutput) Fqdn() pulumi.StringOutput
The FQDN of the created Profile.
func (ProfileOutput) MaxReturn ¶ added in v5.5.0
func (o ProfileOutput) MaxReturn() pulumi.IntPtrOutput
The amount of endpoints to return for DNS queries to this Profile. Possible values range from `1` to `8`.
func (ProfileOutput) MonitorConfig ¶ added in v5.5.0
func (o ProfileOutput) MonitorConfig() ProfileMonitorConfigOutput
This block specifies the Endpoint monitoring configuration for the Profile, it supports the fields documented below.
func (ProfileOutput) Name ¶ added in v5.5.0
func (o ProfileOutput) Name() pulumi.StringOutput
The name of the Traffic Manager profile. Changing this forces a new resource to be created.
func (ProfileOutput) ProfileStatus ¶ added in v5.5.0
func (o ProfileOutput) ProfileStatus() pulumi.StringOutput
The status of the profile, can be set to either `Enabled` or `Disabled`. Defaults to `Enabled`.
func (ProfileOutput) ResourceGroupName ¶ added in v5.5.0
func (o ProfileOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the Traffic Manager profile.
func (ProfileOutput) Tags ¶ added in v5.5.0
func (o ProfileOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (ProfileOutput) ToProfileOutput ¶
func (o ProfileOutput) ToProfileOutput() ProfileOutput
func (ProfileOutput) ToProfileOutputWithContext ¶
func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
func (ProfileOutput) TrafficRoutingMethod ¶ added in v5.5.0
func (o ProfileOutput) TrafficRoutingMethod() pulumi.StringOutput
Specifies the algorithm used to route traffic, possible values are:
func (ProfileOutput) TrafficViewEnabled ¶ added in v5.5.0
func (o ProfileOutput) TrafficViewEnabled() pulumi.BoolPtrOutput
Indicates whether Traffic View is enabled for the Traffic Manager profile.
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 // The amount of endpoints to return for DNS queries to this Profile. Possible values range from `1` to `8`. MaxReturn pulumi.IntPtrInput // 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 // Indicates whether Traffic View is enabled for the Traffic Manager profile. TrafficViewEnabled pulumi.BoolPtrInput }
func (ProfileState) ElementType ¶
func (ProfileState) ElementType() reflect.Type