Documentation ¶
Overview ¶
nolint: lll Package lb exports types, functions, subpackages for provisioning lb resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).
Index ¶
- type BackendAddressPool
- func (r *BackendAddressPool) BackendIpConfigurations() *pulumi.ArrayOutput
- func (r *BackendAddressPool) ID() *pulumi.IDOutput
- func (r *BackendAddressPool) LoadBalancingRules() *pulumi.ArrayOutput
- func (r *BackendAddressPool) LoadbalancerId() *pulumi.StringOutput
- func (r *BackendAddressPool) Location() *pulumi.StringOutput
- func (r *BackendAddressPool) Name() *pulumi.StringOutput
- func (r *BackendAddressPool) ResourceGroupName() *pulumi.StringOutput
- func (r *BackendAddressPool) URN() *pulumi.URNOutput
- type BackendAddressPoolArgs
- type BackendAddressPoolState
- type GetBackendAddressPoolArgs
- type GetBackendAddressPoolResult
- type GetLBArgs
- type GetLBResult
- type LoadBalancer
- func (r *LoadBalancer) FrontendIpConfigurations() *pulumi.ArrayOutput
- func (r *LoadBalancer) ID() *pulumi.IDOutput
- func (r *LoadBalancer) Location() *pulumi.StringOutput
- func (r *LoadBalancer) Name() *pulumi.StringOutput
- func (r *LoadBalancer) PrivateIpAddress() *pulumi.StringOutput
- func (r *LoadBalancer) PrivateIpAddresses() *pulumi.ArrayOutput
- func (r *LoadBalancer) ResourceGroupName() *pulumi.StringOutput
- func (r *LoadBalancer) Sku() *pulumi.StringOutput
- func (r *LoadBalancer) Tags() *pulumi.MapOutput
- func (r *LoadBalancer) URN() *pulumi.URNOutput
- type LoadBalancerArgs
- type LoadBalancerState
- type NatPool
- func (r *NatPool) BackendPort() *pulumi.IntOutput
- func (r *NatPool) FrontendIpConfigurationId() *pulumi.StringOutput
- func (r *NatPool) FrontendIpConfigurationName() *pulumi.StringOutput
- func (r *NatPool) FrontendPortEnd() *pulumi.IntOutput
- func (r *NatPool) FrontendPortStart() *pulumi.IntOutput
- func (r *NatPool) ID() *pulumi.IDOutput
- func (r *NatPool) LoadbalancerId() *pulumi.StringOutput
- func (r *NatPool) Location() *pulumi.StringOutput
- func (r *NatPool) Name() *pulumi.StringOutput
- func (r *NatPool) Protocol() *pulumi.StringOutput
- func (r *NatPool) ResourceGroupName() *pulumi.StringOutput
- func (r *NatPool) URN() *pulumi.URNOutput
- type NatPoolArgs
- type NatPoolState
- type NatRule
- func (r *NatRule) BackendIpConfigurationId() *pulumi.StringOutput
- func (r *NatRule) BackendPort() *pulumi.IntOutput
- func (r *NatRule) EnableFloatingIp() *pulumi.BoolOutput
- func (r *NatRule) FrontendIpConfigurationId() *pulumi.StringOutput
- func (r *NatRule) FrontendIpConfigurationName() *pulumi.StringOutput
- func (r *NatRule) FrontendPort() *pulumi.IntOutput
- func (r *NatRule) ID() *pulumi.IDOutput
- func (r *NatRule) LoadbalancerId() *pulumi.StringOutput
- func (r *NatRule) Location() *pulumi.StringOutput
- func (r *NatRule) Name() *pulumi.StringOutput
- func (r *NatRule) Protocol() *pulumi.StringOutput
- func (r *NatRule) ResourceGroupName() *pulumi.StringOutput
- func (r *NatRule) URN() *pulumi.URNOutput
- type NatRuleArgs
- type NatRuleState
- type OutboundRule
- func (r *OutboundRule) AllocatedOutboundPorts() *pulumi.IntOutput
- func (r *OutboundRule) BackendAddressPoolId() *pulumi.StringOutput
- func (r *OutboundRule) EnableTcpReset() *pulumi.BoolOutput
- func (r *OutboundRule) FrontendIpConfigurations() *pulumi.ArrayOutput
- func (r *OutboundRule) ID() *pulumi.IDOutput
- func (r *OutboundRule) IdleTimeoutInMinutes() *pulumi.IntOutput
- func (r *OutboundRule) LoadbalancerId() *pulumi.StringOutput
- func (r *OutboundRule) Name() *pulumi.StringOutput
- func (r *OutboundRule) Protocol() *pulumi.StringOutput
- func (r *OutboundRule) ResourceGroupName() *pulumi.StringOutput
- func (r *OutboundRule) URN() *pulumi.URNOutput
- type OutboundRuleArgs
- type OutboundRuleState
- type Probe
- func (r *Probe) ID() *pulumi.IDOutput
- func (r *Probe) IntervalInSeconds() *pulumi.IntOutput
- func (r *Probe) LoadBalancerRules() *pulumi.ArrayOutput
- func (r *Probe) LoadbalancerId() *pulumi.StringOutput
- func (r *Probe) Location() *pulumi.StringOutput
- func (r *Probe) Name() *pulumi.StringOutput
- func (r *Probe) NumberOfProbes() *pulumi.IntOutput
- func (r *Probe) Port() *pulumi.IntOutput
- func (r *Probe) Protocol() *pulumi.StringOutput
- func (r *Probe) RequestPath() *pulumi.StringOutput
- func (r *Probe) ResourceGroupName() *pulumi.StringOutput
- func (r *Probe) URN() *pulumi.URNOutput
- type ProbeArgs
- type ProbeState
- type Rule
- func (r *Rule) BackendAddressPoolId() *pulumi.StringOutput
- func (r *Rule) BackendPort() *pulumi.IntOutput
- func (r *Rule) DisableOutboundSnat() *pulumi.BoolOutput
- func (r *Rule) EnableFloatingIp() *pulumi.BoolOutput
- func (r *Rule) FrontendIpConfigurationId() *pulumi.StringOutput
- func (r *Rule) FrontendIpConfigurationName() *pulumi.StringOutput
- func (r *Rule) FrontendPort() *pulumi.IntOutput
- func (r *Rule) ID() *pulumi.IDOutput
- func (r *Rule) IdleTimeoutInMinutes() *pulumi.IntOutput
- func (r *Rule) LoadDistribution() *pulumi.StringOutput
- func (r *Rule) LoadbalancerId() *pulumi.StringOutput
- func (r *Rule) Location() *pulumi.StringOutput
- func (r *Rule) Name() *pulumi.StringOutput
- func (r *Rule) ProbeId() *pulumi.StringOutput
- func (r *Rule) Protocol() *pulumi.StringOutput
- func (r *Rule) ResourceGroupName() *pulumi.StringOutput
- func (r *Rule) URN() *pulumi.URNOutput
- type RuleArgs
- type RuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendAddressPool ¶
type BackendAddressPool struct {
// contains filtered or unexported fields
}
Manages a Load Balancer Backend Address Pool.
> **NOTE:** When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/lb_backend_address_pool.html.markdown.
func GetBackendAddressPool ¶
func GetBackendAddressPool(ctx *pulumi.Context, name string, id pulumi.ID, state *BackendAddressPoolState, opts ...pulumi.ResourceOpt) (*BackendAddressPool, error)
GetBackendAddressPool gets an existing BackendAddressPool 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 NewBackendAddressPool ¶
func NewBackendAddressPool(ctx *pulumi.Context, name string, args *BackendAddressPoolArgs, opts ...pulumi.ResourceOpt) (*BackendAddressPool, error)
NewBackendAddressPool registers a new resource with the given unique name, arguments, and options.
func (*BackendAddressPool) BackendIpConfigurations ¶
func (r *BackendAddressPool) BackendIpConfigurations() *pulumi.ArrayOutput
The Backend IP Configurations associated with this Backend Address Pool.
func (*BackendAddressPool) ID ¶
func (r *BackendAddressPool) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*BackendAddressPool) LoadBalancingRules ¶
func (r *BackendAddressPool) LoadBalancingRules() *pulumi.ArrayOutput
The Load Balancing Rules associated with this Backend Address Pool.
func (*BackendAddressPool) LoadbalancerId ¶
func (r *BackendAddressPool) LoadbalancerId() *pulumi.StringOutput
The ID of the Load Balancer in which to create the Backend Address Pool.
func (*BackendAddressPool) Location ¶
func (r *BackendAddressPool) Location() *pulumi.StringOutput
func (*BackendAddressPool) Name ¶
func (r *BackendAddressPool) Name() *pulumi.StringOutput
Specifies the name of the Backend Address Pool.
func (*BackendAddressPool) ResourceGroupName ¶
func (r *BackendAddressPool) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the resource.
func (*BackendAddressPool) URN ¶
func (r *BackendAddressPool) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type BackendAddressPoolArgs ¶
type BackendAddressPoolArgs struct { // The ID of the Load Balancer in which to create the Backend Address Pool. LoadbalancerId interface{} Location interface{} // Specifies the name of the Backend Address Pool. Name interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
The set of arguments for constructing a BackendAddressPool resource.
type BackendAddressPoolState ¶
type BackendAddressPoolState struct { // The Backend IP Configurations associated with this Backend Address Pool. BackendIpConfigurations interface{} // The Load Balancing Rules associated with this Backend Address Pool. LoadBalancingRules interface{} // The ID of the Load Balancer in which to create the Backend Address Pool. LoadbalancerId interface{} Location interface{} // Specifies the name of the Backend Address Pool. Name interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
Input properties used for looking up and filtering BackendAddressPool resources.
type GetBackendAddressPoolArgs ¶ added in v0.16.7
type GetBackendAddressPoolArgs struct { // The ID of the Load Balancer in which the Backend Address Pool exists. LoadbalancerId interface{} // Specifies the name of the Backend Address Pool. Name interface{} }
A collection of arguments for invoking getBackendAddressPool.
type GetBackendAddressPoolResult ¶ added in v0.16.7
type GetBackendAddressPoolResult struct { // An array of references to IP addresses defined in network interfaces. BackendIpConfigurations interface{} LoadbalancerId interface{} // The name of the Backend Address Pool. Name interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getBackendAddressPool.
func LookupBackendAddressPool ¶ added in v0.16.7
func LookupBackendAddressPool(ctx *pulumi.Context, args *GetBackendAddressPoolArgs) (*GetBackendAddressPoolResult, error)
Use this data source to access information about an existing Load Balancer's Backend Address Pool.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/lb_backend_address_pool.html.markdown.
type GetLBArgs ¶ added in v0.16.7
type GetLBArgs struct { // Specifies the name of the Load Balancer. Name interface{} // The name of the Resource Group in which the Load Balancer exists. ResourceGroupName interface{} }
A collection of arguments for invoking getLB.
type GetLBResult ¶ added in v0.16.7
type GetLBResult struct { // (Optional) A `frontendIpConfiguration` block as documented below. FrontendIpConfigurations interface{} // The Azure location where the Load Balancer exists. Location interface{} // The name of the Frontend IP Configuration. Name interface{} // Private IP Address to assign to the Load Balancer. PrivateIpAddress interface{} // The list of private IP address assigned to the load balancer in `frontendIpConfiguration` blocks, if any. PrivateIpAddresses interface{} ResourceGroupName interface{} // The SKU of the Load Balancer. Sku interface{} // A mapping of tags assigned to the resource. Tags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getLB.
func LookupLB ¶ added in v0.16.7
func LookupLB(ctx *pulumi.Context, args *GetLBArgs) (*GetLBResult, error)
Use this data source to access information about an existing Load Balancer
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/lb.html.markdown.
type LoadBalancer ¶
type LoadBalancer struct {
// contains filtered or unexported fields
}
Manages a Load Balancer Resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/lb.html.markdown.
func GetLoadBalancer ¶
func GetLoadBalancer(ctx *pulumi.Context, name string, id pulumi.ID, state *LoadBalancerState, opts ...pulumi.ResourceOpt) (*LoadBalancer, error)
GetLoadBalancer gets an existing LoadBalancer 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 NewLoadBalancer ¶
func NewLoadBalancer(ctx *pulumi.Context, name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOpt) (*LoadBalancer, error)
NewLoadBalancer registers a new resource with the given unique name, arguments, and options.
func (*LoadBalancer) FrontendIpConfigurations ¶
func (r *LoadBalancer) FrontendIpConfigurations() *pulumi.ArrayOutput
One or multiple `frontendIpConfiguration` blocks as documented below.
func (*LoadBalancer) ID ¶
func (r *LoadBalancer) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LoadBalancer) Location ¶
func (r *LoadBalancer) Location() *pulumi.StringOutput
Specifies the supported Azure Region where the Load Balancer should be created.
func (*LoadBalancer) Name ¶
func (r *LoadBalancer) Name() *pulumi.StringOutput
Specifies the name of the frontend ip configuration.
func (*LoadBalancer) PrivateIpAddress ¶
func (r *LoadBalancer) PrivateIpAddress() *pulumi.StringOutput
Private IP Address to assign to the Load Balancer. The last one and first four IPs in any range are reserved and cannot be manually assigned.
func (*LoadBalancer) PrivateIpAddresses ¶
func (r *LoadBalancer) PrivateIpAddresses() *pulumi.ArrayOutput
The list of private IP address assigned to the load balancer in `frontendIpConfiguration` blocks, if any.
func (*LoadBalancer) ResourceGroupName ¶
func (r *LoadBalancer) ResourceGroupName() *pulumi.StringOutput
The name of the Resource Group in which to create the Load Balancer.
func (*LoadBalancer) Sku ¶
func (r *LoadBalancer) Sku() *pulumi.StringOutput
The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`. Defaults to `Basic`.
func (*LoadBalancer) Tags ¶
func (r *LoadBalancer) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*LoadBalancer) URN ¶
func (r *LoadBalancer) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LoadBalancerArgs ¶
type LoadBalancerArgs struct { // One or multiple `frontendIpConfiguration` blocks as documented below. FrontendIpConfigurations interface{} // Specifies the supported Azure Region where the Load Balancer should be created. Location interface{} // Specifies the name of the frontend ip configuration. Name interface{} // The name of the Resource Group in which to create the Load Balancer. ResourceGroupName interface{} // The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`. Defaults to `Basic`. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a LoadBalancer resource.
type LoadBalancerState ¶
type LoadBalancerState struct { // One or multiple `frontendIpConfiguration` blocks as documented below. FrontendIpConfigurations interface{} // Specifies the supported Azure Region where the Load Balancer should be created. Location interface{} // Specifies the name of the frontend ip configuration. Name interface{} // Private IP Address to assign to the Load Balancer. The last one and first four IPs in any range are reserved and cannot be manually assigned. PrivateIpAddress interface{} // The list of private IP address assigned to the load balancer in `frontendIpConfiguration` blocks, if any. PrivateIpAddresses interface{} // The name of the Resource Group in which to create the Load Balancer. ResourceGroupName interface{} // The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`. Defaults to `Basic`. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering LoadBalancer resources.
type NatPool ¶
type NatPool struct {
// contains filtered or unexported fields
}
Manages a Load Balancer NAT pool.
> **NOTE:** This resource cannot be used with with virtual machines, instead use the `lb.NatRule` resource.
> **NOTE** When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/lb_nat_pool.html.markdown.
func GetNatPool ¶
func GetNatPool(ctx *pulumi.Context, name string, id pulumi.ID, state *NatPoolState, opts ...pulumi.ResourceOpt) (*NatPool, error)
GetNatPool gets an existing NatPool 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 NewNatPool ¶
func NewNatPool(ctx *pulumi.Context, name string, args *NatPoolArgs, opts ...pulumi.ResourceOpt) (*NatPool, error)
NewNatPool registers a new resource with the given unique name, arguments, and options.
func (*NatPool) BackendPort ¶
The port used for the internal endpoint. Possible values range between 1 and 65535, inclusive.
func (*NatPool) FrontendIpConfigurationId ¶
func (r *NatPool) FrontendIpConfigurationId() *pulumi.StringOutput
func (*NatPool) FrontendIpConfigurationName ¶
func (r *NatPool) FrontendIpConfigurationName() *pulumi.StringOutput
The name of the frontend IP configuration exposing this rule.
func (*NatPool) FrontendPortEnd ¶
The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with this Load Balancer. Possible values range between 1 and 65534, inclusive.
func (*NatPool) FrontendPortStart ¶
The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with this Load Balancer. Possible values range between 1 and 65534, inclusive.
func (*NatPool) LoadbalancerId ¶
func (r *NatPool) LoadbalancerId() *pulumi.StringOutput
The ID of the Load Balancer in which to create the NAT pool.
func (*NatPool) Location ¶
func (r *NatPool) Location() *pulumi.StringOutput
func (*NatPool) Name ¶
func (r *NatPool) Name() *pulumi.StringOutput
Specifies the name of the NAT pool.
func (*NatPool) Protocol ¶
func (r *NatPool) Protocol() *pulumi.StringOutput
The transport protocol for the external endpoint. Possible values are `Udp` or `Tcp`.
func (*NatPool) ResourceGroupName ¶
func (r *NatPool) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the resource.
type NatPoolArgs ¶
type NatPoolArgs struct { // The port used for the internal endpoint. Possible values range between 1 and 65535, inclusive. BackendPort interface{} // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName interface{} // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with this Load Balancer. Possible values range between 1 and 65534, inclusive. FrontendPortEnd interface{} // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with this Load Balancer. Possible values range between 1 and 65534, inclusive. FrontendPortStart interface{} // The ID of the Load Balancer in which to create the NAT pool. LoadbalancerId interface{} Location interface{} // Specifies the name of the NAT pool. Name interface{} // The transport protocol for the external endpoint. Possible values are `Udp` or `Tcp`. Protocol interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
The set of arguments for constructing a NatPool resource.
type NatPoolState ¶
type NatPoolState struct { // The port used for the internal endpoint. Possible values range between 1 and 65535, inclusive. BackendPort interface{} FrontendIpConfigurationId interface{} // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName interface{} // The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with this Load Balancer. Possible values range between 1 and 65534, inclusive. FrontendPortEnd interface{} // The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with this Load Balancer. Possible values range between 1 and 65534, inclusive. FrontendPortStart interface{} // The ID of the Load Balancer in which to create the NAT pool. LoadbalancerId interface{} Location interface{} // Specifies the name of the NAT pool. Name interface{} // The transport protocol for the external endpoint. Possible values are `Udp` or `Tcp`. Protocol interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
Input properties used for looking up and filtering NatPool resources.
type NatRule ¶
type NatRule struct {
// contains filtered or unexported fields
}
Manages a Load Balancer NAT Rule.
> **NOTE:** This resource cannot be used with with virtual machine scale sets, instead use the `lb.NatPool` resource.
> **NOTE** When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/lb_nat_rule.html.markdown.
func GetNatRule ¶
func GetNatRule(ctx *pulumi.Context, name string, id pulumi.ID, state *NatRuleState, opts ...pulumi.ResourceOpt) (*NatRule, error)
GetNatRule gets an existing NatRule 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 NewNatRule ¶
func NewNatRule(ctx *pulumi.Context, name string, args *NatRuleArgs, opts ...pulumi.ResourceOpt) (*NatRule, error)
NewNatRule registers a new resource with the given unique name, arguments, and options.
func (*NatRule) BackendIpConfigurationId ¶
func (r *NatRule) BackendIpConfigurationId() *pulumi.StringOutput
func (*NatRule) BackendPort ¶
The port used for internal connections on the endpoint. Possible values range between 1 and 65535, inclusive.
func (*NatRule) EnableFloatingIp ¶
func (r *NatRule) EnableFloatingIp() *pulumi.BoolOutput
Enables the Floating IP Capacity, required to configure a SQL AlwaysOn Availability Group.
func (*NatRule) FrontendIpConfigurationId ¶
func (r *NatRule) FrontendIpConfigurationId() *pulumi.StringOutput
func (*NatRule) FrontendIpConfigurationName ¶
func (r *NatRule) FrontendIpConfigurationName() *pulumi.StringOutput
The name of the frontend IP configuration exposing this rule.
func (*NatRule) FrontendPort ¶
The port for the external endpoint. Port numbers for each Rule must be unique within the Load Balancer. Possible values range between 1 and 65534, inclusive.
func (*NatRule) LoadbalancerId ¶
func (r *NatRule) LoadbalancerId() *pulumi.StringOutput
The ID of the Load Balancer in which to create the NAT Rule.
func (*NatRule) Location ¶
func (r *NatRule) Location() *pulumi.StringOutput
func (*NatRule) Name ¶
func (r *NatRule) Name() *pulumi.StringOutput
Specifies the name of the NAT Rule.
func (*NatRule) Protocol ¶
func (r *NatRule) Protocol() *pulumi.StringOutput
The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`.
func (*NatRule) ResourceGroupName ¶
func (r *NatRule) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the resource.
type NatRuleArgs ¶
type NatRuleArgs struct { // The port used for internal connections on the endpoint. Possible values range between 1 and 65535, inclusive. BackendPort interface{} // Enables the Floating IP Capacity, required to configure a SQL AlwaysOn Availability Group. EnableFloatingIp interface{} // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName interface{} // The port for the external endpoint. Port numbers for each Rule must be unique within the Load Balancer. Possible values range between 1 and 65534, inclusive. FrontendPort interface{} // The ID of the Load Balancer in which to create the NAT Rule. LoadbalancerId interface{} Location interface{} // Specifies the name of the NAT Rule. Name interface{} // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
The set of arguments for constructing a NatRule resource.
type NatRuleState ¶
type NatRuleState struct { BackendIpConfigurationId interface{} // The port used for internal connections on the endpoint. Possible values range between 1 and 65535, inclusive. BackendPort interface{} // Enables the Floating IP Capacity, required to configure a SQL AlwaysOn Availability Group. EnableFloatingIp interface{} FrontendIpConfigurationId interface{} // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName interface{} // The port for the external endpoint. Port numbers for each Rule must be unique within the Load Balancer. Possible values range between 1 and 65534, inclusive. FrontendPort interface{} // The ID of the Load Balancer in which to create the NAT Rule. LoadbalancerId interface{} Location interface{} // Specifies the name of the NAT Rule. Name interface{} // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
Input properties used for looking up and filtering NatRule resources.
type OutboundRule ¶ added in v0.17.2
type OutboundRule struct {
// contains filtered or unexported fields
}
Manages a Load Balancer Outbound Rule.
> **NOTE** When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration and a Backend Address Pool Attached.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/lb_outbound_rule.html.markdown.
func GetOutboundRule ¶ added in v0.17.2
func GetOutboundRule(ctx *pulumi.Context, name string, id pulumi.ID, state *OutboundRuleState, opts ...pulumi.ResourceOpt) (*OutboundRule, error)
GetOutboundRule gets an existing OutboundRule 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 NewOutboundRule ¶ added in v0.17.2
func NewOutboundRule(ctx *pulumi.Context, name string, args *OutboundRuleArgs, opts ...pulumi.ResourceOpt) (*OutboundRule, error)
NewOutboundRule registers a new resource with the given unique name, arguments, and options.
func (*OutboundRule) AllocatedOutboundPorts ¶ added in v0.17.2
func (r *OutboundRule) AllocatedOutboundPorts() *pulumi.IntOutput
The number of outbound ports to be used for NAT.
func (*OutboundRule) BackendAddressPoolId ¶ added in v0.17.2
func (r *OutboundRule) BackendAddressPoolId() *pulumi.StringOutput
The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs.
func (*OutboundRule) EnableTcpReset ¶ added in v0.17.2
func (r *OutboundRule) EnableTcpReset() *pulumi.BoolOutput
Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
func (*OutboundRule) FrontendIpConfigurations ¶ added in v0.17.2
func (r *OutboundRule) FrontendIpConfigurations() *pulumi.ArrayOutput
One or more `frontendIpConfiguration` blocks as defined below.
func (*OutboundRule) ID ¶ added in v0.17.2
func (r *OutboundRule) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*OutboundRule) IdleTimeoutInMinutes ¶ added in v0.17.2
func (r *OutboundRule) IdleTimeoutInMinutes() *pulumi.IntOutput
The timeout for the TCP idle connection
func (*OutboundRule) LoadbalancerId ¶ added in v0.17.2
func (r *OutboundRule) LoadbalancerId() *pulumi.StringOutput
The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created.
func (*OutboundRule) Name ¶ added in v0.17.2
func (r *OutboundRule) Name() *pulumi.StringOutput
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
func (*OutboundRule) Protocol ¶ added in v0.17.2
func (r *OutboundRule) Protocol() *pulumi.StringOutput
The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`.
func (*OutboundRule) ResourceGroupName ¶ added in v0.17.2
func (r *OutboundRule) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the resource. Changing this forces a new resource to be created.
func (*OutboundRule) URN ¶ added in v0.17.2
func (r *OutboundRule) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type OutboundRuleArgs ¶ added in v0.17.2
type OutboundRuleArgs struct { // The number of outbound ports to be used for NAT. AllocatedOutboundPorts interface{} // The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs. BackendAddressPoolId interface{} // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. EnableTcpReset interface{} // One or more `frontendIpConfiguration` blocks as defined below. FrontendIpConfigurations interface{} // The timeout for the TCP idle connection IdleTimeoutInMinutes interface{} // The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created. LoadbalancerId interface{} // Specifies the name of the Outbound Rule. Changing this forces a new resource to be created. Name interface{} // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol interface{} // The name of the resource group in which to create the resource. Changing this forces a new resource to be created. ResourceGroupName interface{} }
The set of arguments for constructing a OutboundRule resource.
type OutboundRuleState ¶ added in v0.17.2
type OutboundRuleState struct { // The number of outbound ports to be used for NAT. AllocatedOutboundPorts interface{} // The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs. BackendAddressPoolId interface{} // Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. EnableTcpReset interface{} // One or more `frontendIpConfiguration` blocks as defined below. FrontendIpConfigurations interface{} // The timeout for the TCP idle connection IdleTimeoutInMinutes interface{} // The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created. LoadbalancerId interface{} // Specifies the name of the Outbound Rule. Changing this forces a new resource to be created. Name interface{} // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol interface{} // The name of the resource group in which to create the resource. Changing this forces a new resource to be created. ResourceGroupName interface{} }
Input properties used for looking up and filtering OutboundRule resources.
type Probe ¶
type Probe struct {
// contains filtered or unexported fields
}
Manages a LoadBalancer Probe Resource.
> **NOTE** When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/lb_probe.html.markdown.
func GetProbe ¶
func GetProbe(ctx *pulumi.Context, name string, id pulumi.ID, state *ProbeState, opts ...pulumi.ResourceOpt) (*Probe, error)
GetProbe gets an existing Probe 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 NewProbe ¶
func NewProbe(ctx *pulumi.Context, name string, args *ProbeArgs, opts ...pulumi.ResourceOpt) (*Probe, error)
NewProbe registers a new resource with the given unique name, arguments, and options.
func (*Probe) IntervalInSeconds ¶
The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5.
func (*Probe) LoadBalancerRules ¶
func (r *Probe) LoadBalancerRules() *pulumi.ArrayOutput
func (*Probe) LoadbalancerId ¶
func (r *Probe) LoadbalancerId() *pulumi.StringOutput
The ID of the LoadBalancer in which to create the NAT Rule.
func (*Probe) Location ¶
func (r *Probe) Location() *pulumi.StringOutput
func (*Probe) NumberOfProbes ¶
The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful.
func (*Probe) Port ¶
Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive.
func (*Probe) Protocol ¶
func (r *Probe) Protocol() *pulumi.StringOutput
Specifies the protocol of the end point. Possible values are `Http`, `Https` or `Tcp`. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful.
func (*Probe) RequestPath ¶
func (r *Probe) RequestPath() *pulumi.StringOutput
The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed.
func (*Probe) ResourceGroupName ¶
func (r *Probe) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the resource.
type ProbeArgs ¶
type ProbeArgs struct { // The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5. IntervalInSeconds interface{} // The ID of the LoadBalancer in which to create the NAT Rule. LoadbalancerId interface{} Location interface{} // Specifies the name of the Probe. Name interface{} // The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful. NumberOfProbes interface{} // Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive. Port interface{} // Specifies the protocol of the end point. Possible values are `Http`, `Https` or `Tcp`. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful. Protocol interface{} // The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed. RequestPath interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
The set of arguments for constructing a Probe resource.
type ProbeState ¶
type ProbeState struct { // The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5. IntervalInSeconds interface{} LoadBalancerRules interface{} // The ID of the LoadBalancer in which to create the NAT Rule. LoadbalancerId interface{} Location interface{} // Specifies the name of the Probe. Name interface{} // The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is 2. NumberOfProbes multiplied by intervalInSeconds value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful. NumberOfProbes interface{} // Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive. Port interface{} // Specifies the protocol of the end point. Possible values are `Http`, `Https` or `Tcp`. If Tcp is specified, a received ACK is required for the probe to be successful. If Http is specified, a 200 OK response from the specified URI is required for the probe to be successful. Protocol interface{} // The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed. RequestPath interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
Input properties used for looking up and filtering Probe resources.
type Rule ¶
type Rule struct {
// contains filtered or unexported fields
}
Manages a Load Balancer Rule.
> **NOTE** When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/lb_rule.html.markdown.
func GetRule ¶
func GetRule(ctx *pulumi.Context, name string, id pulumi.ID, state *RuleState, opts ...pulumi.ResourceOpt) (*Rule, error)
GetRule gets an existing Rule 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 NewRule ¶
func NewRule(ctx *pulumi.Context, name string, args *RuleArgs, opts ...pulumi.ResourceOpt) (*Rule, error)
NewRule registers a new resource with the given unique name, arguments, and options.
func (*Rule) BackendAddressPoolId ¶
func (r *Rule) BackendAddressPoolId() *pulumi.StringOutput
A reference to a Backend Address Pool over which this Load Balancing Rule operates.
func (*Rule) BackendPort ¶
The port used for internal connections on the endpoint. Possible values range between 0 and 65535, inclusive.
func (*Rule) DisableOutboundSnat ¶ added in v0.19.1
func (r *Rule) DisableOutboundSnat() *pulumi.BoolOutput
Indicates whether outbound snat is disabled or enabled. Default false.
func (*Rule) EnableFloatingIp ¶
func (r *Rule) EnableFloatingIp() *pulumi.BoolOutput
Floating IP is pertinent to failover scenarios: a "floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn.
func (*Rule) FrontendIpConfigurationId ¶
func (r *Rule) FrontendIpConfigurationId() *pulumi.StringOutput
func (*Rule) FrontendIpConfigurationName ¶
func (r *Rule) FrontendIpConfigurationName() *pulumi.StringOutput
The name of the frontend IP configuration to which the rule is associated.
func (*Rule) FrontendPort ¶
The port for the external endpoint. Port numbers for each Rule must be unique within the Load Balancer. Possible values range between 0 and 65534, inclusive.
func (*Rule) IdleTimeoutInMinutes ¶
Specifies the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp.
func (*Rule) LoadDistribution ¶
func (r *Rule) LoadDistribution() *pulumi.StringOutput
Specifies the load balancing distribution type to be used by the Load Balancer. Possible values are: `Default` – The load balancer is configured to use a 5 tuple hash to map traffic to available servers. `SourceIP` – The load balancer is configured to use a 2 tuple hash to map traffic to available servers. `SourceIPProtocol` – The load balancer is configured to use a 3 tuple hash to map traffic to available servers. Also known as Session Persistence, where the options are called `None`, `Client IP` and `Client IP and Protocol` respectively.
func (*Rule) LoadbalancerId ¶
func (r *Rule) LoadbalancerId() *pulumi.StringOutput
The ID of the Load Balancer in which to create the Rule.
func (*Rule) Location ¶
func (r *Rule) Location() *pulumi.StringOutput
func (*Rule) ProbeId ¶
func (r *Rule) ProbeId() *pulumi.StringOutput
A reference to a Probe used by this Load Balancing Rule.
func (*Rule) Protocol ¶
func (r *Rule) Protocol() *pulumi.StringOutput
The transport protocol for the external endpoint. Possible values are `Tcp`, `Udp` or `All`.
func (*Rule) ResourceGroupName ¶
func (r *Rule) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the resource.
type RuleArgs ¶
type RuleArgs struct { // A reference to a Backend Address Pool over which this Load Balancing Rule operates. BackendAddressPoolId interface{} // The port used for internal connections on the endpoint. Possible values range between 0 and 65535, inclusive. BackendPort interface{} // Indicates whether outbound snat is disabled or enabled. Default false. DisableOutboundSnat interface{} // Floating IP is pertinent to failover scenarios: a "floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. EnableFloatingIp interface{} // The name of the frontend IP configuration to which the rule is associated. FrontendIpConfigurationName interface{} // The port for the external endpoint. Port numbers for each Rule must be unique within the Load Balancer. Possible values range between 0 and 65534, inclusive. FrontendPort interface{} // Specifies the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp. IdleTimeoutInMinutes interface{} // Specifies the load balancing distribution type to be used by the Load Balancer. Possible values are: `Default` – The load balancer is configured to use a 5 tuple hash to map traffic to available servers. `SourceIP` – The load balancer is configured to use a 2 tuple hash to map traffic to available servers. `SourceIPProtocol` – The load balancer is configured to use a 3 tuple hash to map traffic to available servers. Also known as Session Persistence, where the options are called `None`, `Client IP` and `Client IP and Protocol` respectively. LoadDistribution interface{} // The ID of the Load Balancer in which to create the Rule. LoadbalancerId interface{} Location interface{} // Specifies the name of the LB Rule. Name interface{} // A reference to a Probe used by this Load Balancing Rule. ProbeId interface{} // The transport protocol for the external endpoint. Possible values are `Tcp`, `Udp` or `All`. Protocol interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
The set of arguments for constructing a Rule resource.
type RuleState ¶
type RuleState struct { // A reference to a Backend Address Pool over which this Load Balancing Rule operates. BackendAddressPoolId interface{} // The port used for internal connections on the endpoint. Possible values range between 0 and 65535, inclusive. BackendPort interface{} // Indicates whether outbound snat is disabled or enabled. Default false. DisableOutboundSnat interface{} // Floating IP is pertinent to failover scenarios: a "floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. EnableFloatingIp interface{} FrontendIpConfigurationId interface{} // The name of the frontend IP configuration to which the rule is associated. FrontendIpConfigurationName interface{} // The port for the external endpoint. Port numbers for each Rule must be unique within the Load Balancer. Possible values range between 0 and 65534, inclusive. FrontendPort interface{} // Specifies the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp. IdleTimeoutInMinutes interface{} // Specifies the load balancing distribution type to be used by the Load Balancer. Possible values are: `Default` – The load balancer is configured to use a 5 tuple hash to map traffic to available servers. `SourceIP` – The load balancer is configured to use a 2 tuple hash to map traffic to available servers. `SourceIPProtocol` – The load balancer is configured to use a 3 tuple hash to map traffic to available servers. Also known as Session Persistence, where the options are called `None`, `Client IP` and `Client IP and Protocol` respectively. LoadDistribution interface{} // The ID of the Load Balancer in which to create the Rule. LoadbalancerId interface{} Location interface{} // Specifies the name of the LB Rule. Name interface{} // A reference to a Probe used by this Load Balancing Rule. ProbeId interface{} // The transport protocol for the external endpoint. Possible values are `Tcp`, `Udp` or `All`. Protocol interface{} // The name of the resource group in which to create the resource. ResourceGroupName interface{} }
Input properties used for looking up and filtering Rule resources.