Documentation
¶
Index ¶
- type Endpoint
- func (r *Endpoint) EndpointLocation() *pulumi.StringOutput
- func (r *Endpoint) EndpointMonitorStatus() *pulumi.StringOutput
- func (r *Endpoint) EndpointStatus() *pulumi.StringOutput
- func (r *Endpoint) GeoMappings() *pulumi.ArrayOutput
- func (r *Endpoint) ID() *pulumi.IDOutput
- func (r *Endpoint) MinChildEndpoints() *pulumi.IntOutput
- func (r *Endpoint) Name() *pulumi.StringOutput
- func (r *Endpoint) Priority() *pulumi.IntOutput
- func (r *Endpoint) ProfileName() *pulumi.StringOutput
- func (r *Endpoint) ResourceGroupName() *pulumi.StringOutput
- func (r *Endpoint) Target() *pulumi.StringOutput
- func (r *Endpoint) TargetResourceId() *pulumi.StringOutput
- func (r *Endpoint) Type() *pulumi.StringOutput
- func (r *Endpoint) URN() *pulumi.URNOutput
- func (r *Endpoint) Weight() *pulumi.IntOutput
- type EndpointArgs
- type EndpointState
- type GetGeographicalLocationArgs
- type GetGeographicalLocationResult
- type Profile
- func (r *Profile) DnsConfigs() *pulumi.ArrayOutput
- func (r *Profile) Fqdn() *pulumi.StringOutput
- func (r *Profile) ID() *pulumi.IDOutput
- func (r *Profile) MonitorConfigs() *pulumi.ArrayOutput
- func (r *Profile) Name() *pulumi.StringOutput
- func (r *Profile) ProfileStatus() *pulumi.StringOutput
- func (r *Profile) ResourceGroupName() *pulumi.StringOutput
- func (r *Profile) Tags() *pulumi.MapOutput
- func (r *Profile) TrafficRoutingMethod() *pulumi.StringOutput
- func (r *Profile) URN() *pulumi.URNOutput
- type ProfileArgs
- type ProfileState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
Manages a Traffic Manager Endpoint.
func GetEndpoint ¶
func GetEndpoint(ctx *pulumi.Context, name string, id pulumi.ID, state *EndpointState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Endpoint, error)
NewEndpoint registers a new resource with the given unique name, arguments, and options.
func (*Endpoint) EndpointLocation ¶
func (r *Endpoint) EndpointLocation() *pulumi.StringOutput
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.
func (*Endpoint) EndpointMonitorStatus ¶
func (r *Endpoint) EndpointMonitorStatus() *pulumi.StringOutput
func (*Endpoint) EndpointStatus ¶
func (r *Endpoint) EndpointStatus() *pulumi.StringOutput
The status of the Endpoint, can be set to either `Enabled` or `Disabled`. Defaults to `Enabled`.
func (*Endpoint) GeoMappings ¶
func (r *Endpoint) GeoMappings() *pulumi.ArrayOutput
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).
func (*Endpoint) MinChildEndpoints ¶
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`.
func (*Endpoint) Name ¶
func (r *Endpoint) Name() *pulumi.StringOutput
The name of the Traffic Manager endpoint. Changing this forces a new resource to be created.
func (*Endpoint) Priority ¶
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.
func (*Endpoint) ProfileName ¶
func (r *Endpoint) ProfileName() *pulumi.StringOutput
The name of the Traffic Manager Profile to attach create the Traffic Manager endpoint.
func (*Endpoint) ResourceGroupName ¶
func (r *Endpoint) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Traffic Manager endpoint.
func (*Endpoint) Target ¶
func (r *Endpoint) Target() *pulumi.StringOutput
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.
func (*Endpoint) TargetResourceId ¶
func (r *Endpoint) TargetResourceId() *pulumi.StringOutput
The resource id of an Azure resource to target. This argument must be provided for an endpoint of type `azureEndpoints` or `nestedEndpoints`.
func (*Endpoint) Type ¶
func (r *Endpoint) Type() *pulumi.StringOutput
The Endpoint type, must be one of: - `azureEndpoints` - `externalEndpoints` - `nestedEndpoints`
type EndpointArgs ¶
type EndpointArgs struct { // 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 interface{} // The status of the Endpoint, can be set to // either `Enabled` or `Disabled`. Defaults to `Enabled`. EndpointStatus interface{} // 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 interface{} // 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 interface{} // The name of the Traffic Manager endpoint. Changing this forces a // new resource to be created. Name interface{} // 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 interface{} // The name of the Traffic Manager Profile to attach // create the Traffic Manager endpoint. ProfileName interface{} // The name of the resource group in which to // create the Traffic Manager endpoint. ResourceGroupName interface{} // 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 interface{} // The resource id of an Azure resource to // target. This argument must be provided for an endpoint of type // `azureEndpoints` or `nestedEndpoints`. TargetResourceId interface{} // The Endpoint type, must be one of: // - `azureEndpoints` // - `externalEndpoints` // - `nestedEndpoints` Type interface{} // 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 interface{} }
The set of arguments for constructing a Endpoint resource.
type EndpointState ¶
type EndpointState struct { // 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 interface{} EndpointMonitorStatus interface{} // The status of the Endpoint, can be set to // either `Enabled` or `Disabled`. Defaults to `Enabled`. EndpointStatus interface{} // 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 interface{} // 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 interface{} // The name of the Traffic Manager endpoint. Changing this forces a // new resource to be created. Name interface{} // 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 interface{} // The name of the Traffic Manager Profile to attach // create the Traffic Manager endpoint. ProfileName interface{} // The name of the resource group in which to // create the Traffic Manager endpoint. ResourceGroupName interface{} // 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 interface{} // The resource id of an Azure resource to // target. This argument must be provided for an endpoint of type // `azureEndpoints` or `nestedEndpoints`. TargetResourceId interface{} // The Endpoint type, must be one of: // - `azureEndpoints` // - `externalEndpoints` // - `nestedEndpoints` Type interface{} // 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 interface{} }
Input properties used for looking up and filtering Endpoint resources.
type GetGeographicalLocationArgs ¶
type GetGeographicalLocationArgs struct {
// Specifies the name of the Location, for example `World`, `Europe` or `Germany`.
Name interface{}
}
A collection of arguments for invoking getGeographicalLocation.
type GetGeographicalLocationResult ¶ added in v0.14.1
type GetGeographicalLocationResult struct {
// id is the provider-assigned unique ID for this managed resource.
Id interface{}
}
A collection of values returned by getGeographicalLocation.
func LookupGeographicalLocation ¶
func LookupGeographicalLocation(ctx *pulumi.Context, args *GetGeographicalLocationArgs) (*GetGeographicalLocationResult, error)
Use this data source to access the ID of a specified Traffic Manager Geographical Location within the Geographical Hierarchy.
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
Manages a Traffic Manager Profile to which multiple endpoints can be attached.
## Notes
The Traffic Manager is created with the location `global`.
func GetProfile ¶
func GetProfile(ctx *pulumi.Context, name string, id pulumi.ID, state *ProfileState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Profile, error)
NewProfile registers a new resource with the given unique name, arguments, and options.
func (*Profile) DnsConfigs ¶
func (r *Profile) DnsConfigs() *pulumi.ArrayOutput
This block specifies the DNS configuration of the Profile, it supports the fields documented below.
func (*Profile) Fqdn ¶
func (r *Profile) Fqdn() *pulumi.StringOutput
The FQDN of the created Profile.
func (*Profile) MonitorConfigs ¶
func (r *Profile) MonitorConfigs() *pulumi.ArrayOutput
This block specifies the Endpoint monitoring configuration for the Profile, it supports the fields documented below.
func (*Profile) Name ¶
func (r *Profile) Name() *pulumi.StringOutput
The name of the virtual network. Changing this forces a new resource to be created.
func (*Profile) ProfileStatus ¶
func (r *Profile) ProfileStatus() *pulumi.StringOutput
The status of the profile, can be set to either `Enabled` or `Disabled`. Defaults to `Enabled`.
func (*Profile) ResourceGroupName ¶
func (r *Profile) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the virtual network.
func (*Profile) TrafficRoutingMethod ¶
func (r *Profile) TrafficRoutingMethod() *pulumi.StringOutput
Specifies the algorithm used to route traffic, possible values are: - `Geographic` - Traffic is routed based on Geographic regions specified in the Endpoint. - `Performance` - Traffic is routed via the User's closest Endpoint - `Weighted` - Traffic is spread across Endpoints proportional to their `weight` value. - `Priority` - Traffic is routed to the Endpoint with the lowest `priority` value.
type ProfileArgs ¶
type ProfileArgs struct { // This block specifies the DNS configuration of the // Profile, it supports the fields documented below. DnsConfigs interface{} // This block specifies the Endpoint monitoring // configuration for the Profile, it supports the fields documented below. MonitorConfigs interface{} // The name of the virtual network. Changing this forces a // new resource to be created. Name interface{} // The status of the profile, can be set to either // `Enabled` or `Disabled`. Defaults to `Enabled`. ProfileStatus interface{} // The name of the resource group in which to // create the virtual network. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the algorithm used to route // traffic, possible values are: // - `Geographic` - Traffic is routed based on Geographic regions specified in the Endpoint. // - `Performance` - Traffic is routed via the User's closest Endpoint // - `Weighted` - Traffic is spread across Endpoints proportional to their `weight` value. // - `Priority` - Traffic is routed to the Endpoint with the lowest `priority` value. TrafficRoutingMethod interface{} }
The set of arguments for constructing a Profile resource.
type ProfileState ¶
type ProfileState struct { // This block specifies the DNS configuration of the // Profile, it supports the fields documented below. DnsConfigs interface{} // The FQDN of the created Profile. Fqdn interface{} // This block specifies the Endpoint monitoring // configuration for the Profile, it supports the fields documented below. MonitorConfigs interface{} // The name of the virtual network. Changing this forces a // new resource to be created. Name interface{} // The status of the profile, can be set to either // `Enabled` or `Disabled`. Defaults to `Enabled`. ProfileStatus interface{} // The name of the resource group in which to // create the virtual network. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the algorithm used to route // traffic, possible values are: // - `Geographic` - Traffic is routed based on Geographic regions specified in the Endpoint. // - `Performance` - Traffic is routed via the User's closest Endpoint // - `Weighted` - Traffic is spread across Endpoints proportional to their `weight` value. // - `Priority` - Traffic is routed to the Endpoint with the lowest `priority` value. TrafficRoutingMethod interface{} }
Input properties used for looking up and filtering Profile resources.