Documentation
¶
Overview ¶
A Pulumi package for creating and managing OpenStack cloud resources.
Index ¶
- type BgpvpnNetworkAssociateV2
- type BgpvpnNetworkAssociateV2Args
- type BgpvpnNetworkAssociateV2Array
- func (BgpvpnNetworkAssociateV2Array) ElementType() reflect.Type
- func (i BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput
- func (i BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2ArrayOutput
- type BgpvpnNetworkAssociateV2ArrayInput
- type BgpvpnNetworkAssociateV2ArrayOutput
- func (BgpvpnNetworkAssociateV2ArrayOutput) ElementType() reflect.Type
- func (o BgpvpnNetworkAssociateV2ArrayOutput) Index(i pulumi.IntInput) BgpvpnNetworkAssociateV2Output
- func (o BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput
- func (o BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2ArrayOutput
- type BgpvpnNetworkAssociateV2Input
- type BgpvpnNetworkAssociateV2Map
- func (BgpvpnNetworkAssociateV2Map) ElementType() reflect.Type
- func (i BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput
- func (i BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2MapOutput
- type BgpvpnNetworkAssociateV2MapInput
- type BgpvpnNetworkAssociateV2MapOutput
- func (BgpvpnNetworkAssociateV2MapOutput) ElementType() reflect.Type
- func (o BgpvpnNetworkAssociateV2MapOutput) MapIndex(k pulumi.StringInput) BgpvpnNetworkAssociateV2Output
- func (o BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput
- func (o BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2MapOutput
- type BgpvpnNetworkAssociateV2Output
- func (o BgpvpnNetworkAssociateV2Output) BgpvpnId() pulumi.StringOutput
- func (BgpvpnNetworkAssociateV2Output) ElementType() reflect.Type
- func (o BgpvpnNetworkAssociateV2Output) NetworkId() pulumi.StringOutput
- func (o BgpvpnNetworkAssociateV2Output) ProjectId() pulumi.StringOutput
- func (o BgpvpnNetworkAssociateV2Output) Region() pulumi.StringOutput
- func (o BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2Output() BgpvpnNetworkAssociateV2Output
- func (o BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2OutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2Output
- type BgpvpnNetworkAssociateV2State
- type BgpvpnPortAssociateV2
- type BgpvpnPortAssociateV2Args
- type BgpvpnPortAssociateV2Array
- func (BgpvpnPortAssociateV2Array) ElementType() reflect.Type
- func (i BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput
- func (i BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2ArrayOutput
- type BgpvpnPortAssociateV2ArrayInput
- type BgpvpnPortAssociateV2ArrayOutput
- func (BgpvpnPortAssociateV2ArrayOutput) ElementType() reflect.Type
- func (o BgpvpnPortAssociateV2ArrayOutput) Index(i pulumi.IntInput) BgpvpnPortAssociateV2Output
- func (o BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput
- func (o BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2ArrayOutput
- type BgpvpnPortAssociateV2Input
- type BgpvpnPortAssociateV2Map
- type BgpvpnPortAssociateV2MapInput
- type BgpvpnPortAssociateV2MapOutput
- func (BgpvpnPortAssociateV2MapOutput) ElementType() reflect.Type
- func (o BgpvpnPortAssociateV2MapOutput) MapIndex(k pulumi.StringInput) BgpvpnPortAssociateV2Output
- func (o BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutput() BgpvpnPortAssociateV2MapOutput
- func (o BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2MapOutput
- type BgpvpnPortAssociateV2Output
- func (o BgpvpnPortAssociateV2Output) AdvertiseFixedIps() pulumi.BoolOutput
- func (o BgpvpnPortAssociateV2Output) BgpvpnId() pulumi.StringOutput
- func (BgpvpnPortAssociateV2Output) ElementType() reflect.Type
- func (o BgpvpnPortAssociateV2Output) PortId() pulumi.StringOutput
- func (o BgpvpnPortAssociateV2Output) ProjectId() pulumi.StringOutput
- func (o BgpvpnPortAssociateV2Output) Region() pulumi.StringOutput
- func (o BgpvpnPortAssociateV2Output) Routes() BgpvpnPortAssociateV2RouteArrayOutput
- func (o BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2Output() BgpvpnPortAssociateV2Output
- func (o BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2OutputWithContext(ctx context.Context) BgpvpnPortAssociateV2Output
- type BgpvpnPortAssociateV2Route
- type BgpvpnPortAssociateV2RouteArgs
- func (BgpvpnPortAssociateV2RouteArgs) ElementType() reflect.Type
- func (i BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput
- func (i BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteOutput
- type BgpvpnPortAssociateV2RouteArray
- func (BgpvpnPortAssociateV2RouteArray) ElementType() reflect.Type
- func (i BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput
- func (i BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteArrayOutput
- type BgpvpnPortAssociateV2RouteArrayInput
- type BgpvpnPortAssociateV2RouteArrayOutput
- func (BgpvpnPortAssociateV2RouteArrayOutput) ElementType() reflect.Type
- func (o BgpvpnPortAssociateV2RouteArrayOutput) Index(i pulumi.IntInput) BgpvpnPortAssociateV2RouteOutput
- func (o BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput
- func (o BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteArrayOutput
- type BgpvpnPortAssociateV2RouteInput
- type BgpvpnPortAssociateV2RouteOutput
- func (o BgpvpnPortAssociateV2RouteOutput) BgpvpnId() pulumi.StringPtrOutput
- func (BgpvpnPortAssociateV2RouteOutput) ElementType() reflect.Type
- func (o BgpvpnPortAssociateV2RouteOutput) LocalPref() pulumi.IntPtrOutput
- func (o BgpvpnPortAssociateV2RouteOutput) Prefix() pulumi.StringPtrOutput
- func (o BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput
- func (o BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteOutput
- func (o BgpvpnPortAssociateV2RouteOutput) Type() pulumi.StringOutput
- type BgpvpnPortAssociateV2State
- type BgpvpnRouterAssociateV2
- type BgpvpnRouterAssociateV2Args
- type BgpvpnRouterAssociateV2Array
- func (BgpvpnRouterAssociateV2Array) ElementType() reflect.Type
- func (i BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput
- func (i BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2ArrayOutput
- type BgpvpnRouterAssociateV2ArrayInput
- type BgpvpnRouterAssociateV2ArrayOutput
- func (BgpvpnRouterAssociateV2ArrayOutput) ElementType() reflect.Type
- func (o BgpvpnRouterAssociateV2ArrayOutput) Index(i pulumi.IntInput) BgpvpnRouterAssociateV2Output
- func (o BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput
- func (o BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2ArrayOutput
- type BgpvpnRouterAssociateV2Input
- type BgpvpnRouterAssociateV2Map
- func (BgpvpnRouterAssociateV2Map) ElementType() reflect.Type
- func (i BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput
- func (i BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2MapOutput
- type BgpvpnRouterAssociateV2MapInput
- type BgpvpnRouterAssociateV2MapOutput
- func (BgpvpnRouterAssociateV2MapOutput) ElementType() reflect.Type
- func (o BgpvpnRouterAssociateV2MapOutput) MapIndex(k pulumi.StringInput) BgpvpnRouterAssociateV2Output
- func (o BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput
- func (o BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2MapOutput
- type BgpvpnRouterAssociateV2Output
- func (o BgpvpnRouterAssociateV2Output) AdvertiseExtraRoutes() pulumi.BoolOutput
- func (o BgpvpnRouterAssociateV2Output) BgpvpnId() pulumi.StringOutput
- func (BgpvpnRouterAssociateV2Output) ElementType() reflect.Type
- func (o BgpvpnRouterAssociateV2Output) ProjectId() pulumi.StringOutput
- func (o BgpvpnRouterAssociateV2Output) Region() pulumi.StringOutput
- func (o BgpvpnRouterAssociateV2Output) RouterId() pulumi.StringOutput
- func (o BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2Output() BgpvpnRouterAssociateV2Output
- func (o BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2OutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2Output
- type BgpvpnRouterAssociateV2State
- type BgpvpnV2
- type BgpvpnV2Args
- type BgpvpnV2Array
- type BgpvpnV2ArrayInput
- type BgpvpnV2ArrayOutput
- type BgpvpnV2Input
- type BgpvpnV2Map
- type BgpvpnV2MapInput
- type BgpvpnV2MapOutput
- type BgpvpnV2Output
- func (BgpvpnV2Output) ElementType() reflect.Type
- func (o BgpvpnV2Output) ExportTargets() pulumi.StringArrayOutput
- func (o BgpvpnV2Output) ImportTargets() pulumi.StringArrayOutput
- func (o BgpvpnV2Output) LocalPref() pulumi.IntPtrOutput
- func (o BgpvpnV2Output) Name() pulumi.StringOutput
- func (o BgpvpnV2Output) Networks() pulumi.StringArrayOutput
- func (o BgpvpnV2Output) Ports() pulumi.StringArrayOutput
- func (o BgpvpnV2Output) ProjectId() pulumi.StringOutput
- func (o BgpvpnV2Output) Region() pulumi.StringOutput
- func (o BgpvpnV2Output) RouteDistinguishers() pulumi.StringArrayOutput
- func (o BgpvpnV2Output) RouteTargets() pulumi.StringArrayOutput
- func (o BgpvpnV2Output) Routers() pulumi.StringArrayOutput
- func (o BgpvpnV2Output) Shared() pulumi.BoolOutput
- func (o BgpvpnV2Output) ToBgpvpnV2Output() BgpvpnV2Output
- func (o BgpvpnV2Output) ToBgpvpnV2OutputWithContext(ctx context.Context) BgpvpnV2Output
- func (o BgpvpnV2Output) Type() pulumi.StringOutput
- func (o BgpvpnV2Output) Vni() pulumi.IntPtrOutput
- type BgpvpnV2State
- type GetFwGroupV2Args
- type GetFwGroupV2OutputArgs
- type GetFwGroupV2Result
- type GetFwGroupV2ResultOutput
- func (o GetFwGroupV2ResultOutput) AdminStateUp() pulumi.BoolOutput
- func (o GetFwGroupV2ResultOutput) Description() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) EgressFirewallPolicyId() pulumi.StringPtrOutput
- func (GetFwGroupV2ResultOutput) ElementType() reflect.Type
- func (o GetFwGroupV2ResultOutput) GroupId() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) Id() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) IngressFirewallPolicyId() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) Name() pulumi.StringPtrOutput
- func (o GetFwGroupV2ResultOutput) Ports() pulumi.StringArrayOutput
- func (o GetFwGroupV2ResultOutput) ProjectId() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) Region() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) Shared() pulumi.BoolOutput
- func (o GetFwGroupV2ResultOutput) Status() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) TenantId() pulumi.StringOutput
- func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput() GetFwGroupV2ResultOutput
- func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext(ctx context.Context) GetFwGroupV2ResultOutput
- type GetFwPolicyV2Args
- type GetFwPolicyV2OutputArgs
- type GetFwPolicyV2Result
- type GetFwPolicyV2ResultOutput
- func (o GetFwPolicyV2ResultOutput) Audited() pulumi.BoolOutput
- func (o GetFwPolicyV2ResultOutput) Description() pulumi.StringPtrOutput
- func (GetFwPolicyV2ResultOutput) ElementType() reflect.Type
- func (o GetFwPolicyV2ResultOutput) Id() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) Name() pulumi.StringPtrOutput
- func (o GetFwPolicyV2ResultOutput) PolicyId() pulumi.StringPtrOutput
- func (o GetFwPolicyV2ResultOutput) ProjectId() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) Region() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) Rules() pulumi.StringArrayOutput
- func (o GetFwPolicyV2ResultOutput) Shared() pulumi.BoolOutput
- func (o GetFwPolicyV2ResultOutput) TenantId() pulumi.StringOutput
- func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput() GetFwPolicyV2ResultOutput
- func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext(ctx context.Context) GetFwPolicyV2ResultOutput
- type GetFwRuleV2Args
- type GetFwRuleV2OutputArgs
- type GetFwRuleV2Result
- type GetFwRuleV2ResultOutput
- func (o GetFwRuleV2ResultOutput) Action() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) Description() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) DestinationIpAddress() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) DestinationPort() pulumi.StringPtrOutput
- func (GetFwRuleV2ResultOutput) ElementType() reflect.Type
- func (o GetFwRuleV2ResultOutput) Enabled() pulumi.BoolOutput
- func (o GetFwRuleV2ResultOutput) FirewallPolicyIds() pulumi.StringArrayOutput
- func (o GetFwRuleV2ResultOutput) Id() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) IpVersion() pulumi.IntPtrOutput
- func (o GetFwRuleV2ResultOutput) Name() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) ProjectId() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) Protocol() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) Region() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) RuleId() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) Shared() pulumi.BoolOutput
- func (o GetFwRuleV2ResultOutput) SourceIpAddress() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) SourcePort() pulumi.StringPtrOutput
- func (o GetFwRuleV2ResultOutput) TenantId() pulumi.StringOutput
- func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput() GetFwRuleV2ResultOutput
- func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext(ctx context.Context) GetFwRuleV2ResultOutput
- type LbFlavorprofileV2
- type LbFlavorprofileV2Args
- type LbFlavorprofileV2Array
- type LbFlavorprofileV2ArrayInput
- type LbFlavorprofileV2ArrayOutput
- func (LbFlavorprofileV2ArrayOutput) ElementType() reflect.Type
- func (o LbFlavorprofileV2ArrayOutput) Index(i pulumi.IntInput) LbFlavorprofileV2Output
- func (o LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutput() LbFlavorprofileV2ArrayOutput
- func (o LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutputWithContext(ctx context.Context) LbFlavorprofileV2ArrayOutput
- type LbFlavorprofileV2Input
- type LbFlavorprofileV2Map
- type LbFlavorprofileV2MapInput
- type LbFlavorprofileV2MapOutput
- func (LbFlavorprofileV2MapOutput) ElementType() reflect.Type
- func (o LbFlavorprofileV2MapOutput) MapIndex(k pulumi.StringInput) LbFlavorprofileV2Output
- func (o LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutput() LbFlavorprofileV2MapOutput
- func (o LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutputWithContext(ctx context.Context) LbFlavorprofileV2MapOutput
- type LbFlavorprofileV2Output
- func (LbFlavorprofileV2Output) ElementType() reflect.Type
- func (o LbFlavorprofileV2Output) FlavorData() pulumi.StringOutput
- func (o LbFlavorprofileV2Output) Name() pulumi.StringOutput
- func (o LbFlavorprofileV2Output) ProviderName() pulumi.StringOutput
- func (o LbFlavorprofileV2Output) Region() pulumi.StringOutput
- func (o LbFlavorprofileV2Output) ToLbFlavorprofileV2Output() LbFlavorprofileV2Output
- func (o LbFlavorprofileV2Output) ToLbFlavorprofileV2OutputWithContext(ctx context.Context) LbFlavorprofileV2Output
- type LbFlavorprofileV2State
- type LbLoadbalancerV2
- type LbLoadbalancerV2Args
- type LbLoadbalancerV2Array
- type LbLoadbalancerV2ArrayInput
- type LbLoadbalancerV2ArrayOutput
- func (LbLoadbalancerV2ArrayOutput) ElementType() reflect.Type
- func (o LbLoadbalancerV2ArrayOutput) Index(i pulumi.IntInput) LbLoadbalancerV2Output
- func (o LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutput() LbLoadbalancerV2ArrayOutput
- func (o LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutputWithContext(ctx context.Context) LbLoadbalancerV2ArrayOutput
- type LbLoadbalancerV2Input
- type LbLoadbalancerV2Map
- type LbLoadbalancerV2MapInput
- type LbLoadbalancerV2MapOutput
- func (LbLoadbalancerV2MapOutput) ElementType() reflect.Type
- func (o LbLoadbalancerV2MapOutput) MapIndex(k pulumi.StringInput) LbLoadbalancerV2Output
- func (o LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutput() LbLoadbalancerV2MapOutput
- func (o LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutputWithContext(ctx context.Context) LbLoadbalancerV2MapOutput
- type LbLoadbalancerV2Output
- func (o LbLoadbalancerV2Output) AdminStateUp() pulumi.BoolPtrOutput
- func (o LbLoadbalancerV2Output) AvailabilityZone() pulumi.StringPtrOutput
- func (o LbLoadbalancerV2Output) Description() pulumi.StringPtrOutput
- func (LbLoadbalancerV2Output) ElementType() reflect.Type
- func (o LbLoadbalancerV2Output) FlavorId() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) LoadbalancerProvider() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) Name() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) Region() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) SecurityGroupIds() pulumi.StringArrayOutput
- func (o LbLoadbalancerV2Output) Tags() pulumi.StringArrayOutput
- func (o LbLoadbalancerV2Output) TenantId() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) ToLbLoadbalancerV2Output() LbLoadbalancerV2Output
- func (o LbLoadbalancerV2Output) ToLbLoadbalancerV2OutputWithContext(ctx context.Context) LbLoadbalancerV2Output
- func (o LbLoadbalancerV2Output) VipAddress() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) VipNetworkId() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) VipPortId() pulumi.StringOutput
- func (o LbLoadbalancerV2Output) VipQosPolicyId() pulumi.StringPtrOutput
- func (o LbLoadbalancerV2Output) VipSubnetId() pulumi.StringOutput
- type LbLoadbalancerV2State
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) ApplicationCredentialId() pulumi.StringPtrOutput
- func (o ProviderOutput) ApplicationCredentialName() pulumi.StringPtrOutput
- func (o ProviderOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput
- func (o ProviderOutput) AuthUrl() pulumi.StringPtrOutput
- func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput
- func (o ProviderOutput) Cert() pulumi.StringPtrOutput
- func (o ProviderOutput) Cloud() pulumi.StringPtrOutput
- func (o ProviderOutput) DefaultDomain() pulumi.StringPtrOutput
- func (o ProviderOutput) DomainId() pulumi.StringPtrOutput
- func (o ProviderOutput) DomainName() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) EndpointType() pulumi.StringPtrOutput
- func (o ProviderOutput) Key() pulumi.StringPtrOutput
- func (o ProviderOutput) Password() pulumi.StringPtrOutput
- func (o ProviderOutput) ProjectDomainId() pulumi.StringPtrOutput
- func (o ProviderOutput) ProjectDomainName() pulumi.StringPtrOutput
- func (o ProviderOutput) Region() pulumi.StringPtrOutput
- func (o ProviderOutput) TenantId() pulumi.StringPtrOutput
- func (o ProviderOutput) TenantName() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringPtrOutput
- func (o ProviderOutput) UserDomainId() pulumi.StringPtrOutput
- func (o ProviderOutput) UserDomainName() pulumi.StringPtrOutput
- func (o ProviderOutput) UserId() pulumi.StringPtrOutput
- func (o ProviderOutput) UserName() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BgpvpnNetworkAssociateV2 ¶
type BgpvpnNetworkAssociateV2 struct { pulumi.CustomResourceState // The ID of the BGP VPN to which the network will be // associated. Changing this creates a new BGP VPN network association BgpvpnId pulumi.StringOutput `pulumi:"bgpvpnId"` // The ID of the network to be associated with the BGP // VPN. Changing this creates a new BGP VPN network association. NetworkId pulumi.StringOutput `pulumi:"networkId"` // The ID of the project that owns the BGP VPN network // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN network // association. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN network association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN network association. Region pulumi.StringOutput `pulumi:"region"` }
Manages a V2 BGP VPN network association resource within OpenStack.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.NewBgpvpnNetworkAssociateV2(ctx, "association_1", &openstack.BgpvpnNetworkAssociateV2Args{ BgpvpnId: pulumi.String("e7189337-5684-46ee-bcb1-44f1a57066c9"), NetworkId: pulumi.String("de83d56c-4d2f-44f7-ac24-af393252204f"), }) if err != nil { return err } return nil }) }
```
## Import
BGP VPN network associations can be imported using the BGP VPN ID and BGP VPN ¶
network association ID separated by a slash, e.g.:
hcl
```sh $ pulumi import openstack:index/bgpvpnNetworkAssociateV2:BgpvpnNetworkAssociateV2 association_1 2145aaa9-edaa-44fb-9815-e47a96677a72/67bb952a-f9d1-4fc8-ae84-082253a879d4 ```
func GetBgpvpnNetworkAssociateV2 ¶
func GetBgpvpnNetworkAssociateV2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BgpvpnNetworkAssociateV2State, opts ...pulumi.ResourceOption) (*BgpvpnNetworkAssociateV2, error)
GetBgpvpnNetworkAssociateV2 gets an existing BgpvpnNetworkAssociateV2 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 NewBgpvpnNetworkAssociateV2 ¶
func NewBgpvpnNetworkAssociateV2(ctx *pulumi.Context, name string, args *BgpvpnNetworkAssociateV2Args, opts ...pulumi.ResourceOption) (*BgpvpnNetworkAssociateV2, error)
NewBgpvpnNetworkAssociateV2 registers a new resource with the given unique name, arguments, and options.
func (*BgpvpnNetworkAssociateV2) ElementType ¶
func (*BgpvpnNetworkAssociateV2) ElementType() reflect.Type
func (*BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2Output ¶
func (i *BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2Output() BgpvpnNetworkAssociateV2Output
func (*BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2OutputWithContext ¶
func (i *BgpvpnNetworkAssociateV2) ToBgpvpnNetworkAssociateV2OutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2Output
type BgpvpnNetworkAssociateV2Args ¶
type BgpvpnNetworkAssociateV2Args struct { // The ID of the BGP VPN to which the network will be // associated. Changing this creates a new BGP VPN network association BgpvpnId pulumi.StringInput // The ID of the network to be associated with the BGP // VPN. Changing this creates a new BGP VPN network association. NetworkId pulumi.StringInput // The ID of the project that owns the BGP VPN network // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN network // association. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN network association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN network association. Region pulumi.StringPtrInput }
The set of arguments for constructing a BgpvpnNetworkAssociateV2 resource.
func (BgpvpnNetworkAssociateV2Args) ElementType ¶
func (BgpvpnNetworkAssociateV2Args) ElementType() reflect.Type
type BgpvpnNetworkAssociateV2Array ¶
type BgpvpnNetworkAssociateV2Array []BgpvpnNetworkAssociateV2Input
func (BgpvpnNetworkAssociateV2Array) ElementType ¶
func (BgpvpnNetworkAssociateV2Array) ElementType() reflect.Type
func (BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutput ¶
func (i BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput
func (BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext ¶
func (i BgpvpnNetworkAssociateV2Array) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2ArrayOutput
type BgpvpnNetworkAssociateV2ArrayInput ¶
type BgpvpnNetworkAssociateV2ArrayInput interface { pulumi.Input ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(context.Context) BgpvpnNetworkAssociateV2ArrayOutput }
BgpvpnNetworkAssociateV2ArrayInput is an input type that accepts BgpvpnNetworkAssociateV2Array and BgpvpnNetworkAssociateV2ArrayOutput values. You can construct a concrete instance of `BgpvpnNetworkAssociateV2ArrayInput` via:
BgpvpnNetworkAssociateV2Array{ BgpvpnNetworkAssociateV2Args{...} }
type BgpvpnNetworkAssociateV2ArrayOutput ¶
type BgpvpnNetworkAssociateV2ArrayOutput struct{ *pulumi.OutputState }
func (BgpvpnNetworkAssociateV2ArrayOutput) ElementType ¶
func (BgpvpnNetworkAssociateV2ArrayOutput) ElementType() reflect.Type
func (BgpvpnNetworkAssociateV2ArrayOutput) Index ¶
func (o BgpvpnNetworkAssociateV2ArrayOutput) Index(i pulumi.IntInput) BgpvpnNetworkAssociateV2Output
func (BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutput ¶
func (o BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutput() BgpvpnNetworkAssociateV2ArrayOutput
func (BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext ¶
func (o BgpvpnNetworkAssociateV2ArrayOutput) ToBgpvpnNetworkAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2ArrayOutput
type BgpvpnNetworkAssociateV2Input ¶
type BgpvpnNetworkAssociateV2Input interface { pulumi.Input ToBgpvpnNetworkAssociateV2Output() BgpvpnNetworkAssociateV2Output ToBgpvpnNetworkAssociateV2OutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2Output }
type BgpvpnNetworkAssociateV2Map ¶
type BgpvpnNetworkAssociateV2Map map[string]BgpvpnNetworkAssociateV2Input
func (BgpvpnNetworkAssociateV2Map) ElementType ¶
func (BgpvpnNetworkAssociateV2Map) ElementType() reflect.Type
func (BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutput ¶
func (i BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput
func (BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutputWithContext ¶
func (i BgpvpnNetworkAssociateV2Map) ToBgpvpnNetworkAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2MapOutput
type BgpvpnNetworkAssociateV2MapInput ¶
type BgpvpnNetworkAssociateV2MapInput interface { pulumi.Input ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput ToBgpvpnNetworkAssociateV2MapOutputWithContext(context.Context) BgpvpnNetworkAssociateV2MapOutput }
BgpvpnNetworkAssociateV2MapInput is an input type that accepts BgpvpnNetworkAssociateV2Map and BgpvpnNetworkAssociateV2MapOutput values. You can construct a concrete instance of `BgpvpnNetworkAssociateV2MapInput` via:
BgpvpnNetworkAssociateV2Map{ "key": BgpvpnNetworkAssociateV2Args{...} }
type BgpvpnNetworkAssociateV2MapOutput ¶
type BgpvpnNetworkAssociateV2MapOutput struct{ *pulumi.OutputState }
func (BgpvpnNetworkAssociateV2MapOutput) ElementType ¶
func (BgpvpnNetworkAssociateV2MapOutput) ElementType() reflect.Type
func (BgpvpnNetworkAssociateV2MapOutput) MapIndex ¶
func (o BgpvpnNetworkAssociateV2MapOutput) MapIndex(k pulumi.StringInput) BgpvpnNetworkAssociateV2Output
func (BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutput ¶
func (o BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutput() BgpvpnNetworkAssociateV2MapOutput
func (BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutputWithContext ¶
func (o BgpvpnNetworkAssociateV2MapOutput) ToBgpvpnNetworkAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2MapOutput
type BgpvpnNetworkAssociateV2Output ¶
type BgpvpnNetworkAssociateV2Output struct{ *pulumi.OutputState }
func (BgpvpnNetworkAssociateV2Output) BgpvpnId ¶
func (o BgpvpnNetworkAssociateV2Output) BgpvpnId() pulumi.StringOutput
The ID of the BGP VPN to which the network will be associated. Changing this creates a new BGP VPN network association
func (BgpvpnNetworkAssociateV2Output) ElementType ¶
func (BgpvpnNetworkAssociateV2Output) ElementType() reflect.Type
func (BgpvpnNetworkAssociateV2Output) NetworkId ¶
func (o BgpvpnNetworkAssociateV2Output) NetworkId() pulumi.StringOutput
The ID of the network to be associated with the BGP VPN. Changing this creates a new BGP VPN network association.
func (BgpvpnNetworkAssociateV2Output) ProjectId ¶
func (o BgpvpnNetworkAssociateV2Output) ProjectId() pulumi.StringOutput
The ID of the project that owns the BGP VPN network association. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN network association.
func (BgpvpnNetworkAssociateV2Output) Region ¶
func (o BgpvpnNetworkAssociateV2Output) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN network association. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN network association.
func (BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2Output ¶
func (o BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2Output() BgpvpnNetworkAssociateV2Output
func (BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2OutputWithContext ¶
func (o BgpvpnNetworkAssociateV2Output) ToBgpvpnNetworkAssociateV2OutputWithContext(ctx context.Context) BgpvpnNetworkAssociateV2Output
type BgpvpnNetworkAssociateV2State ¶
type BgpvpnNetworkAssociateV2State struct { // The ID of the BGP VPN to which the network will be // associated. Changing this creates a new BGP VPN network association BgpvpnId pulumi.StringPtrInput // The ID of the network to be associated with the BGP // VPN. Changing this creates a new BGP VPN network association. NetworkId pulumi.StringPtrInput // The ID of the project that owns the BGP VPN network // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN network // association. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN network association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN network association. Region pulumi.StringPtrInput }
func (BgpvpnNetworkAssociateV2State) ElementType ¶
func (BgpvpnNetworkAssociateV2State) ElementType() reflect.Type
type BgpvpnPortAssociateV2 ¶
type BgpvpnPortAssociateV2 struct { pulumi.CustomResourceState // A boolean flag indicating whether fixed // IPs should be advertised. Defaults to true. AdvertiseFixedIps pulumi.BoolOutput `pulumi:"advertiseFixedIps"` // The ID of the BGP VPN to which the port will be // associated. Changing this creates a new BGP VPN port association. BgpvpnId pulumi.StringOutput `pulumi:"bgpvpnId"` // The ID of the port to be associated with the BGP VPN. // Changing this creates a new BGP VPN port association. PortId pulumi.StringOutput `pulumi:"portId"` // The ID of the project that owns the port // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN port // association. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN port association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN port association. Region pulumi.StringOutput `pulumi:"region"` // A list of dictionaries containing the following keys: Routes BgpvpnPortAssociateV2RouteArrayOutput `pulumi:"routes"` }
Manages a V2 BGP VPN port association resource within OpenStack.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.NewBgpvpnPortAssociateV2(ctx, "association_1", &openstack.BgpvpnPortAssociateV2Args{ BgpvpnId: pulumi.String("19382ec5-8098-47d9-a9c6-6270c91103f4"), PortId: pulumi.String("b83a95b8-c2c8-4eac-9a9e-ddc85bd1266f"), Routes: openstack.BgpvpnPortAssociateV2RouteArray{ &openstack.BgpvpnPortAssociateV2RouteArgs{ Type: pulumi.String("prefix"), Prefix: pulumi.String("192.168.170.1/32"), }, &openstack.BgpvpnPortAssociateV2RouteArgs{ Type: pulumi.String("bgpvpn"), BgpvpnId: pulumi.String("35af1cc6-3d0f-4c5d-86f8-8cdb508d3f0c"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
BGP VPN port associations can be imported using the BGP VPN ID and BGP VPN port ¶
association ID separated by a slash, e.g.:
hcl
```sh $ pulumi import openstack:index/bgpvpnPortAssociateV2:BgpvpnPortAssociateV2 association_1 5bb44ecf-f8fe-4d75-8fc5-313f96ee2696/8f8fc660-3f28-414e-896a-0c7c51162fcf ```
func GetBgpvpnPortAssociateV2 ¶
func GetBgpvpnPortAssociateV2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BgpvpnPortAssociateV2State, opts ...pulumi.ResourceOption) (*BgpvpnPortAssociateV2, error)
GetBgpvpnPortAssociateV2 gets an existing BgpvpnPortAssociateV2 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 NewBgpvpnPortAssociateV2 ¶
func NewBgpvpnPortAssociateV2(ctx *pulumi.Context, name string, args *BgpvpnPortAssociateV2Args, opts ...pulumi.ResourceOption) (*BgpvpnPortAssociateV2, error)
NewBgpvpnPortAssociateV2 registers a new resource with the given unique name, arguments, and options.
func (*BgpvpnPortAssociateV2) ElementType ¶
func (*BgpvpnPortAssociateV2) ElementType() reflect.Type
func (*BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2Output ¶
func (i *BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2Output() BgpvpnPortAssociateV2Output
func (*BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2OutputWithContext ¶
func (i *BgpvpnPortAssociateV2) ToBgpvpnPortAssociateV2OutputWithContext(ctx context.Context) BgpvpnPortAssociateV2Output
type BgpvpnPortAssociateV2Args ¶
type BgpvpnPortAssociateV2Args struct { // A boolean flag indicating whether fixed // IPs should be advertised. Defaults to true. AdvertiseFixedIps pulumi.BoolPtrInput // The ID of the BGP VPN to which the port will be // associated. Changing this creates a new BGP VPN port association. BgpvpnId pulumi.StringInput // The ID of the port to be associated with the BGP VPN. // Changing this creates a new BGP VPN port association. PortId pulumi.StringInput // The ID of the project that owns the port // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN port // association. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN port association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN port association. Region pulumi.StringPtrInput // A list of dictionaries containing the following keys: Routes BgpvpnPortAssociateV2RouteArrayInput }
The set of arguments for constructing a BgpvpnPortAssociateV2 resource.
func (BgpvpnPortAssociateV2Args) ElementType ¶
func (BgpvpnPortAssociateV2Args) ElementType() reflect.Type
type BgpvpnPortAssociateV2Array ¶
type BgpvpnPortAssociateV2Array []BgpvpnPortAssociateV2Input
func (BgpvpnPortAssociateV2Array) ElementType ¶
func (BgpvpnPortAssociateV2Array) ElementType() reflect.Type
func (BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutput ¶
func (i BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput
func (BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutputWithContext ¶
func (i BgpvpnPortAssociateV2Array) ToBgpvpnPortAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2ArrayOutput
type BgpvpnPortAssociateV2ArrayInput ¶
type BgpvpnPortAssociateV2ArrayInput interface { pulumi.Input ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput ToBgpvpnPortAssociateV2ArrayOutputWithContext(context.Context) BgpvpnPortAssociateV2ArrayOutput }
BgpvpnPortAssociateV2ArrayInput is an input type that accepts BgpvpnPortAssociateV2Array and BgpvpnPortAssociateV2ArrayOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2ArrayInput` via:
BgpvpnPortAssociateV2Array{ BgpvpnPortAssociateV2Args{...} }
type BgpvpnPortAssociateV2ArrayOutput ¶
type BgpvpnPortAssociateV2ArrayOutput struct{ *pulumi.OutputState }
func (BgpvpnPortAssociateV2ArrayOutput) ElementType ¶
func (BgpvpnPortAssociateV2ArrayOutput) ElementType() reflect.Type
func (BgpvpnPortAssociateV2ArrayOutput) Index ¶
func (o BgpvpnPortAssociateV2ArrayOutput) Index(i pulumi.IntInput) BgpvpnPortAssociateV2Output
func (BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutput ¶
func (o BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutput() BgpvpnPortAssociateV2ArrayOutput
func (BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutputWithContext ¶
func (o BgpvpnPortAssociateV2ArrayOutput) ToBgpvpnPortAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2ArrayOutput
type BgpvpnPortAssociateV2Input ¶
type BgpvpnPortAssociateV2Input interface { pulumi.Input ToBgpvpnPortAssociateV2Output() BgpvpnPortAssociateV2Output ToBgpvpnPortAssociateV2OutputWithContext(ctx context.Context) BgpvpnPortAssociateV2Output }
type BgpvpnPortAssociateV2Map ¶
type BgpvpnPortAssociateV2Map map[string]BgpvpnPortAssociateV2Input
func (BgpvpnPortAssociateV2Map) ElementType ¶
func (BgpvpnPortAssociateV2Map) ElementType() reflect.Type
func (BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutput ¶
func (i BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutput() BgpvpnPortAssociateV2MapOutput
func (BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutputWithContext ¶
func (i BgpvpnPortAssociateV2Map) ToBgpvpnPortAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2MapOutput
type BgpvpnPortAssociateV2MapInput ¶
type BgpvpnPortAssociateV2MapInput interface { pulumi.Input ToBgpvpnPortAssociateV2MapOutput() BgpvpnPortAssociateV2MapOutput ToBgpvpnPortAssociateV2MapOutputWithContext(context.Context) BgpvpnPortAssociateV2MapOutput }
BgpvpnPortAssociateV2MapInput is an input type that accepts BgpvpnPortAssociateV2Map and BgpvpnPortAssociateV2MapOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2MapInput` via:
BgpvpnPortAssociateV2Map{ "key": BgpvpnPortAssociateV2Args{...} }
type BgpvpnPortAssociateV2MapOutput ¶
type BgpvpnPortAssociateV2MapOutput struct{ *pulumi.OutputState }
func (BgpvpnPortAssociateV2MapOutput) ElementType ¶
func (BgpvpnPortAssociateV2MapOutput) ElementType() reflect.Type
func (BgpvpnPortAssociateV2MapOutput) MapIndex ¶
func (o BgpvpnPortAssociateV2MapOutput) MapIndex(k pulumi.StringInput) BgpvpnPortAssociateV2Output
func (BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutput ¶
func (o BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutput() BgpvpnPortAssociateV2MapOutput
func (BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutputWithContext ¶
func (o BgpvpnPortAssociateV2MapOutput) ToBgpvpnPortAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2MapOutput
type BgpvpnPortAssociateV2Output ¶
type BgpvpnPortAssociateV2Output struct{ *pulumi.OutputState }
func (BgpvpnPortAssociateV2Output) AdvertiseFixedIps ¶
func (o BgpvpnPortAssociateV2Output) AdvertiseFixedIps() pulumi.BoolOutput
A boolean flag indicating whether fixed IPs should be advertised. Defaults to true.
func (BgpvpnPortAssociateV2Output) BgpvpnId ¶
func (o BgpvpnPortAssociateV2Output) BgpvpnId() pulumi.StringOutput
The ID of the BGP VPN to which the port will be associated. Changing this creates a new BGP VPN port association.
func (BgpvpnPortAssociateV2Output) ElementType ¶
func (BgpvpnPortAssociateV2Output) ElementType() reflect.Type
func (BgpvpnPortAssociateV2Output) PortId ¶
func (o BgpvpnPortAssociateV2Output) PortId() pulumi.StringOutput
The ID of the port to be associated with the BGP VPN. Changing this creates a new BGP VPN port association.
func (BgpvpnPortAssociateV2Output) ProjectId ¶
func (o BgpvpnPortAssociateV2Output) ProjectId() pulumi.StringOutput
The ID of the project that owns the port association. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN port association.
func (BgpvpnPortAssociateV2Output) Region ¶
func (o BgpvpnPortAssociateV2Output) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN port association. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN port association.
func (BgpvpnPortAssociateV2Output) Routes ¶
func (o BgpvpnPortAssociateV2Output) Routes() BgpvpnPortAssociateV2RouteArrayOutput
A list of dictionaries containing the following keys:
func (BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2Output ¶
func (o BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2Output() BgpvpnPortAssociateV2Output
func (BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2OutputWithContext ¶
func (o BgpvpnPortAssociateV2Output) ToBgpvpnPortAssociateV2OutputWithContext(ctx context.Context) BgpvpnPortAssociateV2Output
type BgpvpnPortAssociateV2Route ¶
type BgpvpnPortAssociateV2Route struct { // The ID of the BGP VPN to be advertised. Required // if `type` is `bgpvpn`. Conflicts with `prefix`. BgpvpnId *string `pulumi:"bgpvpnId"` // The BGP LOCAL\_PREF value of the routes that will // be advertised. LocalPref *int `pulumi:"localPref"` // The CIDR prefix (v4 or v6) to be advertised. Required // if `type` is `prefix`. Conflicts with `bgpvpnId`. Prefix *string `pulumi:"prefix"` // Can be `prefix` or `bgpvpn`. For the `prefix` type, the // CIDR prefix (v4 or v6) must be specified in the `prefix` key. For the // `bgpvpn` type, the BGP VPN ID must be specified in the `bgpvpnId` key. Type string `pulumi:"type"` }
type BgpvpnPortAssociateV2RouteArgs ¶
type BgpvpnPortAssociateV2RouteArgs struct { // The ID of the BGP VPN to be advertised. Required // if `type` is `bgpvpn`. Conflicts with `prefix`. BgpvpnId pulumi.StringPtrInput `pulumi:"bgpvpnId"` // The BGP LOCAL\_PREF value of the routes that will // be advertised. LocalPref pulumi.IntPtrInput `pulumi:"localPref"` // The CIDR prefix (v4 or v6) to be advertised. Required // if `type` is `prefix`. Conflicts with `bgpvpnId`. Prefix pulumi.StringPtrInput `pulumi:"prefix"` // Can be `prefix` or `bgpvpn`. For the `prefix` type, the // CIDR prefix (v4 or v6) must be specified in the `prefix` key. For the // `bgpvpn` type, the BGP VPN ID must be specified in the `bgpvpnId` key. Type pulumi.StringInput `pulumi:"type"` }
func (BgpvpnPortAssociateV2RouteArgs) ElementType ¶
func (BgpvpnPortAssociateV2RouteArgs) ElementType() reflect.Type
func (BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutput ¶
func (i BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput
func (BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutputWithContext ¶
func (i BgpvpnPortAssociateV2RouteArgs) ToBgpvpnPortAssociateV2RouteOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteOutput
type BgpvpnPortAssociateV2RouteArray ¶
type BgpvpnPortAssociateV2RouteArray []BgpvpnPortAssociateV2RouteInput
func (BgpvpnPortAssociateV2RouteArray) ElementType ¶
func (BgpvpnPortAssociateV2RouteArray) ElementType() reflect.Type
func (BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutput ¶
func (i BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput
func (BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext ¶
func (i BgpvpnPortAssociateV2RouteArray) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteArrayOutput
type BgpvpnPortAssociateV2RouteArrayInput ¶
type BgpvpnPortAssociateV2RouteArrayInput interface { pulumi.Input ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(context.Context) BgpvpnPortAssociateV2RouteArrayOutput }
BgpvpnPortAssociateV2RouteArrayInput is an input type that accepts BgpvpnPortAssociateV2RouteArray and BgpvpnPortAssociateV2RouteArrayOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2RouteArrayInput` via:
BgpvpnPortAssociateV2RouteArray{ BgpvpnPortAssociateV2RouteArgs{...} }
type BgpvpnPortAssociateV2RouteArrayOutput ¶
type BgpvpnPortAssociateV2RouteArrayOutput struct{ *pulumi.OutputState }
func (BgpvpnPortAssociateV2RouteArrayOutput) ElementType ¶
func (BgpvpnPortAssociateV2RouteArrayOutput) ElementType() reflect.Type
func (BgpvpnPortAssociateV2RouteArrayOutput) Index ¶
func (o BgpvpnPortAssociateV2RouteArrayOutput) Index(i pulumi.IntInput) BgpvpnPortAssociateV2RouteOutput
func (BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutput ¶
func (o BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutput() BgpvpnPortAssociateV2RouteArrayOutput
func (BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext ¶
func (o BgpvpnPortAssociateV2RouteArrayOutput) ToBgpvpnPortAssociateV2RouteArrayOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteArrayOutput
type BgpvpnPortAssociateV2RouteInput ¶
type BgpvpnPortAssociateV2RouteInput interface { pulumi.Input ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput ToBgpvpnPortAssociateV2RouteOutputWithContext(context.Context) BgpvpnPortAssociateV2RouteOutput }
BgpvpnPortAssociateV2RouteInput is an input type that accepts BgpvpnPortAssociateV2RouteArgs and BgpvpnPortAssociateV2RouteOutput values. You can construct a concrete instance of `BgpvpnPortAssociateV2RouteInput` via:
BgpvpnPortAssociateV2RouteArgs{...}
type BgpvpnPortAssociateV2RouteOutput ¶
type BgpvpnPortAssociateV2RouteOutput struct{ *pulumi.OutputState }
func (BgpvpnPortAssociateV2RouteOutput) BgpvpnId ¶
func (o BgpvpnPortAssociateV2RouteOutput) BgpvpnId() pulumi.StringPtrOutput
The ID of the BGP VPN to be advertised. Required if `type` is `bgpvpn`. Conflicts with `prefix`.
func (BgpvpnPortAssociateV2RouteOutput) ElementType ¶
func (BgpvpnPortAssociateV2RouteOutput) ElementType() reflect.Type
func (BgpvpnPortAssociateV2RouteOutput) LocalPref ¶
func (o BgpvpnPortAssociateV2RouteOutput) LocalPref() pulumi.IntPtrOutput
The BGP LOCAL\_PREF value of the routes that will be advertised.
func (BgpvpnPortAssociateV2RouteOutput) Prefix ¶
func (o BgpvpnPortAssociateV2RouteOutput) Prefix() pulumi.StringPtrOutput
The CIDR prefix (v4 or v6) to be advertised. Required if `type` is `prefix`. Conflicts with `bgpvpnId`.
func (BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutput ¶
func (o BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutput() BgpvpnPortAssociateV2RouteOutput
func (BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutputWithContext ¶
func (o BgpvpnPortAssociateV2RouteOutput) ToBgpvpnPortAssociateV2RouteOutputWithContext(ctx context.Context) BgpvpnPortAssociateV2RouteOutput
func (BgpvpnPortAssociateV2RouteOutput) Type ¶
func (o BgpvpnPortAssociateV2RouteOutput) Type() pulumi.StringOutput
Can be `prefix` or `bgpvpn`. For the `prefix` type, the CIDR prefix (v4 or v6) must be specified in the `prefix` key. For the `bgpvpn` type, the BGP VPN ID must be specified in the `bgpvpnId` key.
type BgpvpnPortAssociateV2State ¶
type BgpvpnPortAssociateV2State struct { // A boolean flag indicating whether fixed // IPs should be advertised. Defaults to true. AdvertiseFixedIps pulumi.BoolPtrInput // The ID of the BGP VPN to which the port will be // associated. Changing this creates a new BGP VPN port association. BgpvpnId pulumi.StringPtrInput // The ID of the port to be associated with the BGP VPN. // Changing this creates a new BGP VPN port association. PortId pulumi.StringPtrInput // The ID of the project that owns the port // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN port // association. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN port association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN port association. Region pulumi.StringPtrInput // A list of dictionaries containing the following keys: Routes BgpvpnPortAssociateV2RouteArrayInput }
func (BgpvpnPortAssociateV2State) ElementType ¶
func (BgpvpnPortAssociateV2State) ElementType() reflect.Type
type BgpvpnRouterAssociateV2 ¶
type BgpvpnRouterAssociateV2 struct { pulumi.CustomResourceState // A boolean flag indicating whether extra // routes should be advertised. Defaults to true. AdvertiseExtraRoutes pulumi.BoolOutput `pulumi:"advertiseExtraRoutes"` // The ID of the BGP VPN to which the router will be // associated. Changing this creates a new BGP VPN router association. BgpvpnId pulumi.StringOutput `pulumi:"bgpvpnId"` // The ID of the project that owns the BGP VPN router // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN router // association. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN router association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN router association. Region pulumi.StringOutput `pulumi:"region"` // The ID of the router to be associated with the BGP // VPN. Changing this creates a new BGP VPN router association. RouterId pulumi.StringOutput `pulumi:"routerId"` }
Manages a V2 BGP VPN router association resource within OpenStack.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.NewBgpvpnRouterAssociateV2(ctx, "association_1", &openstack.BgpvpnRouterAssociateV2Args{ BgpvpnId: pulumi.String("d57d39e1-dc63-44fd-8cbd-a4e1488100c5"), RouterId: pulumi.String("423fa80f-e0d7-4d02-a9a5-8b8c05812bf6"), }) if err != nil { return err } return nil }) }
```
## Import
BGP VPN router associations can be imported using the BGP VPN ID and BGP VPN ¶
router association ID separated by a slash, e.g.:
hcl
```sh $ pulumi import openstack:index/bgpvpnRouterAssociateV2:BgpvpnRouterAssociateV2 association_1 e26d509e-fc2d-4fb5-8562-619911a9a6bc/3cc9df2d-80db-4536-8ba6-295d1d0f723f ```
func GetBgpvpnRouterAssociateV2 ¶
func GetBgpvpnRouterAssociateV2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BgpvpnRouterAssociateV2State, opts ...pulumi.ResourceOption) (*BgpvpnRouterAssociateV2, error)
GetBgpvpnRouterAssociateV2 gets an existing BgpvpnRouterAssociateV2 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 NewBgpvpnRouterAssociateV2 ¶
func NewBgpvpnRouterAssociateV2(ctx *pulumi.Context, name string, args *BgpvpnRouterAssociateV2Args, opts ...pulumi.ResourceOption) (*BgpvpnRouterAssociateV2, error)
NewBgpvpnRouterAssociateV2 registers a new resource with the given unique name, arguments, and options.
func (*BgpvpnRouterAssociateV2) ElementType ¶
func (*BgpvpnRouterAssociateV2) ElementType() reflect.Type
func (*BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2Output ¶
func (i *BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2Output() BgpvpnRouterAssociateV2Output
func (*BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2OutputWithContext ¶
func (i *BgpvpnRouterAssociateV2) ToBgpvpnRouterAssociateV2OutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2Output
type BgpvpnRouterAssociateV2Args ¶
type BgpvpnRouterAssociateV2Args struct { // A boolean flag indicating whether extra // routes should be advertised. Defaults to true. AdvertiseExtraRoutes pulumi.BoolPtrInput // The ID of the BGP VPN to which the router will be // associated. Changing this creates a new BGP VPN router association. BgpvpnId pulumi.StringInput // The ID of the project that owns the BGP VPN router // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN router // association. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN router association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN router association. Region pulumi.StringPtrInput // The ID of the router to be associated with the BGP // VPN. Changing this creates a new BGP VPN router association. RouterId pulumi.StringInput }
The set of arguments for constructing a BgpvpnRouterAssociateV2 resource.
func (BgpvpnRouterAssociateV2Args) ElementType ¶
func (BgpvpnRouterAssociateV2Args) ElementType() reflect.Type
type BgpvpnRouterAssociateV2Array ¶
type BgpvpnRouterAssociateV2Array []BgpvpnRouterAssociateV2Input
func (BgpvpnRouterAssociateV2Array) ElementType ¶
func (BgpvpnRouterAssociateV2Array) ElementType() reflect.Type
func (BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutput ¶
func (i BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput
func (BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutputWithContext ¶
func (i BgpvpnRouterAssociateV2Array) ToBgpvpnRouterAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2ArrayOutput
type BgpvpnRouterAssociateV2ArrayInput ¶
type BgpvpnRouterAssociateV2ArrayInput interface { pulumi.Input ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput ToBgpvpnRouterAssociateV2ArrayOutputWithContext(context.Context) BgpvpnRouterAssociateV2ArrayOutput }
BgpvpnRouterAssociateV2ArrayInput is an input type that accepts BgpvpnRouterAssociateV2Array and BgpvpnRouterAssociateV2ArrayOutput values. You can construct a concrete instance of `BgpvpnRouterAssociateV2ArrayInput` via:
BgpvpnRouterAssociateV2Array{ BgpvpnRouterAssociateV2Args{...} }
type BgpvpnRouterAssociateV2ArrayOutput ¶
type BgpvpnRouterAssociateV2ArrayOutput struct{ *pulumi.OutputState }
func (BgpvpnRouterAssociateV2ArrayOutput) ElementType ¶
func (BgpvpnRouterAssociateV2ArrayOutput) ElementType() reflect.Type
func (BgpvpnRouterAssociateV2ArrayOutput) Index ¶
func (o BgpvpnRouterAssociateV2ArrayOutput) Index(i pulumi.IntInput) BgpvpnRouterAssociateV2Output
func (BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutput ¶
func (o BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutput() BgpvpnRouterAssociateV2ArrayOutput
func (BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutputWithContext ¶
func (o BgpvpnRouterAssociateV2ArrayOutput) ToBgpvpnRouterAssociateV2ArrayOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2ArrayOutput
type BgpvpnRouterAssociateV2Input ¶
type BgpvpnRouterAssociateV2Input interface { pulumi.Input ToBgpvpnRouterAssociateV2Output() BgpvpnRouterAssociateV2Output ToBgpvpnRouterAssociateV2OutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2Output }
type BgpvpnRouterAssociateV2Map ¶
type BgpvpnRouterAssociateV2Map map[string]BgpvpnRouterAssociateV2Input
func (BgpvpnRouterAssociateV2Map) ElementType ¶
func (BgpvpnRouterAssociateV2Map) ElementType() reflect.Type
func (BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutput ¶
func (i BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput
func (BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutputWithContext ¶
func (i BgpvpnRouterAssociateV2Map) ToBgpvpnRouterAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2MapOutput
type BgpvpnRouterAssociateV2MapInput ¶
type BgpvpnRouterAssociateV2MapInput interface { pulumi.Input ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput ToBgpvpnRouterAssociateV2MapOutputWithContext(context.Context) BgpvpnRouterAssociateV2MapOutput }
BgpvpnRouterAssociateV2MapInput is an input type that accepts BgpvpnRouterAssociateV2Map and BgpvpnRouterAssociateV2MapOutput values. You can construct a concrete instance of `BgpvpnRouterAssociateV2MapInput` via:
BgpvpnRouterAssociateV2Map{ "key": BgpvpnRouterAssociateV2Args{...} }
type BgpvpnRouterAssociateV2MapOutput ¶
type BgpvpnRouterAssociateV2MapOutput struct{ *pulumi.OutputState }
func (BgpvpnRouterAssociateV2MapOutput) ElementType ¶
func (BgpvpnRouterAssociateV2MapOutput) ElementType() reflect.Type
func (BgpvpnRouterAssociateV2MapOutput) MapIndex ¶
func (o BgpvpnRouterAssociateV2MapOutput) MapIndex(k pulumi.StringInput) BgpvpnRouterAssociateV2Output
func (BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutput ¶
func (o BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutput() BgpvpnRouterAssociateV2MapOutput
func (BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutputWithContext ¶
func (o BgpvpnRouterAssociateV2MapOutput) ToBgpvpnRouterAssociateV2MapOutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2MapOutput
type BgpvpnRouterAssociateV2Output ¶
type BgpvpnRouterAssociateV2Output struct{ *pulumi.OutputState }
func (BgpvpnRouterAssociateV2Output) AdvertiseExtraRoutes ¶
func (o BgpvpnRouterAssociateV2Output) AdvertiseExtraRoutes() pulumi.BoolOutput
A boolean flag indicating whether extra routes should be advertised. Defaults to true.
func (BgpvpnRouterAssociateV2Output) BgpvpnId ¶
func (o BgpvpnRouterAssociateV2Output) BgpvpnId() pulumi.StringOutput
The ID of the BGP VPN to which the router will be associated. Changing this creates a new BGP VPN router association.
func (BgpvpnRouterAssociateV2Output) ElementType ¶
func (BgpvpnRouterAssociateV2Output) ElementType() reflect.Type
func (BgpvpnRouterAssociateV2Output) ProjectId ¶
func (o BgpvpnRouterAssociateV2Output) ProjectId() pulumi.StringOutput
The ID of the project that owns the BGP VPN router association. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN router association.
func (BgpvpnRouterAssociateV2Output) Region ¶
func (o BgpvpnRouterAssociateV2Output) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN router association. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN router association.
func (BgpvpnRouterAssociateV2Output) RouterId ¶
func (o BgpvpnRouterAssociateV2Output) RouterId() pulumi.StringOutput
The ID of the router to be associated with the BGP VPN. Changing this creates a new BGP VPN router association.
func (BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2Output ¶
func (o BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2Output() BgpvpnRouterAssociateV2Output
func (BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2OutputWithContext ¶
func (o BgpvpnRouterAssociateV2Output) ToBgpvpnRouterAssociateV2OutputWithContext(ctx context.Context) BgpvpnRouterAssociateV2Output
type BgpvpnRouterAssociateV2State ¶
type BgpvpnRouterAssociateV2State struct { // A boolean flag indicating whether extra // routes should be advertised. Defaults to true. AdvertiseExtraRoutes pulumi.BoolPtrInput // The ID of the BGP VPN to which the router will be // associated. Changing this creates a new BGP VPN router association. BgpvpnId pulumi.StringPtrInput // The ID of the project that owns the BGP VPN router // association. Only administrative and users with `advsvc` role can specify a // project ID other than their own. Changing this creates a new BGP VPN router // association. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN router association. If // omitted, the `region` argument of the provider is used. Changing this creates // a new BGP VPN router association. Region pulumi.StringPtrInput // The ID of the router to be associated with the BGP // VPN. Changing this creates a new BGP VPN router association. RouterId pulumi.StringPtrInput }
func (BgpvpnRouterAssociateV2State) ElementType ¶
func (BgpvpnRouterAssociateV2State) ElementType() reflect.Type
type BgpvpnV2 ¶
type BgpvpnV2 struct { pulumi.CustomResourceState // A list of additional Route Targets that will be // used for export. ExportTargets pulumi.StringArrayOutput `pulumi:"exportTargets"` // A list of additional Route Targets that will be // imported. ImportTargets pulumi.StringArrayOutput `pulumi:"importTargets"` // The default BGP LOCAL\_PREF of routes that will be // advertised to the BGP VPN, unless overridden per-route. LocalPref pulumi.IntPtrOutput `pulumi:"localPref"` // The name of the BGP VPN. Changing this updates the name of // the existing BGP VPN. Name pulumi.StringOutput `pulumi:"name"` // A list of network IDs that are associated with the BGP VPN. Networks pulumi.StringArrayOutput `pulumi:"networks"` // A list of port IDs that are associated with the BGP VPN. Ports pulumi.StringArrayOutput `pulumi:"ports"` // The ID of the project that owns the BGPVPN. Only // administrative and users with `advsvc` role can specify a project ID other // than their own. Changing this creates a new BGP VPN. ProjectId pulumi.StringOutput `pulumi:"projectId"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // BGP VPN. Region pulumi.StringOutput `pulumi:"region"` // A list of route distinguisher strings. If // specified, one of these RDs will be used to advertise VPN routes. RouteDistinguishers pulumi.StringArrayOutput `pulumi:"routeDistinguishers"` // A list of Route Targets that will be both // imported and used for export. RouteTargets pulumi.StringArrayOutput `pulumi:"routeTargets"` // A list of router IDs that are associated with the BGP VPN. Routers pulumi.StringArrayOutput `pulumi:"routers"` Shared pulumi.BoolOutput `pulumi:"shared"` // The type of the BGP VPN (either `l2` or `l3`). Changing this // creates a new BGP VPN. Defaults to `l3`. Type pulumi.StringOutput `pulumi:"type"` // The globally-assigned VXLAN VNI for the BGP VPN. Changing // this creates a new BGP VPN. Vni pulumi.IntPtrOutput `pulumi:"vni"` }
Manages a V2 BGP VPN service resource within OpenStack.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.NewBgpvpnV2(ctx, "bgpvpn_1", &openstack.BgpvpnV2Args{ Name: pulumi.String("bgpvpn1"), RouteDistinguishers: pulumi.StringArray{ pulumi.String("64512:1"), }, RouteTargets: pulumi.StringArray{ pulumi.String("64512:1"), }, ImportTargets: pulumi.StringArray{ pulumi.String("64512:2"), }, ExportTargets: pulumi.StringArray{ pulumi.String("64512:3"), }, }) if err != nil { return err } return nil }) }
```
## Import
BGP VPNs can be imported using the `id`, e.g.
hcl
```sh $ pulumi import openstack:index/bgpvpnV2:BgpvpnV2 bgpvpn_1 1eec2c66-6be2-4305-af3f-354c9b81f18c ```
func GetBgpvpnV2 ¶
func GetBgpvpnV2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BgpvpnV2State, opts ...pulumi.ResourceOption) (*BgpvpnV2, error)
GetBgpvpnV2 gets an existing BgpvpnV2 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 NewBgpvpnV2 ¶
func NewBgpvpnV2(ctx *pulumi.Context, name string, args *BgpvpnV2Args, opts ...pulumi.ResourceOption) (*BgpvpnV2, error)
NewBgpvpnV2 registers a new resource with the given unique name, arguments, and options.
func (*BgpvpnV2) ElementType ¶
func (*BgpvpnV2) ToBgpvpnV2Output ¶
func (i *BgpvpnV2) ToBgpvpnV2Output() BgpvpnV2Output
func (*BgpvpnV2) ToBgpvpnV2OutputWithContext ¶
func (i *BgpvpnV2) ToBgpvpnV2OutputWithContext(ctx context.Context) BgpvpnV2Output
type BgpvpnV2Args ¶
type BgpvpnV2Args struct { // A list of additional Route Targets that will be // used for export. ExportTargets pulumi.StringArrayInput // A list of additional Route Targets that will be // imported. ImportTargets pulumi.StringArrayInput // The default BGP LOCAL\_PREF of routes that will be // advertised to the BGP VPN, unless overridden per-route. LocalPref pulumi.IntPtrInput // The name of the BGP VPN. Changing this updates the name of // the existing BGP VPN. Name pulumi.StringPtrInput // The ID of the project that owns the BGPVPN. Only // administrative and users with `advsvc` role can specify a project ID other // than their own. Changing this creates a new BGP VPN. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // BGP VPN. Region pulumi.StringPtrInput // A list of route distinguisher strings. If // specified, one of these RDs will be used to advertise VPN routes. RouteDistinguishers pulumi.StringArrayInput // A list of Route Targets that will be both // imported and used for export. RouteTargets pulumi.StringArrayInput // The type of the BGP VPN (either `l2` or `l3`). Changing this // creates a new BGP VPN. Defaults to `l3`. Type pulumi.StringPtrInput // The globally-assigned VXLAN VNI for the BGP VPN. Changing // this creates a new BGP VPN. Vni pulumi.IntPtrInput }
The set of arguments for constructing a BgpvpnV2 resource.
func (BgpvpnV2Args) ElementType ¶
func (BgpvpnV2Args) ElementType() reflect.Type
type BgpvpnV2Array ¶
type BgpvpnV2Array []BgpvpnV2Input
func (BgpvpnV2Array) ElementType ¶
func (BgpvpnV2Array) ElementType() reflect.Type
func (BgpvpnV2Array) ToBgpvpnV2ArrayOutput ¶
func (i BgpvpnV2Array) ToBgpvpnV2ArrayOutput() BgpvpnV2ArrayOutput
func (BgpvpnV2Array) ToBgpvpnV2ArrayOutputWithContext ¶
func (i BgpvpnV2Array) ToBgpvpnV2ArrayOutputWithContext(ctx context.Context) BgpvpnV2ArrayOutput
type BgpvpnV2ArrayInput ¶
type BgpvpnV2ArrayInput interface { pulumi.Input ToBgpvpnV2ArrayOutput() BgpvpnV2ArrayOutput ToBgpvpnV2ArrayOutputWithContext(context.Context) BgpvpnV2ArrayOutput }
BgpvpnV2ArrayInput is an input type that accepts BgpvpnV2Array and BgpvpnV2ArrayOutput values. You can construct a concrete instance of `BgpvpnV2ArrayInput` via:
BgpvpnV2Array{ BgpvpnV2Args{...} }
type BgpvpnV2ArrayOutput ¶
type BgpvpnV2ArrayOutput struct{ *pulumi.OutputState }
func (BgpvpnV2ArrayOutput) ElementType ¶
func (BgpvpnV2ArrayOutput) ElementType() reflect.Type
func (BgpvpnV2ArrayOutput) Index ¶
func (o BgpvpnV2ArrayOutput) Index(i pulumi.IntInput) BgpvpnV2Output
func (BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutput ¶
func (o BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutput() BgpvpnV2ArrayOutput
func (BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutputWithContext ¶
func (o BgpvpnV2ArrayOutput) ToBgpvpnV2ArrayOutputWithContext(ctx context.Context) BgpvpnV2ArrayOutput
type BgpvpnV2Input ¶
type BgpvpnV2Input interface { pulumi.Input ToBgpvpnV2Output() BgpvpnV2Output ToBgpvpnV2OutputWithContext(ctx context.Context) BgpvpnV2Output }
type BgpvpnV2Map ¶
type BgpvpnV2Map map[string]BgpvpnV2Input
func (BgpvpnV2Map) ElementType ¶
func (BgpvpnV2Map) ElementType() reflect.Type
func (BgpvpnV2Map) ToBgpvpnV2MapOutput ¶
func (i BgpvpnV2Map) ToBgpvpnV2MapOutput() BgpvpnV2MapOutput
func (BgpvpnV2Map) ToBgpvpnV2MapOutputWithContext ¶
func (i BgpvpnV2Map) ToBgpvpnV2MapOutputWithContext(ctx context.Context) BgpvpnV2MapOutput
type BgpvpnV2MapInput ¶
type BgpvpnV2MapInput interface { pulumi.Input ToBgpvpnV2MapOutput() BgpvpnV2MapOutput ToBgpvpnV2MapOutputWithContext(context.Context) BgpvpnV2MapOutput }
BgpvpnV2MapInput is an input type that accepts BgpvpnV2Map and BgpvpnV2MapOutput values. You can construct a concrete instance of `BgpvpnV2MapInput` via:
BgpvpnV2Map{ "key": BgpvpnV2Args{...} }
type BgpvpnV2MapOutput ¶
type BgpvpnV2MapOutput struct{ *pulumi.OutputState }
func (BgpvpnV2MapOutput) ElementType ¶
func (BgpvpnV2MapOutput) ElementType() reflect.Type
func (BgpvpnV2MapOutput) MapIndex ¶
func (o BgpvpnV2MapOutput) MapIndex(k pulumi.StringInput) BgpvpnV2Output
func (BgpvpnV2MapOutput) ToBgpvpnV2MapOutput ¶
func (o BgpvpnV2MapOutput) ToBgpvpnV2MapOutput() BgpvpnV2MapOutput
func (BgpvpnV2MapOutput) ToBgpvpnV2MapOutputWithContext ¶
func (o BgpvpnV2MapOutput) ToBgpvpnV2MapOutputWithContext(ctx context.Context) BgpvpnV2MapOutput
type BgpvpnV2Output ¶
type BgpvpnV2Output struct{ *pulumi.OutputState }
func (BgpvpnV2Output) ElementType ¶
func (BgpvpnV2Output) ElementType() reflect.Type
func (BgpvpnV2Output) ExportTargets ¶
func (o BgpvpnV2Output) ExportTargets() pulumi.StringArrayOutput
A list of additional Route Targets that will be used for export.
func (BgpvpnV2Output) ImportTargets ¶
func (o BgpvpnV2Output) ImportTargets() pulumi.StringArrayOutput
A list of additional Route Targets that will be imported.
func (BgpvpnV2Output) LocalPref ¶
func (o BgpvpnV2Output) LocalPref() pulumi.IntPtrOutput
The default BGP LOCAL\_PREF of routes that will be advertised to the BGP VPN, unless overridden per-route.
func (BgpvpnV2Output) Name ¶
func (o BgpvpnV2Output) Name() pulumi.StringOutput
The name of the BGP VPN. Changing this updates the name of the existing BGP VPN.
func (BgpvpnV2Output) Networks ¶
func (o BgpvpnV2Output) Networks() pulumi.StringArrayOutput
A list of network IDs that are associated with the BGP VPN.
func (BgpvpnV2Output) Ports ¶
func (o BgpvpnV2Output) Ports() pulumi.StringArrayOutput
A list of port IDs that are associated with the BGP VPN.
func (BgpvpnV2Output) ProjectId ¶
func (o BgpvpnV2Output) ProjectId() pulumi.StringOutput
The ID of the project that owns the BGPVPN. Only administrative and users with `advsvc` role can specify a project ID other than their own. Changing this creates a new BGP VPN.
func (BgpvpnV2Output) Region ¶
func (o BgpvpnV2Output) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a BGP VPN service. If omitted, the `region` argument of the provider is used. Changing this creates a new BGP VPN.
func (BgpvpnV2Output) RouteDistinguishers ¶
func (o BgpvpnV2Output) RouteDistinguishers() pulumi.StringArrayOutput
A list of route distinguisher strings. If specified, one of these RDs will be used to advertise VPN routes.
func (BgpvpnV2Output) RouteTargets ¶
func (o BgpvpnV2Output) RouteTargets() pulumi.StringArrayOutput
A list of Route Targets that will be both imported and used for export.
func (BgpvpnV2Output) Routers ¶
func (o BgpvpnV2Output) Routers() pulumi.StringArrayOutput
A list of router IDs that are associated with the BGP VPN.
func (BgpvpnV2Output) Shared ¶
func (o BgpvpnV2Output) Shared() pulumi.BoolOutput
Indicates whether the BGP VPN is shared across projects.
func (BgpvpnV2Output) ToBgpvpnV2Output ¶
func (o BgpvpnV2Output) ToBgpvpnV2Output() BgpvpnV2Output
func (BgpvpnV2Output) ToBgpvpnV2OutputWithContext ¶
func (o BgpvpnV2Output) ToBgpvpnV2OutputWithContext(ctx context.Context) BgpvpnV2Output
func (BgpvpnV2Output) Type ¶
func (o BgpvpnV2Output) Type() pulumi.StringOutput
The type of the BGP VPN (either `l2` or `l3`). Changing this creates a new BGP VPN. Defaults to `l3`.
func (BgpvpnV2Output) Vni ¶
func (o BgpvpnV2Output) Vni() pulumi.IntPtrOutput
The globally-assigned VXLAN VNI for the BGP VPN. Changing this creates a new BGP VPN.
type BgpvpnV2State ¶
type BgpvpnV2State struct { // A list of additional Route Targets that will be // used for export. ExportTargets pulumi.StringArrayInput // A list of additional Route Targets that will be // imported. ImportTargets pulumi.StringArrayInput // The default BGP LOCAL\_PREF of routes that will be // advertised to the BGP VPN, unless overridden per-route. LocalPref pulumi.IntPtrInput // The name of the BGP VPN. Changing this updates the name of // the existing BGP VPN. Name pulumi.StringPtrInput // A list of network IDs that are associated with the BGP VPN. Networks pulumi.StringArrayInput // A list of port IDs that are associated with the BGP VPN. Ports pulumi.StringArrayInput // The ID of the project that owns the BGPVPN. Only // administrative and users with `advsvc` role can specify a project ID other // than their own. Changing this creates a new BGP VPN. ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a BGP VPN service. If omitted, the // `region` argument of the provider is used. Changing this creates a new // BGP VPN. Region pulumi.StringPtrInput // A list of route distinguisher strings. If // specified, one of these RDs will be used to advertise VPN routes. RouteDistinguishers pulumi.StringArrayInput // A list of Route Targets that will be both // imported and used for export. RouteTargets pulumi.StringArrayInput // A list of router IDs that are associated with the BGP VPN. Routers pulumi.StringArrayInput Shared pulumi.BoolPtrInput // The type of the BGP VPN (either `l2` or `l3`). Changing this // creates a new BGP VPN. Defaults to `l3`. Type pulumi.StringPtrInput // The globally-assigned VXLAN VNI for the BGP VPN. Changing // this creates a new BGP VPN. Vni pulumi.IntPtrInput }
func (BgpvpnV2State) ElementType ¶
func (BgpvpnV2State) ElementType() reflect.Type
type GetFwGroupV2Args ¶
type GetFwGroupV2Args struct { // Administrative up/down status for the firewall group. AdminStateUp *bool `pulumi:"adminStateUp"` // Human-readable description of the firewall group. Description *string `pulumi:"description"` // The egress policy ID of the firewall group. EgressFirewallPolicyId *string `pulumi:"egressFirewallPolicyId"` // The ID of the firewall group. GroupId *string `pulumi:"groupId"` // The ingress policy ID of the firewall group. IngressFirewallPolicyId *string `pulumi:"ingressFirewallPolicyId"` // The name of the firewall group. Name *string `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall group. ProjectId *string `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall group ids. If omitted, the // `region` argument of the provider is used. Region *string `pulumi:"region"` Shared *bool `pulumi:"shared"` // Enabled status for the firewall group. Status *string `pulumi:"status"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall group. TenantId *string `pulumi:"tenantId"` }
A collection of arguments for invoking getFwGroupV2.
type GetFwGroupV2OutputArgs ¶
type GetFwGroupV2OutputArgs struct { // Administrative up/down status for the firewall group. AdminStateUp pulumi.BoolPtrInput `pulumi:"adminStateUp"` // Human-readable description of the firewall group. Description pulumi.StringPtrInput `pulumi:"description"` // The egress policy ID of the firewall group. EgressFirewallPolicyId pulumi.StringPtrInput `pulumi:"egressFirewallPolicyId"` // The ID of the firewall group. GroupId pulumi.StringPtrInput `pulumi:"groupId"` // The ingress policy ID of the firewall group. IngressFirewallPolicyId pulumi.StringPtrInput `pulumi:"ingressFirewallPolicyId"` // The name of the firewall group. Name pulumi.StringPtrInput `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall group. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall group ids. If omitted, the // `region` argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` Shared pulumi.BoolPtrInput `pulumi:"shared"` // Enabled status for the firewall group. Status pulumi.StringPtrInput `pulumi:"status"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall group. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
A collection of arguments for invoking getFwGroupV2.
func (GetFwGroupV2OutputArgs) ElementType ¶
func (GetFwGroupV2OutputArgs) ElementType() reflect.Type
type GetFwGroupV2Result ¶
type GetFwGroupV2Result struct { // See Argument Reference above. AdminStateUp bool `pulumi:"adminStateUp"` // See Argument Reference above. Description *string `pulumi:"description"` // See Argument Reference above. EgressFirewallPolicyId *string `pulumi:"egressFirewallPolicyId"` // See Argument Reference above. GroupId *string `pulumi:"groupId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // See Argument Reference above. IngressFirewallPolicyId *string `pulumi:"ingressFirewallPolicyId"` // See Argument Reference above. Name *string `pulumi:"name"` // Ports associated with the firewall group. Ports []string `pulumi:"ports"` // See Argument Reference above. ProjectId string `pulumi:"projectId"` // See Argument Reference above. Region string `pulumi:"region"` Shared bool `pulumi:"shared"` // See Argument Reference above. Status string `pulumi:"status"` // See Argument Reference above. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getFwGroupV2.
func GetFwGroupV2 ¶
func GetFwGroupV2(ctx *pulumi.Context, args *GetFwGroupV2Args, opts ...pulumi.InvokeOption) (*GetFwGroupV2Result, error)
Use this data source to get information of an available OpenStack firewall group v2.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.GetFwGroupV2(ctx, &openstack.GetFwGroupV2Args{ Name: pulumi.StringRef("tf_test_group"), }, nil) if err != nil { return err } return nil }) }
```
type GetFwGroupV2ResultOutput ¶
type GetFwGroupV2ResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFwGroupV2.
func GetFwGroupV2Output ¶
func GetFwGroupV2Output(ctx *pulumi.Context, args GetFwGroupV2OutputArgs, opts ...pulumi.InvokeOption) GetFwGroupV2ResultOutput
func (GetFwGroupV2ResultOutput) AdminStateUp ¶
func (o GetFwGroupV2ResultOutput) AdminStateUp() pulumi.BoolOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Description ¶
func (o GetFwGroupV2ResultOutput) Description() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) EgressFirewallPolicyId ¶
func (o GetFwGroupV2ResultOutput) EgressFirewallPolicyId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) ElementType ¶
func (GetFwGroupV2ResultOutput) ElementType() reflect.Type
func (GetFwGroupV2ResultOutput) GroupId ¶
func (o GetFwGroupV2ResultOutput) GroupId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Id ¶
func (o GetFwGroupV2ResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFwGroupV2ResultOutput) IngressFirewallPolicyId ¶
func (o GetFwGroupV2ResultOutput) IngressFirewallPolicyId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Name ¶
func (o GetFwGroupV2ResultOutput) Name() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Ports ¶
func (o GetFwGroupV2ResultOutput) Ports() pulumi.StringArrayOutput
Ports associated with the firewall group.
func (GetFwGroupV2ResultOutput) ProjectId ¶
func (o GetFwGroupV2ResultOutput) ProjectId() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Region ¶
func (o GetFwGroupV2ResultOutput) Region() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Shared ¶
func (o GetFwGroupV2ResultOutput) Shared() pulumi.BoolOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) Status ¶
func (o GetFwGroupV2ResultOutput) Status() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) TenantId ¶
func (o GetFwGroupV2ResultOutput) TenantId() pulumi.StringOutput
See Argument Reference above.
func (GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput ¶
func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutput() GetFwGroupV2ResultOutput
func (GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext ¶
func (o GetFwGroupV2ResultOutput) ToGetFwGroupV2ResultOutputWithContext(ctx context.Context) GetFwGroupV2ResultOutput
type GetFwPolicyV2Args ¶
type GetFwPolicyV2Args struct { // Whether this policy has been audited. Audited *bool `pulumi:"audited"` // Human-readable description of the policy. Description *string `pulumi:"description"` // The name of the firewall policy. Name *string `pulumi:"name"` // The ID of the firewall policy. PolicyId *string `pulumi:"policyId"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall policy. ProjectId *string `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region *string `pulumi:"region"` Shared *bool `pulumi:"shared"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall policy. TenantId *string `pulumi:"tenantId"` }
A collection of arguments for invoking getFwPolicyV2.
type GetFwPolicyV2OutputArgs ¶
type GetFwPolicyV2OutputArgs struct { // Whether this policy has been audited. Audited pulumi.BoolPtrInput `pulumi:"audited"` // Human-readable description of the policy. Description pulumi.StringPtrInput `pulumi:"description"` // The name of the firewall policy. Name pulumi.StringPtrInput `pulumi:"name"` // The ID of the firewall policy. PolicyId pulumi.StringPtrInput `pulumi:"policyId"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall policy. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` Shared pulumi.BoolPtrInput `pulumi:"shared"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall policy. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
A collection of arguments for invoking getFwPolicyV2.
func (GetFwPolicyV2OutputArgs) ElementType ¶
func (GetFwPolicyV2OutputArgs) ElementType() reflect.Type
type GetFwPolicyV2Result ¶
type GetFwPolicyV2Result struct { // The audit status of the firewall policy. Audited bool `pulumi:"audited"` Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // See Argument Reference above. Name *string `pulumi:"name"` // See Argument Reference above. PolicyId *string `pulumi:"policyId"` // See Argument Reference above. ProjectId string `pulumi:"projectId"` // See Argument Reference above. Region string `pulumi:"region"` // The array of one or more firewall rules that comprise the policy. Rules []string `pulumi:"rules"` Shared bool `pulumi:"shared"` // See Argument Reference above. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getFwPolicyV2.
func GetFwPolicyV2 ¶
func GetFwPolicyV2(ctx *pulumi.Context, args *GetFwPolicyV2Args, opts ...pulumi.InvokeOption) (*GetFwPolicyV2Result, error)
Use this data source to get information of an available OpenStack firewall policy v2.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.GetFwPolicyV2(ctx, &openstack.GetFwPolicyV2Args{ Name: pulumi.StringRef("tf_test_policy"), }, nil) if err != nil { return err } return nil }) }
```
type GetFwPolicyV2ResultOutput ¶
type GetFwPolicyV2ResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFwPolicyV2.
func GetFwPolicyV2Output ¶
func GetFwPolicyV2Output(ctx *pulumi.Context, args GetFwPolicyV2OutputArgs, opts ...pulumi.InvokeOption) GetFwPolicyV2ResultOutput
func (GetFwPolicyV2ResultOutput) Audited ¶
func (o GetFwPolicyV2ResultOutput) Audited() pulumi.BoolOutput
The audit status of the firewall policy.
func (GetFwPolicyV2ResultOutput) Description ¶
func (o GetFwPolicyV2ResultOutput) Description() pulumi.StringPtrOutput
func (GetFwPolicyV2ResultOutput) ElementType ¶
func (GetFwPolicyV2ResultOutput) ElementType() reflect.Type
func (GetFwPolicyV2ResultOutput) Id ¶
func (o GetFwPolicyV2ResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFwPolicyV2ResultOutput) Name ¶
func (o GetFwPolicyV2ResultOutput) Name() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) PolicyId ¶
func (o GetFwPolicyV2ResultOutput) PolicyId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) ProjectId ¶
func (o GetFwPolicyV2ResultOutput) ProjectId() pulumi.StringOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) Region ¶
func (o GetFwPolicyV2ResultOutput) Region() pulumi.StringOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) Rules ¶
func (o GetFwPolicyV2ResultOutput) Rules() pulumi.StringArrayOutput
The array of one or more firewall rules that comprise the policy.
func (GetFwPolicyV2ResultOutput) Shared ¶
func (o GetFwPolicyV2ResultOutput) Shared() pulumi.BoolOutput
The sharing status of the firewall policy.
func (GetFwPolicyV2ResultOutput) TenantId ¶
func (o GetFwPolicyV2ResultOutput) TenantId() pulumi.StringOutput
See Argument Reference above.
func (GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput ¶
func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutput() GetFwPolicyV2ResultOutput
func (GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext ¶
func (o GetFwPolicyV2ResultOutput) ToGetFwPolicyV2ResultOutputWithContext(ctx context.Context) GetFwPolicyV2ResultOutput
type GetFwRuleV2Args ¶
type GetFwRuleV2Args struct { // Action to be taken when the firewall rule matches. Action *string `pulumi:"action"` // The description of the firewall rule. Description *string `pulumi:"description"` // The destination IP address on which the // firewall rule operates. DestinationIpAddress *string `pulumi:"destinationIpAddress"` // The destination port on which the firewall // rule operates. DestinationPort *string `pulumi:"destinationPort"` // Enabled status for the firewall rule. Enabled *bool `pulumi:"enabled"` // The ID of the firewall policy the rule belongs to. FirewallPolicyIds []string `pulumi:"firewallPolicyIds"` // IP version, either 4 (default) or 6. IpVersion *int `pulumi:"ipVersion"` // The name of the firewall rule. Name *string `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall rule. ProjectId *string `pulumi:"projectId"` // The protocol type on which the firewall rule operates. Protocol *string `pulumi:"protocol"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region *string `pulumi:"region"` // The ID of the firewall rule. RuleId *string `pulumi:"ruleId"` Shared *bool `pulumi:"shared"` // The source IP address on which the firewall // rule operates. SourceIpAddress *string `pulumi:"sourceIpAddress"` // The source port on which the firewall // rule operates. SourcePort *string `pulumi:"sourcePort"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall rule. TenantId *string `pulumi:"tenantId"` }
A collection of arguments for invoking getFwRuleV2.
type GetFwRuleV2OutputArgs ¶
type GetFwRuleV2OutputArgs struct { // Action to be taken when the firewall rule matches. Action pulumi.StringPtrInput `pulumi:"action"` // The description of the firewall rule. Description pulumi.StringPtrInput `pulumi:"description"` // The destination IP address on which the // firewall rule operates. DestinationIpAddress pulumi.StringPtrInput `pulumi:"destinationIpAddress"` // The destination port on which the firewall // rule operates. DestinationPort pulumi.StringPtrInput `pulumi:"destinationPort"` // Enabled status for the firewall rule. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // The ID of the firewall policy the rule belongs to. FirewallPolicyIds pulumi.StringArrayInput `pulumi:"firewallPolicyIds"` // IP version, either 4 (default) or 6. IpVersion pulumi.IntPtrInput `pulumi:"ipVersion"` // The name of the firewall rule. Name pulumi.StringPtrInput `pulumi:"name"` // This argument conflicts and is interchangeable // with `tenantId`. The owner of the firewall rule. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // The protocol type on which the firewall rule operates. Protocol pulumi.StringPtrInput `pulumi:"protocol"` // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve firewall policy ids. If omitted, the // `region` argument of the provider is used. Region pulumi.StringPtrInput `pulumi:"region"` // The ID of the firewall rule. RuleId pulumi.StringPtrInput `pulumi:"ruleId"` Shared pulumi.BoolPtrInput `pulumi:"shared"` // The source IP address on which the firewall // rule operates. SourceIpAddress pulumi.StringPtrInput `pulumi:"sourceIpAddress"` // The source port on which the firewall // rule operates. SourcePort pulumi.StringPtrInput `pulumi:"sourcePort"` // This argument conflicts and is interchangeable // with `projectId`. The owner of the firewall rule. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
A collection of arguments for invoking getFwRuleV2.
func (GetFwRuleV2OutputArgs) ElementType ¶
func (GetFwRuleV2OutputArgs) ElementType() reflect.Type
type GetFwRuleV2Result ¶
type GetFwRuleV2Result struct { // See Argument Reference above. Action *string `pulumi:"action"` // See Argument Reference above. Description *string `pulumi:"description"` // See Argument Reference above. DestinationIpAddress *string `pulumi:"destinationIpAddress"` // See Argument Reference above. DestinationPort *string `pulumi:"destinationPort"` // See Argument Reference above. Enabled bool `pulumi:"enabled"` // The ID of the firewall policy the rule belongs to. FirewallPolicyIds []string `pulumi:"firewallPolicyIds"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // See Argument Reference above. IpVersion *int `pulumi:"ipVersion"` // See Argument Reference above. Name *string `pulumi:"name"` // See Argument Reference above. ProjectId string `pulumi:"projectId"` // See Argument Reference above. Protocol *string `pulumi:"protocol"` // See Argument Reference above. Region string `pulumi:"region"` // See Argument Reference above. RuleId *string `pulumi:"ruleId"` Shared bool `pulumi:"shared"` // See Argument Reference above. SourceIpAddress *string `pulumi:"sourceIpAddress"` // See Argument Reference above. SourcePort *string `pulumi:"sourcePort"` // See Argument Reference above. TenantId string `pulumi:"tenantId"` }
A collection of values returned by getFwRuleV2.
func GetFwRuleV2 ¶
func GetFwRuleV2(ctx *pulumi.Context, args *GetFwRuleV2Args, opts ...pulumi.InvokeOption) (*GetFwRuleV2Result, error)
Use this data source to get information of an available OpenStack firewall rule v2.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.GetFwRuleV2(ctx, &openstack.GetFwRuleV2Args{ Name: pulumi.StringRef("tf_test_rule"), }, nil) if err != nil { return err } return nil }) }
```
type GetFwRuleV2ResultOutput ¶
type GetFwRuleV2ResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFwRuleV2.
func GetFwRuleV2Output ¶
func GetFwRuleV2Output(ctx *pulumi.Context, args GetFwRuleV2OutputArgs, opts ...pulumi.InvokeOption) GetFwRuleV2ResultOutput
func (GetFwRuleV2ResultOutput) Action ¶
func (o GetFwRuleV2ResultOutput) Action() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Description ¶
func (o GetFwRuleV2ResultOutput) Description() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) DestinationIpAddress ¶
func (o GetFwRuleV2ResultOutput) DestinationIpAddress() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) DestinationPort ¶
func (o GetFwRuleV2ResultOutput) DestinationPort() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) ElementType ¶
func (GetFwRuleV2ResultOutput) ElementType() reflect.Type
func (GetFwRuleV2ResultOutput) Enabled ¶
func (o GetFwRuleV2ResultOutput) Enabled() pulumi.BoolOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) FirewallPolicyIds ¶
func (o GetFwRuleV2ResultOutput) FirewallPolicyIds() pulumi.StringArrayOutput
The ID of the firewall policy the rule belongs to.
func (GetFwRuleV2ResultOutput) Id ¶
func (o GetFwRuleV2ResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFwRuleV2ResultOutput) IpVersion ¶
func (o GetFwRuleV2ResultOutput) IpVersion() pulumi.IntPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Name ¶
func (o GetFwRuleV2ResultOutput) Name() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) ProjectId ¶
func (o GetFwRuleV2ResultOutput) ProjectId() pulumi.StringOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Protocol ¶
func (o GetFwRuleV2ResultOutput) Protocol() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Region ¶
func (o GetFwRuleV2ResultOutput) Region() pulumi.StringOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) RuleId ¶
func (o GetFwRuleV2ResultOutput) RuleId() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) Shared ¶
func (o GetFwRuleV2ResultOutput) Shared() pulumi.BoolOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) SourceIpAddress ¶
func (o GetFwRuleV2ResultOutput) SourceIpAddress() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) SourcePort ¶
func (o GetFwRuleV2ResultOutput) SourcePort() pulumi.StringPtrOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) TenantId ¶
func (o GetFwRuleV2ResultOutput) TenantId() pulumi.StringOutput
See Argument Reference above.
func (GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput ¶
func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutput() GetFwRuleV2ResultOutput
func (GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext ¶
func (o GetFwRuleV2ResultOutput) ToGetFwRuleV2ResultOutputWithContext(ctx context.Context) GetFwRuleV2ResultOutput
type LbFlavorprofileV2 ¶
type LbFlavorprofileV2 struct { pulumi.CustomResourceState // String that passes the flavorData for the flavorprofile. // The data that are allowed depend on the `providerName` that is passed. jsonencode // can be used for readability as shown in the example above. // Changing this updates the existing flavorprofile. FlavorData pulumi.StringOutput `pulumi:"flavorData"` // Name of the flavorprofile. Changing this updates the existing // flavorprofile. Name pulumi.StringOutput `pulumi:"name"` // The providerName that the flavorProfile will use. // Changing this updates the existing flavorprofile. ProviderName pulumi.StringOutput `pulumi:"providerName"` Region pulumi.StringOutput `pulumi:"region"` }
Manages a V2 load balancer flavorprofile resource within OpenStack.
> **Note:** This usually requires admin privileges.
## Example Usage
### Using jsonencode
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "loadbalancer_topology": "SINGLE", }) if err != nil { return err } json0 := string(tmpJSON0) _, err = openstack.NewLbFlavorprofileV2(ctx, "flavorprofile_1", &openstack.LbFlavorprofileV2Args{ Name: pulumi.String("amphora-single-profile"), ProviderName: pulumi.String("amphora"), FlavorData: pulumi.String(json0), }) if err != nil { return err } return nil }) }
```
### Using plain string
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.NewLbFlavorprofileV2(ctx, "flavorprofile_1", &openstack.LbFlavorprofileV2Args{ Name: pulumi.String("amphora-single-profile"), ProviderName: pulumi.String("amphora"), FlavorData: pulumi.String("{\"loadbalancer_topology\": \"SINGLE\"}"), }) if err != nil { return err } return nil }) }
```
## Import
flavorprofiles can be imported using their `id`. Example:
```sh $ pulumi import openstack:index/lbFlavorprofileV2:LbFlavorprofileV2 flavorprofile_1 2a0f2240-c5e6-41de-896d-e80d97428d6b ```
func GetLbFlavorprofileV2 ¶
func GetLbFlavorprofileV2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LbFlavorprofileV2State, opts ...pulumi.ResourceOption) (*LbFlavorprofileV2, error)
GetLbFlavorprofileV2 gets an existing LbFlavorprofileV2 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 NewLbFlavorprofileV2 ¶
func NewLbFlavorprofileV2(ctx *pulumi.Context, name string, args *LbFlavorprofileV2Args, opts ...pulumi.ResourceOption) (*LbFlavorprofileV2, error)
NewLbFlavorprofileV2 registers a new resource with the given unique name, arguments, and options.
func (*LbFlavorprofileV2) ElementType ¶
func (*LbFlavorprofileV2) ElementType() reflect.Type
func (*LbFlavorprofileV2) ToLbFlavorprofileV2Output ¶
func (i *LbFlavorprofileV2) ToLbFlavorprofileV2Output() LbFlavorprofileV2Output
func (*LbFlavorprofileV2) ToLbFlavorprofileV2OutputWithContext ¶
func (i *LbFlavorprofileV2) ToLbFlavorprofileV2OutputWithContext(ctx context.Context) LbFlavorprofileV2Output
type LbFlavorprofileV2Args ¶
type LbFlavorprofileV2Args struct { // String that passes the flavorData for the flavorprofile. // The data that are allowed depend on the `providerName` that is passed. jsonencode // can be used for readability as shown in the example above. // Changing this updates the existing flavorprofile. FlavorData pulumi.StringInput // Name of the flavorprofile. Changing this updates the existing // flavorprofile. Name pulumi.StringPtrInput // The providerName that the flavorProfile will use. // Changing this updates the existing flavorprofile. ProviderName pulumi.StringInput Region pulumi.StringPtrInput }
The set of arguments for constructing a LbFlavorprofileV2 resource.
func (LbFlavorprofileV2Args) ElementType ¶
func (LbFlavorprofileV2Args) ElementType() reflect.Type
type LbFlavorprofileV2Array ¶
type LbFlavorprofileV2Array []LbFlavorprofileV2Input
func (LbFlavorprofileV2Array) ElementType ¶
func (LbFlavorprofileV2Array) ElementType() reflect.Type
func (LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutput ¶
func (i LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutput() LbFlavorprofileV2ArrayOutput
func (LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutputWithContext ¶
func (i LbFlavorprofileV2Array) ToLbFlavorprofileV2ArrayOutputWithContext(ctx context.Context) LbFlavorprofileV2ArrayOutput
type LbFlavorprofileV2ArrayInput ¶
type LbFlavorprofileV2ArrayInput interface { pulumi.Input ToLbFlavorprofileV2ArrayOutput() LbFlavorprofileV2ArrayOutput ToLbFlavorprofileV2ArrayOutputWithContext(context.Context) LbFlavorprofileV2ArrayOutput }
LbFlavorprofileV2ArrayInput is an input type that accepts LbFlavorprofileV2Array and LbFlavorprofileV2ArrayOutput values. You can construct a concrete instance of `LbFlavorprofileV2ArrayInput` via:
LbFlavorprofileV2Array{ LbFlavorprofileV2Args{...} }
type LbFlavorprofileV2ArrayOutput ¶
type LbFlavorprofileV2ArrayOutput struct{ *pulumi.OutputState }
func (LbFlavorprofileV2ArrayOutput) ElementType ¶
func (LbFlavorprofileV2ArrayOutput) ElementType() reflect.Type
func (LbFlavorprofileV2ArrayOutput) Index ¶
func (o LbFlavorprofileV2ArrayOutput) Index(i pulumi.IntInput) LbFlavorprofileV2Output
func (LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutput ¶
func (o LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutput() LbFlavorprofileV2ArrayOutput
func (LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutputWithContext ¶
func (o LbFlavorprofileV2ArrayOutput) ToLbFlavorprofileV2ArrayOutputWithContext(ctx context.Context) LbFlavorprofileV2ArrayOutput
type LbFlavorprofileV2Input ¶
type LbFlavorprofileV2Input interface { pulumi.Input ToLbFlavorprofileV2Output() LbFlavorprofileV2Output ToLbFlavorprofileV2OutputWithContext(ctx context.Context) LbFlavorprofileV2Output }
type LbFlavorprofileV2Map ¶
type LbFlavorprofileV2Map map[string]LbFlavorprofileV2Input
func (LbFlavorprofileV2Map) ElementType ¶
func (LbFlavorprofileV2Map) ElementType() reflect.Type
func (LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutput ¶
func (i LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutput() LbFlavorprofileV2MapOutput
func (LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutputWithContext ¶
func (i LbFlavorprofileV2Map) ToLbFlavorprofileV2MapOutputWithContext(ctx context.Context) LbFlavorprofileV2MapOutput
type LbFlavorprofileV2MapInput ¶
type LbFlavorprofileV2MapInput interface { pulumi.Input ToLbFlavorprofileV2MapOutput() LbFlavorprofileV2MapOutput ToLbFlavorprofileV2MapOutputWithContext(context.Context) LbFlavorprofileV2MapOutput }
LbFlavorprofileV2MapInput is an input type that accepts LbFlavorprofileV2Map and LbFlavorprofileV2MapOutput values. You can construct a concrete instance of `LbFlavorprofileV2MapInput` via:
LbFlavorprofileV2Map{ "key": LbFlavorprofileV2Args{...} }
type LbFlavorprofileV2MapOutput ¶
type LbFlavorprofileV2MapOutput struct{ *pulumi.OutputState }
func (LbFlavorprofileV2MapOutput) ElementType ¶
func (LbFlavorprofileV2MapOutput) ElementType() reflect.Type
func (LbFlavorprofileV2MapOutput) MapIndex ¶
func (o LbFlavorprofileV2MapOutput) MapIndex(k pulumi.StringInput) LbFlavorprofileV2Output
func (LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutput ¶
func (o LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutput() LbFlavorprofileV2MapOutput
func (LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutputWithContext ¶
func (o LbFlavorprofileV2MapOutput) ToLbFlavorprofileV2MapOutputWithContext(ctx context.Context) LbFlavorprofileV2MapOutput
type LbFlavorprofileV2Output ¶
type LbFlavorprofileV2Output struct{ *pulumi.OutputState }
func (LbFlavorprofileV2Output) ElementType ¶
func (LbFlavorprofileV2Output) ElementType() reflect.Type
func (LbFlavorprofileV2Output) FlavorData ¶
func (o LbFlavorprofileV2Output) FlavorData() pulumi.StringOutput
String that passes the flavorData for the flavorprofile. The data that are allowed depend on the `providerName` that is passed. jsonencode can be used for readability as shown in the example above. Changing this updates the existing flavorprofile.
func (LbFlavorprofileV2Output) Name ¶
func (o LbFlavorprofileV2Output) Name() pulumi.StringOutput
Name of the flavorprofile. Changing this updates the existing flavorprofile.
func (LbFlavorprofileV2Output) ProviderName ¶
func (o LbFlavorprofileV2Output) ProviderName() pulumi.StringOutput
The providerName that the flavorProfile will use. Changing this updates the existing flavorprofile.
func (LbFlavorprofileV2Output) Region ¶
func (o LbFlavorprofileV2Output) Region() pulumi.StringOutput
func (LbFlavorprofileV2Output) ToLbFlavorprofileV2Output ¶
func (o LbFlavorprofileV2Output) ToLbFlavorprofileV2Output() LbFlavorprofileV2Output
func (LbFlavorprofileV2Output) ToLbFlavorprofileV2OutputWithContext ¶
func (o LbFlavorprofileV2Output) ToLbFlavorprofileV2OutputWithContext(ctx context.Context) LbFlavorprofileV2Output
type LbFlavorprofileV2State ¶
type LbFlavorprofileV2State struct { // String that passes the flavorData for the flavorprofile. // The data that are allowed depend on the `providerName` that is passed. jsonencode // can be used for readability as shown in the example above. // Changing this updates the existing flavorprofile. FlavorData pulumi.StringPtrInput // Name of the flavorprofile. Changing this updates the existing // flavorprofile. Name pulumi.StringPtrInput // The providerName that the flavorProfile will use. // Changing this updates the existing flavorprofile. ProviderName pulumi.StringPtrInput Region pulumi.StringPtrInput }
func (LbFlavorprofileV2State) ElementType ¶
func (LbFlavorprofileV2State) ElementType() reflect.Type
type LbLoadbalancerV2 ¶
type LbLoadbalancerV2 struct { pulumi.CustomResourceState // The administrative state of the Loadbalancer. // A valid value is true (UP) or false (DOWN). AdminStateUp pulumi.BoolPtrOutput `pulumi:"adminStateUp"` // The availability zone of the Loadbalancer. // Changing this creates a new loadbalancer. Available only for Octavia // **minor version 2.14 or later**. AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"` // Human-readable description for the Loadbalancer. Description pulumi.StringPtrOutput `pulumi:"description"` // The UUID of a flavor. Changing this creates a new // loadbalancer. FlavorId pulumi.StringOutput `pulumi:"flavorId"` // The name of the provider. Changing this // creates a new loadbalancer. LoadbalancerProvider pulumi.StringOutput `pulumi:"loadbalancerProvider"` // Human-readable name for the Loadbalancer. Does not have // to be unique. Name pulumi.StringOutput `pulumi:"name"` // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an LB member. If omitted, the // `region` argument of the provider is used. Changing this creates a new // LB member. Region pulumi.StringOutput `pulumi:"region"` // A list of security group IDs to apply to the // loadbalancer. The security groups must be specified by ID and not name (as // opposed to how they are configured with the Compute Instance). SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // A list of simple strings assigned to the loadbalancer. // Available only for Octavia **minor version 2.5 or later**. Tags pulumi.StringArrayOutput `pulumi:"tags"` // Required for admins. The UUID of the tenant who owns // the Loadbalancer. Only administrative users can specify a tenant UUID // other than their own. Changing this creates a new loadbalancer. TenantId pulumi.StringOutput `pulumi:"tenantId"` // The ip address of the load balancer. // Changing this creates a new loadbalancer. VipAddress pulumi.StringOutput `pulumi:"vipAddress"` // The network on which to allocate the // Loadbalancer's address. A tenant can only create Loadbalancers on networks // authorized by policy (e.g. networks that belong to them or networks that // are shared). Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipNetworkId pulumi.StringOutput `pulumi:"vipNetworkId"` // The port UUID that the loadbalancer will use. // Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipPortId pulumi.StringOutput `pulumi:"vipPortId"` // The ID of the QoS Policy which will // be applied to the Virtual IP (VIP). VipQosPolicyId pulumi.StringPtrOutput `pulumi:"vipQosPolicyId"` // The subnet on which to allocate the // Loadbalancer's address. A tenant can only create Loadbalancers on networks // authorized by policy (e.g. networks that belong to them or networks that // are shared). Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipSubnetId pulumi.StringOutput `pulumi:"vipSubnetId"` }
Manages a V2 loadbalancer resource within OpenStack.
> **Note:** This resource has attributes that depend on octavia minor versions. Please ensure your Openstack cloud supports the required minor version.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := openstack.NewLbLoadbalancerV2(ctx, "lb_1", &openstack.LbLoadbalancerV2Args{ VipSubnetId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"), }) if err != nil { return err } return nil }) }
```
## Import
Load Balancer can be imported using the Load Balancer ID, e.g.:
```sh $ pulumi import openstack:index/lbLoadbalancerV2:LbLoadbalancerV2 loadbalancer_1 19bcfdc7-c521-4a7e-9459-6750bd16df76 ```
func GetLbLoadbalancerV2 ¶
func GetLbLoadbalancerV2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LbLoadbalancerV2State, opts ...pulumi.ResourceOption) (*LbLoadbalancerV2, error)
GetLbLoadbalancerV2 gets an existing LbLoadbalancerV2 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 NewLbLoadbalancerV2 ¶
func NewLbLoadbalancerV2(ctx *pulumi.Context, name string, args *LbLoadbalancerV2Args, opts ...pulumi.ResourceOption) (*LbLoadbalancerV2, error)
NewLbLoadbalancerV2 registers a new resource with the given unique name, arguments, and options.
func (*LbLoadbalancerV2) ElementType ¶
func (*LbLoadbalancerV2) ElementType() reflect.Type
func (*LbLoadbalancerV2) ToLbLoadbalancerV2Output ¶
func (i *LbLoadbalancerV2) ToLbLoadbalancerV2Output() LbLoadbalancerV2Output
func (*LbLoadbalancerV2) ToLbLoadbalancerV2OutputWithContext ¶
func (i *LbLoadbalancerV2) ToLbLoadbalancerV2OutputWithContext(ctx context.Context) LbLoadbalancerV2Output
type LbLoadbalancerV2Args ¶
type LbLoadbalancerV2Args struct { // The administrative state of the Loadbalancer. // A valid value is true (UP) or false (DOWN). AdminStateUp pulumi.BoolPtrInput // The availability zone of the Loadbalancer. // Changing this creates a new loadbalancer. Available only for Octavia // **minor version 2.14 or later**. AvailabilityZone pulumi.StringPtrInput // Human-readable description for the Loadbalancer. Description pulumi.StringPtrInput // The UUID of a flavor. Changing this creates a new // loadbalancer. FlavorId pulumi.StringPtrInput // The name of the provider. Changing this // creates a new loadbalancer. LoadbalancerProvider pulumi.StringPtrInput // Human-readable name for the Loadbalancer. Does not have // to be unique. Name pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an LB member. If omitted, the // `region` argument of the provider is used. Changing this creates a new // LB member. Region pulumi.StringPtrInput // A list of security group IDs to apply to the // loadbalancer. The security groups must be specified by ID and not name (as // opposed to how they are configured with the Compute Instance). SecurityGroupIds pulumi.StringArrayInput // A list of simple strings assigned to the loadbalancer. // Available only for Octavia **minor version 2.5 or later**. Tags pulumi.StringArrayInput // Required for admins. The UUID of the tenant who owns // the Loadbalancer. Only administrative users can specify a tenant UUID // other than their own. Changing this creates a new loadbalancer. TenantId pulumi.StringPtrInput // The ip address of the load balancer. // Changing this creates a new loadbalancer. VipAddress pulumi.StringPtrInput // The network on which to allocate the // Loadbalancer's address. A tenant can only create Loadbalancers on networks // authorized by policy (e.g. networks that belong to them or networks that // are shared). Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipNetworkId pulumi.StringPtrInput // The port UUID that the loadbalancer will use. // Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipPortId pulumi.StringPtrInput // The ID of the QoS Policy which will // be applied to the Virtual IP (VIP). VipQosPolicyId pulumi.StringPtrInput // The subnet on which to allocate the // Loadbalancer's address. A tenant can only create Loadbalancers on networks // authorized by policy (e.g. networks that belong to them or networks that // are shared). Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipSubnetId pulumi.StringPtrInput }
The set of arguments for constructing a LbLoadbalancerV2 resource.
func (LbLoadbalancerV2Args) ElementType ¶
func (LbLoadbalancerV2Args) ElementType() reflect.Type
type LbLoadbalancerV2Array ¶
type LbLoadbalancerV2Array []LbLoadbalancerV2Input
func (LbLoadbalancerV2Array) ElementType ¶
func (LbLoadbalancerV2Array) ElementType() reflect.Type
func (LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutput ¶
func (i LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutput() LbLoadbalancerV2ArrayOutput
func (LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutputWithContext ¶
func (i LbLoadbalancerV2Array) ToLbLoadbalancerV2ArrayOutputWithContext(ctx context.Context) LbLoadbalancerV2ArrayOutput
type LbLoadbalancerV2ArrayInput ¶
type LbLoadbalancerV2ArrayInput interface { pulumi.Input ToLbLoadbalancerV2ArrayOutput() LbLoadbalancerV2ArrayOutput ToLbLoadbalancerV2ArrayOutputWithContext(context.Context) LbLoadbalancerV2ArrayOutput }
LbLoadbalancerV2ArrayInput is an input type that accepts LbLoadbalancerV2Array and LbLoadbalancerV2ArrayOutput values. You can construct a concrete instance of `LbLoadbalancerV2ArrayInput` via:
LbLoadbalancerV2Array{ LbLoadbalancerV2Args{...} }
type LbLoadbalancerV2ArrayOutput ¶
type LbLoadbalancerV2ArrayOutput struct{ *pulumi.OutputState }
func (LbLoadbalancerV2ArrayOutput) ElementType ¶
func (LbLoadbalancerV2ArrayOutput) ElementType() reflect.Type
func (LbLoadbalancerV2ArrayOutput) Index ¶
func (o LbLoadbalancerV2ArrayOutput) Index(i pulumi.IntInput) LbLoadbalancerV2Output
func (LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutput ¶
func (o LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutput() LbLoadbalancerV2ArrayOutput
func (LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutputWithContext ¶
func (o LbLoadbalancerV2ArrayOutput) ToLbLoadbalancerV2ArrayOutputWithContext(ctx context.Context) LbLoadbalancerV2ArrayOutput
type LbLoadbalancerV2Input ¶
type LbLoadbalancerV2Input interface { pulumi.Input ToLbLoadbalancerV2Output() LbLoadbalancerV2Output ToLbLoadbalancerV2OutputWithContext(ctx context.Context) LbLoadbalancerV2Output }
type LbLoadbalancerV2Map ¶
type LbLoadbalancerV2Map map[string]LbLoadbalancerV2Input
func (LbLoadbalancerV2Map) ElementType ¶
func (LbLoadbalancerV2Map) ElementType() reflect.Type
func (LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutput ¶
func (i LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutput() LbLoadbalancerV2MapOutput
func (LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutputWithContext ¶
func (i LbLoadbalancerV2Map) ToLbLoadbalancerV2MapOutputWithContext(ctx context.Context) LbLoadbalancerV2MapOutput
type LbLoadbalancerV2MapInput ¶
type LbLoadbalancerV2MapInput interface { pulumi.Input ToLbLoadbalancerV2MapOutput() LbLoadbalancerV2MapOutput ToLbLoadbalancerV2MapOutputWithContext(context.Context) LbLoadbalancerV2MapOutput }
LbLoadbalancerV2MapInput is an input type that accepts LbLoadbalancerV2Map and LbLoadbalancerV2MapOutput values. You can construct a concrete instance of `LbLoadbalancerV2MapInput` via:
LbLoadbalancerV2Map{ "key": LbLoadbalancerV2Args{...} }
type LbLoadbalancerV2MapOutput ¶
type LbLoadbalancerV2MapOutput struct{ *pulumi.OutputState }
func (LbLoadbalancerV2MapOutput) ElementType ¶
func (LbLoadbalancerV2MapOutput) ElementType() reflect.Type
func (LbLoadbalancerV2MapOutput) MapIndex ¶
func (o LbLoadbalancerV2MapOutput) MapIndex(k pulumi.StringInput) LbLoadbalancerV2Output
func (LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutput ¶
func (o LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutput() LbLoadbalancerV2MapOutput
func (LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutputWithContext ¶
func (o LbLoadbalancerV2MapOutput) ToLbLoadbalancerV2MapOutputWithContext(ctx context.Context) LbLoadbalancerV2MapOutput
type LbLoadbalancerV2Output ¶
type LbLoadbalancerV2Output struct{ *pulumi.OutputState }
func (LbLoadbalancerV2Output) AdminStateUp ¶
func (o LbLoadbalancerV2Output) AdminStateUp() pulumi.BoolPtrOutput
The administrative state of the Loadbalancer. A valid value is true (UP) or false (DOWN).
func (LbLoadbalancerV2Output) AvailabilityZone ¶
func (o LbLoadbalancerV2Output) AvailabilityZone() pulumi.StringPtrOutput
The availability zone of the Loadbalancer. Changing this creates a new loadbalancer. Available only for Octavia **minor version 2.14 or later**.
func (LbLoadbalancerV2Output) Description ¶
func (o LbLoadbalancerV2Output) Description() pulumi.StringPtrOutput
Human-readable description for the Loadbalancer.
func (LbLoadbalancerV2Output) ElementType ¶
func (LbLoadbalancerV2Output) ElementType() reflect.Type
func (LbLoadbalancerV2Output) FlavorId ¶
func (o LbLoadbalancerV2Output) FlavorId() pulumi.StringOutput
The UUID of a flavor. Changing this creates a new loadbalancer.
func (LbLoadbalancerV2Output) LoadbalancerProvider ¶
func (o LbLoadbalancerV2Output) LoadbalancerProvider() pulumi.StringOutput
The name of the provider. Changing this creates a new loadbalancer.
func (LbLoadbalancerV2Output) Name ¶
func (o LbLoadbalancerV2Output) Name() pulumi.StringOutput
Human-readable name for the Loadbalancer. Does not have to be unique.
func (LbLoadbalancerV2Output) Region ¶
func (o LbLoadbalancerV2Output) Region() pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB member. If omitted, the `region` argument of the provider is used. Changing this creates a new LB member.
func (LbLoadbalancerV2Output) SecurityGroupIds ¶
func (o LbLoadbalancerV2Output) SecurityGroupIds() pulumi.StringArrayOutput
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
func (LbLoadbalancerV2Output) Tags ¶
func (o LbLoadbalancerV2Output) Tags() pulumi.StringArrayOutput
A list of simple strings assigned to the loadbalancer. Available only for Octavia **minor version 2.5 or later**.
func (LbLoadbalancerV2Output) TenantId ¶
func (o LbLoadbalancerV2Output) TenantId() pulumi.StringOutput
Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
func (LbLoadbalancerV2Output) ToLbLoadbalancerV2Output ¶
func (o LbLoadbalancerV2Output) ToLbLoadbalancerV2Output() LbLoadbalancerV2Output
func (LbLoadbalancerV2Output) ToLbLoadbalancerV2OutputWithContext ¶
func (o LbLoadbalancerV2Output) ToLbLoadbalancerV2OutputWithContext(ctx context.Context) LbLoadbalancerV2Output
func (LbLoadbalancerV2Output) VipAddress ¶
func (o LbLoadbalancerV2Output) VipAddress() pulumi.StringOutput
The ip address of the load balancer. Changing this creates a new loadbalancer.
func (LbLoadbalancerV2Output) VipNetworkId ¶
func (o LbLoadbalancerV2Output) VipNetworkId() pulumi.StringOutput
The network on which to allocate the Loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer. Exactly one of `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
func (LbLoadbalancerV2Output) VipPortId ¶
func (o LbLoadbalancerV2Output) VipPortId() pulumi.StringOutput
The port UUID that the loadbalancer will use. Changing this creates a new loadbalancer. Exactly one of `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
func (LbLoadbalancerV2Output) VipQosPolicyId ¶
func (o LbLoadbalancerV2Output) VipQosPolicyId() pulumi.StringPtrOutput
The ID of the QoS Policy which will be applied to the Virtual IP (VIP).
func (LbLoadbalancerV2Output) VipSubnetId ¶
func (o LbLoadbalancerV2Output) VipSubnetId() pulumi.StringOutput
The subnet on which to allocate the Loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer. Exactly one of `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined.
type LbLoadbalancerV2State ¶
type LbLoadbalancerV2State struct { // The administrative state of the Loadbalancer. // A valid value is true (UP) or false (DOWN). AdminStateUp pulumi.BoolPtrInput // The availability zone of the Loadbalancer. // Changing this creates a new loadbalancer. Available only for Octavia // **minor version 2.14 or later**. AvailabilityZone pulumi.StringPtrInput // Human-readable description for the Loadbalancer. Description pulumi.StringPtrInput // The UUID of a flavor. Changing this creates a new // loadbalancer. FlavorId pulumi.StringPtrInput // The name of the provider. Changing this // creates a new loadbalancer. LoadbalancerProvider pulumi.StringPtrInput // Human-readable name for the Loadbalancer. Does not have // to be unique. Name pulumi.StringPtrInput // The region in which to obtain the V2 Networking client. // A Networking client is needed to create an LB member. If omitted, the // `region` argument of the provider is used. Changing this creates a new // LB member. Region pulumi.StringPtrInput // A list of security group IDs to apply to the // loadbalancer. The security groups must be specified by ID and not name (as // opposed to how they are configured with the Compute Instance). SecurityGroupIds pulumi.StringArrayInput // A list of simple strings assigned to the loadbalancer. // Available only for Octavia **minor version 2.5 or later**. Tags pulumi.StringArrayInput // Required for admins. The UUID of the tenant who owns // the Loadbalancer. Only administrative users can specify a tenant UUID // other than their own. Changing this creates a new loadbalancer. TenantId pulumi.StringPtrInput // The ip address of the load balancer. // Changing this creates a new loadbalancer. VipAddress pulumi.StringPtrInput // The network on which to allocate the // Loadbalancer's address. A tenant can only create Loadbalancers on networks // authorized by policy (e.g. networks that belong to them or networks that // are shared). Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipNetworkId pulumi.StringPtrInput // The port UUID that the loadbalancer will use. // Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipPortId pulumi.StringPtrInput // The ID of the QoS Policy which will // be applied to the Virtual IP (VIP). VipQosPolicyId pulumi.StringPtrInput // The subnet on which to allocate the // Loadbalancer's address. A tenant can only create Loadbalancers on networks // authorized by policy (e.g. networks that belong to them or networks that // are shared). Changing this creates a new loadbalancer. Exactly one of // `vipSubnetId`, `vipNetworkId` or `vipPortId` has to be defined. VipSubnetId pulumi.StringPtrInput }
func (LbLoadbalancerV2State) ElementType ¶
func (LbLoadbalancerV2State) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // Application Credential ID to login with. ApplicationCredentialId pulumi.StringPtrOutput `pulumi:"applicationCredentialId"` // Application Credential name to login with. ApplicationCredentialName pulumi.StringPtrOutput `pulumi:"applicationCredentialName"` // Application Credential secret to login with. ApplicationCredentialSecret pulumi.StringPtrOutput `pulumi:"applicationCredentialSecret"` // The Identity authentication URL. AuthUrl pulumi.StringPtrOutput `pulumi:"authUrl"` // A Custom CA certificate. CacertFile pulumi.StringPtrOutput `pulumi:"cacertFile"` // A client certificate to authenticate with. Cert pulumi.StringPtrOutput `pulumi:"cert"` // An entry in a `clouds.yaml` file to use. Cloud pulumi.StringPtrOutput `pulumi:"cloud"` // The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3). DefaultDomain pulumi.StringPtrOutput `pulumi:"defaultDomain"` // The ID of the Domain to scope to (Identity v3). DomainId pulumi.StringPtrOutput `pulumi:"domainId"` // The name of the Domain to scope to (Identity v3). DomainName pulumi.StringPtrOutput `pulumi:"domainName"` EndpointType pulumi.StringPtrOutput `pulumi:"endpointType"` // A client private key to authenticate with. Key pulumi.StringPtrOutput `pulumi:"key"` // Password to login with. Password pulumi.StringPtrOutput `pulumi:"password"` // The ID of the domain where the proejct resides (Identity v3). ProjectDomainId pulumi.StringPtrOutput `pulumi:"projectDomainId"` // The name of the domain where the project resides (Identity v3). ProjectDomainName pulumi.StringPtrOutput `pulumi:"projectDomainName"` // The OpenStack region to connect to. Region pulumi.StringPtrOutput `pulumi:"region"` // The ID of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantId pulumi.StringPtrOutput `pulumi:"tenantId"` // The name of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantName pulumi.StringPtrOutput `pulumi:"tenantName"` // Authentication token to use as an alternative to username/password. Token pulumi.StringPtrOutput `pulumi:"token"` // The ID of the domain where the user resides (Identity v3). UserDomainId pulumi.StringPtrOutput `pulumi:"userDomainId"` // The name of the domain where the user resides (Identity v3). UserDomainName pulumi.StringPtrOutput `pulumi:"userDomainName"` // User ID to login with. UserId pulumi.StringPtrOutput `pulumi:"userId"` // Username to login with. UserName pulumi.StringPtrOutput `pulumi:"userName"` }
The provider type for the openstack package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // If set to `false`, OpenStack authorization won't be perfomed automatically, if the initial auth token get expired. // Defaults to `true` AllowReauth pulumi.BoolPtrInput // Application Credential ID to login with. ApplicationCredentialId pulumi.StringPtrInput // Application Credential name to login with. ApplicationCredentialName pulumi.StringPtrInput // Application Credential secret to login with. ApplicationCredentialSecret pulumi.StringPtrInput // The Identity authentication URL. AuthUrl pulumi.StringPtrInput // A Custom CA certificate. CacertFile pulumi.StringPtrInput // A client certificate to authenticate with. Cert pulumi.StringPtrInput // An entry in a `clouds.yaml` file to use. Cloud pulumi.StringPtrInput // The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3). DefaultDomain pulumi.StringPtrInput // If set to `false`, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults // to `true`. DelayedAuth pulumi.BoolPtrInput // If set to `true`, the HTTP `Cache-Control: no-cache` header will not be added by default to all API requests. DisableNoCacheHeader pulumi.BoolPtrInput // The ID of the Domain to scope to (Identity v3). DomainId pulumi.StringPtrInput // The name of the Domain to scope to (Identity v3). DomainName pulumi.StringPtrInput // Outputs very verbose logs with all calls made to and responses from OpenStack EnableLogging pulumi.BoolPtrInput // A map of services with an endpoint to override what was from the Keystone catalog EndpointOverrides pulumi.StringMapInput EndpointType pulumi.StringPtrInput // Trust self-signed certificates. Insecure pulumi.BoolPtrInput // A client private key to authenticate with. Key pulumi.StringPtrInput // How many times HTTP connection should be retried until giving up. MaxRetries pulumi.IntPtrInput // Password to login with. Password pulumi.StringPtrInput // The ID of the domain where the proejct resides (Identity v3). ProjectDomainId pulumi.StringPtrInput // The name of the domain where the project resides (Identity v3). ProjectDomainName pulumi.StringPtrInput // The OpenStack region to connect to. Region pulumi.StringPtrInput // Use Swift's authentication system instead of Keystone. Only used for interaction with Swift. Swauth pulumi.BoolPtrInput // If set to `true`, system scoped authorization will be enabled. Defaults to `false` (Identity v3). SystemScope pulumi.BoolPtrInput // The ID of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantId pulumi.StringPtrInput // The name of the Tenant (Identity v2) or Project (Identity v3) to login with. TenantName pulumi.StringPtrInput // Authentication token to use as an alternative to username/password. Token pulumi.StringPtrInput // The ID of the domain where the user resides (Identity v3). UserDomainId pulumi.StringPtrInput // The name of the domain where the user resides (Identity v3). UserDomainName pulumi.StringPtrInput // User ID to login with. UserId pulumi.StringPtrInput // Username to login with. UserName pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ApplicationCredentialId ¶
func (o ProviderOutput) ApplicationCredentialId() pulumi.StringPtrOutput
Application Credential ID to login with.
func (ProviderOutput) ApplicationCredentialName ¶
func (o ProviderOutput) ApplicationCredentialName() pulumi.StringPtrOutput
Application Credential name to login with.
func (ProviderOutput) ApplicationCredentialSecret ¶
func (o ProviderOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput
Application Credential secret to login with.
func (ProviderOutput) AuthUrl ¶
func (o ProviderOutput) AuthUrl() pulumi.StringPtrOutput
The Identity authentication URL.
func (ProviderOutput) CacertFile ¶
func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput
A Custom CA certificate.
func (ProviderOutput) Cert ¶
func (o ProviderOutput) Cert() pulumi.StringPtrOutput
A client certificate to authenticate with.
func (ProviderOutput) Cloud ¶
func (o ProviderOutput) Cloud() pulumi.StringPtrOutput
An entry in a `clouds.yaml` file to use.
func (ProviderOutput) DefaultDomain ¶
func (o ProviderOutput) DefaultDomain() pulumi.StringPtrOutput
The name of the Domain ID to scope to if no other domain is specified. Defaults to `default` (Identity v3).
func (ProviderOutput) DomainId ¶
func (o ProviderOutput) DomainId() pulumi.StringPtrOutput
The ID of the Domain to scope to (Identity v3).
func (ProviderOutput) DomainName ¶
func (o ProviderOutput) DomainName() pulumi.StringPtrOutput
The name of the Domain to scope to (Identity v3).
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) EndpointType ¶
func (o ProviderOutput) EndpointType() pulumi.StringPtrOutput
func (ProviderOutput) Key ¶
func (o ProviderOutput) Key() pulumi.StringPtrOutput
A client private key to authenticate with.
func (ProviderOutput) Password ¶
func (o ProviderOutput) Password() pulumi.StringPtrOutput
Password to login with.
func (ProviderOutput) ProjectDomainId ¶
func (o ProviderOutput) ProjectDomainId() pulumi.StringPtrOutput
The ID of the domain where the proejct resides (Identity v3).
func (ProviderOutput) ProjectDomainName ¶
func (o ProviderOutput) ProjectDomainName() pulumi.StringPtrOutput
The name of the domain where the project resides (Identity v3).
func (ProviderOutput) Region ¶
func (o ProviderOutput) Region() pulumi.StringPtrOutput
The OpenStack region to connect to.
func (ProviderOutput) TenantId ¶
func (o ProviderOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
func (ProviderOutput) TenantName ¶
func (o ProviderOutput) TenantName() pulumi.StringPtrOutput
The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶
func (o ProviderOutput) Token() pulumi.StringPtrOutput
Authentication token to use as an alternative to username/password.
func (ProviderOutput) UserDomainId ¶
func (o ProviderOutput) UserDomainId() pulumi.StringPtrOutput
The ID of the domain where the user resides (Identity v3).
func (ProviderOutput) UserDomainName ¶
func (o ProviderOutput) UserDomainName() pulumi.StringPtrOutput
The name of the domain where the user resides (Identity v3).
func (ProviderOutput) UserId ¶
func (o ProviderOutput) UserId() pulumi.StringPtrOutput
User ID to login with.
func (ProviderOutput) UserName ¶
func (o ProviderOutput) UserName() pulumi.StringPtrOutput
Username to login with.