Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type BackendAddressPool
- type BackendAddressPoolArgs
- type BackendAddressPoolState
- type GetBackendAddressPoolBackendIpConfiguration
- type GetBackendAddressPoolBackendIpConfigurationArgs
- func (GetBackendAddressPoolBackendIpConfigurationArgs) ElementType() reflect.Type
- func (i GetBackendAddressPoolBackendIpConfigurationArgs) ToGetBackendAddressPoolBackendIpConfigurationOutput() GetBackendAddressPoolBackendIpConfigurationOutput
- func (i GetBackendAddressPoolBackendIpConfigurationArgs) ToGetBackendAddressPoolBackendIpConfigurationOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationOutput
- type GetBackendAddressPoolBackendIpConfigurationArray
- func (GetBackendAddressPoolBackendIpConfigurationArray) ElementType() reflect.Type
- func (i GetBackendAddressPoolBackendIpConfigurationArray) ToGetBackendAddressPoolBackendIpConfigurationArrayOutput() GetBackendAddressPoolBackendIpConfigurationArrayOutput
- func (i GetBackendAddressPoolBackendIpConfigurationArray) ToGetBackendAddressPoolBackendIpConfigurationArrayOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationArrayOutput
- type GetBackendAddressPoolBackendIpConfigurationArrayInput
- type GetBackendAddressPoolBackendIpConfigurationArrayOutput
- func (GetBackendAddressPoolBackendIpConfigurationArrayOutput) ElementType() reflect.Type
- func (o GetBackendAddressPoolBackendIpConfigurationArrayOutput) Index(i pulumi.IntInput) GetBackendAddressPoolBackendIpConfigurationOutput
- func (o GetBackendAddressPoolBackendIpConfigurationArrayOutput) ToGetBackendAddressPoolBackendIpConfigurationArrayOutput() GetBackendAddressPoolBackendIpConfigurationArrayOutput
- func (o GetBackendAddressPoolBackendIpConfigurationArrayOutput) ToGetBackendAddressPoolBackendIpConfigurationArrayOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationArrayOutput
- type GetBackendAddressPoolBackendIpConfigurationInput
- type GetBackendAddressPoolBackendIpConfigurationOutput
- func (GetBackendAddressPoolBackendIpConfigurationOutput) ElementType() reflect.Type
- func (o GetBackendAddressPoolBackendIpConfigurationOutput) Id() pulumi.StringOutput
- func (o GetBackendAddressPoolBackendIpConfigurationOutput) ToGetBackendAddressPoolBackendIpConfigurationOutput() GetBackendAddressPoolBackendIpConfigurationOutput
- func (o GetBackendAddressPoolBackendIpConfigurationOutput) ToGetBackendAddressPoolBackendIpConfigurationOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationOutput
- type GetLBArgs
- type GetLBFrontendIpConfiguration
- type GetLBFrontendIpConfigurationArgs
- func (GetLBFrontendIpConfigurationArgs) ElementType() reflect.Type
- func (i GetLBFrontendIpConfigurationArgs) ToGetLBFrontendIpConfigurationOutput() GetLBFrontendIpConfigurationOutput
- func (i GetLBFrontendIpConfigurationArgs) ToGetLBFrontendIpConfigurationOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationOutput
- type GetLBFrontendIpConfigurationArray
- func (GetLBFrontendIpConfigurationArray) ElementType() reflect.Type
- func (i GetLBFrontendIpConfigurationArray) ToGetLBFrontendIpConfigurationArrayOutput() GetLBFrontendIpConfigurationArrayOutput
- func (i GetLBFrontendIpConfigurationArray) ToGetLBFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationArrayOutput
- type GetLBFrontendIpConfigurationArrayInput
- type GetLBFrontendIpConfigurationArrayOutput
- func (GetLBFrontendIpConfigurationArrayOutput) ElementType() reflect.Type
- func (o GetLBFrontendIpConfigurationArrayOutput) Index(i pulumi.IntInput) GetLBFrontendIpConfigurationOutput
- func (o GetLBFrontendIpConfigurationArrayOutput) ToGetLBFrontendIpConfigurationArrayOutput() GetLBFrontendIpConfigurationArrayOutput
- func (o GetLBFrontendIpConfigurationArrayOutput) ToGetLBFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationArrayOutput
- type GetLBFrontendIpConfigurationInput
- type GetLBFrontendIpConfigurationOutput
- func (GetLBFrontendIpConfigurationOutput) ElementType() reflect.Type
- func (o GetLBFrontendIpConfigurationOutput) Id() pulumi.StringOutput
- func (o GetLBFrontendIpConfigurationOutput) Name() pulumi.StringOutput
- func (o GetLBFrontendIpConfigurationOutput) PrivateIpAddress() pulumi.StringOutput
- func (o GetLBFrontendIpConfigurationOutput) PrivateIpAddressAllocation() pulumi.StringOutput
- func (o GetLBFrontendIpConfigurationOutput) PublicIpAddressId() pulumi.StringOutput
- func (o GetLBFrontendIpConfigurationOutput) SubnetId() pulumi.StringOutput
- func (o GetLBFrontendIpConfigurationOutput) ToGetLBFrontendIpConfigurationOutput() GetLBFrontendIpConfigurationOutput
- func (o GetLBFrontendIpConfigurationOutput) ToGetLBFrontendIpConfigurationOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationOutput
- func (o GetLBFrontendIpConfigurationOutput) Zones() pulumi.StringArrayOutput
- type GetLBResult
- type LoadBalancer
- type LoadBalancerArgs
- type LoadBalancerFrontendIpConfiguration
- type LoadBalancerFrontendIpConfigurationArgs
- func (LoadBalancerFrontendIpConfigurationArgs) ElementType() reflect.Type
- func (i LoadBalancerFrontendIpConfigurationArgs) ToLoadBalancerFrontendIpConfigurationOutput() LoadBalancerFrontendIpConfigurationOutput
- func (i LoadBalancerFrontendIpConfigurationArgs) ToLoadBalancerFrontendIpConfigurationOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationOutput
- type LoadBalancerFrontendIpConfigurationArray
- func (LoadBalancerFrontendIpConfigurationArray) ElementType() reflect.Type
- func (i LoadBalancerFrontendIpConfigurationArray) ToLoadBalancerFrontendIpConfigurationArrayOutput() LoadBalancerFrontendIpConfigurationArrayOutput
- func (i LoadBalancerFrontendIpConfigurationArray) ToLoadBalancerFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationArrayOutput
- type LoadBalancerFrontendIpConfigurationArrayInput
- type LoadBalancerFrontendIpConfigurationArrayOutput
- func (LoadBalancerFrontendIpConfigurationArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerFrontendIpConfigurationArrayOutput) Index(i pulumi.IntInput) LoadBalancerFrontendIpConfigurationOutput
- func (o LoadBalancerFrontendIpConfigurationArrayOutput) ToLoadBalancerFrontendIpConfigurationArrayOutput() LoadBalancerFrontendIpConfigurationArrayOutput
- func (o LoadBalancerFrontendIpConfigurationArrayOutput) ToLoadBalancerFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationArrayOutput
- type LoadBalancerFrontendIpConfigurationInput
- type LoadBalancerFrontendIpConfigurationOutput
- func (LoadBalancerFrontendIpConfigurationOutput) ElementType() reflect.Type
- func (o LoadBalancerFrontendIpConfigurationOutput) Id() pulumi.StringPtrOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) InboundNatRules() pulumi.StringArrayOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) LoadBalancerRules() pulumi.StringArrayOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) Name() pulumi.StringOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) OutboundRules() pulumi.StringArrayOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) PrivateIpAddress() pulumi.StringPtrOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) PrivateIpAddressAllocation() pulumi.StringPtrOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) PublicIpAddressId() pulumi.StringPtrOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) PublicIpPrefixId() pulumi.StringPtrOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) SubnetId() pulumi.StringPtrOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) ToLoadBalancerFrontendIpConfigurationOutput() LoadBalancerFrontendIpConfigurationOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) ToLoadBalancerFrontendIpConfigurationOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationOutput
- func (o LoadBalancerFrontendIpConfigurationOutput) Zones() pulumi.StringPtrOutput
- type LoadBalancerState
- type LookupBackendAddressPoolArgs
- type LookupBackendAddressPoolResult
- type NatPool
- type NatPoolArgs
- type NatPoolState
- type NatRule
- type NatRuleArgs
- type NatRuleState
- type OutboundRule
- type OutboundRuleArgs
- type OutboundRuleFrontendIpConfiguration
- type OutboundRuleFrontendIpConfigurationArgs
- func (OutboundRuleFrontendIpConfigurationArgs) ElementType() reflect.Type
- func (i OutboundRuleFrontendIpConfigurationArgs) ToOutboundRuleFrontendIpConfigurationOutput() OutboundRuleFrontendIpConfigurationOutput
- func (i OutboundRuleFrontendIpConfigurationArgs) ToOutboundRuleFrontendIpConfigurationOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationOutput
- type OutboundRuleFrontendIpConfigurationArray
- func (OutboundRuleFrontendIpConfigurationArray) ElementType() reflect.Type
- func (i OutboundRuleFrontendIpConfigurationArray) ToOutboundRuleFrontendIpConfigurationArrayOutput() OutboundRuleFrontendIpConfigurationArrayOutput
- func (i OutboundRuleFrontendIpConfigurationArray) ToOutboundRuleFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationArrayOutput
- type OutboundRuleFrontendIpConfigurationArrayInput
- type OutboundRuleFrontendIpConfigurationArrayOutput
- func (OutboundRuleFrontendIpConfigurationArrayOutput) ElementType() reflect.Type
- func (o OutboundRuleFrontendIpConfigurationArrayOutput) Index(i pulumi.IntInput) OutboundRuleFrontendIpConfigurationOutput
- func (o OutboundRuleFrontendIpConfigurationArrayOutput) ToOutboundRuleFrontendIpConfigurationArrayOutput() OutboundRuleFrontendIpConfigurationArrayOutput
- func (o OutboundRuleFrontendIpConfigurationArrayOutput) ToOutboundRuleFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationArrayOutput
- type OutboundRuleFrontendIpConfigurationInput
- type OutboundRuleFrontendIpConfigurationOutput
- func (OutboundRuleFrontendIpConfigurationOutput) ElementType() reflect.Type
- func (o OutboundRuleFrontendIpConfigurationOutput) Id() pulumi.StringPtrOutput
- func (o OutboundRuleFrontendIpConfigurationOutput) Name() pulumi.StringOutput
- func (o OutboundRuleFrontendIpConfigurationOutput) ToOutboundRuleFrontendIpConfigurationOutput() OutboundRuleFrontendIpConfigurationOutput
- func (o OutboundRuleFrontendIpConfigurationOutput) ToOutboundRuleFrontendIpConfigurationOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationOutput
- type OutboundRuleState
- type Probe
- type ProbeArgs
- type ProbeState
- type Rule
- 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 { pulumi.CustomResourceState // The Backend IP Configurations associated with this Backend Address Pool. BackendIpConfigurations pulumi.StringArrayOutput `pulumi:"backendIpConfigurations"` // The Load Balancing Rules associated with this Backend Address Pool. LoadBalancingRules pulumi.StringArrayOutput `pulumi:"loadBalancingRules"` // The ID of the Load Balancer in which to create the Backend Address Pool. LoadbalancerId pulumi.StringOutput `pulumi:"loadbalancerId"` Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Backend Address Pool. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *BackendAddressPoolState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*BackendAddressPool, error)
NewBackendAddressPool registers a new resource with the given unique name, arguments, and options.
type BackendAddressPoolArgs ¶
type BackendAddressPoolArgs struct { // The ID of the Load Balancer in which to create the Backend Address Pool. LoadbalancerId pulumi.StringInput Location pulumi.StringPtrInput // Specifies the name of the Backend Address Pool. Name pulumi.StringPtrInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a BackendAddressPool resource.
func (BackendAddressPoolArgs) ElementType ¶ added in v1.12.0
func (BackendAddressPoolArgs) ElementType() reflect.Type
type BackendAddressPoolState ¶
type BackendAddressPoolState struct { // The Backend IP Configurations associated with this Backend Address Pool. BackendIpConfigurations pulumi.StringArrayInput // The Load Balancing Rules associated with this Backend Address Pool. LoadBalancingRules pulumi.StringArrayInput // The ID of the Load Balancer in which to create the Backend Address Pool. LoadbalancerId pulumi.StringPtrInput Location pulumi.StringPtrInput // Specifies the name of the Backend Address Pool. Name pulumi.StringPtrInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringPtrInput }
func (BackendAddressPoolState) ElementType ¶ added in v1.12.0
func (BackendAddressPoolState) ElementType() reflect.Type
type GetBackendAddressPoolBackendIpConfiguration ¶ added in v1.12.0
type GetBackendAddressPoolBackendIpConfiguration struct { // The ID of the Backend Address Pool. Id string `pulumi:"id"` }
type GetBackendAddressPoolBackendIpConfigurationArgs ¶ added in v1.12.0
type GetBackendAddressPoolBackendIpConfigurationArgs struct { // The ID of the Backend Address Pool. Id pulumi.StringInput `pulumi:"id"` }
func (GetBackendAddressPoolBackendIpConfigurationArgs) ElementType ¶ added in v1.12.0
func (GetBackendAddressPoolBackendIpConfigurationArgs) ElementType() reflect.Type
func (GetBackendAddressPoolBackendIpConfigurationArgs) ToGetBackendAddressPoolBackendIpConfigurationOutput ¶ added in v1.12.0
func (i GetBackendAddressPoolBackendIpConfigurationArgs) ToGetBackendAddressPoolBackendIpConfigurationOutput() GetBackendAddressPoolBackendIpConfigurationOutput
func (GetBackendAddressPoolBackendIpConfigurationArgs) ToGetBackendAddressPoolBackendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (i GetBackendAddressPoolBackendIpConfigurationArgs) ToGetBackendAddressPoolBackendIpConfigurationOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationOutput
type GetBackendAddressPoolBackendIpConfigurationArray ¶ added in v1.12.0
type GetBackendAddressPoolBackendIpConfigurationArray []GetBackendAddressPoolBackendIpConfigurationInput
func (GetBackendAddressPoolBackendIpConfigurationArray) ElementType ¶ added in v1.12.0
func (GetBackendAddressPoolBackendIpConfigurationArray) ElementType() reflect.Type
func (GetBackendAddressPoolBackendIpConfigurationArray) ToGetBackendAddressPoolBackendIpConfigurationArrayOutput ¶ added in v1.12.0
func (i GetBackendAddressPoolBackendIpConfigurationArray) ToGetBackendAddressPoolBackendIpConfigurationArrayOutput() GetBackendAddressPoolBackendIpConfigurationArrayOutput
func (GetBackendAddressPoolBackendIpConfigurationArray) ToGetBackendAddressPoolBackendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (i GetBackendAddressPoolBackendIpConfigurationArray) ToGetBackendAddressPoolBackendIpConfigurationArrayOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationArrayOutput
type GetBackendAddressPoolBackendIpConfigurationArrayInput ¶ added in v1.12.0
type GetBackendAddressPoolBackendIpConfigurationArrayInput interface { pulumi.Input ToGetBackendAddressPoolBackendIpConfigurationArrayOutput() GetBackendAddressPoolBackendIpConfigurationArrayOutput ToGetBackendAddressPoolBackendIpConfigurationArrayOutputWithContext(context.Context) GetBackendAddressPoolBackendIpConfigurationArrayOutput }
type GetBackendAddressPoolBackendIpConfigurationArrayOutput ¶ added in v1.12.0
type GetBackendAddressPoolBackendIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (GetBackendAddressPoolBackendIpConfigurationArrayOutput) ElementType ¶ added in v1.12.0
func (GetBackendAddressPoolBackendIpConfigurationArrayOutput) ElementType() reflect.Type
func (GetBackendAddressPoolBackendIpConfigurationArrayOutput) ToGetBackendAddressPoolBackendIpConfigurationArrayOutput ¶ added in v1.12.0
func (o GetBackendAddressPoolBackendIpConfigurationArrayOutput) ToGetBackendAddressPoolBackendIpConfigurationArrayOutput() GetBackendAddressPoolBackendIpConfigurationArrayOutput
func (GetBackendAddressPoolBackendIpConfigurationArrayOutput) ToGetBackendAddressPoolBackendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (o GetBackendAddressPoolBackendIpConfigurationArrayOutput) ToGetBackendAddressPoolBackendIpConfigurationArrayOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationArrayOutput
type GetBackendAddressPoolBackendIpConfigurationInput ¶ added in v1.12.0
type GetBackendAddressPoolBackendIpConfigurationInput interface { pulumi.Input ToGetBackendAddressPoolBackendIpConfigurationOutput() GetBackendAddressPoolBackendIpConfigurationOutput ToGetBackendAddressPoolBackendIpConfigurationOutputWithContext(context.Context) GetBackendAddressPoolBackendIpConfigurationOutput }
type GetBackendAddressPoolBackendIpConfigurationOutput ¶ added in v1.12.0
type GetBackendAddressPoolBackendIpConfigurationOutput struct{ *pulumi.OutputState }
func (GetBackendAddressPoolBackendIpConfigurationOutput) ElementType ¶ added in v1.12.0
func (GetBackendAddressPoolBackendIpConfigurationOutput) ElementType() reflect.Type
func (GetBackendAddressPoolBackendIpConfigurationOutput) Id ¶ added in v1.12.0
The ID of the Backend Address Pool.
func (GetBackendAddressPoolBackendIpConfigurationOutput) ToGetBackendAddressPoolBackendIpConfigurationOutput ¶ added in v1.12.0
func (o GetBackendAddressPoolBackendIpConfigurationOutput) ToGetBackendAddressPoolBackendIpConfigurationOutput() GetBackendAddressPoolBackendIpConfigurationOutput
func (GetBackendAddressPoolBackendIpConfigurationOutput) ToGetBackendAddressPoolBackendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (o GetBackendAddressPoolBackendIpConfigurationOutput) ToGetBackendAddressPoolBackendIpConfigurationOutputWithContext(ctx context.Context) GetBackendAddressPoolBackendIpConfigurationOutput
type GetLBArgs ¶ added in v0.16.7
type GetLBArgs struct { // Specifies the name of the Load Balancer. Name string `pulumi:"name"` // The name of the Resource Group in which the Load Balancer exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getLB.
type GetLBFrontendIpConfiguration ¶ added in v1.12.0
type GetLBFrontendIpConfiguration struct { // The id of the Frontend IP Configuration. Id string `pulumi:"id"` // Specifies the name of the Load Balancer. Name string `pulumi:"name"` // Private IP Address to assign to the Load Balancer. PrivateIpAddress string `pulumi:"privateIpAddress"` // The allocation method for the Private IP Address used by this Load Balancer. PrivateIpAddressAllocation string `pulumi:"privateIpAddressAllocation"` // The ID of a Public IP Address which is associated with this Load Balancer. PublicIpAddressId string `pulumi:"publicIpAddressId"` // The ID of the Subnet which is associated with the IP Configuration. SubnetId string `pulumi:"subnetId"` // A list of Availability Zones which the Load Balancer's IP Addresses should be created in. Zones []string `pulumi:"zones"` }
type GetLBFrontendIpConfigurationArgs ¶ added in v1.12.0
type GetLBFrontendIpConfigurationArgs struct { // The id of the Frontend IP Configuration. Id pulumi.StringInput `pulumi:"id"` // Specifies the name of the Load Balancer. Name pulumi.StringInput `pulumi:"name"` // Private IP Address to assign to the Load Balancer. PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"` // The allocation method for the Private IP Address used by this Load Balancer. PrivateIpAddressAllocation pulumi.StringInput `pulumi:"privateIpAddressAllocation"` // The ID of a Public IP Address which is associated with this Load Balancer. PublicIpAddressId pulumi.StringInput `pulumi:"publicIpAddressId"` // The ID of the Subnet which is associated with the IP Configuration. SubnetId pulumi.StringInput `pulumi:"subnetId"` // A list of Availability Zones which the Load Balancer's IP Addresses should be created in. Zones pulumi.StringArrayInput `pulumi:"zones"` }
func (GetLBFrontendIpConfigurationArgs) ElementType ¶ added in v1.12.0
func (GetLBFrontendIpConfigurationArgs) ElementType() reflect.Type
func (GetLBFrontendIpConfigurationArgs) ToGetLBFrontendIpConfigurationOutput ¶ added in v1.12.0
func (i GetLBFrontendIpConfigurationArgs) ToGetLBFrontendIpConfigurationOutput() GetLBFrontendIpConfigurationOutput
func (GetLBFrontendIpConfigurationArgs) ToGetLBFrontendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (i GetLBFrontendIpConfigurationArgs) ToGetLBFrontendIpConfigurationOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationOutput
type GetLBFrontendIpConfigurationArray ¶ added in v1.12.0
type GetLBFrontendIpConfigurationArray []GetLBFrontendIpConfigurationInput
func (GetLBFrontendIpConfigurationArray) ElementType ¶ added in v1.12.0
func (GetLBFrontendIpConfigurationArray) ElementType() reflect.Type
func (GetLBFrontendIpConfigurationArray) ToGetLBFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
func (i GetLBFrontendIpConfigurationArray) ToGetLBFrontendIpConfigurationArrayOutput() GetLBFrontendIpConfigurationArrayOutput
func (GetLBFrontendIpConfigurationArray) ToGetLBFrontendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (i GetLBFrontendIpConfigurationArray) ToGetLBFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationArrayOutput
type GetLBFrontendIpConfigurationArrayInput ¶ added in v1.12.0
type GetLBFrontendIpConfigurationArrayInput interface { pulumi.Input ToGetLBFrontendIpConfigurationArrayOutput() GetLBFrontendIpConfigurationArrayOutput ToGetLBFrontendIpConfigurationArrayOutputWithContext(context.Context) GetLBFrontendIpConfigurationArrayOutput }
type GetLBFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
type GetLBFrontendIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (GetLBFrontendIpConfigurationArrayOutput) ElementType ¶ added in v1.12.0
func (GetLBFrontendIpConfigurationArrayOutput) ElementType() reflect.Type
func (GetLBFrontendIpConfigurationArrayOutput) ToGetLBFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationArrayOutput) ToGetLBFrontendIpConfigurationArrayOutput() GetLBFrontendIpConfigurationArrayOutput
func (GetLBFrontendIpConfigurationArrayOutput) ToGetLBFrontendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationArrayOutput) ToGetLBFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationArrayOutput
type GetLBFrontendIpConfigurationInput ¶ added in v1.12.0
type GetLBFrontendIpConfigurationInput interface { pulumi.Input ToGetLBFrontendIpConfigurationOutput() GetLBFrontendIpConfigurationOutput ToGetLBFrontendIpConfigurationOutputWithContext(context.Context) GetLBFrontendIpConfigurationOutput }
type GetLBFrontendIpConfigurationOutput ¶ added in v1.12.0
type GetLBFrontendIpConfigurationOutput struct{ *pulumi.OutputState }
func (GetLBFrontendIpConfigurationOutput) ElementType ¶ added in v1.12.0
func (GetLBFrontendIpConfigurationOutput) ElementType() reflect.Type
func (GetLBFrontendIpConfigurationOutput) Id ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) Id() pulumi.StringOutput
The id of the Frontend IP Configuration.
func (GetLBFrontendIpConfigurationOutput) Name ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) Name() pulumi.StringOutput
Specifies the name of the Load Balancer.
func (GetLBFrontendIpConfigurationOutput) PrivateIpAddress ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) PrivateIpAddress() pulumi.StringOutput
Private IP Address to assign to the Load Balancer.
func (GetLBFrontendIpConfigurationOutput) PrivateIpAddressAllocation ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) PrivateIpAddressAllocation() pulumi.StringOutput
The allocation method for the Private IP Address used by this Load Balancer.
func (GetLBFrontendIpConfigurationOutput) PublicIpAddressId ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) PublicIpAddressId() pulumi.StringOutput
The ID of a Public IP Address which is associated with this Load Balancer.
func (GetLBFrontendIpConfigurationOutput) SubnetId ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) SubnetId() pulumi.StringOutput
The ID of the Subnet which is associated with the IP Configuration.
func (GetLBFrontendIpConfigurationOutput) ToGetLBFrontendIpConfigurationOutput ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) ToGetLBFrontendIpConfigurationOutput() GetLBFrontendIpConfigurationOutput
func (GetLBFrontendIpConfigurationOutput) ToGetLBFrontendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) ToGetLBFrontendIpConfigurationOutputWithContext(ctx context.Context) GetLBFrontendIpConfigurationOutput
func (GetLBFrontendIpConfigurationOutput) Zones ¶ added in v1.12.0
func (o GetLBFrontendIpConfigurationOutput) Zones() pulumi.StringArrayOutput
A list of Availability Zones which the Load Balancer's IP Addresses should be created in.
type GetLBResult ¶ added in v0.16.7
type GetLBResult struct { // (Optional) A `frontendIpConfiguration` block as documented below. FrontendIpConfigurations []GetLBFrontendIpConfiguration `pulumi:"frontendIpConfigurations"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure location where the Load Balancer exists. Location string `pulumi:"location"` // The name of the Frontend IP Configuration. Name string `pulumi:"name"` // Private IP Address to assign to the Load Balancer. PrivateIpAddress string `pulumi:"privateIpAddress"` // The list of private IP address assigned to the load balancer in `frontendIpConfiguration` blocks, if any. PrivateIpAddresses []string `pulumi:"privateIpAddresses"` ResourceGroupName string `pulumi:"resourceGroupName"` // The SKU of the Load Balancer. Sku string `pulumi:"sku"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getLB.
func GetLB ¶ added in v1.12.0
func GetLB(ctx *pulumi.Context, args *GetLBArgs, opts ...pulumi.InvokeOption) (*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 { pulumi.CustomResourceState // One or multiple `frontendIpConfiguration` blocks as documented below. FrontendIpConfigurations LoadBalancerFrontendIpConfigurationArrayOutput `pulumi:"frontendIpConfigurations"` // Specifies the supported Azure Region where the Load Balancer should be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the frontend ip configuration. Name pulumi.StringOutput `pulumi:"name"` // 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 pulumi.StringOutput `pulumi:"privateIpAddress"` // The list of private IP address assigned to the load balancer in `frontendIpConfiguration` blocks, if any. PrivateIpAddresses pulumi.StringArrayOutput `pulumi:"privateIpAddresses"` // The name of the Resource Group in which to create the Load Balancer. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`. Defaults to `Basic`. Sku pulumi.StringPtrOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
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.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*LoadBalancer, error)
NewLoadBalancer registers a new resource with the given unique name, arguments, and options.
type LoadBalancerArgs ¶
type LoadBalancerArgs struct { // One or multiple `frontendIpConfiguration` blocks as documented below. FrontendIpConfigurations LoadBalancerFrontendIpConfigurationArrayInput // Specifies the supported Azure Region where the Load Balancer should be created. Location pulumi.StringPtrInput // Specifies the name of the frontend ip configuration. Name pulumi.StringPtrInput // The name of the Resource Group in which to create the Load Balancer. ResourceGroupName pulumi.StringInput // The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`. Defaults to `Basic`. Sku pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a LoadBalancer resource.
func (LoadBalancerArgs) ElementType ¶ added in v1.12.0
func (LoadBalancerArgs) ElementType() reflect.Type
type LoadBalancerFrontendIpConfiguration ¶ added in v1.12.0
type LoadBalancerFrontendIpConfiguration struct { // The id of the Frontend IP Configuration. Id *string `pulumi:"id"` InboundNatRules []string `pulumi:"inboundNatRules"` LoadBalancerRules []string `pulumi:"loadBalancerRules"` // Specifies the name of the frontend ip configuration. Name string `pulumi:"name"` OutboundRules []string `pulumi:"outboundRules"` // 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 *string `pulumi:"privateIpAddress"` // The allocation method for the Private IP Address used by this Load Balancer. Possible values as `Dynamic` and `Static`. PrivateIpAddressAllocation *string `pulumi:"privateIpAddressAllocation"` // The ID of a Public IP Address which should be associated with the Load Balancer. PublicIpAddressId *string `pulumi:"publicIpAddressId"` // The ID of a Public IP Prefix which should be associated with the Load Balancer. Public IP Prefix can only be used with outbound rules. PublicIpPrefixId *string `pulumi:"publicIpPrefixId"` // The ID of the Subnet which should be associated with the IP Configuration. SubnetId *string `pulumi:"subnetId"` // A list of Availability Zones which the Load Balancer's IP Addresses should be created in. Zones *string `pulumi:"zones"` }
type LoadBalancerFrontendIpConfigurationArgs ¶ added in v1.12.0
type LoadBalancerFrontendIpConfigurationArgs struct { // The id of the Frontend IP Configuration. Id pulumi.StringPtrInput `pulumi:"id"` InboundNatRules pulumi.StringArrayInput `pulumi:"inboundNatRules"` LoadBalancerRules pulumi.StringArrayInput `pulumi:"loadBalancerRules"` // Specifies the name of the frontend ip configuration. Name pulumi.StringInput `pulumi:"name"` OutboundRules pulumi.StringArrayInput `pulumi:"outboundRules"` // 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 pulumi.StringPtrInput `pulumi:"privateIpAddress"` // The allocation method for the Private IP Address used by this Load Balancer. Possible values as `Dynamic` and `Static`. PrivateIpAddressAllocation pulumi.StringPtrInput `pulumi:"privateIpAddressAllocation"` // The ID of a Public IP Address which should be associated with the Load Balancer. PublicIpAddressId pulumi.StringPtrInput `pulumi:"publicIpAddressId"` // The ID of a Public IP Prefix which should be associated with the Load Balancer. Public IP Prefix can only be used with outbound rules. PublicIpPrefixId pulumi.StringPtrInput `pulumi:"publicIpPrefixId"` // The ID of the Subnet which should be associated with the IP Configuration. SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` // A list of Availability Zones which the Load Balancer's IP Addresses should be created in. Zones pulumi.StringPtrInput `pulumi:"zones"` }
func (LoadBalancerFrontendIpConfigurationArgs) ElementType ¶ added in v1.12.0
func (LoadBalancerFrontendIpConfigurationArgs) ElementType() reflect.Type
func (LoadBalancerFrontendIpConfigurationArgs) ToLoadBalancerFrontendIpConfigurationOutput ¶ added in v1.12.0
func (i LoadBalancerFrontendIpConfigurationArgs) ToLoadBalancerFrontendIpConfigurationOutput() LoadBalancerFrontendIpConfigurationOutput
func (LoadBalancerFrontendIpConfigurationArgs) ToLoadBalancerFrontendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (i LoadBalancerFrontendIpConfigurationArgs) ToLoadBalancerFrontendIpConfigurationOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationOutput
type LoadBalancerFrontendIpConfigurationArray ¶ added in v1.12.0
type LoadBalancerFrontendIpConfigurationArray []LoadBalancerFrontendIpConfigurationInput
func (LoadBalancerFrontendIpConfigurationArray) ElementType ¶ added in v1.12.0
func (LoadBalancerFrontendIpConfigurationArray) ElementType() reflect.Type
func (LoadBalancerFrontendIpConfigurationArray) ToLoadBalancerFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
func (i LoadBalancerFrontendIpConfigurationArray) ToLoadBalancerFrontendIpConfigurationArrayOutput() LoadBalancerFrontendIpConfigurationArrayOutput
func (LoadBalancerFrontendIpConfigurationArray) ToLoadBalancerFrontendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (i LoadBalancerFrontendIpConfigurationArray) ToLoadBalancerFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationArrayOutput
type LoadBalancerFrontendIpConfigurationArrayInput ¶ added in v1.12.0
type LoadBalancerFrontendIpConfigurationArrayInput interface { pulumi.Input ToLoadBalancerFrontendIpConfigurationArrayOutput() LoadBalancerFrontendIpConfigurationArrayOutput ToLoadBalancerFrontendIpConfigurationArrayOutputWithContext(context.Context) LoadBalancerFrontendIpConfigurationArrayOutput }
type LoadBalancerFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
type LoadBalancerFrontendIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (LoadBalancerFrontendIpConfigurationArrayOutput) ElementType ¶ added in v1.12.0
func (LoadBalancerFrontendIpConfigurationArrayOutput) ElementType() reflect.Type
func (LoadBalancerFrontendIpConfigurationArrayOutput) ToLoadBalancerFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationArrayOutput) ToLoadBalancerFrontendIpConfigurationArrayOutput() LoadBalancerFrontendIpConfigurationArrayOutput
func (LoadBalancerFrontendIpConfigurationArrayOutput) ToLoadBalancerFrontendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationArrayOutput) ToLoadBalancerFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationArrayOutput
type LoadBalancerFrontendIpConfigurationInput ¶ added in v1.12.0
type LoadBalancerFrontendIpConfigurationInput interface { pulumi.Input ToLoadBalancerFrontendIpConfigurationOutput() LoadBalancerFrontendIpConfigurationOutput ToLoadBalancerFrontendIpConfigurationOutputWithContext(context.Context) LoadBalancerFrontendIpConfigurationOutput }
type LoadBalancerFrontendIpConfigurationOutput ¶ added in v1.12.0
type LoadBalancerFrontendIpConfigurationOutput struct{ *pulumi.OutputState }
func (LoadBalancerFrontendIpConfigurationOutput) ElementType ¶ added in v1.12.0
func (LoadBalancerFrontendIpConfigurationOutput) ElementType() reflect.Type
func (LoadBalancerFrontendIpConfigurationOutput) Id ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) Id() pulumi.StringPtrOutput
The id of the Frontend IP Configuration.
func (LoadBalancerFrontendIpConfigurationOutput) InboundNatRules ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) InboundNatRules() pulumi.StringArrayOutput
func (LoadBalancerFrontendIpConfigurationOutput) LoadBalancerRules ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) LoadBalancerRules() pulumi.StringArrayOutput
func (LoadBalancerFrontendIpConfigurationOutput) Name ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) Name() pulumi.StringOutput
Specifies the name of the frontend ip configuration.
func (LoadBalancerFrontendIpConfigurationOutput) OutboundRules ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) OutboundRules() pulumi.StringArrayOutput
func (LoadBalancerFrontendIpConfigurationOutput) PrivateIpAddress ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) PrivateIpAddress() pulumi.StringPtrOutput
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 (LoadBalancerFrontendIpConfigurationOutput) PrivateIpAddressAllocation ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) PrivateIpAddressAllocation() pulumi.StringPtrOutput
The allocation method for the Private IP Address used by this Load Balancer. Possible values as `Dynamic` and `Static`.
func (LoadBalancerFrontendIpConfigurationOutput) PublicIpAddressId ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) PublicIpAddressId() pulumi.StringPtrOutput
The ID of a Public IP Address which should be associated with the Load Balancer.
func (LoadBalancerFrontendIpConfigurationOutput) PublicIpPrefixId ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) PublicIpPrefixId() pulumi.StringPtrOutput
The ID of a Public IP Prefix which should be associated with the Load Balancer. Public IP Prefix can only be used with outbound rules.
func (LoadBalancerFrontendIpConfigurationOutput) SubnetId ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) SubnetId() pulumi.StringPtrOutput
The ID of the Subnet which should be associated with the IP Configuration.
func (LoadBalancerFrontendIpConfigurationOutput) ToLoadBalancerFrontendIpConfigurationOutput ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) ToLoadBalancerFrontendIpConfigurationOutput() LoadBalancerFrontendIpConfigurationOutput
func (LoadBalancerFrontendIpConfigurationOutput) ToLoadBalancerFrontendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) ToLoadBalancerFrontendIpConfigurationOutputWithContext(ctx context.Context) LoadBalancerFrontendIpConfigurationOutput
func (LoadBalancerFrontendIpConfigurationOutput) Zones ¶ added in v1.12.0
func (o LoadBalancerFrontendIpConfigurationOutput) Zones() pulumi.StringPtrOutput
A list of Availability Zones which the Load Balancer's IP Addresses should be created in.
type LoadBalancerState ¶
type LoadBalancerState struct { // One or multiple `frontendIpConfiguration` blocks as documented below. FrontendIpConfigurations LoadBalancerFrontendIpConfigurationArrayInput // Specifies the supported Azure Region where the Load Balancer should be created. Location pulumi.StringPtrInput // Specifies the name of the frontend ip configuration. Name pulumi.StringPtrInput // 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 pulumi.StringPtrInput // The list of private IP address assigned to the load balancer in `frontendIpConfiguration` blocks, if any. PrivateIpAddresses pulumi.StringArrayInput // The name of the Resource Group in which to create the Load Balancer. ResourceGroupName pulumi.StringPtrInput // The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`. Defaults to `Basic`. Sku pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (LoadBalancerState) ElementType ¶ added in v1.12.0
func (LoadBalancerState) ElementType() reflect.Type
type LookupBackendAddressPoolArgs ¶ added in v1.12.0
type LookupBackendAddressPoolArgs struct { // The ID of the Load Balancer in which the Backend Address Pool exists. LoadbalancerId string `pulumi:"loadbalancerId"` // Specifies the name of the Backend Address Pool. Name string `pulumi:"name"` }
A collection of arguments for invoking getBackendAddressPool.
type LookupBackendAddressPoolResult ¶ added in v1.12.0
type LookupBackendAddressPoolResult struct { // An array of references to IP addresses defined in network interfaces. BackendIpConfigurations []GetBackendAddressPoolBackendIpConfiguration `pulumi:"backendIpConfigurations"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LoadbalancerId string `pulumi:"loadbalancerId"` // The name of the Backend Address Pool. Name string `pulumi:"name"` }
A collection of values returned by getBackendAddressPool.
func LookupBackendAddressPool ¶ added in v0.16.7
func LookupBackendAddressPool(ctx *pulumi.Context, args *LookupBackendAddressPoolArgs, opts ...pulumi.InvokeOption) (*LookupBackendAddressPoolResult, 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 NatPool ¶
type NatPool struct { pulumi.CustomResourceState // The port used for the internal endpoint. Possible values range between 1 and 65535, inclusive. BackendPort pulumi.IntOutput `pulumi:"backendPort"` FrontendIpConfigurationId pulumi.StringOutput `pulumi:"frontendIpConfigurationId"` // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName pulumi.StringOutput `pulumi:"frontendIpConfigurationName"` // 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 pulumi.IntOutput `pulumi:"frontendPortEnd"` // 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 pulumi.IntOutput `pulumi:"frontendPortStart"` // The ID of the Load Balancer in which to create the NAT pool. LoadbalancerId pulumi.StringOutput `pulumi:"loadbalancerId"` Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the NAT pool. Name pulumi.StringOutput `pulumi:"name"` // The transport protocol for the external endpoint. Possible values are `Udp` or `Tcp`. Protocol pulumi.StringOutput `pulumi:"protocol"` // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *NatPoolState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*NatPool, error)
NewNatPool registers a new resource with the given unique name, arguments, and options.
type NatPoolArgs ¶
type NatPoolArgs struct { // The port used for the internal endpoint. Possible values range between 1 and 65535, inclusive. BackendPort pulumi.IntInput // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName pulumi.StringInput // 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 pulumi.IntInput // 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 pulumi.IntInput // The ID of the Load Balancer in which to create the NAT pool. LoadbalancerId pulumi.StringInput Location pulumi.StringPtrInput // Specifies the name of the NAT pool. Name pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Udp` or `Tcp`. Protocol pulumi.StringInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a NatPool resource.
func (NatPoolArgs) ElementType ¶ added in v1.12.0
func (NatPoolArgs) ElementType() reflect.Type
type NatPoolState ¶
type NatPoolState struct { // The port used for the internal endpoint. Possible values range between 1 and 65535, inclusive. BackendPort pulumi.IntPtrInput FrontendIpConfigurationId pulumi.StringPtrInput // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName pulumi.StringPtrInput // 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 pulumi.IntPtrInput // 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 pulumi.IntPtrInput // The ID of the Load Balancer in which to create the NAT pool. LoadbalancerId pulumi.StringPtrInput Location pulumi.StringPtrInput // Specifies the name of the NAT pool. Name pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Udp` or `Tcp`. Protocol pulumi.StringPtrInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringPtrInput }
func (NatPoolState) ElementType ¶ added in v1.12.0
func (NatPoolState) ElementType() reflect.Type
type NatRule ¶
type NatRule struct { pulumi.CustomResourceState BackendIpConfigurationId pulumi.StringOutput `pulumi:"backendIpConfigurationId"` // The port used for internal connections on the endpoint. Possible values range between 1 and 65535, inclusive. BackendPort pulumi.IntOutput `pulumi:"backendPort"` // Are the Floating IPs enabled for this Load Balncer Rule? A "floating” IP is reassigned to a secondary server in case the primary server fails. Required to configure a SQL AlwaysOn Availability Group. Defaults to `false`. EnableFloatingIp pulumi.BoolOutput `pulumi:"enableFloatingIp"` // Is TCP Reset enabled for this Load Balancer Rule? Defaults to `false`. EnableTcpReset pulumi.BoolPtrOutput `pulumi:"enableTcpReset"` FrontendIpConfigurationId pulumi.StringOutput `pulumi:"frontendIpConfigurationId"` // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName pulumi.StringOutput `pulumi:"frontendIpConfigurationName"` // 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 pulumi.IntOutput `pulumi:"frontendPort"` // Specifies the idle timeout in minutes for TCP connections. Valid values are between `4` and `30` minutes. Defaults to `4` minutes. IdleTimeoutInMinutes pulumi.IntOutput `pulumi:"idleTimeoutInMinutes"` // The ID of the Load Balancer in which to create the NAT Rule. LoadbalancerId pulumi.StringOutput `pulumi:"loadbalancerId"` Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the NAT Rule. Name pulumi.StringOutput `pulumi:"name"` // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol pulumi.StringOutput `pulumi:"protocol"` // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *NatRuleState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*NatRule, error)
NewNatRule registers a new resource with the given unique name, arguments, and options.
type NatRuleArgs ¶
type NatRuleArgs struct { // The port used for internal connections on the endpoint. Possible values range between 1 and 65535, inclusive. BackendPort pulumi.IntInput // Are the Floating IPs enabled for this Load Balncer Rule? A "floating” IP is reassigned to a secondary server in case the primary server fails. Required to configure a SQL AlwaysOn Availability Group. Defaults to `false`. EnableFloatingIp pulumi.BoolPtrInput // Is TCP Reset enabled for this Load Balancer Rule? Defaults to `false`. EnableTcpReset pulumi.BoolPtrInput // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName pulumi.StringInput // 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 pulumi.IntInput // Specifies the idle timeout in minutes for TCP connections. Valid values are between `4` and `30` minutes. Defaults to `4` minutes. IdleTimeoutInMinutes pulumi.IntPtrInput // The ID of the Load Balancer in which to create the NAT Rule. LoadbalancerId pulumi.StringInput Location pulumi.StringPtrInput // Specifies the name of the NAT Rule. Name pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol pulumi.StringInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a NatRule resource.
func (NatRuleArgs) ElementType ¶ added in v1.12.0
func (NatRuleArgs) ElementType() reflect.Type
type NatRuleState ¶
type NatRuleState struct { BackendIpConfigurationId pulumi.StringPtrInput // The port used for internal connections on the endpoint. Possible values range between 1 and 65535, inclusive. BackendPort pulumi.IntPtrInput // Are the Floating IPs enabled for this Load Balncer Rule? A "floating” IP is reassigned to a secondary server in case the primary server fails. Required to configure a SQL AlwaysOn Availability Group. Defaults to `false`. EnableFloatingIp pulumi.BoolPtrInput // Is TCP Reset enabled for this Load Balancer Rule? Defaults to `false`. EnableTcpReset pulumi.BoolPtrInput FrontendIpConfigurationId pulumi.StringPtrInput // The name of the frontend IP configuration exposing this rule. FrontendIpConfigurationName pulumi.StringPtrInput // 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 pulumi.IntPtrInput // Specifies the idle timeout in minutes for TCP connections. Valid values are between `4` and `30` minutes. Defaults to `4` minutes. IdleTimeoutInMinutes pulumi.IntPtrInput // The ID of the Load Balancer in which to create the NAT Rule. LoadbalancerId pulumi.StringPtrInput Location pulumi.StringPtrInput // Specifies the name of the NAT Rule. Name pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol pulumi.StringPtrInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringPtrInput }
func (NatRuleState) ElementType ¶ added in v1.12.0
func (NatRuleState) ElementType() reflect.Type
type OutboundRule ¶ added in v0.17.2
type OutboundRule struct { pulumi.CustomResourceState // The number of outbound ports to be used for NAT. AllocatedOutboundPorts pulumi.IntPtrOutput `pulumi:"allocatedOutboundPorts"` // The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs. BackendAddressPoolId pulumi.StringOutput `pulumi:"backendAddressPoolId"` // 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 pulumi.BoolPtrOutput `pulumi:"enableTcpReset"` // One or more `frontendIpConfiguration` blocks as defined below. FrontendIpConfigurations OutboundRuleFrontendIpConfigurationArrayOutput `pulumi:"frontendIpConfigurations"` // The timeout for the TCP idle connection IdleTimeoutInMinutes pulumi.IntPtrOutput `pulumi:"idleTimeoutInMinutes"` // The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created. LoadbalancerId pulumi.StringOutput `pulumi:"loadbalancerId"` // Specifies the name of the Outbound Rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol pulumi.StringOutput `pulumi:"protocol"` // The name of the resource group in which to create the resource. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *OutboundRuleState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*OutboundRule, error)
NewOutboundRule registers a new resource with the given unique name, arguments, and options.
type OutboundRuleArgs ¶ added in v0.17.2
type OutboundRuleArgs struct { // The number of outbound ports to be used for NAT. AllocatedOutboundPorts pulumi.IntPtrInput // The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs. BackendAddressPoolId pulumi.StringInput // 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 pulumi.BoolPtrInput // One or more `frontendIpConfiguration` blocks as defined below. FrontendIpConfigurations OutboundRuleFrontendIpConfigurationArrayInput // The timeout for the TCP idle connection IdleTimeoutInMinutes pulumi.IntPtrInput // The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created. LoadbalancerId pulumi.StringInput // Specifies the name of the Outbound Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol pulumi.StringInput // The name of the resource group in which to create the resource. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a OutboundRule resource.
func (OutboundRuleArgs) ElementType ¶ added in v1.12.0
func (OutboundRuleArgs) ElementType() reflect.Type
type OutboundRuleFrontendIpConfiguration ¶ added in v1.12.0
type OutboundRuleFrontendIpConfigurationArgs ¶ added in v1.12.0
type OutboundRuleFrontendIpConfigurationArgs struct { // The ID of the Load Balancer Outbound Rule. Id pulumi.StringPtrInput `pulumi:"id"` // Specifies the name of the Outbound Rule. Changing this forces a new resource to be created. Name pulumi.StringInput `pulumi:"name"` }
func (OutboundRuleFrontendIpConfigurationArgs) ElementType ¶ added in v1.12.0
func (OutboundRuleFrontendIpConfigurationArgs) ElementType() reflect.Type
func (OutboundRuleFrontendIpConfigurationArgs) ToOutboundRuleFrontendIpConfigurationOutput ¶ added in v1.12.0
func (i OutboundRuleFrontendIpConfigurationArgs) ToOutboundRuleFrontendIpConfigurationOutput() OutboundRuleFrontendIpConfigurationOutput
func (OutboundRuleFrontendIpConfigurationArgs) ToOutboundRuleFrontendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (i OutboundRuleFrontendIpConfigurationArgs) ToOutboundRuleFrontendIpConfigurationOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationOutput
type OutboundRuleFrontendIpConfigurationArray ¶ added in v1.12.0
type OutboundRuleFrontendIpConfigurationArray []OutboundRuleFrontendIpConfigurationInput
func (OutboundRuleFrontendIpConfigurationArray) ElementType ¶ added in v1.12.0
func (OutboundRuleFrontendIpConfigurationArray) ElementType() reflect.Type
func (OutboundRuleFrontendIpConfigurationArray) ToOutboundRuleFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
func (i OutboundRuleFrontendIpConfigurationArray) ToOutboundRuleFrontendIpConfigurationArrayOutput() OutboundRuleFrontendIpConfigurationArrayOutput
func (OutboundRuleFrontendIpConfigurationArray) ToOutboundRuleFrontendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (i OutboundRuleFrontendIpConfigurationArray) ToOutboundRuleFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationArrayOutput
type OutboundRuleFrontendIpConfigurationArrayInput ¶ added in v1.12.0
type OutboundRuleFrontendIpConfigurationArrayInput interface { pulumi.Input ToOutboundRuleFrontendIpConfigurationArrayOutput() OutboundRuleFrontendIpConfigurationArrayOutput ToOutboundRuleFrontendIpConfigurationArrayOutputWithContext(context.Context) OutboundRuleFrontendIpConfigurationArrayOutput }
type OutboundRuleFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
type OutboundRuleFrontendIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (OutboundRuleFrontendIpConfigurationArrayOutput) ElementType ¶ added in v1.12.0
func (OutboundRuleFrontendIpConfigurationArrayOutput) ElementType() reflect.Type
func (OutboundRuleFrontendIpConfigurationArrayOutput) ToOutboundRuleFrontendIpConfigurationArrayOutput ¶ added in v1.12.0
func (o OutboundRuleFrontendIpConfigurationArrayOutput) ToOutboundRuleFrontendIpConfigurationArrayOutput() OutboundRuleFrontendIpConfigurationArrayOutput
func (OutboundRuleFrontendIpConfigurationArrayOutput) ToOutboundRuleFrontendIpConfigurationArrayOutputWithContext ¶ added in v1.12.0
func (o OutboundRuleFrontendIpConfigurationArrayOutput) ToOutboundRuleFrontendIpConfigurationArrayOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationArrayOutput
type OutboundRuleFrontendIpConfigurationInput ¶ added in v1.12.0
type OutboundRuleFrontendIpConfigurationInput interface { pulumi.Input ToOutboundRuleFrontendIpConfigurationOutput() OutboundRuleFrontendIpConfigurationOutput ToOutboundRuleFrontendIpConfigurationOutputWithContext(context.Context) OutboundRuleFrontendIpConfigurationOutput }
type OutboundRuleFrontendIpConfigurationOutput ¶ added in v1.12.0
type OutboundRuleFrontendIpConfigurationOutput struct{ *pulumi.OutputState }
func (OutboundRuleFrontendIpConfigurationOutput) ElementType ¶ added in v1.12.0
func (OutboundRuleFrontendIpConfigurationOutput) ElementType() reflect.Type
func (OutboundRuleFrontendIpConfigurationOutput) Id ¶ added in v1.12.0
func (o OutboundRuleFrontendIpConfigurationOutput) Id() pulumi.StringPtrOutput
The ID of the Load Balancer Outbound Rule.
func (OutboundRuleFrontendIpConfigurationOutput) Name ¶ added in v1.12.0
func (o OutboundRuleFrontendIpConfigurationOutput) Name() pulumi.StringOutput
Specifies the name of the Outbound Rule. Changing this forces a new resource to be created.
func (OutboundRuleFrontendIpConfigurationOutput) ToOutboundRuleFrontendIpConfigurationOutput ¶ added in v1.12.0
func (o OutboundRuleFrontendIpConfigurationOutput) ToOutboundRuleFrontendIpConfigurationOutput() OutboundRuleFrontendIpConfigurationOutput
func (OutboundRuleFrontendIpConfigurationOutput) ToOutboundRuleFrontendIpConfigurationOutputWithContext ¶ added in v1.12.0
func (o OutboundRuleFrontendIpConfigurationOutput) ToOutboundRuleFrontendIpConfigurationOutputWithContext(ctx context.Context) OutboundRuleFrontendIpConfigurationOutput
type OutboundRuleState ¶ added in v0.17.2
type OutboundRuleState struct { // The number of outbound ports to be used for NAT. AllocatedOutboundPorts pulumi.IntPtrInput // The ID of the Backend Address Pool. Outbound traffic is randomly load balanced across IPs in the backend IPs. BackendAddressPoolId pulumi.StringPtrInput // 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 pulumi.BoolPtrInput // One or more `frontendIpConfiguration` blocks as defined below. FrontendIpConfigurations OutboundRuleFrontendIpConfigurationArrayInput // The timeout for the TCP idle connection IdleTimeoutInMinutes pulumi.IntPtrInput // The ID of the Load Balancer in which to create the Outbound Rule. Changing this forces a new resource to be created. LoadbalancerId pulumi.StringPtrInput // Specifies the name of the Outbound Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Udp`, `Tcp` or `All`. Protocol pulumi.StringPtrInput // The name of the resource group in which to create the resource. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (OutboundRuleState) ElementType ¶ added in v1.12.0
func (OutboundRuleState) ElementType() reflect.Type
type Probe ¶
type Probe struct { pulumi.CustomResourceState // The interval, in seconds between probes to the backend endpoint for health status. The default value is 15, the minimum value is 5. IntervalInSeconds pulumi.IntPtrOutput `pulumi:"intervalInSeconds"` LoadBalancerRules pulumi.StringArrayOutput `pulumi:"loadBalancerRules"` // The ID of the LoadBalancer in which to create the NAT Rule. LoadbalancerId pulumi.StringOutput `pulumi:"loadbalancerId"` Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Probe. Name pulumi.StringOutput `pulumi:"name"` // 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 pulumi.IntPtrOutput `pulumi:"numberOfProbes"` // Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive. Port pulumi.IntOutput `pulumi:"port"` // 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 pulumi.StringOutput `pulumi:"protocol"` // The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed. RequestPath pulumi.StringPtrOutput `pulumi:"requestPath"` // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *ProbeState, opts ...pulumi.ResourceOption) (*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).
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 pulumi.IntPtrInput // The ID of the LoadBalancer in which to create the NAT Rule. LoadbalancerId pulumi.StringInput Location pulumi.StringPtrInput // Specifies the name of the Probe. Name pulumi.StringPtrInput // 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 pulumi.IntPtrInput // Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive. Port pulumi.IntInput // 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 pulumi.StringPtrInput // The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed. RequestPath pulumi.StringPtrInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a Probe resource.
func (ProbeArgs) ElementType ¶ added in v1.12.0
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 pulumi.IntPtrInput LoadBalancerRules pulumi.StringArrayInput // The ID of the LoadBalancer in which to create the NAT Rule. LoadbalancerId pulumi.StringPtrInput Location pulumi.StringPtrInput // Specifies the name of the Probe. Name pulumi.StringPtrInput // 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 pulumi.IntPtrInput // Port on which the Probe queries the backend endpoint. Possible values range from 1 to 65535, inclusive. Port pulumi.IntPtrInput // 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 pulumi.StringPtrInput // The URI used for requesting health status from the backend endpoint. Required if protocol is set to Http. Otherwise, it is not allowed. RequestPath pulumi.StringPtrInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringPtrInput }
func (ProbeState) ElementType ¶ added in v1.12.0
func (ProbeState) ElementType() reflect.Type
type Rule ¶
type Rule struct { pulumi.CustomResourceState // A reference to a Backend Address Pool over which this Load Balancing Rule operates. BackendAddressPoolId pulumi.StringOutput `pulumi:"backendAddressPoolId"` // The port used for internal connections on the endpoint. Possible values range between 0 and 65535, inclusive. BackendPort pulumi.IntOutput `pulumi:"backendPort"` // Is snat enabled for this Load Balancer Rule? Default `false`. DisableOutboundSnat pulumi.BoolPtrOutput `pulumi:"disableOutboundSnat"` // Are the Floating IPs enabled for this Load Balncer Rule? A "floating” IP is reassigned to a secondary server in case the primary server fails. Required to configure a SQL AlwaysOn Availability Group. Defaults to `false`. EnableFloatingIp pulumi.BoolPtrOutput `pulumi:"enableFloatingIp"` // Is TCP Reset enabled for this Load Balancer Rule? Defaults to `false`. EnableTcpReset pulumi.BoolPtrOutput `pulumi:"enableTcpReset"` FrontendIpConfigurationId pulumi.StringOutput `pulumi:"frontendIpConfigurationId"` // The name of the frontend IP configuration to which the rule is associated. FrontendIpConfigurationName pulumi.StringOutput `pulumi:"frontendIpConfigurationName"` // 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 pulumi.IntOutput `pulumi:"frontendPort"` // Specifies the idle timeout in minutes for TCP connections. Valid values are between `4` and `30` minutes. Defaults to `4` minutes. IdleTimeoutInMinutes pulumi.IntOutput `pulumi:"idleTimeoutInMinutes"` // 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 pulumi.StringOutput `pulumi:"loadDistribution"` // The ID of the Load Balancer in which to create the Rule. LoadbalancerId pulumi.StringOutput `pulumi:"loadbalancerId"` Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the LB Rule. Name pulumi.StringOutput `pulumi:"name"` // A reference to a Probe used by this Load Balancing Rule. ProbeId pulumi.StringOutput `pulumi:"probeId"` // The transport protocol for the external endpoint. Possible values are `Tcp`, `Udp` or `All`. Protocol pulumi.StringOutput `pulumi:"protocol"` // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*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).
type RuleArgs ¶
type RuleArgs struct { // A reference to a Backend Address Pool over which this Load Balancing Rule operates. BackendAddressPoolId pulumi.StringPtrInput // The port used for internal connections on the endpoint. Possible values range between 0 and 65535, inclusive. BackendPort pulumi.IntInput // Is snat enabled for this Load Balancer Rule? Default `false`. DisableOutboundSnat pulumi.BoolPtrInput // Are the Floating IPs enabled for this Load Balncer Rule? A "floating” IP is reassigned to a secondary server in case the primary server fails. Required to configure a SQL AlwaysOn Availability Group. Defaults to `false`. EnableFloatingIp pulumi.BoolPtrInput // Is TCP Reset enabled for this Load Balancer Rule? Defaults to `false`. EnableTcpReset pulumi.BoolPtrInput // The name of the frontend IP configuration to which the rule is associated. FrontendIpConfigurationName pulumi.StringInput // 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 pulumi.IntInput // Specifies the idle timeout in minutes for TCP connections. Valid values are between `4` and `30` minutes. Defaults to `4` minutes. IdleTimeoutInMinutes pulumi.IntPtrInput // 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 pulumi.StringPtrInput // The ID of the Load Balancer in which to create the Rule. LoadbalancerId pulumi.StringInput Location pulumi.StringPtrInput // Specifies the name of the LB Rule. Name pulumi.StringPtrInput // A reference to a Probe used by this Load Balancing Rule. ProbeId pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Tcp`, `Udp` or `All`. Protocol pulumi.StringInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶ added in v1.12.0
type RuleState ¶
type RuleState struct { // A reference to a Backend Address Pool over which this Load Balancing Rule operates. BackendAddressPoolId pulumi.StringPtrInput // The port used for internal connections on the endpoint. Possible values range between 0 and 65535, inclusive. BackendPort pulumi.IntPtrInput // Is snat enabled for this Load Balancer Rule? Default `false`. DisableOutboundSnat pulumi.BoolPtrInput // Are the Floating IPs enabled for this Load Balncer Rule? A "floating” IP is reassigned to a secondary server in case the primary server fails. Required to configure a SQL AlwaysOn Availability Group. Defaults to `false`. EnableFloatingIp pulumi.BoolPtrInput // Is TCP Reset enabled for this Load Balancer Rule? Defaults to `false`. EnableTcpReset pulumi.BoolPtrInput FrontendIpConfigurationId pulumi.StringPtrInput // The name of the frontend IP configuration to which the rule is associated. FrontendIpConfigurationName pulumi.StringPtrInput // 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 pulumi.IntPtrInput // Specifies the idle timeout in minutes for TCP connections. Valid values are between `4` and `30` minutes. Defaults to `4` minutes. IdleTimeoutInMinutes pulumi.IntPtrInput // 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 pulumi.StringPtrInput // The ID of the Load Balancer in which to create the Rule. LoadbalancerId pulumi.StringPtrInput Location pulumi.StringPtrInput // Specifies the name of the LB Rule. Name pulumi.StringPtrInput // A reference to a Probe used by this Load Balancing Rule. ProbeId pulumi.StringPtrInput // The transport protocol for the external endpoint. Possible values are `Tcp`, `Udp` or `All`. Protocol pulumi.StringPtrInput // The name of the resource group in which to create the resource. ResourceGroupName pulumi.StringPtrInput }