Documentation ¶
Index ¶
- type Firewall
- type FirewallArgs
- type FirewallArray
- type FirewallArrayInput
- type FirewallArrayOutput
- type FirewallInput
- type FirewallMap
- type FirewallMapInput
- type FirewallMapOutput
- type FirewallOutput
- func (FirewallOutput) ElementType() reflect.Type
- func (o FirewallOutput) Enabled() pulumi.BoolOutput
- func (o FirewallOutput) Ip() pulumi.StringOutput
- func (o FirewallOutput) IpOnFirewall() pulumi.StringOutput
- func (o FirewallOutput) State() pulumi.StringOutput
- func (o FirewallOutput) ToFirewallOutput() FirewallOutput
- func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleArray
- type FirewallRuleArrayInput
- type FirewallRuleArrayOutput
- func (FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- type FirewallRuleInput
- type FirewallRuleMap
- type FirewallRuleMapInput
- type FirewallRuleMapOutput
- func (FirewallRuleMapOutput) ElementType() reflect.Type
- func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
- type FirewallRuleOutput
- func (o FirewallRuleOutput) Action() pulumi.StringOutput
- func (o FirewallRuleOutput) CreationDate() pulumi.StringOutput
- func (o FirewallRuleOutput) Destination() pulumi.StringOutput
- func (o FirewallRuleOutput) DestinationPort() pulumi.Float64Output
- func (o FirewallRuleOutput) DestinationPortDesc() pulumi.StringOutput
- func (FirewallRuleOutput) ElementType() reflect.Type
- func (o FirewallRuleOutput) Fragments() pulumi.BoolOutput
- func (o FirewallRuleOutput) Ip() pulumi.StringOutput
- func (o FirewallRuleOutput) IpOnFirewall() pulumi.StringOutput
- func (o FirewallRuleOutput) Protocol() pulumi.StringOutput
- func (o FirewallRuleOutput) Rule() pulumi.StringOutput
- func (o FirewallRuleOutput) Sequence() pulumi.Float64Output
- func (o FirewallRuleOutput) Source() pulumi.StringOutput
- func (o FirewallRuleOutput) SourcePort() pulumi.Float64Output
- func (o FirewallRuleOutput) SourcePortDesc() pulumi.StringOutput
- func (o FirewallRuleOutput) State() pulumi.StringOutput
- func (o FirewallRuleOutput) TcpOption() pulumi.StringOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
- type FirewallRuleState
- type FirewallState
- type GetServiceArgs
- type GetServiceOutputArgs
- type GetServiceResult
- type GetServiceResultOutput
- func (o GetServiceResultOutput) CanBeTerminated() pulumi.BoolOutput
- func (o GetServiceResultOutput) Country() pulumi.StringOutput
- func (o GetServiceResultOutput) Description() pulumi.StringOutput
- func (GetServiceResultOutput) ElementType() reflect.Type
- func (o GetServiceResultOutput) Id() pulumi.StringOutput
- func (o GetServiceResultOutput) Ip() pulumi.StringOutput
- func (o GetServiceResultOutput) OrganisationId() pulumi.StringOutput
- func (o GetServiceResultOutput) RoutedTos() GetServiceRoutedToArrayOutput
- func (o GetServiceResultOutput) ServiceName() pulumi.StringOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
- func (o GetServiceResultOutput) Type() pulumi.StringOutput
- type GetServiceRoutedTo
- type GetServiceRoutedToArgs
- type GetServiceRoutedToArray
- type GetServiceRoutedToArrayInput
- type GetServiceRoutedToArrayOutput
- func (GetServiceRoutedToArrayOutput) ElementType() reflect.Type
- func (o GetServiceRoutedToArrayOutput) Index(i pulumi.IntInput) GetServiceRoutedToOutput
- func (o GetServiceRoutedToArrayOutput) ToGetServiceRoutedToArrayOutput() GetServiceRoutedToArrayOutput
- func (o GetServiceRoutedToArrayOutput) ToGetServiceRoutedToArrayOutputWithContext(ctx context.Context) GetServiceRoutedToArrayOutput
- type GetServiceRoutedToInput
- type GetServiceRoutedToOutput
- func (GetServiceRoutedToOutput) ElementType() reflect.Type
- func (o GetServiceRoutedToOutput) ServiceName() pulumi.StringOutput
- func (o GetServiceRoutedToOutput) ToGetServiceRoutedToOutput() GetServiceRoutedToOutput
- func (o GetServiceRoutedToOutput) ToGetServiceRoutedToOutputWithContext(ctx context.Context) GetServiceRoutedToOutput
- type IpService
- type IpServiceArgs
- type IpServiceArray
- type IpServiceArrayInput
- type IpServiceArrayOutput
- func (IpServiceArrayOutput) ElementType() reflect.Type
- func (o IpServiceArrayOutput) Index(i pulumi.IntInput) IpServiceOutput
- func (o IpServiceArrayOutput) ToIpServiceArrayOutput() IpServiceArrayOutput
- func (o IpServiceArrayOutput) ToIpServiceArrayOutputWithContext(ctx context.Context) IpServiceArrayOutput
- type IpServiceInput
- type IpServiceMap
- type IpServiceMapInput
- type IpServiceMapOutput
- type IpServiceOrder
- type IpServiceOrderArgs
- type IpServiceOrderArray
- type IpServiceOrderArrayInput
- type IpServiceOrderArrayOutput
- func (IpServiceOrderArrayOutput) ElementType() reflect.Type
- func (o IpServiceOrderArrayOutput) Index(i pulumi.IntInput) IpServiceOrderOutput
- func (o IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutput() IpServiceOrderArrayOutput
- func (o IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutputWithContext(ctx context.Context) IpServiceOrderArrayOutput
- type IpServiceOrderDetail
- type IpServiceOrderDetailArgs
- type IpServiceOrderDetailArray
- type IpServiceOrderDetailArrayInput
- type IpServiceOrderDetailArrayOutput
- func (IpServiceOrderDetailArrayOutput) ElementType() reflect.Type
- func (o IpServiceOrderDetailArrayOutput) Index(i pulumi.IntInput) IpServiceOrderDetailOutput
- func (o IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutput() IpServiceOrderDetailArrayOutput
- func (o IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutputWithContext(ctx context.Context) IpServiceOrderDetailArrayOutput
- type IpServiceOrderDetailInput
- type IpServiceOrderDetailOutput
- func (o IpServiceOrderDetailOutput) Description() pulumi.StringPtrOutput
- func (o IpServiceOrderDetailOutput) Domain() pulumi.StringPtrOutput
- func (IpServiceOrderDetailOutput) ElementType() reflect.Type
- func (o IpServiceOrderDetailOutput) OrderDetailId() pulumi.IntPtrOutput
- func (o IpServiceOrderDetailOutput) Quantity() pulumi.StringPtrOutput
- func (o IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutput() IpServiceOrderDetailOutput
- func (o IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutputWithContext(ctx context.Context) IpServiceOrderDetailOutput
- type IpServiceOrderInput
- type IpServiceOrderOutput
- func (o IpServiceOrderOutput) Date() pulumi.StringPtrOutput
- func (o IpServiceOrderOutput) Details() IpServiceOrderDetailArrayOutput
- func (IpServiceOrderOutput) ElementType() reflect.Type
- func (o IpServiceOrderOutput) ExpirationDate() pulumi.StringPtrOutput
- func (o IpServiceOrderOutput) OrderId() pulumi.IntPtrOutput
- func (o IpServiceOrderOutput) ToIpServiceOrderOutput() IpServiceOrderOutput
- func (o IpServiceOrderOutput) ToIpServiceOrderOutputWithContext(ctx context.Context) IpServiceOrderOutput
- type IpServiceOutput
- func (o IpServiceOutput) CanBeTerminated() pulumi.BoolOutput
- func (o IpServiceOutput) Country() pulumi.StringOutput
- func (o IpServiceOutput) Description() pulumi.StringOutput
- func (IpServiceOutput) ElementType() reflect.Type
- func (o IpServiceOutput) Ip() pulumi.StringOutput
- func (o IpServiceOutput) Orders() IpServiceOrderArrayOutput
- func (o IpServiceOutput) OrganisationId() pulumi.StringOutput
- func (o IpServiceOutput) OvhSubsidiary() pulumi.StringOutput
- func (o IpServiceOutput) PaymentMean() pulumi.StringPtrOutputdeprecated
- func (o IpServiceOutput) Plan() IpServicePlanOutput
- func (o IpServiceOutput) PlanOptions() IpServicePlanOptionArrayOutput
- func (o IpServiceOutput) RoutedTos() IpServiceRoutedToArrayOutput
- func (o IpServiceOutput) ServiceName() pulumi.StringOutput
- func (o IpServiceOutput) ToIpServiceOutput() IpServiceOutput
- func (o IpServiceOutput) ToIpServiceOutputWithContext(ctx context.Context) IpServiceOutput
- func (o IpServiceOutput) Type() pulumi.StringOutput
- type IpServicePlan
- type IpServicePlanArgs
- func (IpServicePlanArgs) ElementType() reflect.Type
- func (i IpServicePlanArgs) ToIpServicePlanOutput() IpServicePlanOutput
- func (i IpServicePlanArgs) ToIpServicePlanOutputWithContext(ctx context.Context) IpServicePlanOutput
- func (i IpServicePlanArgs) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput
- func (i IpServicePlanArgs) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput
- type IpServicePlanConfiguration
- type IpServicePlanConfigurationArgs
- func (IpServicePlanConfigurationArgs) ElementType() reflect.Type
- func (i IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput
- func (i IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutputWithContext(ctx context.Context) IpServicePlanConfigurationOutput
- type IpServicePlanConfigurationArray
- func (IpServicePlanConfigurationArray) ElementType() reflect.Type
- func (i IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput
- func (i IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanConfigurationArrayOutput
- type IpServicePlanConfigurationArrayInput
- type IpServicePlanConfigurationArrayOutput
- func (IpServicePlanConfigurationArrayOutput) ElementType() reflect.Type
- func (o IpServicePlanConfigurationArrayOutput) Index(i pulumi.IntInput) IpServicePlanConfigurationOutput
- func (o IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput
- func (o IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanConfigurationArrayOutput
- type IpServicePlanConfigurationInput
- type IpServicePlanConfigurationOutput
- func (IpServicePlanConfigurationOutput) ElementType() reflect.Type
- func (o IpServicePlanConfigurationOutput) Label() pulumi.StringOutput
- func (o IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput
- func (o IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutputWithContext(ctx context.Context) IpServicePlanConfigurationOutput
- func (o IpServicePlanConfigurationOutput) Value() pulumi.StringOutput
- type IpServicePlanInput
- type IpServicePlanOption
- type IpServicePlanOptionArgs
- type IpServicePlanOptionArray
- type IpServicePlanOptionArrayInput
- type IpServicePlanOptionArrayOutput
- func (IpServicePlanOptionArrayOutput) ElementType() reflect.Type
- func (o IpServicePlanOptionArrayOutput) Index(i pulumi.IntInput) IpServicePlanOptionOutput
- func (o IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutput() IpServicePlanOptionArrayOutput
- func (o IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutputWithContext(ctx context.Context) IpServicePlanOptionArrayOutput
- type IpServicePlanOptionConfiguration
- type IpServicePlanOptionConfigurationArgs
- func (IpServicePlanOptionConfigurationArgs) ElementType() reflect.Type
- func (i IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput
- func (i IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationOutput
- type IpServicePlanOptionConfigurationArray
- func (IpServicePlanOptionConfigurationArray) ElementType() reflect.Type
- func (i IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput
- func (i IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationArrayOutput
- type IpServicePlanOptionConfigurationArrayInput
- type IpServicePlanOptionConfigurationArrayOutput
- func (IpServicePlanOptionConfigurationArrayOutput) ElementType() reflect.Type
- func (o IpServicePlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) IpServicePlanOptionConfigurationOutput
- func (o IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput
- func (o IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationArrayOutput
- type IpServicePlanOptionConfigurationInput
- type IpServicePlanOptionConfigurationOutput
- func (IpServicePlanOptionConfigurationOutput) ElementType() reflect.Type
- func (o IpServicePlanOptionConfigurationOutput) Label() pulumi.StringOutput
- func (o IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput
- func (o IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationOutput
- func (o IpServicePlanOptionConfigurationOutput) Value() pulumi.StringOutput
- type IpServicePlanOptionInput
- type IpServicePlanOptionOutput
- func (o IpServicePlanOptionOutput) CatalogName() pulumi.StringPtrOutput
- func (o IpServicePlanOptionOutput) Configurations() IpServicePlanOptionConfigurationArrayOutput
- func (o IpServicePlanOptionOutput) Duration() pulumi.StringOutput
- func (IpServicePlanOptionOutput) ElementType() reflect.Type
- func (o IpServicePlanOptionOutput) PlanCode() pulumi.StringOutput
- func (o IpServicePlanOptionOutput) PricingMode() pulumi.StringOutput
- func (o IpServicePlanOptionOutput) ToIpServicePlanOptionOutput() IpServicePlanOptionOutput
- func (o IpServicePlanOptionOutput) ToIpServicePlanOptionOutputWithContext(ctx context.Context) IpServicePlanOptionOutput
- type IpServicePlanOutput
- func (o IpServicePlanOutput) CatalogName() pulumi.StringPtrOutput
- func (o IpServicePlanOutput) Configurations() IpServicePlanConfigurationArrayOutput
- func (o IpServicePlanOutput) Duration() pulumi.StringOutput
- func (IpServicePlanOutput) ElementType() reflect.Type
- func (o IpServicePlanOutput) PlanCode() pulumi.StringOutput
- func (o IpServicePlanOutput) PricingMode() pulumi.StringOutput
- func (o IpServicePlanOutput) ToIpServicePlanOutput() IpServicePlanOutput
- func (o IpServicePlanOutput) ToIpServicePlanOutputWithContext(ctx context.Context) IpServicePlanOutput
- func (o IpServicePlanOutput) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput
- func (o IpServicePlanOutput) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput
- type IpServicePlanPtrInput
- type IpServicePlanPtrOutput
- func (o IpServicePlanPtrOutput) CatalogName() pulumi.StringPtrOutput
- func (o IpServicePlanPtrOutput) Configurations() IpServicePlanConfigurationArrayOutput
- func (o IpServicePlanPtrOutput) Duration() pulumi.StringPtrOutput
- func (o IpServicePlanPtrOutput) Elem() IpServicePlanOutput
- func (IpServicePlanPtrOutput) ElementType() reflect.Type
- func (o IpServicePlanPtrOutput) PlanCode() pulumi.StringPtrOutput
- func (o IpServicePlanPtrOutput) PricingMode() pulumi.StringPtrOutput
- func (o IpServicePlanPtrOutput) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput
- func (o IpServicePlanPtrOutput) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput
- type IpServiceRoutedTo
- type IpServiceRoutedToArgs
- type IpServiceRoutedToArray
- type IpServiceRoutedToArrayInput
- type IpServiceRoutedToArrayOutput
- func (IpServiceRoutedToArrayOutput) ElementType() reflect.Type
- func (o IpServiceRoutedToArrayOutput) Index(i pulumi.IntInput) IpServiceRoutedToOutput
- func (o IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutput() IpServiceRoutedToArrayOutput
- func (o IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutputWithContext(ctx context.Context) IpServiceRoutedToArrayOutput
- type IpServiceRoutedToInput
- type IpServiceRoutedToOutput
- func (IpServiceRoutedToOutput) ElementType() reflect.Type
- func (o IpServiceRoutedToOutput) ServiceName() pulumi.StringPtrOutput
- func (o IpServiceRoutedToOutput) ToIpServiceRoutedToOutput() IpServiceRoutedToOutput
- func (o IpServiceRoutedToOutput) ToIpServiceRoutedToOutputWithContext(ctx context.Context) IpServiceRoutedToOutput
- type IpServiceState
- type LookupFirewallArgs
- type LookupFirewallOutputArgs
- type LookupFirewallResult
- type LookupFirewallResultOutput
- func (LookupFirewallResultOutput) ElementType() reflect.Type
- func (o LookupFirewallResultOutput) Enabled() pulumi.BoolOutput
- func (o LookupFirewallResultOutput) Id() pulumi.StringOutput
- func (o LookupFirewallResultOutput) Ip() pulumi.StringOutput
- func (o LookupFirewallResultOutput) IpOnFirewall() pulumi.StringOutput
- func (o LookupFirewallResultOutput) State() pulumi.StringOutput
- func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput
- func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput
- type LookupFirewallRuleArgs
- type LookupFirewallRuleOutputArgs
- type LookupFirewallRuleResult
- type LookupFirewallRuleResultOutput
- func (o LookupFirewallRuleResultOutput) Action() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) CreationDate() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) Destination() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) DestinationPort() pulumi.StringOutput
- func (LookupFirewallRuleResultOutput) ElementType() reflect.Type
- func (o LookupFirewallRuleResultOutput) Fragments() pulumi.BoolOutput
- func (o LookupFirewallRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) Ip() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) IpOnFirewall() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) Protocol() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) Rule() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) Sequence() pulumi.Float64Output
- func (o LookupFirewallRuleResultOutput) Source() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) SourcePort() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) State() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) TcpOption() pulumi.StringOutput
- func (o LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutput() LookupFirewallRuleResultOutput
- func (o LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutputWithContext(ctx context.Context) LookupFirewallRuleResultOutput
- type LookupMitigationArgs
- type LookupMitigationOutputArgs
- type LookupMitigationResult
- type LookupMitigationResultOutput
- func (o LookupMitigationResultOutput) Auto() pulumi.BoolOutput
- func (LookupMitigationResultOutput) ElementType() reflect.Type
- func (o LookupMitigationResultOutput) Id() pulumi.StringOutput
- func (o LookupMitigationResultOutput) Ip() pulumi.StringOutput
- func (o LookupMitigationResultOutput) IpOnMitigation() pulumi.StringOutput
- func (o LookupMitigationResultOutput) Permanent() pulumi.BoolOutput
- func (o LookupMitigationResultOutput) State() pulumi.StringOutput
- func (o LookupMitigationResultOutput) ToLookupMitigationResultOutput() LookupMitigationResultOutput
- func (o LookupMitigationResultOutput) ToLookupMitigationResultOutputWithContext(ctx context.Context) LookupMitigationResultOutput
- type Mitigation
- type MitigationArgs
- type MitigationArray
- type MitigationArrayInput
- type MitigationArrayOutput
- func (MitigationArrayOutput) ElementType() reflect.Type
- func (o MitigationArrayOutput) Index(i pulumi.IntInput) MitigationOutput
- func (o MitigationArrayOutput) ToMitigationArrayOutput() MitigationArrayOutput
- func (o MitigationArrayOutput) ToMitigationArrayOutputWithContext(ctx context.Context) MitigationArrayOutput
- type MitigationInput
- type MitigationMap
- type MitigationMapInput
- type MitigationMapOutput
- func (MitigationMapOutput) ElementType() reflect.Type
- func (o MitigationMapOutput) MapIndex(k pulumi.StringInput) MitigationOutput
- func (o MitigationMapOutput) ToMitigationMapOutput() MitigationMapOutput
- func (o MitigationMapOutput) ToMitigationMapOutputWithContext(ctx context.Context) MitigationMapOutput
- type MitigationOutput
- func (o MitigationOutput) Auto() pulumi.BoolOutput
- func (MitigationOutput) ElementType() reflect.Type
- func (o MitigationOutput) Ip() pulumi.StringOutput
- func (o MitigationOutput) IpOnMitigation() pulumi.StringOutput
- func (o MitigationOutput) Permanent() pulumi.BoolOutput
- func (o MitigationOutput) State() pulumi.StringOutput
- func (o MitigationOutput) ToMitigationOutput() MitigationOutput
- func (o MitigationOutput) ToMitigationOutputWithContext(ctx context.Context) MitigationOutput
- type MitigationState
- type Move
- type MoveArgs
- type MoveArray
- type MoveArrayInput
- type MoveArrayOutput
- type MoveInput
- type MoveMap
- type MoveMapInput
- type MoveMapOutput
- type MoveOutput
- func (o MoveOutput) CanBeTerminated() pulumi.BoolOutput
- func (o MoveOutput) Country() pulumi.StringOutput
- func (o MoveOutput) Description() pulumi.StringOutput
- func (MoveOutput) ElementType() reflect.Type
- func (o MoveOutput) Ip() pulumi.StringOutput
- func (o MoveOutput) OrganisationId() pulumi.StringOutput
- func (o MoveOutput) RoutedTo() MoveRoutedToOutput
- func (o MoveOutput) ServiceName() pulumi.StringOutput
- func (o MoveOutput) TaskStartDate() pulumi.StringOutput
- func (o MoveOutput) TaskStatus() pulumi.StringOutput
- func (o MoveOutput) ToMoveOutput() MoveOutput
- func (o MoveOutput) ToMoveOutputWithContext(ctx context.Context) MoveOutput
- func (o MoveOutput) Type() pulumi.StringOutput
- type MoveRoutedTo
- type MoveRoutedToArgs
- func (MoveRoutedToArgs) ElementType() reflect.Type
- func (i MoveRoutedToArgs) ToMoveRoutedToOutput() MoveRoutedToOutput
- func (i MoveRoutedToArgs) ToMoveRoutedToOutputWithContext(ctx context.Context) MoveRoutedToOutput
- func (i MoveRoutedToArgs) ToMoveRoutedToPtrOutput() MoveRoutedToPtrOutput
- func (i MoveRoutedToArgs) ToMoveRoutedToPtrOutputWithContext(ctx context.Context) MoveRoutedToPtrOutput
- type MoveRoutedToInput
- type MoveRoutedToOutput
- func (MoveRoutedToOutput) ElementType() reflect.Type
- func (o MoveRoutedToOutput) ServiceName() pulumi.StringOutput
- func (o MoveRoutedToOutput) ToMoveRoutedToOutput() MoveRoutedToOutput
- func (o MoveRoutedToOutput) ToMoveRoutedToOutputWithContext(ctx context.Context) MoveRoutedToOutput
- func (o MoveRoutedToOutput) ToMoveRoutedToPtrOutput() MoveRoutedToPtrOutput
- func (o MoveRoutedToOutput) ToMoveRoutedToPtrOutputWithContext(ctx context.Context) MoveRoutedToPtrOutput
- type MoveRoutedToPtrInput
- type MoveRoutedToPtrOutput
- func (o MoveRoutedToPtrOutput) Elem() MoveRoutedToOutput
- func (MoveRoutedToPtrOutput) ElementType() reflect.Type
- func (o MoveRoutedToPtrOutput) ServiceName() pulumi.StringPtrOutput
- func (o MoveRoutedToPtrOutput) ToMoveRoutedToPtrOutput() MoveRoutedToPtrOutput
- func (o MoveRoutedToPtrOutput) ToMoveRoutedToPtrOutputWithContext(ctx context.Context) MoveRoutedToPtrOutput
- type MoveState
- type Reverse
- type ReverseArgs
- type ReverseArray
- type ReverseArrayInput
- type ReverseArrayOutput
- type ReverseInput
- type ReverseMap
- type ReverseMapInput
- type ReverseMapOutput
- type ReverseOutput
- func (ReverseOutput) ElementType() reflect.Type
- func (o ReverseOutput) Ip() pulumi.StringOutput
- func (o ReverseOutput) ReverseIp() pulumi.StringOutput
- func (o ReverseOutput) ReverseValue() pulumi.StringOutput
- func (o ReverseOutput) ToReverseOutput() ReverseOutput
- func (o ReverseOutput) ToReverseOutputWithContext(ctx context.Context) ReverseOutput
- type ReverseState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firewall ¶ added in v0.42.0
type Firewall struct { pulumi.CustomResourceState Enabled pulumi.BoolOutput `pulumi:"enabled"` // The IP or the CIDR Ip pulumi.StringOutput `pulumi:"ip"` // IPv4 address // * ` enabled ` - Whether firewall should be enabled IpOnFirewall pulumi.StringOutput `pulumi:"ipOnFirewall"` // Current state of your ip on firewall State pulumi.StringOutput `pulumi:"state"` }
Use this resource to manage an IP firewall.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.NewFirewall(ctx, "myfirewall", &Ip.FirewallArgs{ Ip: pulumi.String("XXXXXX"), IpOnFirewall: pulumi.String("XXXXXX"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetFirewall ¶ added in v0.42.0
func GetFirewall(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallState, opts ...pulumi.ResourceOption) (*Firewall, error)
GetFirewall gets an existing Firewall 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 NewFirewall ¶ added in v0.42.0
func NewFirewall(ctx *pulumi.Context, name string, args *FirewallArgs, opts ...pulumi.ResourceOption) (*Firewall, error)
NewFirewall registers a new resource with the given unique name, arguments, and options.
func (*Firewall) ElementType ¶ added in v0.42.0
func (*Firewall) ToFirewallOutput ¶ added in v0.42.0
func (i *Firewall) ToFirewallOutput() FirewallOutput
func (*Firewall) ToFirewallOutputWithContext ¶ added in v0.42.0
func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
type FirewallArgs ¶ added in v0.42.0
type FirewallArgs struct { Enabled pulumi.BoolPtrInput // The IP or the CIDR Ip pulumi.StringInput // IPv4 address // * ` enabled ` - Whether firewall should be enabled IpOnFirewall pulumi.StringInput }
The set of arguments for constructing a Firewall resource.
func (FirewallArgs) ElementType ¶ added in v0.42.0
func (FirewallArgs) ElementType() reflect.Type
type FirewallArray ¶ added in v0.42.0
type FirewallArray []FirewallInput
func (FirewallArray) ElementType ¶ added in v0.42.0
func (FirewallArray) ElementType() reflect.Type
func (FirewallArray) ToFirewallArrayOutput ¶ added in v0.42.0
func (i FirewallArray) ToFirewallArrayOutput() FirewallArrayOutput
func (FirewallArray) ToFirewallArrayOutputWithContext ¶ added in v0.42.0
func (i FirewallArray) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput
type FirewallArrayInput ¶ added in v0.42.0
type FirewallArrayInput interface { pulumi.Input ToFirewallArrayOutput() FirewallArrayOutput ToFirewallArrayOutputWithContext(context.Context) FirewallArrayOutput }
FirewallArrayInput is an input type that accepts FirewallArray and FirewallArrayOutput values. You can construct a concrete instance of `FirewallArrayInput` via:
FirewallArray{ FirewallArgs{...} }
type FirewallArrayOutput ¶ added in v0.42.0
type FirewallArrayOutput struct{ *pulumi.OutputState }
func (FirewallArrayOutput) ElementType ¶ added in v0.42.0
func (FirewallArrayOutput) ElementType() reflect.Type
func (FirewallArrayOutput) Index ¶ added in v0.42.0
func (o FirewallArrayOutput) Index(i pulumi.IntInput) FirewallOutput
func (FirewallArrayOutput) ToFirewallArrayOutput ¶ added in v0.42.0
func (o FirewallArrayOutput) ToFirewallArrayOutput() FirewallArrayOutput
func (FirewallArrayOutput) ToFirewallArrayOutputWithContext ¶ added in v0.42.0
func (o FirewallArrayOutput) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput
type FirewallInput ¶ added in v0.42.0
type FirewallInput interface { pulumi.Input ToFirewallOutput() FirewallOutput ToFirewallOutputWithContext(ctx context.Context) FirewallOutput }
type FirewallMap ¶ added in v0.42.0
type FirewallMap map[string]FirewallInput
func (FirewallMap) ElementType ¶ added in v0.42.0
func (FirewallMap) ElementType() reflect.Type
func (FirewallMap) ToFirewallMapOutput ¶ added in v0.42.0
func (i FirewallMap) ToFirewallMapOutput() FirewallMapOutput
func (FirewallMap) ToFirewallMapOutputWithContext ¶ added in v0.42.0
func (i FirewallMap) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput
type FirewallMapInput ¶ added in v0.42.0
type FirewallMapInput interface { pulumi.Input ToFirewallMapOutput() FirewallMapOutput ToFirewallMapOutputWithContext(context.Context) FirewallMapOutput }
FirewallMapInput is an input type that accepts FirewallMap and FirewallMapOutput values. You can construct a concrete instance of `FirewallMapInput` via:
FirewallMap{ "key": FirewallArgs{...} }
type FirewallMapOutput ¶ added in v0.42.0
type FirewallMapOutput struct{ *pulumi.OutputState }
func (FirewallMapOutput) ElementType ¶ added in v0.42.0
func (FirewallMapOutput) ElementType() reflect.Type
func (FirewallMapOutput) MapIndex ¶ added in v0.42.0
func (o FirewallMapOutput) MapIndex(k pulumi.StringInput) FirewallOutput
func (FirewallMapOutput) ToFirewallMapOutput ¶ added in v0.42.0
func (o FirewallMapOutput) ToFirewallMapOutput() FirewallMapOutput
func (FirewallMapOutput) ToFirewallMapOutputWithContext ¶ added in v0.42.0
func (o FirewallMapOutput) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput
type FirewallOutput ¶ added in v0.42.0
type FirewallOutput struct{ *pulumi.OutputState }
func (FirewallOutput) ElementType ¶ added in v0.42.0
func (FirewallOutput) ElementType() reflect.Type
func (FirewallOutput) Enabled ¶ added in v0.42.0
func (o FirewallOutput) Enabled() pulumi.BoolOutput
func (FirewallOutput) Ip ¶ added in v0.42.0
func (o FirewallOutput) Ip() pulumi.StringOutput
The IP or the CIDR
func (FirewallOutput) IpOnFirewall ¶ added in v0.42.0
func (o FirewallOutput) IpOnFirewall() pulumi.StringOutput
IPv4 address * ` enabled ` - Whether firewall should be enabled
func (FirewallOutput) State ¶ added in v0.42.0
func (o FirewallOutput) State() pulumi.StringOutput
Current state of your ip on firewall
func (FirewallOutput) ToFirewallOutput ¶ added in v0.42.0
func (o FirewallOutput) ToFirewallOutput() FirewallOutput
func (FirewallOutput) ToFirewallOutputWithContext ¶ added in v0.42.0
func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
type FirewallRule ¶ added in v0.42.0
type FirewallRule struct { pulumi.CustomResourceState // Possible values for action (deny|permit) Action pulumi.StringOutput `pulumi:"action"` // Creation date of the rule CreationDate pulumi.StringOutput `pulumi:"creationDate"` // Destination IP for your rule Destination pulumi.StringOutput `pulumi:"destination"` // Destination port for your rule. Only with TCP/UDP protocol DestinationPort pulumi.Float64Output `pulumi:"destinationPort"` // String description of field `destinationPort` DestinationPortDesc pulumi.StringOutput `pulumi:"destinationPortDesc"` // Fragments option Fragments pulumi.BoolOutput `pulumi:"fragments"` // The IP or the CIDR Ip pulumi.StringOutput `pulumi:"ip"` // IPv4 address IpOnFirewall pulumi.StringOutput `pulumi:"ipOnFirewall"` // Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp) Protocol pulumi.StringOutput `pulumi:"protocol"` // Description of the rule Rule pulumi.StringOutput `pulumi:"rule"` // Rule position in the rules array Sequence pulumi.Float64Output `pulumi:"sequence"` // IPv4 CIDR notation (e.g., 192.0.2.0/24) Source pulumi.StringOutput `pulumi:"source"` // Source port for your rule. Only with TCP/UDP protocol SourcePort pulumi.Float64Output `pulumi:"sourcePort"` // String description of field `sourcePort` SourcePortDesc pulumi.StringOutput `pulumi:"sourcePortDesc"` // Current state of your rule State pulumi.StringOutput `pulumi:"state"` // TCP option on your rule (syn|established) TcpOption pulumi.StringOutput `pulumi:"tcpOption"` }
Use this resource to manage a rule on an IP firewall.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.NewFirewallRule(ctx, "myfirewallrule", &Ip.FirewallRuleArgs{ Action: pulumi.String("deny"), Ip: pulumi.String("XXXXXX"), IpOnFirewall: pulumi.String("XXXXXX"), Protocol: pulumi.String("tcp"), Sequence: pulumi.Float64(0), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetFirewallRule ¶ added in v0.42.0
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)
GetFirewallRule gets an existing FirewallRule 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 NewFirewallRule ¶ added in v0.42.0
func NewFirewallRule(ctx *pulumi.Context, name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
func (*FirewallRule) ElementType ¶ added in v0.42.0
func (*FirewallRule) ElementType() reflect.Type
func (*FirewallRule) ToFirewallRuleOutput ¶ added in v0.42.0
func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
func (*FirewallRule) ToFirewallRuleOutputWithContext ¶ added in v0.42.0
func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleArgs ¶ added in v0.42.0
type FirewallRuleArgs struct { // Possible values for action (deny|permit) Action pulumi.StringInput // Destination port for your rule. Only with TCP/UDP protocol DestinationPort pulumi.Float64PtrInput // Fragments option Fragments pulumi.BoolPtrInput // The IP or the CIDR Ip pulumi.StringInput // IPv4 address IpOnFirewall pulumi.StringInput // Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp) Protocol pulumi.StringInput // Rule position in the rules array Sequence pulumi.Float64Input // IPv4 CIDR notation (e.g., 192.0.2.0/24) Source pulumi.StringPtrInput // Source port for your rule. Only with TCP/UDP protocol SourcePort pulumi.Float64PtrInput // TCP option on your rule (syn|established) TcpOption pulumi.StringPtrInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶ added in v0.42.0
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleArray ¶ added in v0.42.0
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶ added in v0.42.0
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶ added in v0.42.0
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶ added in v0.42.0
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleArrayInput ¶ added in v0.42.0
type FirewallRuleArrayInput interface { pulumi.Input ToFirewallRuleArrayOutput() FirewallRuleArrayOutput ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput }
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:
FirewallRuleArray{ FirewallRuleArgs{...} }
type FirewallRuleArrayOutput ¶ added in v0.42.0
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶ added in v0.42.0
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶ added in v0.42.0
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶ added in v0.42.0
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶ added in v0.42.0
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleInput ¶ added in v0.42.0
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput }
type FirewallRuleMap ¶ added in v0.42.0
type FirewallRuleMap map[string]FirewallRuleInput
func (FirewallRuleMap) ElementType ¶ added in v0.42.0
func (FirewallRuleMap) ElementType() reflect.Type
func (FirewallRuleMap) ToFirewallRuleMapOutput ¶ added in v0.42.0
func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext ¶ added in v0.42.0
func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleMapInput ¶ added in v0.42.0
type FirewallRuleMapInput interface { pulumi.Input ToFirewallRuleMapOutput() FirewallRuleMapOutput ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput }
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:
FirewallRuleMap{ "key": FirewallRuleArgs{...} }
type FirewallRuleMapOutput ¶ added in v0.42.0
type FirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FirewallRuleMapOutput) ElementType ¶ added in v0.42.0
func (FirewallRuleMapOutput) ElementType() reflect.Type
func (FirewallRuleMapOutput) MapIndex ¶ added in v0.42.0
func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutput ¶ added in v0.42.0
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext ¶ added in v0.42.0
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleOutput ¶ added in v0.42.0
type FirewallRuleOutput struct{ *pulumi.OutputState }
func (FirewallRuleOutput) Action ¶ added in v0.42.0
func (o FirewallRuleOutput) Action() pulumi.StringOutput
Possible values for action (deny|permit)
func (FirewallRuleOutput) CreationDate ¶ added in v0.42.0
func (o FirewallRuleOutput) CreationDate() pulumi.StringOutput
Creation date of the rule
func (FirewallRuleOutput) Destination ¶ added in v0.42.0
func (o FirewallRuleOutput) Destination() pulumi.StringOutput
Destination IP for your rule
func (FirewallRuleOutput) DestinationPort ¶ added in v0.42.0
func (o FirewallRuleOutput) DestinationPort() pulumi.Float64Output
Destination port for your rule. Only with TCP/UDP protocol
func (FirewallRuleOutput) DestinationPortDesc ¶ added in v0.42.0
func (o FirewallRuleOutput) DestinationPortDesc() pulumi.StringOutput
String description of field `destinationPort`
func (FirewallRuleOutput) ElementType ¶ added in v0.42.0
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) Fragments ¶ added in v0.42.0
func (o FirewallRuleOutput) Fragments() pulumi.BoolOutput
Fragments option
func (FirewallRuleOutput) Ip ¶ added in v0.42.0
func (o FirewallRuleOutput) Ip() pulumi.StringOutput
The IP or the CIDR
func (FirewallRuleOutput) IpOnFirewall ¶ added in v0.42.0
func (o FirewallRuleOutput) IpOnFirewall() pulumi.StringOutput
IPv4 address
func (FirewallRuleOutput) Protocol ¶ added in v0.42.0
func (o FirewallRuleOutput) Protocol() pulumi.StringOutput
Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp)
func (FirewallRuleOutput) Rule ¶ added in v0.42.0
func (o FirewallRuleOutput) Rule() pulumi.StringOutput
Description of the rule
func (FirewallRuleOutput) Sequence ¶ added in v0.42.0
func (o FirewallRuleOutput) Sequence() pulumi.Float64Output
Rule position in the rules array
func (FirewallRuleOutput) Source ¶ added in v0.42.0
func (o FirewallRuleOutput) Source() pulumi.StringOutput
IPv4 CIDR notation (e.g., 192.0.2.0/24)
func (FirewallRuleOutput) SourcePort ¶ added in v0.42.0
func (o FirewallRuleOutput) SourcePort() pulumi.Float64Output
Source port for your rule. Only with TCP/UDP protocol
func (FirewallRuleOutput) SourcePortDesc ¶ added in v0.42.0
func (o FirewallRuleOutput) SourcePortDesc() pulumi.StringOutput
String description of field `sourcePort`
func (FirewallRuleOutput) State ¶ added in v0.42.0
func (o FirewallRuleOutput) State() pulumi.StringOutput
Current state of your rule
func (FirewallRuleOutput) TcpOption ¶ added in v0.42.0
func (o FirewallRuleOutput) TcpOption() pulumi.StringOutput
TCP option on your rule (syn|established)
func (FirewallRuleOutput) ToFirewallRuleOutput ¶ added in v0.42.0
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶ added in v0.42.0
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleState ¶ added in v0.42.0
type FirewallRuleState struct { // Possible values for action (deny|permit) Action pulumi.StringPtrInput // Creation date of the rule CreationDate pulumi.StringPtrInput // Destination IP for your rule Destination pulumi.StringPtrInput // Destination port for your rule. Only with TCP/UDP protocol DestinationPort pulumi.Float64PtrInput // String description of field `destinationPort` DestinationPortDesc pulumi.StringPtrInput // Fragments option Fragments pulumi.BoolPtrInput // The IP or the CIDR Ip pulumi.StringPtrInput // IPv4 address IpOnFirewall pulumi.StringPtrInput // Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp) Protocol pulumi.StringPtrInput // Description of the rule Rule pulumi.StringPtrInput // Rule position in the rules array Sequence pulumi.Float64PtrInput // IPv4 CIDR notation (e.g., 192.0.2.0/24) Source pulumi.StringPtrInput // Source port for your rule. Only with TCP/UDP protocol SourcePort pulumi.Float64PtrInput // String description of field `sourcePort` SourcePortDesc pulumi.StringPtrInput // Current state of your rule State pulumi.StringPtrInput // TCP option on your rule (syn|established) TcpOption pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶ added in v0.42.0
func (FirewallRuleState) ElementType() reflect.Type
type FirewallState ¶ added in v0.42.0
type FirewallState struct { Enabled pulumi.BoolPtrInput // The IP or the CIDR Ip pulumi.StringPtrInput // IPv4 address // * ` enabled ` - Whether firewall should be enabled IpOnFirewall pulumi.StringPtrInput // Current state of your ip on firewall State pulumi.StringPtrInput }
func (FirewallState) ElementType ¶ added in v0.42.0
func (FirewallState) ElementType() reflect.Type
type GetServiceArgs ¶
type GetServiceArgs struct { // The service name ServiceName string `pulumi:"serviceName"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶
type GetServiceOutputArgs struct { // The service name ServiceName pulumi.StringInput `pulumi:"serviceName"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶
func (GetServiceOutputArgs) ElementType() reflect.Type
type GetServiceResult ¶
type GetServiceResult struct { // can be terminated CanBeTerminated bool `pulumi:"canBeTerminated"` // country Country string `pulumi:"country"` // Custom description on your ip Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ip block Ip string `pulumi:"ip"` // IP block organisation Id OrganisationId string `pulumi:"organisationId"` // Routage information RoutedTos []GetServiceRoutedTo `pulumi:"routedTos"` // Service where ip is routed to ServiceName string `pulumi:"serviceName"` // Possible values for ip type ( "cdn", "cloud", "dedicated", "failover", "hostedSsl", "housing", "loadBalancing", "mail", "overthebox", "pcc", "pci", "private", "vpn", "vps", "vrack", "xdsl") Type string `pulumi:"type"` }
A collection of values returned by getService.
func GetService ¶
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Use this data source to retrieve information about an IP service.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.GetService(ctx, &ip.GetServiceArgs{ ServiceName: "XXXXXX", }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type GetServiceResultOutput ¶
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) CanBeTerminated ¶
func (o GetServiceResultOutput) CanBeTerminated() pulumi.BoolOutput
can be terminated
func (GetServiceResultOutput) Country ¶
func (o GetServiceResultOutput) Country() pulumi.StringOutput
country
func (GetServiceResultOutput) Description ¶
func (o GetServiceResultOutput) Description() pulumi.StringOutput
Custom description on your ip
func (GetServiceResultOutput) ElementType ¶
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Id ¶
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Ip ¶
func (o GetServiceResultOutput) Ip() pulumi.StringOutput
ip block
func (GetServiceResultOutput) OrganisationId ¶
func (o GetServiceResultOutput) OrganisationId() pulumi.StringOutput
IP block organisation Id
func (GetServiceResultOutput) RoutedTos ¶
func (o GetServiceResultOutput) RoutedTos() GetServiceRoutedToArrayOutput
Routage information
func (GetServiceResultOutput) ServiceName ¶
func (o GetServiceResultOutput) ServiceName() pulumi.StringOutput
Service where ip is routed to
func (GetServiceResultOutput) ToGetServiceResultOutput ¶
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
func (GetServiceResultOutput) Type ¶
func (o GetServiceResultOutput) Type() pulumi.StringOutput
Possible values for ip type ( "cdn", "cloud", "dedicated", "failover", "hostedSsl", "housing", "loadBalancing", "mail", "overthebox", "pcc", "pci", "private", "vpn", "vps", "vrack", "xdsl")
type GetServiceRoutedTo ¶
type GetServiceRoutedTo struct { // The service name ServiceName string `pulumi:"serviceName"` }
type GetServiceRoutedToArgs ¶
type GetServiceRoutedToArgs struct { // The service name ServiceName pulumi.StringInput `pulumi:"serviceName"` }
func (GetServiceRoutedToArgs) ElementType ¶
func (GetServiceRoutedToArgs) ElementType() reflect.Type
func (GetServiceRoutedToArgs) ToGetServiceRoutedToOutput ¶
func (i GetServiceRoutedToArgs) ToGetServiceRoutedToOutput() GetServiceRoutedToOutput
func (GetServiceRoutedToArgs) ToGetServiceRoutedToOutputWithContext ¶
func (i GetServiceRoutedToArgs) ToGetServiceRoutedToOutputWithContext(ctx context.Context) GetServiceRoutedToOutput
type GetServiceRoutedToArray ¶
type GetServiceRoutedToArray []GetServiceRoutedToInput
func (GetServiceRoutedToArray) ElementType ¶
func (GetServiceRoutedToArray) ElementType() reflect.Type
func (GetServiceRoutedToArray) ToGetServiceRoutedToArrayOutput ¶
func (i GetServiceRoutedToArray) ToGetServiceRoutedToArrayOutput() GetServiceRoutedToArrayOutput
func (GetServiceRoutedToArray) ToGetServiceRoutedToArrayOutputWithContext ¶
func (i GetServiceRoutedToArray) ToGetServiceRoutedToArrayOutputWithContext(ctx context.Context) GetServiceRoutedToArrayOutput
type GetServiceRoutedToArrayInput ¶
type GetServiceRoutedToArrayInput interface { pulumi.Input ToGetServiceRoutedToArrayOutput() GetServiceRoutedToArrayOutput ToGetServiceRoutedToArrayOutputWithContext(context.Context) GetServiceRoutedToArrayOutput }
GetServiceRoutedToArrayInput is an input type that accepts GetServiceRoutedToArray and GetServiceRoutedToArrayOutput values. You can construct a concrete instance of `GetServiceRoutedToArrayInput` via:
GetServiceRoutedToArray{ GetServiceRoutedToArgs{...} }
type GetServiceRoutedToArrayOutput ¶
type GetServiceRoutedToArrayOutput struct{ *pulumi.OutputState }
func (GetServiceRoutedToArrayOutput) ElementType ¶
func (GetServiceRoutedToArrayOutput) ElementType() reflect.Type
func (GetServiceRoutedToArrayOutput) Index ¶
func (o GetServiceRoutedToArrayOutput) Index(i pulumi.IntInput) GetServiceRoutedToOutput
func (GetServiceRoutedToArrayOutput) ToGetServiceRoutedToArrayOutput ¶
func (o GetServiceRoutedToArrayOutput) ToGetServiceRoutedToArrayOutput() GetServiceRoutedToArrayOutput
func (GetServiceRoutedToArrayOutput) ToGetServiceRoutedToArrayOutputWithContext ¶
func (o GetServiceRoutedToArrayOutput) ToGetServiceRoutedToArrayOutputWithContext(ctx context.Context) GetServiceRoutedToArrayOutput
type GetServiceRoutedToInput ¶
type GetServiceRoutedToInput interface { pulumi.Input ToGetServiceRoutedToOutput() GetServiceRoutedToOutput ToGetServiceRoutedToOutputWithContext(context.Context) GetServiceRoutedToOutput }
GetServiceRoutedToInput is an input type that accepts GetServiceRoutedToArgs and GetServiceRoutedToOutput values. You can construct a concrete instance of `GetServiceRoutedToInput` via:
GetServiceRoutedToArgs{...}
type GetServiceRoutedToOutput ¶
type GetServiceRoutedToOutput struct{ *pulumi.OutputState }
func (GetServiceRoutedToOutput) ElementType ¶
func (GetServiceRoutedToOutput) ElementType() reflect.Type
func (GetServiceRoutedToOutput) ServiceName ¶
func (o GetServiceRoutedToOutput) ServiceName() pulumi.StringOutput
The service name
func (GetServiceRoutedToOutput) ToGetServiceRoutedToOutput ¶
func (o GetServiceRoutedToOutput) ToGetServiceRoutedToOutput() GetServiceRoutedToOutput
func (GetServiceRoutedToOutput) ToGetServiceRoutedToOutputWithContext ¶
func (o GetServiceRoutedToOutput) ToGetServiceRoutedToOutputWithContext(ctx context.Context) GetServiceRoutedToOutput
type IpService ¶
type IpService struct { pulumi.CustomResourceState // can be terminated CanBeTerminated pulumi.BoolOutput `pulumi:"canBeTerminated"` // country Country pulumi.StringOutput `pulumi:"country"` // Custom description on your ip. Description pulumi.StringOutput `pulumi:"description"` // ip block Ip pulumi.StringOutput `pulumi:"ip"` // Details about an Order Orders IpServiceOrderArrayOutput `pulumi:"orders"` // IP block organisation Id OrganisationId pulumi.StringOutput `pulumi:"organisationId"` // OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` // Ovh payment mode // // Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used. PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"` // Product Plan to order Plan IpServicePlanOutput `pulumi:"plan"` // Product Plan to order PlanOptions IpServicePlanOptionArrayOutput `pulumi:"planOptions"` // Routage information RoutedTos IpServiceRoutedToArrayOutput `pulumi:"routedTos"` // service name ServiceName pulumi.StringOutput `pulumi:"serviceName"` // Possible values for ip type Type pulumi.StringOutput `pulumi:"type"` }
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/ovh/pulumi-ovh/sdk/go/ovh/Me" "github.com/ovh/pulumi-ovh/sdk/go/ovh/Order" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Me.GetMe(ctx, nil, nil) if err != nil { return err } mycart, err := Order.GetCart(ctx, &order.GetCartArgs{ OvhSubsidiary: "fr", }, nil) if err != nil { return err } ipblockCartProductPlan, err := Order.GetCartProductPlan(ctx, &order.GetCartProductPlanArgs{ CartId: mycart.Id, PriceCapacity: "renew", Product: "ip", PlanCode: "ip-v4-s30-ripe", }, nil) if err != nil { return err } _, err = Ip.NewIpService(ctx, "ipblockIpService", &Ip.IpServiceArgs{ OvhSubsidiary: pulumi.String(mycart.OvhSubsidiary), Description: pulumi.String("my ip block"), Plan: &ip.IpServicePlanArgs{ Duration: pulumi.String(ipblockCartProductPlan.SelectedPrices[0].Duration), PlanCode: pulumi.String(ipblockCartProductPlan.PlanCode), PricingMode: pulumi.String(ipblockCartProductPlan.SelectedPrices[0].PricingMode), Configurations: ip.IpServicePlanConfigurationArray{ &ip.IpServicePlanConfigurationArgs{ Label: pulumi.String("country"), Value: pulumi.String("FR"), }, }, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetIpService ¶
func GetIpService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IpServiceState, opts ...pulumi.ResourceOption) (*IpService, error)
GetIpService gets an existing IpService 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 NewIpService ¶
func NewIpService(ctx *pulumi.Context, name string, args *IpServiceArgs, opts ...pulumi.ResourceOption) (*IpService, error)
NewIpService registers a new resource with the given unique name, arguments, and options.
func (*IpService) ElementType ¶
func (*IpService) ToIpServiceOutput ¶
func (i *IpService) ToIpServiceOutput() IpServiceOutput
func (*IpService) ToIpServiceOutputWithContext ¶
func (i *IpService) ToIpServiceOutputWithContext(ctx context.Context) IpServiceOutput
type IpServiceArgs ¶
type IpServiceArgs struct { // Custom description on your ip. Description pulumi.StringPtrInput // OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) OvhSubsidiary pulumi.StringInput // Ovh payment mode // // Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used. PaymentMean pulumi.StringPtrInput // Product Plan to order Plan IpServicePlanInput // Product Plan to order PlanOptions IpServicePlanOptionArrayInput }
The set of arguments for constructing a IpService resource.
func (IpServiceArgs) ElementType ¶
func (IpServiceArgs) ElementType() reflect.Type
type IpServiceArray ¶
type IpServiceArray []IpServiceInput
func (IpServiceArray) ElementType ¶
func (IpServiceArray) ElementType() reflect.Type
func (IpServiceArray) ToIpServiceArrayOutput ¶
func (i IpServiceArray) ToIpServiceArrayOutput() IpServiceArrayOutput
func (IpServiceArray) ToIpServiceArrayOutputWithContext ¶
func (i IpServiceArray) ToIpServiceArrayOutputWithContext(ctx context.Context) IpServiceArrayOutput
type IpServiceArrayInput ¶
type IpServiceArrayInput interface { pulumi.Input ToIpServiceArrayOutput() IpServiceArrayOutput ToIpServiceArrayOutputWithContext(context.Context) IpServiceArrayOutput }
IpServiceArrayInput is an input type that accepts IpServiceArray and IpServiceArrayOutput values. You can construct a concrete instance of `IpServiceArrayInput` via:
IpServiceArray{ IpServiceArgs{...} }
type IpServiceArrayOutput ¶
type IpServiceArrayOutput struct{ *pulumi.OutputState }
func (IpServiceArrayOutput) ElementType ¶
func (IpServiceArrayOutput) ElementType() reflect.Type
func (IpServiceArrayOutput) Index ¶
func (o IpServiceArrayOutput) Index(i pulumi.IntInput) IpServiceOutput
func (IpServiceArrayOutput) ToIpServiceArrayOutput ¶
func (o IpServiceArrayOutput) ToIpServiceArrayOutput() IpServiceArrayOutput
func (IpServiceArrayOutput) ToIpServiceArrayOutputWithContext ¶
func (o IpServiceArrayOutput) ToIpServiceArrayOutputWithContext(ctx context.Context) IpServiceArrayOutput
type IpServiceInput ¶
type IpServiceInput interface { pulumi.Input ToIpServiceOutput() IpServiceOutput ToIpServiceOutputWithContext(ctx context.Context) IpServiceOutput }
type IpServiceMap ¶
type IpServiceMap map[string]IpServiceInput
func (IpServiceMap) ElementType ¶
func (IpServiceMap) ElementType() reflect.Type
func (IpServiceMap) ToIpServiceMapOutput ¶
func (i IpServiceMap) ToIpServiceMapOutput() IpServiceMapOutput
func (IpServiceMap) ToIpServiceMapOutputWithContext ¶
func (i IpServiceMap) ToIpServiceMapOutputWithContext(ctx context.Context) IpServiceMapOutput
type IpServiceMapInput ¶
type IpServiceMapInput interface { pulumi.Input ToIpServiceMapOutput() IpServiceMapOutput ToIpServiceMapOutputWithContext(context.Context) IpServiceMapOutput }
IpServiceMapInput is an input type that accepts IpServiceMap and IpServiceMapOutput values. You can construct a concrete instance of `IpServiceMapInput` via:
IpServiceMap{ "key": IpServiceArgs{...} }
type IpServiceMapOutput ¶
type IpServiceMapOutput struct{ *pulumi.OutputState }
func (IpServiceMapOutput) ElementType ¶
func (IpServiceMapOutput) ElementType() reflect.Type
func (IpServiceMapOutput) MapIndex ¶
func (o IpServiceMapOutput) MapIndex(k pulumi.StringInput) IpServiceOutput
func (IpServiceMapOutput) ToIpServiceMapOutput ¶
func (o IpServiceMapOutput) ToIpServiceMapOutput() IpServiceMapOutput
func (IpServiceMapOutput) ToIpServiceMapOutputWithContext ¶
func (o IpServiceMapOutput) ToIpServiceMapOutputWithContext(ctx context.Context) IpServiceMapOutput
type IpServiceOrder ¶
type IpServiceOrder struct { // date Date *string `pulumi:"date"` // Information about a Bill entry Details []IpServiceOrderDetail `pulumi:"details"` // expiration date ExpirationDate *string `pulumi:"expirationDate"` // order id OrderId *int `pulumi:"orderId"` }
type IpServiceOrderArgs ¶
type IpServiceOrderArgs struct { // date Date pulumi.StringPtrInput `pulumi:"date"` // Information about a Bill entry Details IpServiceOrderDetailArrayInput `pulumi:"details"` // expiration date ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` // order id OrderId pulumi.IntPtrInput `pulumi:"orderId"` }
func (IpServiceOrderArgs) ElementType ¶
func (IpServiceOrderArgs) ElementType() reflect.Type
func (IpServiceOrderArgs) ToIpServiceOrderOutput ¶
func (i IpServiceOrderArgs) ToIpServiceOrderOutput() IpServiceOrderOutput
func (IpServiceOrderArgs) ToIpServiceOrderOutputWithContext ¶
func (i IpServiceOrderArgs) ToIpServiceOrderOutputWithContext(ctx context.Context) IpServiceOrderOutput
type IpServiceOrderArray ¶
type IpServiceOrderArray []IpServiceOrderInput
func (IpServiceOrderArray) ElementType ¶
func (IpServiceOrderArray) ElementType() reflect.Type
func (IpServiceOrderArray) ToIpServiceOrderArrayOutput ¶
func (i IpServiceOrderArray) ToIpServiceOrderArrayOutput() IpServiceOrderArrayOutput
func (IpServiceOrderArray) ToIpServiceOrderArrayOutputWithContext ¶
func (i IpServiceOrderArray) ToIpServiceOrderArrayOutputWithContext(ctx context.Context) IpServiceOrderArrayOutput
type IpServiceOrderArrayInput ¶
type IpServiceOrderArrayInput interface { pulumi.Input ToIpServiceOrderArrayOutput() IpServiceOrderArrayOutput ToIpServiceOrderArrayOutputWithContext(context.Context) IpServiceOrderArrayOutput }
IpServiceOrderArrayInput is an input type that accepts IpServiceOrderArray and IpServiceOrderArrayOutput values. You can construct a concrete instance of `IpServiceOrderArrayInput` via:
IpServiceOrderArray{ IpServiceOrderArgs{...} }
type IpServiceOrderArrayOutput ¶
type IpServiceOrderArrayOutput struct{ *pulumi.OutputState }
func (IpServiceOrderArrayOutput) ElementType ¶
func (IpServiceOrderArrayOutput) ElementType() reflect.Type
func (IpServiceOrderArrayOutput) Index ¶
func (o IpServiceOrderArrayOutput) Index(i pulumi.IntInput) IpServiceOrderOutput
func (IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutput ¶
func (o IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutput() IpServiceOrderArrayOutput
func (IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutputWithContext ¶
func (o IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutputWithContext(ctx context.Context) IpServiceOrderArrayOutput
type IpServiceOrderDetail ¶
type IpServiceOrderDetailArgs ¶
type IpServiceOrderDetailArgs struct { // Custom description on your ip. Description pulumi.StringPtrInput `pulumi:"description"` // expiration date Domain pulumi.StringPtrInput `pulumi:"domain"` // order detail id OrderDetailId pulumi.IntPtrInput `pulumi:"orderDetailId"` // quantity Quantity pulumi.StringPtrInput `pulumi:"quantity"` }
func (IpServiceOrderDetailArgs) ElementType ¶
func (IpServiceOrderDetailArgs) ElementType() reflect.Type
func (IpServiceOrderDetailArgs) ToIpServiceOrderDetailOutput ¶
func (i IpServiceOrderDetailArgs) ToIpServiceOrderDetailOutput() IpServiceOrderDetailOutput
func (IpServiceOrderDetailArgs) ToIpServiceOrderDetailOutputWithContext ¶
func (i IpServiceOrderDetailArgs) ToIpServiceOrderDetailOutputWithContext(ctx context.Context) IpServiceOrderDetailOutput
type IpServiceOrderDetailArray ¶
type IpServiceOrderDetailArray []IpServiceOrderDetailInput
func (IpServiceOrderDetailArray) ElementType ¶
func (IpServiceOrderDetailArray) ElementType() reflect.Type
func (IpServiceOrderDetailArray) ToIpServiceOrderDetailArrayOutput ¶
func (i IpServiceOrderDetailArray) ToIpServiceOrderDetailArrayOutput() IpServiceOrderDetailArrayOutput
func (IpServiceOrderDetailArray) ToIpServiceOrderDetailArrayOutputWithContext ¶
func (i IpServiceOrderDetailArray) ToIpServiceOrderDetailArrayOutputWithContext(ctx context.Context) IpServiceOrderDetailArrayOutput
type IpServiceOrderDetailArrayInput ¶
type IpServiceOrderDetailArrayInput interface { pulumi.Input ToIpServiceOrderDetailArrayOutput() IpServiceOrderDetailArrayOutput ToIpServiceOrderDetailArrayOutputWithContext(context.Context) IpServiceOrderDetailArrayOutput }
IpServiceOrderDetailArrayInput is an input type that accepts IpServiceOrderDetailArray and IpServiceOrderDetailArrayOutput values. You can construct a concrete instance of `IpServiceOrderDetailArrayInput` via:
IpServiceOrderDetailArray{ IpServiceOrderDetailArgs{...} }
type IpServiceOrderDetailArrayOutput ¶
type IpServiceOrderDetailArrayOutput struct{ *pulumi.OutputState }
func (IpServiceOrderDetailArrayOutput) ElementType ¶
func (IpServiceOrderDetailArrayOutput) ElementType() reflect.Type
func (IpServiceOrderDetailArrayOutput) Index ¶
func (o IpServiceOrderDetailArrayOutput) Index(i pulumi.IntInput) IpServiceOrderDetailOutput
func (IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutput ¶
func (o IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutput() IpServiceOrderDetailArrayOutput
func (IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutputWithContext ¶
func (o IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutputWithContext(ctx context.Context) IpServiceOrderDetailArrayOutput
type IpServiceOrderDetailInput ¶
type IpServiceOrderDetailInput interface { pulumi.Input ToIpServiceOrderDetailOutput() IpServiceOrderDetailOutput ToIpServiceOrderDetailOutputWithContext(context.Context) IpServiceOrderDetailOutput }
IpServiceOrderDetailInput is an input type that accepts IpServiceOrderDetailArgs and IpServiceOrderDetailOutput values. You can construct a concrete instance of `IpServiceOrderDetailInput` via:
IpServiceOrderDetailArgs{...}
type IpServiceOrderDetailOutput ¶
type IpServiceOrderDetailOutput struct{ *pulumi.OutputState }
func (IpServiceOrderDetailOutput) Description ¶
func (o IpServiceOrderDetailOutput) Description() pulumi.StringPtrOutput
Custom description on your ip.
func (IpServiceOrderDetailOutput) Domain ¶
func (o IpServiceOrderDetailOutput) Domain() pulumi.StringPtrOutput
expiration date
func (IpServiceOrderDetailOutput) ElementType ¶
func (IpServiceOrderDetailOutput) ElementType() reflect.Type
func (IpServiceOrderDetailOutput) OrderDetailId ¶
func (o IpServiceOrderDetailOutput) OrderDetailId() pulumi.IntPtrOutput
order detail id
func (IpServiceOrderDetailOutput) Quantity ¶
func (o IpServiceOrderDetailOutput) Quantity() pulumi.StringPtrOutput
quantity
func (IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutput ¶
func (o IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutput() IpServiceOrderDetailOutput
func (IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutputWithContext ¶
func (o IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutputWithContext(ctx context.Context) IpServiceOrderDetailOutput
type IpServiceOrderInput ¶
type IpServiceOrderInput interface { pulumi.Input ToIpServiceOrderOutput() IpServiceOrderOutput ToIpServiceOrderOutputWithContext(context.Context) IpServiceOrderOutput }
IpServiceOrderInput is an input type that accepts IpServiceOrderArgs and IpServiceOrderOutput values. You can construct a concrete instance of `IpServiceOrderInput` via:
IpServiceOrderArgs{...}
type IpServiceOrderOutput ¶
type IpServiceOrderOutput struct{ *pulumi.OutputState }
func (IpServiceOrderOutput) Details ¶
func (o IpServiceOrderOutput) Details() IpServiceOrderDetailArrayOutput
Information about a Bill entry
func (IpServiceOrderOutput) ElementType ¶
func (IpServiceOrderOutput) ElementType() reflect.Type
func (IpServiceOrderOutput) ExpirationDate ¶
func (o IpServiceOrderOutput) ExpirationDate() pulumi.StringPtrOutput
expiration date
func (IpServiceOrderOutput) OrderId ¶
func (o IpServiceOrderOutput) OrderId() pulumi.IntPtrOutput
order id
func (IpServiceOrderOutput) ToIpServiceOrderOutput ¶
func (o IpServiceOrderOutput) ToIpServiceOrderOutput() IpServiceOrderOutput
func (IpServiceOrderOutput) ToIpServiceOrderOutputWithContext ¶
func (o IpServiceOrderOutput) ToIpServiceOrderOutputWithContext(ctx context.Context) IpServiceOrderOutput
type IpServiceOutput ¶
type IpServiceOutput struct{ *pulumi.OutputState }
func (IpServiceOutput) CanBeTerminated ¶
func (o IpServiceOutput) CanBeTerminated() pulumi.BoolOutput
can be terminated
func (IpServiceOutput) Description ¶
func (o IpServiceOutput) Description() pulumi.StringOutput
Custom description on your ip.
func (IpServiceOutput) ElementType ¶
func (IpServiceOutput) ElementType() reflect.Type
func (IpServiceOutput) Orders ¶
func (o IpServiceOutput) Orders() IpServiceOrderArrayOutput
Details about an Order
func (IpServiceOutput) OrganisationId ¶
func (o IpServiceOutput) OrganisationId() pulumi.StringOutput
IP block organisation Id
func (IpServiceOutput) OvhSubsidiary ¶
func (o IpServiceOutput) OvhSubsidiary() pulumi.StringOutput
OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json)
func (IpServiceOutput) PaymentMean
deprecated
func (o IpServiceOutput) PaymentMean() pulumi.StringPtrOutput
Ovh payment mode
Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used.
func (IpServiceOutput) Plan ¶
func (o IpServiceOutput) Plan() IpServicePlanOutput
Product Plan to order
func (IpServiceOutput) PlanOptions ¶
func (o IpServiceOutput) PlanOptions() IpServicePlanOptionArrayOutput
Product Plan to order
func (IpServiceOutput) RoutedTos ¶
func (o IpServiceOutput) RoutedTos() IpServiceRoutedToArrayOutput
Routage information
func (IpServiceOutput) ServiceName ¶
func (o IpServiceOutput) ServiceName() pulumi.StringOutput
service name
func (IpServiceOutput) ToIpServiceOutput ¶
func (o IpServiceOutput) ToIpServiceOutput() IpServiceOutput
func (IpServiceOutput) ToIpServiceOutputWithContext ¶
func (o IpServiceOutput) ToIpServiceOutputWithContext(ctx context.Context) IpServiceOutput
func (IpServiceOutput) Type ¶
func (o IpServiceOutput) Type() pulumi.StringOutput
Possible values for ip type
type IpServicePlan ¶
type IpServicePlan struct { // Catalog name CatalogName *string `pulumi:"catalogName"` // Representation of a configuration item for personalizing product Configurations []IpServicePlanConfiguration `pulumi:"configurations"` // duration Duration string `pulumi:"duration"` // Plan code PlanCode string `pulumi:"planCode"` // Pricing model identifier PricingMode string `pulumi:"pricingMode"` }
type IpServicePlanArgs ¶
type IpServicePlanArgs struct { // Catalog name CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` // Representation of a configuration item for personalizing product Configurations IpServicePlanConfigurationArrayInput `pulumi:"configurations"` // duration Duration pulumi.StringInput `pulumi:"duration"` // Plan code PlanCode pulumi.StringInput `pulumi:"planCode"` // Pricing model identifier PricingMode pulumi.StringInput `pulumi:"pricingMode"` }
func (IpServicePlanArgs) ElementType ¶
func (IpServicePlanArgs) ElementType() reflect.Type
func (IpServicePlanArgs) ToIpServicePlanOutput ¶
func (i IpServicePlanArgs) ToIpServicePlanOutput() IpServicePlanOutput
func (IpServicePlanArgs) ToIpServicePlanOutputWithContext ¶
func (i IpServicePlanArgs) ToIpServicePlanOutputWithContext(ctx context.Context) IpServicePlanOutput
func (IpServicePlanArgs) ToIpServicePlanPtrOutput ¶
func (i IpServicePlanArgs) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput
func (IpServicePlanArgs) ToIpServicePlanPtrOutputWithContext ¶
func (i IpServicePlanArgs) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput
type IpServicePlanConfigurationArgs ¶
type IpServicePlanConfigurationArgs struct { // Identifier of the resource Label pulumi.StringInput `pulumi:"label"` // Path to the resource in API.OVH.COM Value pulumi.StringInput `pulumi:"value"` }
func (IpServicePlanConfigurationArgs) ElementType ¶
func (IpServicePlanConfigurationArgs) ElementType() reflect.Type
func (IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutput ¶
func (i IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput
func (IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutputWithContext ¶
func (i IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutputWithContext(ctx context.Context) IpServicePlanConfigurationOutput
type IpServicePlanConfigurationArray ¶
type IpServicePlanConfigurationArray []IpServicePlanConfigurationInput
func (IpServicePlanConfigurationArray) ElementType ¶
func (IpServicePlanConfigurationArray) ElementType() reflect.Type
func (IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutput ¶
func (i IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput
func (IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutputWithContext ¶
func (i IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanConfigurationArrayOutput
type IpServicePlanConfigurationArrayInput ¶
type IpServicePlanConfigurationArrayInput interface { pulumi.Input ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput ToIpServicePlanConfigurationArrayOutputWithContext(context.Context) IpServicePlanConfigurationArrayOutput }
IpServicePlanConfigurationArrayInput is an input type that accepts IpServicePlanConfigurationArray and IpServicePlanConfigurationArrayOutput values. You can construct a concrete instance of `IpServicePlanConfigurationArrayInput` via:
IpServicePlanConfigurationArray{ IpServicePlanConfigurationArgs{...} }
type IpServicePlanConfigurationArrayOutput ¶
type IpServicePlanConfigurationArrayOutput struct{ *pulumi.OutputState }
func (IpServicePlanConfigurationArrayOutput) ElementType ¶
func (IpServicePlanConfigurationArrayOutput) ElementType() reflect.Type
func (IpServicePlanConfigurationArrayOutput) Index ¶
func (o IpServicePlanConfigurationArrayOutput) Index(i pulumi.IntInput) IpServicePlanConfigurationOutput
func (IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutput ¶
func (o IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput
func (IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutputWithContext ¶
func (o IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanConfigurationArrayOutput
type IpServicePlanConfigurationInput ¶
type IpServicePlanConfigurationInput interface { pulumi.Input ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput ToIpServicePlanConfigurationOutputWithContext(context.Context) IpServicePlanConfigurationOutput }
IpServicePlanConfigurationInput is an input type that accepts IpServicePlanConfigurationArgs and IpServicePlanConfigurationOutput values. You can construct a concrete instance of `IpServicePlanConfigurationInput` via:
IpServicePlanConfigurationArgs{...}
type IpServicePlanConfigurationOutput ¶
type IpServicePlanConfigurationOutput struct{ *pulumi.OutputState }
func (IpServicePlanConfigurationOutput) ElementType ¶
func (IpServicePlanConfigurationOutput) ElementType() reflect.Type
func (IpServicePlanConfigurationOutput) Label ¶
func (o IpServicePlanConfigurationOutput) Label() pulumi.StringOutput
Identifier of the resource
func (IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutput ¶
func (o IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput
func (IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutputWithContext ¶
func (o IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutputWithContext(ctx context.Context) IpServicePlanConfigurationOutput
func (IpServicePlanConfigurationOutput) Value ¶
func (o IpServicePlanConfigurationOutput) Value() pulumi.StringOutput
Path to the resource in API.OVH.COM
type IpServicePlanInput ¶
type IpServicePlanInput interface { pulumi.Input ToIpServicePlanOutput() IpServicePlanOutput ToIpServicePlanOutputWithContext(context.Context) IpServicePlanOutput }
IpServicePlanInput is an input type that accepts IpServicePlanArgs and IpServicePlanOutput values. You can construct a concrete instance of `IpServicePlanInput` via:
IpServicePlanArgs{...}
type IpServicePlanOption ¶
type IpServicePlanOption struct { // Catalog name CatalogName *string `pulumi:"catalogName"` // Representation of a configuration item for personalizing product Configurations []IpServicePlanOptionConfiguration `pulumi:"configurations"` // duration Duration string `pulumi:"duration"` // Plan code PlanCode string `pulumi:"planCode"` // Pricing model identifier PricingMode string `pulumi:"pricingMode"` }
type IpServicePlanOptionArgs ¶
type IpServicePlanOptionArgs struct { // Catalog name CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` // Representation of a configuration item for personalizing product Configurations IpServicePlanOptionConfigurationArrayInput `pulumi:"configurations"` // duration Duration pulumi.StringInput `pulumi:"duration"` // Plan code PlanCode pulumi.StringInput `pulumi:"planCode"` // Pricing model identifier PricingMode pulumi.StringInput `pulumi:"pricingMode"` }
func (IpServicePlanOptionArgs) ElementType ¶
func (IpServicePlanOptionArgs) ElementType() reflect.Type
func (IpServicePlanOptionArgs) ToIpServicePlanOptionOutput ¶
func (i IpServicePlanOptionArgs) ToIpServicePlanOptionOutput() IpServicePlanOptionOutput
func (IpServicePlanOptionArgs) ToIpServicePlanOptionOutputWithContext ¶
func (i IpServicePlanOptionArgs) ToIpServicePlanOptionOutputWithContext(ctx context.Context) IpServicePlanOptionOutput
type IpServicePlanOptionArray ¶
type IpServicePlanOptionArray []IpServicePlanOptionInput
func (IpServicePlanOptionArray) ElementType ¶
func (IpServicePlanOptionArray) ElementType() reflect.Type
func (IpServicePlanOptionArray) ToIpServicePlanOptionArrayOutput ¶
func (i IpServicePlanOptionArray) ToIpServicePlanOptionArrayOutput() IpServicePlanOptionArrayOutput
func (IpServicePlanOptionArray) ToIpServicePlanOptionArrayOutputWithContext ¶
func (i IpServicePlanOptionArray) ToIpServicePlanOptionArrayOutputWithContext(ctx context.Context) IpServicePlanOptionArrayOutput
type IpServicePlanOptionArrayInput ¶
type IpServicePlanOptionArrayInput interface { pulumi.Input ToIpServicePlanOptionArrayOutput() IpServicePlanOptionArrayOutput ToIpServicePlanOptionArrayOutputWithContext(context.Context) IpServicePlanOptionArrayOutput }
IpServicePlanOptionArrayInput is an input type that accepts IpServicePlanOptionArray and IpServicePlanOptionArrayOutput values. You can construct a concrete instance of `IpServicePlanOptionArrayInput` via:
IpServicePlanOptionArray{ IpServicePlanOptionArgs{...} }
type IpServicePlanOptionArrayOutput ¶
type IpServicePlanOptionArrayOutput struct{ *pulumi.OutputState }
func (IpServicePlanOptionArrayOutput) ElementType ¶
func (IpServicePlanOptionArrayOutput) ElementType() reflect.Type
func (IpServicePlanOptionArrayOutput) Index ¶
func (o IpServicePlanOptionArrayOutput) Index(i pulumi.IntInput) IpServicePlanOptionOutput
func (IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutput ¶
func (o IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutput() IpServicePlanOptionArrayOutput
func (IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutputWithContext ¶
func (o IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutputWithContext(ctx context.Context) IpServicePlanOptionArrayOutput
type IpServicePlanOptionConfigurationArgs ¶
type IpServicePlanOptionConfigurationArgs struct { // Identifier of the resource Label pulumi.StringInput `pulumi:"label"` // Path to the resource in API.OVH.COM Value pulumi.StringInput `pulumi:"value"` }
func (IpServicePlanOptionConfigurationArgs) ElementType ¶
func (IpServicePlanOptionConfigurationArgs) ElementType() reflect.Type
func (IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutput ¶
func (i IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput
func (IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutputWithContext ¶
func (i IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationOutput
type IpServicePlanOptionConfigurationArray ¶
type IpServicePlanOptionConfigurationArray []IpServicePlanOptionConfigurationInput
func (IpServicePlanOptionConfigurationArray) ElementType ¶
func (IpServicePlanOptionConfigurationArray) ElementType() reflect.Type
func (IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutput ¶
func (i IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput
func (IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutputWithContext ¶
func (i IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationArrayOutput
type IpServicePlanOptionConfigurationArrayInput ¶
type IpServicePlanOptionConfigurationArrayInput interface { pulumi.Input ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput ToIpServicePlanOptionConfigurationArrayOutputWithContext(context.Context) IpServicePlanOptionConfigurationArrayOutput }
IpServicePlanOptionConfigurationArrayInput is an input type that accepts IpServicePlanOptionConfigurationArray and IpServicePlanOptionConfigurationArrayOutput values. You can construct a concrete instance of `IpServicePlanOptionConfigurationArrayInput` via:
IpServicePlanOptionConfigurationArray{ IpServicePlanOptionConfigurationArgs{...} }
type IpServicePlanOptionConfigurationArrayOutput ¶
type IpServicePlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState }
func (IpServicePlanOptionConfigurationArrayOutput) ElementType ¶
func (IpServicePlanOptionConfigurationArrayOutput) ElementType() reflect.Type
func (IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutput ¶
func (o IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput
func (IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutputWithContext ¶
func (o IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationArrayOutput
type IpServicePlanOptionConfigurationInput ¶
type IpServicePlanOptionConfigurationInput interface { pulumi.Input ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput ToIpServicePlanOptionConfigurationOutputWithContext(context.Context) IpServicePlanOptionConfigurationOutput }
IpServicePlanOptionConfigurationInput is an input type that accepts IpServicePlanOptionConfigurationArgs and IpServicePlanOptionConfigurationOutput values. You can construct a concrete instance of `IpServicePlanOptionConfigurationInput` via:
IpServicePlanOptionConfigurationArgs{...}
type IpServicePlanOptionConfigurationOutput ¶
type IpServicePlanOptionConfigurationOutput struct{ *pulumi.OutputState }
func (IpServicePlanOptionConfigurationOutput) ElementType ¶
func (IpServicePlanOptionConfigurationOutput) ElementType() reflect.Type
func (IpServicePlanOptionConfigurationOutput) Label ¶
func (o IpServicePlanOptionConfigurationOutput) Label() pulumi.StringOutput
Identifier of the resource
func (IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutput ¶
func (o IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput
func (IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutputWithContext ¶
func (o IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationOutput
func (IpServicePlanOptionConfigurationOutput) Value ¶
func (o IpServicePlanOptionConfigurationOutput) Value() pulumi.StringOutput
Path to the resource in API.OVH.COM
type IpServicePlanOptionInput ¶
type IpServicePlanOptionInput interface { pulumi.Input ToIpServicePlanOptionOutput() IpServicePlanOptionOutput ToIpServicePlanOptionOutputWithContext(context.Context) IpServicePlanOptionOutput }
IpServicePlanOptionInput is an input type that accepts IpServicePlanOptionArgs and IpServicePlanOptionOutput values. You can construct a concrete instance of `IpServicePlanOptionInput` via:
IpServicePlanOptionArgs{...}
type IpServicePlanOptionOutput ¶
type IpServicePlanOptionOutput struct{ *pulumi.OutputState }
func (IpServicePlanOptionOutput) CatalogName ¶
func (o IpServicePlanOptionOutput) CatalogName() pulumi.StringPtrOutput
Catalog name
func (IpServicePlanOptionOutput) Configurations ¶
func (o IpServicePlanOptionOutput) Configurations() IpServicePlanOptionConfigurationArrayOutput
Representation of a configuration item for personalizing product
func (IpServicePlanOptionOutput) Duration ¶
func (o IpServicePlanOptionOutput) Duration() pulumi.StringOutput
duration
func (IpServicePlanOptionOutput) ElementType ¶
func (IpServicePlanOptionOutput) ElementType() reflect.Type
func (IpServicePlanOptionOutput) PlanCode ¶
func (o IpServicePlanOptionOutput) PlanCode() pulumi.StringOutput
Plan code
func (IpServicePlanOptionOutput) PricingMode ¶
func (o IpServicePlanOptionOutput) PricingMode() pulumi.StringOutput
Pricing model identifier
func (IpServicePlanOptionOutput) ToIpServicePlanOptionOutput ¶
func (o IpServicePlanOptionOutput) ToIpServicePlanOptionOutput() IpServicePlanOptionOutput
func (IpServicePlanOptionOutput) ToIpServicePlanOptionOutputWithContext ¶
func (o IpServicePlanOptionOutput) ToIpServicePlanOptionOutputWithContext(ctx context.Context) IpServicePlanOptionOutput
type IpServicePlanOutput ¶
type IpServicePlanOutput struct{ *pulumi.OutputState }
func (IpServicePlanOutput) CatalogName ¶
func (o IpServicePlanOutput) CatalogName() pulumi.StringPtrOutput
Catalog name
func (IpServicePlanOutput) Configurations ¶
func (o IpServicePlanOutput) Configurations() IpServicePlanConfigurationArrayOutput
Representation of a configuration item for personalizing product
func (IpServicePlanOutput) Duration ¶
func (o IpServicePlanOutput) Duration() pulumi.StringOutput
duration
func (IpServicePlanOutput) ElementType ¶
func (IpServicePlanOutput) ElementType() reflect.Type
func (IpServicePlanOutput) PlanCode ¶
func (o IpServicePlanOutput) PlanCode() pulumi.StringOutput
Plan code
func (IpServicePlanOutput) PricingMode ¶
func (o IpServicePlanOutput) PricingMode() pulumi.StringOutput
Pricing model identifier
func (IpServicePlanOutput) ToIpServicePlanOutput ¶
func (o IpServicePlanOutput) ToIpServicePlanOutput() IpServicePlanOutput
func (IpServicePlanOutput) ToIpServicePlanOutputWithContext ¶
func (o IpServicePlanOutput) ToIpServicePlanOutputWithContext(ctx context.Context) IpServicePlanOutput
func (IpServicePlanOutput) ToIpServicePlanPtrOutput ¶
func (o IpServicePlanOutput) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput
func (IpServicePlanOutput) ToIpServicePlanPtrOutputWithContext ¶
func (o IpServicePlanOutput) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput
type IpServicePlanPtrInput ¶
type IpServicePlanPtrInput interface { pulumi.Input ToIpServicePlanPtrOutput() IpServicePlanPtrOutput ToIpServicePlanPtrOutputWithContext(context.Context) IpServicePlanPtrOutput }
IpServicePlanPtrInput is an input type that accepts IpServicePlanArgs, IpServicePlanPtr and IpServicePlanPtrOutput values. You can construct a concrete instance of `IpServicePlanPtrInput` via:
IpServicePlanArgs{...} or: nil
func IpServicePlanPtr ¶
func IpServicePlanPtr(v *IpServicePlanArgs) IpServicePlanPtrInput
type IpServicePlanPtrOutput ¶
type IpServicePlanPtrOutput struct{ *pulumi.OutputState }
func (IpServicePlanPtrOutput) CatalogName ¶
func (o IpServicePlanPtrOutput) CatalogName() pulumi.StringPtrOutput
Catalog name
func (IpServicePlanPtrOutput) Configurations ¶
func (o IpServicePlanPtrOutput) Configurations() IpServicePlanConfigurationArrayOutput
Representation of a configuration item for personalizing product
func (IpServicePlanPtrOutput) Duration ¶
func (o IpServicePlanPtrOutput) Duration() pulumi.StringPtrOutput
duration
func (IpServicePlanPtrOutput) Elem ¶
func (o IpServicePlanPtrOutput) Elem() IpServicePlanOutput
func (IpServicePlanPtrOutput) ElementType ¶
func (IpServicePlanPtrOutput) ElementType() reflect.Type
func (IpServicePlanPtrOutput) PlanCode ¶
func (o IpServicePlanPtrOutput) PlanCode() pulumi.StringPtrOutput
Plan code
func (IpServicePlanPtrOutput) PricingMode ¶
func (o IpServicePlanPtrOutput) PricingMode() pulumi.StringPtrOutput
Pricing model identifier
func (IpServicePlanPtrOutput) ToIpServicePlanPtrOutput ¶
func (o IpServicePlanPtrOutput) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput
func (IpServicePlanPtrOutput) ToIpServicePlanPtrOutputWithContext ¶
func (o IpServicePlanPtrOutput) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput
type IpServiceRoutedTo ¶
type IpServiceRoutedTo struct { // service name ServiceName *string `pulumi:"serviceName"` }
type IpServiceRoutedToArgs ¶
type IpServiceRoutedToArgs struct { // service name ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` }
func (IpServiceRoutedToArgs) ElementType ¶
func (IpServiceRoutedToArgs) ElementType() reflect.Type
func (IpServiceRoutedToArgs) ToIpServiceRoutedToOutput ¶
func (i IpServiceRoutedToArgs) ToIpServiceRoutedToOutput() IpServiceRoutedToOutput
func (IpServiceRoutedToArgs) ToIpServiceRoutedToOutputWithContext ¶
func (i IpServiceRoutedToArgs) ToIpServiceRoutedToOutputWithContext(ctx context.Context) IpServiceRoutedToOutput
type IpServiceRoutedToArray ¶
type IpServiceRoutedToArray []IpServiceRoutedToInput
func (IpServiceRoutedToArray) ElementType ¶
func (IpServiceRoutedToArray) ElementType() reflect.Type
func (IpServiceRoutedToArray) ToIpServiceRoutedToArrayOutput ¶
func (i IpServiceRoutedToArray) ToIpServiceRoutedToArrayOutput() IpServiceRoutedToArrayOutput
func (IpServiceRoutedToArray) ToIpServiceRoutedToArrayOutputWithContext ¶
func (i IpServiceRoutedToArray) ToIpServiceRoutedToArrayOutputWithContext(ctx context.Context) IpServiceRoutedToArrayOutput
type IpServiceRoutedToArrayInput ¶
type IpServiceRoutedToArrayInput interface { pulumi.Input ToIpServiceRoutedToArrayOutput() IpServiceRoutedToArrayOutput ToIpServiceRoutedToArrayOutputWithContext(context.Context) IpServiceRoutedToArrayOutput }
IpServiceRoutedToArrayInput is an input type that accepts IpServiceRoutedToArray and IpServiceRoutedToArrayOutput values. You can construct a concrete instance of `IpServiceRoutedToArrayInput` via:
IpServiceRoutedToArray{ IpServiceRoutedToArgs{...} }
type IpServiceRoutedToArrayOutput ¶
type IpServiceRoutedToArrayOutput struct{ *pulumi.OutputState }
func (IpServiceRoutedToArrayOutput) ElementType ¶
func (IpServiceRoutedToArrayOutput) ElementType() reflect.Type
func (IpServiceRoutedToArrayOutput) Index ¶
func (o IpServiceRoutedToArrayOutput) Index(i pulumi.IntInput) IpServiceRoutedToOutput
func (IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutput ¶
func (o IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutput() IpServiceRoutedToArrayOutput
func (IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutputWithContext ¶
func (o IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutputWithContext(ctx context.Context) IpServiceRoutedToArrayOutput
type IpServiceRoutedToInput ¶
type IpServiceRoutedToInput interface { pulumi.Input ToIpServiceRoutedToOutput() IpServiceRoutedToOutput ToIpServiceRoutedToOutputWithContext(context.Context) IpServiceRoutedToOutput }
IpServiceRoutedToInput is an input type that accepts IpServiceRoutedToArgs and IpServiceRoutedToOutput values. You can construct a concrete instance of `IpServiceRoutedToInput` via:
IpServiceRoutedToArgs{...}
type IpServiceRoutedToOutput ¶
type IpServiceRoutedToOutput struct{ *pulumi.OutputState }
func (IpServiceRoutedToOutput) ElementType ¶
func (IpServiceRoutedToOutput) ElementType() reflect.Type
func (IpServiceRoutedToOutput) ServiceName ¶
func (o IpServiceRoutedToOutput) ServiceName() pulumi.StringPtrOutput
service name
func (IpServiceRoutedToOutput) ToIpServiceRoutedToOutput ¶
func (o IpServiceRoutedToOutput) ToIpServiceRoutedToOutput() IpServiceRoutedToOutput
func (IpServiceRoutedToOutput) ToIpServiceRoutedToOutputWithContext ¶
func (o IpServiceRoutedToOutput) ToIpServiceRoutedToOutputWithContext(ctx context.Context) IpServiceRoutedToOutput
type IpServiceState ¶
type IpServiceState struct { // can be terminated CanBeTerminated pulumi.BoolPtrInput // country Country pulumi.StringPtrInput // Custom description on your ip. Description pulumi.StringPtrInput // ip block Ip pulumi.StringPtrInput // Details about an Order Orders IpServiceOrderArrayInput // IP block organisation Id OrganisationId pulumi.StringPtrInput // OVHcloud Subsidiary. Country of OVHcloud legal entity you'll be billed by. List of supported subsidiaries available on API at [/1.0/me.json under `models.nichandle.OvhSubsidiaryEnum`](https://eu.api.ovh.com/1.0/me.json) OvhSubsidiary pulumi.StringPtrInput // Ovh payment mode // // Deprecated: This field is not anymore used since the API has been deprecated in favor of /payment/mean. Now, the default payment mean is used. PaymentMean pulumi.StringPtrInput // Product Plan to order Plan IpServicePlanPtrInput // Product Plan to order PlanOptions IpServicePlanOptionArrayInput // Routage information RoutedTos IpServiceRoutedToArrayInput // service name ServiceName pulumi.StringPtrInput // Possible values for ip type Type pulumi.StringPtrInput }
func (IpServiceState) ElementType ¶
func (IpServiceState) ElementType() reflect.Type
type LookupFirewallArgs ¶ added in v0.42.0
type LookupFirewallArgs struct { // The IP or the CIDR Ip string `pulumi:"ip"` // IPv4 address IpOnFirewall string `pulumi:"ipOnFirewall"` }
A collection of arguments for invoking getFirewall.
type LookupFirewallOutputArgs ¶ added in v0.42.0
type LookupFirewallOutputArgs struct { // The IP or the CIDR Ip pulumi.StringInput `pulumi:"ip"` // IPv4 address IpOnFirewall pulumi.StringInput `pulumi:"ipOnFirewall"` }
A collection of arguments for invoking getFirewall.
func (LookupFirewallOutputArgs) ElementType ¶ added in v0.42.0
func (LookupFirewallOutputArgs) ElementType() reflect.Type
type LookupFirewallResult ¶ added in v0.42.0
type LookupFirewallResult struct { Enabled bool `pulumi:"enabled"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The IP or the CIDR Ip string `pulumi:"ip"` // IPv4 address // * ` enabled ` - Whether firewall is enabled IpOnFirewall string `pulumi:"ipOnFirewall"` // Current state of your ip on firewall State string `pulumi:"state"` }
A collection of values returned by getFirewall.
func LookupFirewall ¶ added in v0.42.0
func LookupFirewall(ctx *pulumi.Context, args *LookupFirewallArgs, opts ...pulumi.InvokeOption) (*LookupFirewallResult, error)
Use this data source to retrieve information about an IP firewall.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.GetFirewall(ctx, &ip.GetFirewallArgs{ Ip: "XXXXXX", IpOnFirewall: "XXXXXX", }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type LookupFirewallResultOutput ¶ added in v0.42.0
type LookupFirewallResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFirewall.
func LookupFirewallOutput ¶ added in v0.42.0
func LookupFirewallOutput(ctx *pulumi.Context, args LookupFirewallOutputArgs, opts ...pulumi.InvokeOption) LookupFirewallResultOutput
func (LookupFirewallResultOutput) ElementType ¶ added in v0.42.0
func (LookupFirewallResultOutput) ElementType() reflect.Type
func (LookupFirewallResultOutput) Enabled ¶ added in v0.42.0
func (o LookupFirewallResultOutput) Enabled() pulumi.BoolOutput
func (LookupFirewallResultOutput) Id ¶ added in v0.42.0
func (o LookupFirewallResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFirewallResultOutput) Ip ¶ added in v0.42.0
func (o LookupFirewallResultOutput) Ip() pulumi.StringOutput
The IP or the CIDR
func (LookupFirewallResultOutput) IpOnFirewall ¶ added in v0.42.0
func (o LookupFirewallResultOutput) IpOnFirewall() pulumi.StringOutput
IPv4 address * ` enabled ` - Whether firewall is enabled
func (LookupFirewallResultOutput) State ¶ added in v0.42.0
func (o LookupFirewallResultOutput) State() pulumi.StringOutput
Current state of your ip on firewall
func (LookupFirewallResultOutput) ToLookupFirewallResultOutput ¶ added in v0.42.0
func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput
func (LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext ¶ added in v0.42.0
func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput
type LookupFirewallRuleArgs ¶ added in v0.42.0
type LookupFirewallRuleArgs struct { // The IP or the CIDR Ip string `pulumi:"ip"` // IPv4 address IpOnFirewall string `pulumi:"ipOnFirewall"` // Rule position in the rules array Sequence float64 `pulumi:"sequence"` }
A collection of arguments for invoking getFirewallRule.
type LookupFirewallRuleOutputArgs ¶ added in v0.42.0
type LookupFirewallRuleOutputArgs struct { // The IP or the CIDR Ip pulumi.StringInput `pulumi:"ip"` // IPv4 address IpOnFirewall pulumi.StringInput `pulumi:"ipOnFirewall"` // Rule position in the rules array Sequence pulumi.Float64Input `pulumi:"sequence"` }
A collection of arguments for invoking getFirewallRule.
func (LookupFirewallRuleOutputArgs) ElementType ¶ added in v0.42.0
func (LookupFirewallRuleOutputArgs) ElementType() reflect.Type
type LookupFirewallRuleResult ¶ added in v0.42.0
type LookupFirewallRuleResult struct { // Possible values for action (deny|permit) Action string `pulumi:"action"` // Creation date of the rule CreationDate string `pulumi:"creationDate"` // Destination IP for your rule Destination string `pulumi:"destination"` // Destination port for your rule. Only with TCP/UDP protocol DestinationPort string `pulumi:"destinationPort"` // Fragments option Fragments bool `pulumi:"fragments"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The IP or the CIDR Ip string `pulumi:"ip"` // IPv4 address IpOnFirewall string `pulumi:"ipOnFirewall"` // Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp) Protocol string `pulumi:"protocol"` // Description of the rule Rule string `pulumi:"rule"` // Rule position in the rules array Sequence float64 `pulumi:"sequence"` // IPv4 CIDR notation (e.g., 192.0.2.0/24) Source string `pulumi:"source"` // Source port for your rule. Only with TCP/UDP protocol SourcePort string `pulumi:"sourcePort"` // Current state of your rule State string `pulumi:"state"` // TCP option on your rule (syn|established) TcpOption string `pulumi:"tcpOption"` }
A collection of values returned by getFirewallRule.
func LookupFirewallRule ¶ added in v0.42.0
func LookupFirewallRule(ctx *pulumi.Context, args *LookupFirewallRuleArgs, opts ...pulumi.InvokeOption) (*LookupFirewallRuleResult, error)
Use this data source to retrieve information about a rule on an IP firewall.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.GetFirewallRule(ctx, &ip.GetFirewallRuleArgs{ Ip: "XXXXXX", IpOnFirewall: "XXXXXX", Sequence: 0, }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type LookupFirewallRuleResultOutput ¶ added in v0.42.0
type LookupFirewallRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFirewallRule.
func LookupFirewallRuleOutput ¶ added in v0.42.0
func LookupFirewallRuleOutput(ctx *pulumi.Context, args LookupFirewallRuleOutputArgs, opts ...pulumi.InvokeOption) LookupFirewallRuleResultOutput
func (LookupFirewallRuleResultOutput) Action ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Action() pulumi.StringOutput
Possible values for action (deny|permit)
func (LookupFirewallRuleResultOutput) CreationDate ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) CreationDate() pulumi.StringOutput
Creation date of the rule
func (LookupFirewallRuleResultOutput) Destination ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Destination() pulumi.StringOutput
Destination IP for your rule
func (LookupFirewallRuleResultOutput) DestinationPort ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) DestinationPort() pulumi.StringOutput
Destination port for your rule. Only with TCP/UDP protocol
func (LookupFirewallRuleResultOutput) ElementType ¶ added in v0.42.0
func (LookupFirewallRuleResultOutput) ElementType() reflect.Type
func (LookupFirewallRuleResultOutput) Fragments ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Fragments() pulumi.BoolOutput
Fragments option
func (LookupFirewallRuleResultOutput) Id ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFirewallRuleResultOutput) Ip ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Ip() pulumi.StringOutput
The IP or the CIDR
func (LookupFirewallRuleResultOutput) IpOnFirewall ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) IpOnFirewall() pulumi.StringOutput
IPv4 address
func (LookupFirewallRuleResultOutput) Protocol ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Protocol() pulumi.StringOutput
Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp)
func (LookupFirewallRuleResultOutput) Rule ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Rule() pulumi.StringOutput
Description of the rule
func (LookupFirewallRuleResultOutput) Sequence ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Sequence() pulumi.Float64Output
Rule position in the rules array
func (LookupFirewallRuleResultOutput) Source ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) Source() pulumi.StringOutput
IPv4 CIDR notation (e.g., 192.0.2.0/24)
func (LookupFirewallRuleResultOutput) SourcePort ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) SourcePort() pulumi.StringOutput
Source port for your rule. Only with TCP/UDP protocol
func (LookupFirewallRuleResultOutput) State ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) State() pulumi.StringOutput
Current state of your rule
func (LookupFirewallRuleResultOutput) TcpOption ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) TcpOption() pulumi.StringOutput
TCP option on your rule (syn|established)
func (LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutput ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutput() LookupFirewallRuleResultOutput
func (LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutputWithContext ¶ added in v0.42.0
func (o LookupFirewallRuleResultOutput) ToLookupFirewallRuleResultOutputWithContext(ctx context.Context) LookupFirewallRuleResultOutput
type LookupMitigationArgs ¶ added in v0.42.0
type LookupMitigationArgs struct { // The IP or the CIDR Ip string `pulumi:"ip"` // IPv4 address IpOnMitigation string `pulumi:"ipOnMitigation"` }
A collection of arguments for invoking getMitigation.
type LookupMitigationOutputArgs ¶ added in v0.42.0
type LookupMitigationOutputArgs struct { // The IP or the CIDR Ip pulumi.StringInput `pulumi:"ip"` // IPv4 address IpOnMitigation pulumi.StringInput `pulumi:"ipOnMitigation"` }
A collection of arguments for invoking getMitigation.
func (LookupMitigationOutputArgs) ElementType ¶ added in v0.42.0
func (LookupMitigationOutputArgs) ElementType() reflect.Type
type LookupMitigationResult ¶ added in v0.42.0
type LookupMitigationResult struct { // Set on true if the IP is on auto-mitigation Auto bool `pulumi:"auto"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The IP or the CIDR Ip string `pulumi:"ip"` // IPv4 address // * ` permanent ` - Set on true if the IP is on permanent mitigation IpOnMitigation string `pulumi:"ipOnMitigation"` Permanent bool `pulumi:"permanent"` // Current state of the IP on mitigation State string `pulumi:"state"` }
A collection of values returned by getMitigation.
func LookupMitigation ¶ added in v0.42.0
func LookupMitigation(ctx *pulumi.Context, args *LookupMitigationArgs, opts ...pulumi.InvokeOption) (*LookupMitigationResult, error)
Use this resource to retrieve information about an IP permanent mitigation.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.GetMitigation(ctx, &ip.GetMitigationArgs{ Ip: "XXXXXX", IpOnMitigation: "XXXXXX", }, nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
type LookupMitigationResultOutput ¶ added in v0.42.0
type LookupMitigationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMitigation.
func LookupMitigationOutput ¶ added in v0.42.0
func LookupMitigationOutput(ctx *pulumi.Context, args LookupMitigationOutputArgs, opts ...pulumi.InvokeOption) LookupMitigationResultOutput
func (LookupMitigationResultOutput) Auto ¶ added in v0.42.0
func (o LookupMitigationResultOutput) Auto() pulumi.BoolOutput
Set on true if the IP is on auto-mitigation
func (LookupMitigationResultOutput) ElementType ¶ added in v0.42.0
func (LookupMitigationResultOutput) ElementType() reflect.Type
func (LookupMitigationResultOutput) Id ¶ added in v0.42.0
func (o LookupMitigationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupMitigationResultOutput) Ip ¶ added in v0.42.0
func (o LookupMitigationResultOutput) Ip() pulumi.StringOutput
The IP or the CIDR
func (LookupMitigationResultOutput) IpOnMitigation ¶ added in v0.42.0
func (o LookupMitigationResultOutput) IpOnMitigation() pulumi.StringOutput
IPv4 address * ` permanent ` - Set on true if the IP is on permanent mitigation
func (LookupMitigationResultOutput) Permanent ¶ added in v0.42.0
func (o LookupMitigationResultOutput) Permanent() pulumi.BoolOutput
func (LookupMitigationResultOutput) State ¶ added in v0.42.0
func (o LookupMitigationResultOutput) State() pulumi.StringOutput
Current state of the IP on mitigation
func (LookupMitigationResultOutput) ToLookupMitigationResultOutput ¶ added in v0.42.0
func (o LookupMitigationResultOutput) ToLookupMitigationResultOutput() LookupMitigationResultOutput
func (LookupMitigationResultOutput) ToLookupMitigationResultOutputWithContext ¶ added in v0.42.0
func (o LookupMitigationResultOutput) ToLookupMitigationResultOutputWithContext(ctx context.Context) LookupMitigationResultOutput
type Mitigation ¶ added in v0.42.0
type Mitigation struct { pulumi.CustomResourceState // Set on true if the IP is on auto-mitigation Auto pulumi.BoolOutput `pulumi:"auto"` // The IP or the CIDR Ip pulumi.StringOutput `pulumi:"ip"` // IPv4 address // * ` permanent ` - Set on true if the IP is on permanent mitigation IpOnMitigation pulumi.StringOutput `pulumi:"ipOnMitigation"` // Set on true if your ip is on permanent mitigation Permanent pulumi.BoolOutput `pulumi:"permanent"` // Current state of the IP on mitigation State pulumi.StringOutput `pulumi:"state"` }
Use this resource to manage an IP permanent mitigation.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.NewMitigation(ctx, "mitigation", &Ip.MitigationArgs{ Ip: pulumi.String("XXXXXX"), IpOnMitigation: pulumi.String("XXXXXX"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetMitigation ¶ added in v0.42.0
func GetMitigation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MitigationState, opts ...pulumi.ResourceOption) (*Mitigation, error)
GetMitigation gets an existing Mitigation 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 NewMitigation ¶ added in v0.42.0
func NewMitigation(ctx *pulumi.Context, name string, args *MitigationArgs, opts ...pulumi.ResourceOption) (*Mitigation, error)
NewMitigation registers a new resource with the given unique name, arguments, and options.
func (*Mitigation) ElementType ¶ added in v0.42.0
func (*Mitigation) ElementType() reflect.Type
func (*Mitigation) ToMitigationOutput ¶ added in v0.42.0
func (i *Mitigation) ToMitigationOutput() MitigationOutput
func (*Mitigation) ToMitigationOutputWithContext ¶ added in v0.42.0
func (i *Mitigation) ToMitigationOutputWithContext(ctx context.Context) MitigationOutput
type MitigationArgs ¶ added in v0.42.0
type MitigationArgs struct { // The IP or the CIDR Ip pulumi.StringInput // IPv4 address // * ` permanent ` - Set on true if the IP is on permanent mitigation IpOnMitigation pulumi.StringInput // Set on true if your ip is on permanent mitigation Permanent pulumi.BoolPtrInput }
The set of arguments for constructing a Mitigation resource.
func (MitigationArgs) ElementType ¶ added in v0.42.0
func (MitigationArgs) ElementType() reflect.Type
type MitigationArray ¶ added in v0.42.0
type MitigationArray []MitigationInput
func (MitigationArray) ElementType ¶ added in v0.42.0
func (MitigationArray) ElementType() reflect.Type
func (MitigationArray) ToMitigationArrayOutput ¶ added in v0.42.0
func (i MitigationArray) ToMitigationArrayOutput() MitigationArrayOutput
func (MitigationArray) ToMitigationArrayOutputWithContext ¶ added in v0.42.0
func (i MitigationArray) ToMitigationArrayOutputWithContext(ctx context.Context) MitigationArrayOutput
type MitigationArrayInput ¶ added in v0.42.0
type MitigationArrayInput interface { pulumi.Input ToMitigationArrayOutput() MitigationArrayOutput ToMitigationArrayOutputWithContext(context.Context) MitigationArrayOutput }
MitigationArrayInput is an input type that accepts MitigationArray and MitigationArrayOutput values. You can construct a concrete instance of `MitigationArrayInput` via:
MitigationArray{ MitigationArgs{...} }
type MitigationArrayOutput ¶ added in v0.42.0
type MitigationArrayOutput struct{ *pulumi.OutputState }
func (MitigationArrayOutput) ElementType ¶ added in v0.42.0
func (MitigationArrayOutput) ElementType() reflect.Type
func (MitigationArrayOutput) Index ¶ added in v0.42.0
func (o MitigationArrayOutput) Index(i pulumi.IntInput) MitigationOutput
func (MitigationArrayOutput) ToMitigationArrayOutput ¶ added in v0.42.0
func (o MitigationArrayOutput) ToMitigationArrayOutput() MitigationArrayOutput
func (MitigationArrayOutput) ToMitigationArrayOutputWithContext ¶ added in v0.42.0
func (o MitigationArrayOutput) ToMitigationArrayOutputWithContext(ctx context.Context) MitigationArrayOutput
type MitigationInput ¶ added in v0.42.0
type MitigationInput interface { pulumi.Input ToMitigationOutput() MitigationOutput ToMitigationOutputWithContext(ctx context.Context) MitigationOutput }
type MitigationMap ¶ added in v0.42.0
type MitigationMap map[string]MitigationInput
func (MitigationMap) ElementType ¶ added in v0.42.0
func (MitigationMap) ElementType() reflect.Type
func (MitigationMap) ToMitigationMapOutput ¶ added in v0.42.0
func (i MitigationMap) ToMitigationMapOutput() MitigationMapOutput
func (MitigationMap) ToMitigationMapOutputWithContext ¶ added in v0.42.0
func (i MitigationMap) ToMitigationMapOutputWithContext(ctx context.Context) MitigationMapOutput
type MitigationMapInput ¶ added in v0.42.0
type MitigationMapInput interface { pulumi.Input ToMitigationMapOutput() MitigationMapOutput ToMitigationMapOutputWithContext(context.Context) MitigationMapOutput }
MitigationMapInput is an input type that accepts MitigationMap and MitigationMapOutput values. You can construct a concrete instance of `MitigationMapInput` via:
MitigationMap{ "key": MitigationArgs{...} }
type MitigationMapOutput ¶ added in v0.42.0
type MitigationMapOutput struct{ *pulumi.OutputState }
func (MitigationMapOutput) ElementType ¶ added in v0.42.0
func (MitigationMapOutput) ElementType() reflect.Type
func (MitigationMapOutput) MapIndex ¶ added in v0.42.0
func (o MitigationMapOutput) MapIndex(k pulumi.StringInput) MitigationOutput
func (MitigationMapOutput) ToMitigationMapOutput ¶ added in v0.42.0
func (o MitigationMapOutput) ToMitigationMapOutput() MitigationMapOutput
func (MitigationMapOutput) ToMitigationMapOutputWithContext ¶ added in v0.42.0
func (o MitigationMapOutput) ToMitigationMapOutputWithContext(ctx context.Context) MitigationMapOutput
type MitigationOutput ¶ added in v0.42.0
type MitigationOutput struct{ *pulumi.OutputState }
func (MitigationOutput) Auto ¶ added in v0.42.0
func (o MitigationOutput) Auto() pulumi.BoolOutput
Set on true if the IP is on auto-mitigation
func (MitigationOutput) ElementType ¶ added in v0.42.0
func (MitigationOutput) ElementType() reflect.Type
func (MitigationOutput) Ip ¶ added in v0.42.0
func (o MitigationOutput) Ip() pulumi.StringOutput
The IP or the CIDR
func (MitigationOutput) IpOnMitigation ¶ added in v0.42.0
func (o MitigationOutput) IpOnMitigation() pulumi.StringOutput
IPv4 address * ` permanent ` - Set on true if the IP is on permanent mitigation
func (MitigationOutput) Permanent ¶ added in v0.42.0
func (o MitigationOutput) Permanent() pulumi.BoolOutput
Set on true if your ip is on permanent mitigation
func (MitigationOutput) State ¶ added in v0.42.0
func (o MitigationOutput) State() pulumi.StringOutput
Current state of the IP on mitigation
func (MitigationOutput) ToMitigationOutput ¶ added in v0.42.0
func (o MitigationOutput) ToMitigationOutput() MitigationOutput
func (MitigationOutput) ToMitigationOutputWithContext ¶ added in v0.42.0
func (o MitigationOutput) ToMitigationOutputWithContext(ctx context.Context) MitigationOutput
type MitigationState ¶ added in v0.42.0
type MitigationState struct { // Set on true if the IP is on auto-mitigation Auto pulumi.BoolPtrInput // The IP or the CIDR Ip pulumi.StringPtrInput // IPv4 address // * ` permanent ` - Set on true if the IP is on permanent mitigation IpOnMitigation pulumi.StringPtrInput // Set on true if your ip is on permanent mitigation Permanent pulumi.BoolPtrInput // Current state of the IP on mitigation State pulumi.StringPtrInput }
func (MitigationState) ElementType ¶ added in v0.42.0
func (MitigationState) ElementType() reflect.Type
type Move ¶ added in v0.40.1
type Move struct { pulumi.CustomResourceState // Whether IP service can be terminated CanBeTerminated pulumi.BoolOutput `pulumi:"canBeTerminated"` // Country Country pulumi.StringOutput `pulumi:"country"` // Description attached to the IP Description pulumi.StringOutput `pulumi:"description"` // IP block that we want to attach to a different service Ip pulumi.StringOutput `pulumi:"ip"` // IP block organisation Id OrganisationId pulumi.StringOutput `pulumi:"organisationId"` // Service to route the IP to. If null, the IP will be [parked](https://api.ovh.com/console/#/ip/%7Bip%7D/park~POST) // instead of [moved](https://api.ovh.com/console/#/ip/%7Bip%7D/move~POST) RoutedTo MoveRoutedToOutput `pulumi:"routedTo"` // Name of the service to route the IP to. IP will be parked if this value is an empty string ServiceName pulumi.StringOutput `pulumi:"serviceName"` // Starting date and time field of the current IP task that is in charge of changing the service the IP is attached to TaskStartDate pulumi.StringOutput `pulumi:"taskStartDate"` // Status field of the current IP task that is in charge of changing the service the IP is attached to TaskStatus pulumi.StringOutput `pulumi:"taskStatus"` // Possible values for ip type Type pulumi.StringOutput `pulumi:"type"` }
Moves a given IP to a different service, or inversely, parks it if empty service is given
## Move IP `1.2.3.4` to service loadbalancer-XXXXX
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.NewMove(ctx, "moveIpToLoadBalancerXxxxx", &Ip.MoveArgs{ Ip: pulumi.String("1.2.3.4"), RoutedTo: &ip.MoveRoutedToArgs{ ServiceName: pulumi.String("loadbalancer-XXXXX"), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Park IP/Detach IP `1.2.3.4` from any service
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Ip.NewMove(ctx, "parkIp", &Ip.MoveArgs{ Ip: pulumi.String("1.2.3.4"), RoutedTo: &ip.MoveRoutedToArgs{ ServiceName: pulumi.String(""), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetMove ¶ added in v0.40.1
func GetMove(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MoveState, opts ...pulumi.ResourceOption) (*Move, error)
GetMove gets an existing Move 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 NewMove ¶ added in v0.40.1
func NewMove(ctx *pulumi.Context, name string, args *MoveArgs, opts ...pulumi.ResourceOption) (*Move, error)
NewMove registers a new resource with the given unique name, arguments, and options.
func (*Move) ElementType ¶ added in v0.40.1
func (*Move) ToMoveOutput ¶ added in v0.40.1
func (i *Move) ToMoveOutput() MoveOutput
func (*Move) ToMoveOutputWithContext ¶ added in v0.40.1
func (i *Move) ToMoveOutputWithContext(ctx context.Context) MoveOutput
type MoveArgs ¶ added in v0.40.1
type MoveArgs struct { // Description attached to the IP Description pulumi.StringPtrInput // IP block that we want to attach to a different service Ip pulumi.StringInput // Service to route the IP to. If null, the IP will be [parked](https://api.ovh.com/console/#/ip/%7Bip%7D/park~POST) // instead of [moved](https://api.ovh.com/console/#/ip/%7Bip%7D/move~POST) RoutedTo MoveRoutedToInput }
The set of arguments for constructing a Move resource.
func (MoveArgs) ElementType ¶ added in v0.40.1
type MoveArray ¶ added in v0.40.1
type MoveArray []MoveInput
func (MoveArray) ElementType ¶ added in v0.40.1
func (MoveArray) ToMoveArrayOutput ¶ added in v0.40.1
func (i MoveArray) ToMoveArrayOutput() MoveArrayOutput
func (MoveArray) ToMoveArrayOutputWithContext ¶ added in v0.40.1
func (i MoveArray) ToMoveArrayOutputWithContext(ctx context.Context) MoveArrayOutput
type MoveArrayInput ¶ added in v0.40.1
type MoveArrayInput interface { pulumi.Input ToMoveArrayOutput() MoveArrayOutput ToMoveArrayOutputWithContext(context.Context) MoveArrayOutput }
MoveArrayInput is an input type that accepts MoveArray and MoveArrayOutput values. You can construct a concrete instance of `MoveArrayInput` via:
MoveArray{ MoveArgs{...} }
type MoveArrayOutput ¶ added in v0.40.1
type MoveArrayOutput struct{ *pulumi.OutputState }
func (MoveArrayOutput) ElementType ¶ added in v0.40.1
func (MoveArrayOutput) ElementType() reflect.Type
func (MoveArrayOutput) Index ¶ added in v0.40.1
func (o MoveArrayOutput) Index(i pulumi.IntInput) MoveOutput
func (MoveArrayOutput) ToMoveArrayOutput ¶ added in v0.40.1
func (o MoveArrayOutput) ToMoveArrayOutput() MoveArrayOutput
func (MoveArrayOutput) ToMoveArrayOutputWithContext ¶ added in v0.40.1
func (o MoveArrayOutput) ToMoveArrayOutputWithContext(ctx context.Context) MoveArrayOutput
type MoveInput ¶ added in v0.40.1
type MoveInput interface { pulumi.Input ToMoveOutput() MoveOutput ToMoveOutputWithContext(ctx context.Context) MoveOutput }
type MoveMap ¶ added in v0.40.1
func (MoveMap) ElementType ¶ added in v0.40.1
func (MoveMap) ToMoveMapOutput ¶ added in v0.40.1
func (i MoveMap) ToMoveMapOutput() MoveMapOutput
func (MoveMap) ToMoveMapOutputWithContext ¶ added in v0.40.1
func (i MoveMap) ToMoveMapOutputWithContext(ctx context.Context) MoveMapOutput
type MoveMapInput ¶ added in v0.40.1
type MoveMapInput interface { pulumi.Input ToMoveMapOutput() MoveMapOutput ToMoveMapOutputWithContext(context.Context) MoveMapOutput }
MoveMapInput is an input type that accepts MoveMap and MoveMapOutput values. You can construct a concrete instance of `MoveMapInput` via:
MoveMap{ "key": MoveArgs{...} }
type MoveMapOutput ¶ added in v0.40.1
type MoveMapOutput struct{ *pulumi.OutputState }
func (MoveMapOutput) ElementType ¶ added in v0.40.1
func (MoveMapOutput) ElementType() reflect.Type
func (MoveMapOutput) MapIndex ¶ added in v0.40.1
func (o MoveMapOutput) MapIndex(k pulumi.StringInput) MoveOutput
func (MoveMapOutput) ToMoveMapOutput ¶ added in v0.40.1
func (o MoveMapOutput) ToMoveMapOutput() MoveMapOutput
func (MoveMapOutput) ToMoveMapOutputWithContext ¶ added in v0.40.1
func (o MoveMapOutput) ToMoveMapOutputWithContext(ctx context.Context) MoveMapOutput
type MoveOutput ¶ added in v0.40.1
type MoveOutput struct{ *pulumi.OutputState }
func (MoveOutput) CanBeTerminated ¶ added in v0.40.1
func (o MoveOutput) CanBeTerminated() pulumi.BoolOutput
Whether IP service can be terminated
func (MoveOutput) Country ¶ added in v0.40.1
func (o MoveOutput) Country() pulumi.StringOutput
Country
func (MoveOutput) Description ¶ added in v0.40.1
func (o MoveOutput) Description() pulumi.StringOutput
Description attached to the IP
func (MoveOutput) ElementType ¶ added in v0.40.1
func (MoveOutput) ElementType() reflect.Type
func (MoveOutput) Ip ¶ added in v0.40.1
func (o MoveOutput) Ip() pulumi.StringOutput
IP block that we want to attach to a different service
func (MoveOutput) OrganisationId ¶ added in v0.40.1
func (o MoveOutput) OrganisationId() pulumi.StringOutput
IP block organisation Id
func (MoveOutput) RoutedTo ¶ added in v0.40.1
func (o MoveOutput) RoutedTo() MoveRoutedToOutput
Service to route the IP to. If null, the IP will be [parked](https://api.ovh.com/console/#/ip/%7Bip%7D/park~POST) instead of [moved](https://api.ovh.com/console/#/ip/%7Bip%7D/move~POST)
func (MoveOutput) ServiceName ¶ added in v0.40.1
func (o MoveOutput) ServiceName() pulumi.StringOutput
Name of the service to route the IP to. IP will be parked if this value is an empty string
func (MoveOutput) TaskStartDate ¶ added in v0.40.1
func (o MoveOutput) TaskStartDate() pulumi.StringOutput
Starting date and time field of the current IP task that is in charge of changing the service the IP is attached to
func (MoveOutput) TaskStatus ¶ added in v0.40.1
func (o MoveOutput) TaskStatus() pulumi.StringOutput
Status field of the current IP task that is in charge of changing the service the IP is attached to
func (MoveOutput) ToMoveOutput ¶ added in v0.40.1
func (o MoveOutput) ToMoveOutput() MoveOutput
func (MoveOutput) ToMoveOutputWithContext ¶ added in v0.40.1
func (o MoveOutput) ToMoveOutputWithContext(ctx context.Context) MoveOutput
func (MoveOutput) Type ¶ added in v0.40.1
func (o MoveOutput) Type() pulumi.StringOutput
Possible values for ip type
type MoveRoutedTo ¶ added in v0.40.1
type MoveRoutedTo struct { // Name of the service to route the IP to. IP will be parked if this value is an empty string ServiceName string `pulumi:"serviceName"` }
type MoveRoutedToArgs ¶ added in v0.40.1
type MoveRoutedToArgs struct { // Name of the service to route the IP to. IP will be parked if this value is an empty string ServiceName pulumi.StringInput `pulumi:"serviceName"` }
func (MoveRoutedToArgs) ElementType ¶ added in v0.40.1
func (MoveRoutedToArgs) ElementType() reflect.Type
func (MoveRoutedToArgs) ToMoveRoutedToOutput ¶ added in v0.40.1
func (i MoveRoutedToArgs) ToMoveRoutedToOutput() MoveRoutedToOutput
func (MoveRoutedToArgs) ToMoveRoutedToOutputWithContext ¶ added in v0.40.1
func (i MoveRoutedToArgs) ToMoveRoutedToOutputWithContext(ctx context.Context) MoveRoutedToOutput
func (MoveRoutedToArgs) ToMoveRoutedToPtrOutput ¶ added in v0.40.1
func (i MoveRoutedToArgs) ToMoveRoutedToPtrOutput() MoveRoutedToPtrOutput
func (MoveRoutedToArgs) ToMoveRoutedToPtrOutputWithContext ¶ added in v0.40.1
func (i MoveRoutedToArgs) ToMoveRoutedToPtrOutputWithContext(ctx context.Context) MoveRoutedToPtrOutput
type MoveRoutedToInput ¶ added in v0.40.1
type MoveRoutedToInput interface { pulumi.Input ToMoveRoutedToOutput() MoveRoutedToOutput ToMoveRoutedToOutputWithContext(context.Context) MoveRoutedToOutput }
MoveRoutedToInput is an input type that accepts MoveRoutedToArgs and MoveRoutedToOutput values. You can construct a concrete instance of `MoveRoutedToInput` via:
MoveRoutedToArgs{...}
type MoveRoutedToOutput ¶ added in v0.40.1
type MoveRoutedToOutput struct{ *pulumi.OutputState }
func (MoveRoutedToOutput) ElementType ¶ added in v0.40.1
func (MoveRoutedToOutput) ElementType() reflect.Type
func (MoveRoutedToOutput) ServiceName ¶ added in v0.40.1
func (o MoveRoutedToOutput) ServiceName() pulumi.StringOutput
Name of the service to route the IP to. IP will be parked if this value is an empty string
func (MoveRoutedToOutput) ToMoveRoutedToOutput ¶ added in v0.40.1
func (o MoveRoutedToOutput) ToMoveRoutedToOutput() MoveRoutedToOutput
func (MoveRoutedToOutput) ToMoveRoutedToOutputWithContext ¶ added in v0.40.1
func (o MoveRoutedToOutput) ToMoveRoutedToOutputWithContext(ctx context.Context) MoveRoutedToOutput
func (MoveRoutedToOutput) ToMoveRoutedToPtrOutput ¶ added in v0.40.1
func (o MoveRoutedToOutput) ToMoveRoutedToPtrOutput() MoveRoutedToPtrOutput
func (MoveRoutedToOutput) ToMoveRoutedToPtrOutputWithContext ¶ added in v0.40.1
func (o MoveRoutedToOutput) ToMoveRoutedToPtrOutputWithContext(ctx context.Context) MoveRoutedToPtrOutput
type MoveRoutedToPtrInput ¶ added in v0.40.1
type MoveRoutedToPtrInput interface { pulumi.Input ToMoveRoutedToPtrOutput() MoveRoutedToPtrOutput ToMoveRoutedToPtrOutputWithContext(context.Context) MoveRoutedToPtrOutput }
MoveRoutedToPtrInput is an input type that accepts MoveRoutedToArgs, MoveRoutedToPtr and MoveRoutedToPtrOutput values. You can construct a concrete instance of `MoveRoutedToPtrInput` via:
MoveRoutedToArgs{...} or: nil
func MoveRoutedToPtr ¶ added in v0.40.1
func MoveRoutedToPtr(v *MoveRoutedToArgs) MoveRoutedToPtrInput
type MoveRoutedToPtrOutput ¶ added in v0.40.1
type MoveRoutedToPtrOutput struct{ *pulumi.OutputState }
func (MoveRoutedToPtrOutput) Elem ¶ added in v0.40.1
func (o MoveRoutedToPtrOutput) Elem() MoveRoutedToOutput
func (MoveRoutedToPtrOutput) ElementType ¶ added in v0.40.1
func (MoveRoutedToPtrOutput) ElementType() reflect.Type
func (MoveRoutedToPtrOutput) ServiceName ¶ added in v0.40.1
func (o MoveRoutedToPtrOutput) ServiceName() pulumi.StringPtrOutput
Name of the service to route the IP to. IP will be parked if this value is an empty string
func (MoveRoutedToPtrOutput) ToMoveRoutedToPtrOutput ¶ added in v0.40.1
func (o MoveRoutedToPtrOutput) ToMoveRoutedToPtrOutput() MoveRoutedToPtrOutput
func (MoveRoutedToPtrOutput) ToMoveRoutedToPtrOutputWithContext ¶ added in v0.40.1
func (o MoveRoutedToPtrOutput) ToMoveRoutedToPtrOutputWithContext(ctx context.Context) MoveRoutedToPtrOutput
type MoveState ¶ added in v0.40.1
type MoveState struct { // Whether IP service can be terminated CanBeTerminated pulumi.BoolPtrInput // Country Country pulumi.StringPtrInput // Description attached to the IP Description pulumi.StringPtrInput // IP block that we want to attach to a different service Ip pulumi.StringPtrInput // IP block organisation Id OrganisationId pulumi.StringPtrInput // Service to route the IP to. If null, the IP will be [parked](https://api.ovh.com/console/#/ip/%7Bip%7D/park~POST) // instead of [moved](https://api.ovh.com/console/#/ip/%7Bip%7D/move~POST) RoutedTo MoveRoutedToPtrInput // Name of the service to route the IP to. IP will be parked if this value is an empty string ServiceName pulumi.StringPtrInput // Starting date and time field of the current IP task that is in charge of changing the service the IP is attached to TaskStartDate pulumi.StringPtrInput // Status field of the current IP task that is in charge of changing the service the IP is attached to TaskStatus pulumi.StringPtrInput // Possible values for ip type Type pulumi.StringPtrInput }
func (MoveState) ElementType ¶ added in v0.40.1
type Reverse ¶
type Reverse struct { pulumi.CustomResourceState // The IP to set the reverse of ReverseIp pulumi.StringOutput `pulumi:"ReverseIp"` // The value of the reverse ReverseValue pulumi.StringOutput `pulumi:"ReverseValue"` // The IP block to which the IP belongs Ip pulumi.StringOutput `pulumi:"ip"` }
Provides a OVHcloud IP reverse.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Ip" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Set the reverse of an IP _, err := Ip.NewReverse(ctx, "test", &Ip.ReverseArgs{ Ip: pulumi.String("192.0.2.0/24"), ReverseIp: pulumi.String("192.0.2.1"), ReverseValue: pulumi.String("example.com"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
The resource can be imported using the `ip`, `ip_reverse` of the address, separated by "|" E.g.,
bash
```sh $ pulumi import ovh:Ip/reverse:Reverse my_reverse '2001:0db8:c0ff:ee::/64|2001:0db8:c0ff:ee::42' ```
func GetReverse ¶
func GetReverse(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReverseState, opts ...pulumi.ResourceOption) (*Reverse, error)
GetReverse gets an existing Reverse 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 NewReverse ¶
func NewReverse(ctx *pulumi.Context, name string, args *ReverseArgs, opts ...pulumi.ResourceOption) (*Reverse, error)
NewReverse registers a new resource with the given unique name, arguments, and options.
func (*Reverse) ElementType ¶
func (*Reverse) ToReverseOutput ¶
func (i *Reverse) ToReverseOutput() ReverseOutput
func (*Reverse) ToReverseOutputWithContext ¶
func (i *Reverse) ToReverseOutputWithContext(ctx context.Context) ReverseOutput
type ReverseArgs ¶
type ReverseArgs struct { // The IP to set the reverse of ReverseIp pulumi.StringInput // The value of the reverse ReverseValue pulumi.StringInput // The IP block to which the IP belongs Ip pulumi.StringInput }
The set of arguments for constructing a Reverse resource.
func (ReverseArgs) ElementType ¶
func (ReverseArgs) ElementType() reflect.Type
type ReverseArray ¶
type ReverseArray []ReverseInput
func (ReverseArray) ElementType ¶
func (ReverseArray) ElementType() reflect.Type
func (ReverseArray) ToReverseArrayOutput ¶
func (i ReverseArray) ToReverseArrayOutput() ReverseArrayOutput
func (ReverseArray) ToReverseArrayOutputWithContext ¶
func (i ReverseArray) ToReverseArrayOutputWithContext(ctx context.Context) ReverseArrayOutput
type ReverseArrayInput ¶
type ReverseArrayInput interface { pulumi.Input ToReverseArrayOutput() ReverseArrayOutput ToReverseArrayOutputWithContext(context.Context) ReverseArrayOutput }
ReverseArrayInput is an input type that accepts ReverseArray and ReverseArrayOutput values. You can construct a concrete instance of `ReverseArrayInput` via:
ReverseArray{ ReverseArgs{...} }
type ReverseArrayOutput ¶
type ReverseArrayOutput struct{ *pulumi.OutputState }
func (ReverseArrayOutput) ElementType ¶
func (ReverseArrayOutput) ElementType() reflect.Type
func (ReverseArrayOutput) Index ¶
func (o ReverseArrayOutput) Index(i pulumi.IntInput) ReverseOutput
func (ReverseArrayOutput) ToReverseArrayOutput ¶
func (o ReverseArrayOutput) ToReverseArrayOutput() ReverseArrayOutput
func (ReverseArrayOutput) ToReverseArrayOutputWithContext ¶
func (o ReverseArrayOutput) ToReverseArrayOutputWithContext(ctx context.Context) ReverseArrayOutput
type ReverseInput ¶
type ReverseInput interface { pulumi.Input ToReverseOutput() ReverseOutput ToReverseOutputWithContext(ctx context.Context) ReverseOutput }
type ReverseMap ¶
type ReverseMap map[string]ReverseInput
func (ReverseMap) ElementType ¶
func (ReverseMap) ElementType() reflect.Type
func (ReverseMap) ToReverseMapOutput ¶
func (i ReverseMap) ToReverseMapOutput() ReverseMapOutput
func (ReverseMap) ToReverseMapOutputWithContext ¶
func (i ReverseMap) ToReverseMapOutputWithContext(ctx context.Context) ReverseMapOutput
type ReverseMapInput ¶
type ReverseMapInput interface { pulumi.Input ToReverseMapOutput() ReverseMapOutput ToReverseMapOutputWithContext(context.Context) ReverseMapOutput }
ReverseMapInput is an input type that accepts ReverseMap and ReverseMapOutput values. You can construct a concrete instance of `ReverseMapInput` via:
ReverseMap{ "key": ReverseArgs{...} }
type ReverseMapOutput ¶
type ReverseMapOutput struct{ *pulumi.OutputState }
func (ReverseMapOutput) ElementType ¶
func (ReverseMapOutput) ElementType() reflect.Type
func (ReverseMapOutput) MapIndex ¶
func (o ReverseMapOutput) MapIndex(k pulumi.StringInput) ReverseOutput
func (ReverseMapOutput) ToReverseMapOutput ¶
func (o ReverseMapOutput) ToReverseMapOutput() ReverseMapOutput
func (ReverseMapOutput) ToReverseMapOutputWithContext ¶
func (o ReverseMapOutput) ToReverseMapOutputWithContext(ctx context.Context) ReverseMapOutput
type ReverseOutput ¶
type ReverseOutput struct{ *pulumi.OutputState }
func (ReverseOutput) ElementType ¶
func (ReverseOutput) ElementType() reflect.Type
func (ReverseOutput) Ip ¶
func (o ReverseOutput) Ip() pulumi.StringOutput
The IP block to which the IP belongs
func (ReverseOutput) ReverseIp ¶
func (o ReverseOutput) ReverseIp() pulumi.StringOutput
The IP to set the reverse of
func (ReverseOutput) ReverseValue ¶
func (o ReverseOutput) ReverseValue() pulumi.StringOutput
The value of the reverse
func (ReverseOutput) ToReverseOutput ¶
func (o ReverseOutput) ToReverseOutput() ReverseOutput
func (ReverseOutput) ToReverseOutputWithContext ¶
func (o ReverseOutput) ToReverseOutputWithContext(ctx context.Context) ReverseOutput
type ReverseState ¶
type ReverseState struct { // The IP to set the reverse of ReverseIp pulumi.StringPtrInput // The value of the reverse ReverseValue pulumi.StringPtrInput // The IP block to which the IP belongs Ip pulumi.StringPtrInput }
func (ReverseState) ElementType ¶
func (ReverseState) ElementType() reflect.Type