Documentation ¶
Index ¶
- type AddressScope
- func (r *AddressScope) ID() *pulumi.IDOutput
- func (r *AddressScope) IpVersion() *pulumi.IntOutput
- func (r *AddressScope) Name() *pulumi.StringOutput
- func (r *AddressScope) ProjectId() *pulumi.StringOutput
- func (r *AddressScope) Region() *pulumi.StringOutput
- func (r *AddressScope) Shared() *pulumi.BoolOutput
- func (r *AddressScope) URN() *pulumi.URNOutput
- type AddressScopeArgs
- type AddressScopeState
- type FloatingIp
- func (r *FloatingIp) Address() *pulumi.StringOutput
- func (r *FloatingIp) AllTags() *pulumi.ArrayOutput
- func (r *FloatingIp) Description() *pulumi.StringOutput
- func (r *FloatingIp) FixedIp() *pulumi.StringOutput
- func (r *FloatingIp) ID() *pulumi.IDOutput
- func (r *FloatingIp) Pool() *pulumi.StringOutput
- func (r *FloatingIp) PortId() *pulumi.StringOutput
- func (r *FloatingIp) Region() *pulumi.StringOutput
- func (r *FloatingIp) SubnetId() *pulumi.StringOutput
- func (r *FloatingIp) Tags() *pulumi.ArrayOutput
- func (r *FloatingIp) TenantId() *pulumi.StringOutput
- func (r *FloatingIp) URN() *pulumi.URNOutput
- func (r *FloatingIp) ValueSpecs() *pulumi.MapOutput
- type FloatingIpArgs
- type FloatingIpAssociate
- type FloatingIpAssociateArgs
- type FloatingIpAssociateState
- type FloatingIpState
- type GetFloatingIpArgs
- type GetFloatingIpResult
- type GetNetworkArgs
- type GetNetworkResult
- type GetPortArgs
- type GetPortIdsArgs
- type GetPortIdsResult
- type GetPortResult
- type GetRouterArgs
- type GetRouterResult
- type GetSecGroupArgs
- type GetSecGroupResult
- type GetSubnetArgs
- type GetSubnetPoolArgs
- type GetSubnetPoolResult
- type GetSubnetResult
- type Network
- func (r *Network) AdminStateUp() *pulumi.BoolOutput
- func (r *Network) AllTags() *pulumi.ArrayOutput
- func (r *Network) AvailabilityZoneHints() *pulumi.ArrayOutput
- func (r *Network) Description() *pulumi.StringOutput
- func (r *Network) External() *pulumi.BoolOutput
- func (r *Network) ID() *pulumi.IDOutput
- func (r *Network) Name() *pulumi.StringOutput
- func (r *Network) Region() *pulumi.StringOutput
- func (r *Network) Segments() *pulumi.ArrayOutput
- func (r *Network) Shared() *pulumi.BoolOutput
- func (r *Network) Tags() *pulumi.ArrayOutput
- func (r *Network) TenantId() *pulumi.StringOutput
- func (r *Network) TransparentVlan() *pulumi.BoolOutput
- func (r *Network) URN() *pulumi.URNOutput
- func (r *Network) ValueSpecs() *pulumi.MapOutput
- type NetworkArgs
- type NetworkState
- type Port
- func (r *Port) AdminStateUp() *pulumi.BoolOutput
- func (r *Port) AllFixedIps() *pulumi.ArrayOutput
- func (r *Port) AllSecurityGroupIds() *pulumi.ArrayOutput
- func (r *Port) AllTags() *pulumi.ArrayOutput
- func (r *Port) AllowedAddressPairs() *pulumi.ArrayOutput
- func (r *Port) Description() *pulumi.StringOutput
- func (r *Port) DeviceId() *pulumi.StringOutput
- func (r *Port) DeviceOwner() *pulumi.StringOutput
- func (r *Port) ExtraDhcpOptions() *pulumi.ArrayOutput
- func (r *Port) FixedIps() *pulumi.ArrayOutput
- func (r *Port) ID() *pulumi.IDOutput
- func (r *Port) MacAddress() *pulumi.StringOutput
- func (r *Port) Name() *pulumi.StringOutput
- func (r *Port) NetworkId() *pulumi.StringOutput
- func (r *Port) NoFixedIp() *pulumi.BoolOutput
- func (r *Port) NoSecurityGroups() *pulumi.BoolOutput
- func (r *Port) Region() *pulumi.StringOutput
- func (r *Port) SecurityGroupIds() *pulumi.ArrayOutput
- func (r *Port) Tags() *pulumi.ArrayOutput
- func (r *Port) TenantId() *pulumi.StringOutput
- func (r *Port) URN() *pulumi.URNOutput
- func (r *Port) ValueSpecs() *pulumi.MapOutput
- type PortArgs
- type PortSecGroupAssociate
- func (r *PortSecGroupAssociate) AllSecurityGroupIds() *pulumi.ArrayOutput
- func (r *PortSecGroupAssociate) Enforce() *pulumi.BoolOutput
- func (r *PortSecGroupAssociate) ID() *pulumi.IDOutput
- func (r *PortSecGroupAssociate) PortId() *pulumi.StringOutput
- func (r *PortSecGroupAssociate) Region() *pulumi.StringOutput
- func (r *PortSecGroupAssociate) SecurityGroupIds() *pulumi.ArrayOutput
- func (r *PortSecGroupAssociate) URN() *pulumi.URNOutput
- type PortSecGroupAssociateArgs
- type PortSecGroupAssociateState
- type PortState
- type Router
- func (r *Router) AdminStateUp() *pulumi.BoolOutput
- func (r *Router) AllTags() *pulumi.ArrayOutput
- func (r *Router) AvailabilityZoneHints() *pulumi.ArrayOutput
- func (r *Router) Description() *pulumi.StringOutput
- func (r *Router) Distributed() *pulumi.BoolOutput
- func (r *Router) EnableSnat() *pulumi.BoolOutput
- func (r *Router) ExternalFixedIps() *pulumi.ArrayOutput
- func (r *Router) ExternalGateway() *pulumi.StringOutput
- func (r *Router) ExternalNetworkId() *pulumi.StringOutput
- func (r *Router) ID() *pulumi.IDOutput
- func (r *Router) Name() *pulumi.StringOutput
- func (r *Router) Region() *pulumi.StringOutput
- func (r *Router) Tags() *pulumi.ArrayOutput
- func (r *Router) TenantId() *pulumi.StringOutput
- func (r *Router) URN() *pulumi.URNOutput
- func (r *Router) ValueSpecs() *pulumi.MapOutput
- func (r *Router) VendorOptions() *pulumi.Output
- type RouterArgs
- type RouterInterface
- func (r *RouterInterface) ID() *pulumi.IDOutput
- func (r *RouterInterface) PortId() *pulumi.StringOutput
- func (r *RouterInterface) Region() *pulumi.StringOutput
- func (r *RouterInterface) RouterId() *pulumi.StringOutput
- func (r *RouterInterface) SubnetId() *pulumi.StringOutput
- func (r *RouterInterface) URN() *pulumi.URNOutput
- type RouterInterfaceArgs
- type RouterInterfaceState
- type RouterRoute
- func (r *RouterRoute) DestinationCidr() *pulumi.StringOutput
- func (r *RouterRoute) ID() *pulumi.IDOutput
- func (r *RouterRoute) NextHop() *pulumi.StringOutput
- func (r *RouterRoute) Region() *pulumi.StringOutput
- func (r *RouterRoute) RouterId() *pulumi.StringOutput
- func (r *RouterRoute) URN() *pulumi.URNOutput
- type RouterRouteArgs
- type RouterRouteState
- type RouterState
- type SecGroup
- func (r *SecGroup) AllTags() *pulumi.ArrayOutput
- func (r *SecGroup) DeleteDefaultRules() *pulumi.BoolOutput
- func (r *SecGroup) Description() *pulumi.StringOutput
- func (r *SecGroup) ID() *pulumi.IDOutput
- func (r *SecGroup) Name() *pulumi.StringOutput
- func (r *SecGroup) Region() *pulumi.StringOutput
- func (r *SecGroup) Tags() *pulumi.ArrayOutput
- func (r *SecGroup) TenantId() *pulumi.StringOutput
- func (r *SecGroup) URN() *pulumi.URNOutput
- type SecGroupArgs
- type SecGroupRule
- func (r *SecGroupRule) Description() *pulumi.StringOutput
- func (r *SecGroupRule) Direction() *pulumi.StringOutput
- func (r *SecGroupRule) Ethertype() *pulumi.StringOutput
- func (r *SecGroupRule) ID() *pulumi.IDOutput
- func (r *SecGroupRule) PortRangeMax() *pulumi.IntOutput
- func (r *SecGroupRule) PortRangeMin() *pulumi.IntOutput
- func (r *SecGroupRule) Protocol() *pulumi.StringOutput
- func (r *SecGroupRule) Region() *pulumi.StringOutput
- func (r *SecGroupRule) RemoteGroupId() *pulumi.StringOutput
- func (r *SecGroupRule) RemoteIpPrefix() *pulumi.StringOutput
- func (r *SecGroupRule) SecurityGroupId() *pulumi.StringOutput
- func (r *SecGroupRule) TenantId() *pulumi.StringOutput
- func (r *SecGroupRule) URN() *pulumi.URNOutput
- type SecGroupRuleArgs
- type SecGroupRuleState
- type SecGroupState
- type Subnet
- func (r *Subnet) AllTags() *pulumi.ArrayOutput
- func (r *Subnet) AllocationPools() *pulumi.ArrayOutput
- func (r *Subnet) Cidr() *pulumi.StringOutput
- func (r *Subnet) Description() *pulumi.StringOutput
- func (r *Subnet) DnsNameservers() *pulumi.ArrayOutput
- func (r *Subnet) EnableDhcp() *pulumi.BoolOutput
- func (r *Subnet) GatewayIp() *pulumi.StringOutput
- func (r *Subnet) HostRoutes() *pulumi.ArrayOutput
- func (r *Subnet) ID() *pulumi.IDOutput
- func (r *Subnet) IpVersion() *pulumi.IntOutput
- func (r *Subnet) Ipv6AddressMode() *pulumi.StringOutput
- func (r *Subnet) Ipv6RaMode() *pulumi.StringOutput
- func (r *Subnet) Name() *pulumi.StringOutput
- func (r *Subnet) NetworkId() *pulumi.StringOutput
- func (r *Subnet) NoGateway() *pulumi.BoolOutput
- func (r *Subnet) Region() *pulumi.StringOutput
- func (r *Subnet) SubnetpoolId() *pulumi.StringOutput
- func (r *Subnet) Tags() *pulumi.ArrayOutput
- func (r *Subnet) TenantId() *pulumi.StringOutput
- func (r *Subnet) URN() *pulumi.URNOutput
- func (r *Subnet) ValueSpecs() *pulumi.MapOutput
- type SubnetArgs
- type SubnetPool
- func (r *SubnetPool) AddressScopeId() *pulumi.StringOutput
- func (r *SubnetPool) AllTags() *pulumi.ArrayOutput
- func (r *SubnetPool) CreatedAt() *pulumi.StringOutput
- func (r *SubnetPool) DefaultPrefixlen() *pulumi.IntOutput
- func (r *SubnetPool) DefaultQuota() *pulumi.IntOutput
- func (r *SubnetPool) Description() *pulumi.StringOutput
- func (r *SubnetPool) ID() *pulumi.IDOutput
- func (r *SubnetPool) IpVersion() *pulumi.IntOutput
- func (r *SubnetPool) IsDefault() *pulumi.BoolOutput
- func (r *SubnetPool) MaxPrefixlen() *pulumi.IntOutput
- func (r *SubnetPool) MinPrefixlen() *pulumi.IntOutput
- func (r *SubnetPool) Name() *pulumi.StringOutput
- func (r *SubnetPool) Prefixes() *pulumi.ArrayOutput
- func (r *SubnetPool) ProjectId() *pulumi.StringOutput
- func (r *SubnetPool) Region() *pulumi.StringOutput
- func (r *SubnetPool) RevisionNumber() *pulumi.IntOutput
- func (r *SubnetPool) Shared() *pulumi.BoolOutput
- func (r *SubnetPool) Tags() *pulumi.ArrayOutput
- func (r *SubnetPool) URN() *pulumi.URNOutput
- func (r *SubnetPool) UpdatedAt() *pulumi.StringOutput
- func (r *SubnetPool) ValueSpecs() *pulumi.MapOutput
- type SubnetPoolArgs
- type SubnetPoolState
- type SubnetRoute
- func (r *SubnetRoute) DestinationCidr() *pulumi.StringOutput
- func (r *SubnetRoute) ID() *pulumi.IDOutput
- func (r *SubnetRoute) NextHop() *pulumi.StringOutput
- func (r *SubnetRoute) Region() *pulumi.StringOutput
- func (r *SubnetRoute) SubnetId() *pulumi.StringOutput
- func (r *SubnetRoute) URN() *pulumi.URNOutput
- type SubnetRouteArgs
- type SubnetRouteState
- type SubnetState
- type Trunk
- func (r *Trunk) AdminStateUp() *pulumi.BoolOutput
- func (r *Trunk) AllTags() *pulumi.ArrayOutput
- func (r *Trunk) Description() *pulumi.StringOutput
- func (r *Trunk) ID() *pulumi.IDOutput
- func (r *Trunk) Name() *pulumi.StringOutput
- func (r *Trunk) PortId() *pulumi.StringOutput
- func (r *Trunk) Region() *pulumi.StringOutput
- func (r *Trunk) SubPorts() *pulumi.ArrayOutput
- func (r *Trunk) Tags() *pulumi.ArrayOutput
- func (r *Trunk) TenantId() *pulumi.StringOutput
- func (r *Trunk) URN() *pulumi.URNOutput
- type TrunkArgs
- type TrunkState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressScope ¶ added in v0.16.5
type AddressScope struct {
// contains filtered or unexported fields
}
Manages a V2 Neutron addressscope resource within OpenStack.
func GetAddressScope ¶ added in v0.16.5
func GetAddressScope(ctx *pulumi.Context, name string, id pulumi.ID, state *AddressScopeState, opts ...pulumi.ResourceOpt) (*AddressScope, error)
GetAddressScope gets an existing AddressScope 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 NewAddressScope ¶ added in v0.16.5
func NewAddressScope(ctx *pulumi.Context, name string, args *AddressScopeArgs, opts ...pulumi.ResourceOpt) (*AddressScope, error)
NewAddressScope registers a new resource with the given unique name, arguments, and options.
func (*AddressScope) ID ¶ added in v0.16.5
func (r *AddressScope) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*AddressScope) IpVersion ¶ added in v0.16.5
func (r *AddressScope) IpVersion() *pulumi.IntOutput
IP version, either 4 (default) or 6. Changing this creates a new address-scope.
func (*AddressScope) Name ¶ added in v0.16.5
func (r *AddressScope) Name() *pulumi.StringOutput
The name of the address-scope. Changing this updates the name of the existing address-scope.
func (*AddressScope) ProjectId ¶ added in v0.16.5
func (r *AddressScope) ProjectId() *pulumi.StringOutput
The owner of the address-scope. Required if admin wants to create a address-scope for another project. Changing this creates a new address-scope.
func (*AddressScope) Region ¶ added in v0.16.5
func (r *AddressScope) Region() *pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron address-scope. If omitted, the `region` argument of the provider is used. Changing this creates a new address-scope.
func (*AddressScope) Shared ¶ added in v0.16.5
func (r *AddressScope) Shared() *pulumi.BoolOutput
Indicates whether this address-scope is shared across all projects. Changing this updates the shared status of the existing address-scope.
func (*AddressScope) URN ¶ added in v0.16.5
func (r *AddressScope) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type AddressScopeArgs ¶ added in v0.16.5
type AddressScopeArgs struct { // IP version, either 4 (default) or 6. Changing this // creates a new address-scope. IpVersion interface{} // The name of the address-scope. Changing this updates the // name of the existing address-scope. Name interface{} // The owner of the address-scope. Required if admin // wants to create a address-scope for another project. Changing this creates a // new address-scope. ProjectId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron address-scope. If omitted, // the `region` argument of the provider is used. Changing this creates a new // address-scope. Region interface{} // all projects. Changing this updates the shared status of the existing // address-scope. Shared interface{} }
The set of arguments for constructing a AddressScope resource.
type AddressScopeState ¶ added in v0.16.5
type AddressScopeState struct { // IP version, either 4 (default) or 6. Changing this // creates a new address-scope. IpVersion interface{} // The name of the address-scope. Changing this updates the // name of the existing address-scope. Name interface{} // The owner of the address-scope. Required if admin // wants to create a address-scope for another project. Changing this creates a // new address-scope. ProjectId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron address-scope. If omitted, // the `region` argument of the provider is used. Changing this creates a new // address-scope. Region interface{} // all projects. Changing this updates the shared status of the existing // address-scope. Shared interface{} }
Input properties used for looking up and filtering AddressScope resources.
type FloatingIp ¶
type FloatingIp struct {
// contains filtered or unexported fields
}
Manages a V2 floating IP resource within OpenStack Neutron (networking) that can be used for load balancers. These are similar to Nova (compute) floating IP resources, but only compute floating IPs can be used with compute instances.
func GetFloatingIp ¶
func GetFloatingIp(ctx *pulumi.Context, name string, id pulumi.ID, state *FloatingIpState, opts ...pulumi.ResourceOpt) (*FloatingIp, error)
GetFloatingIp gets an existing FloatingIp 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 NewFloatingIp ¶
func NewFloatingIp(ctx *pulumi.Context, name string, args *FloatingIpArgs, opts ...pulumi.ResourceOpt) (*FloatingIp, error)
NewFloatingIp registers a new resource with the given unique name, arguments, and options.
func (*FloatingIp) Address ¶
func (r *FloatingIp) Address() *pulumi.StringOutput
The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
func (*FloatingIp) AllTags ¶ added in v0.16.5
func (r *FloatingIp) AllTags() *pulumi.ArrayOutput
The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
func (*FloatingIp) Description ¶ added in v0.16.4
func (r *FloatingIp) Description() *pulumi.StringOutput
Human-readable description for the floating IP.
func (*FloatingIp) FixedIp ¶
func (r *FloatingIp) FixedIp() *pulumi.StringOutput
Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
func (*FloatingIp) ID ¶
func (r *FloatingIp) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*FloatingIp) Pool ¶
func (r *FloatingIp) Pool() *pulumi.StringOutput
The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
func (*FloatingIp) PortId ¶
func (r *FloatingIp) PortId() *pulumi.StringOutput
ID of an existing port with at least one IP address to associate with this floating IP.
func (*FloatingIp) Region ¶
func (r *FloatingIp) Region() *pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the `region` argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
func (*FloatingIp) SubnetId ¶
func (r *FloatingIp) SubnetId() *pulumi.StringOutput
The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
func (*FloatingIp) Tags ¶ added in v0.16.3
func (r *FloatingIp) Tags() *pulumi.ArrayOutput
A set of string tags for the floating IP.
func (*FloatingIp) TenantId ¶
func (r *FloatingIp) TenantId() *pulumi.StringOutput
The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
func (*FloatingIp) URN ¶
func (r *FloatingIp) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*FloatingIp) ValueSpecs ¶
func (r *FloatingIp) ValueSpecs() *pulumi.MapOutput
Map of additional options.
type FloatingIpArgs ¶
type FloatingIpArgs struct { // The actual/specific floating IP to obtain. By default, // non-admin users are not able to specify a floating IP, so you must either be // an admin user or have had a custom policy or role applied to your OpenStack // user or project. Address interface{} // Human-readable description for the floating IP. Description interface{} // Fixed IP of the port to associate with this floating IP. Required if // the port has multiple fixed IPs. FixedIp interface{} // The name of the pool from which to obtain the floating // IP. Changing this creates a new floating IP. Pool interface{} // ID of an existing port with at least one IP address to // associate with this floating IP. PortId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a floating IP that can be used with // another networking resource, such as a load balancer. If omitted, the // `region` argument of the provider is used. Changing this creates a new // floating IP (which may or may not have a different address). Region interface{} // The subnet ID of the floating IP pool. Specify this if // the floating IP network has multiple subnets. SubnetId interface{} // A set of string tags for the floating IP. Tags interface{} // The target tenant ID in which to allocate the floating // IP, if you specify this together with a port_id, make sure the target port // belongs to the same tenant. Changing this creates a new floating IP (which // may or may not have a different address) TenantId interface{} // Map of additional options. ValueSpecs interface{} }
The set of arguments for constructing a FloatingIp resource.
type FloatingIpAssociate ¶
type FloatingIpAssociate struct {
// contains filtered or unexported fields
}
Associates a floating IP to a port. This is useful for situations where you have a pre-allocated floating IP or are unable to use the `openstack_networking_floatingip_v2` resource to create a floating IP.
func GetFloatingIpAssociate ¶
func GetFloatingIpAssociate(ctx *pulumi.Context, name string, id pulumi.ID, state *FloatingIpAssociateState, opts ...pulumi.ResourceOpt) (*FloatingIpAssociate, error)
GetFloatingIpAssociate gets an existing FloatingIpAssociate 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 NewFloatingIpAssociate ¶
func NewFloatingIpAssociate(ctx *pulumi.Context, name string, args *FloatingIpAssociateArgs, opts ...pulumi.ResourceOpt) (*FloatingIpAssociate, error)
NewFloatingIpAssociate registers a new resource with the given unique name, arguments, and options.
func (*FloatingIpAssociate) FloatingIp ¶
func (r *FloatingIpAssociate) FloatingIp() *pulumi.StringOutput
IP Address of an existing floating IP.
func (*FloatingIpAssociate) ID ¶
func (r *FloatingIpAssociate) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*FloatingIpAssociate) PortId ¶
func (r *FloatingIpAssociate) PortId() *pulumi.StringOutput
ID of an existing port with at least one IP address to associate with this floating IP.
func (*FloatingIpAssociate) Region ¶
func (r *FloatingIpAssociate) Region() *pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the `region` argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
func (*FloatingIpAssociate) URN ¶
func (r *FloatingIpAssociate) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type FloatingIpAssociateArgs ¶
type FloatingIpAssociateArgs struct { // IP Address of an existing floating IP. FloatingIp interface{} // ID of an existing port with at least one IP address to // associate with this floating IP. PortId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a floating IP that can be used with // another networking resource, such as a load balancer. If omitted, the // `region` argument of the provider is used. Changing this creates a new // floating IP (which may or may not have a different address). Region interface{} }
The set of arguments for constructing a FloatingIpAssociate resource.
type FloatingIpAssociateState ¶
type FloatingIpAssociateState struct { // IP Address of an existing floating IP. FloatingIp interface{} // ID of an existing port with at least one IP address to // associate with this floating IP. PortId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a floating IP that can be used with // another networking resource, such as a load balancer. If omitted, the // `region` argument of the provider is used. Changing this creates a new // floating IP (which may or may not have a different address). Region interface{} }
Input properties used for looking up and filtering FloatingIpAssociate resources.
type FloatingIpState ¶
type FloatingIpState struct { // The actual/specific floating IP to obtain. By default, // non-admin users are not able to specify a floating IP, so you must either be // an admin user or have had a custom policy or role applied to your OpenStack // user or project. Address interface{} // The collection of tags assigned on the floating IP, which have // been explicitly and implicitly added. AllTags interface{} // Human-readable description for the floating IP. Description interface{} // Fixed IP of the port to associate with this floating IP. Required if // the port has multiple fixed IPs. FixedIp interface{} // The name of the pool from which to obtain the floating // IP. Changing this creates a new floating IP. Pool interface{} // ID of an existing port with at least one IP address to // associate with this floating IP. PortId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a floating IP that can be used with // another networking resource, such as a load balancer. If omitted, the // `region` argument of the provider is used. Changing this creates a new // floating IP (which may or may not have a different address). Region interface{} // The subnet ID of the floating IP pool. Specify this if // the floating IP network has multiple subnets. SubnetId interface{} // A set of string tags for the floating IP. Tags interface{} // The target tenant ID in which to allocate the floating // IP, if you specify this together with a port_id, make sure the target port // belongs to the same tenant. Changing this creates a new floating IP (which // may or may not have a different address) TenantId interface{} // Map of additional options. ValueSpecs interface{} }
Input properties used for looking up and filtering FloatingIp resources.
type GetFloatingIpArgs ¶ added in v0.15.1
type GetFloatingIpArgs struct { // The IP address of the floating IP. Address interface{} // Human-readable description of the floating IP. Description interface{} // The specific IP address of the internal port which should be associated with the floating IP. FixedIp interface{} // The name of the pool from which the floating IP belongs to. Pool interface{} // The ID of the port the floating IP is attached. PortId interface{} // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve floating IP ids. If omitted, the // `region` argument of the provider is used. Region interface{} // status of the floating IP (ACTIVE/DOWN). Status interface{} // The list of floating IP tags to filter. Tags interface{} // The owner of the floating IP. TenantId interface{} }
A collection of arguments for invoking getFloatingIp.
type GetFloatingIpResult ¶ added in v0.15.1
type GetFloatingIpResult struct { // A set of string tags applied on the floating IP. AllTags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getFloatingIp.
func LookupFloatingIp ¶ added in v0.15.1
func LookupFloatingIp(ctx *pulumi.Context, args *GetFloatingIpArgs) (*GetFloatingIpResult, error)
Use this data source to get the ID of an available OpenStack floating IP.
type GetNetworkArgs ¶
type GetNetworkArgs struct { // Human-readable description of the network. Description interface{} // The external routing facility of the network. External interface{} // The CIDR of a subnet within the network. MatchingSubnetCidr interface{} // The name of the network. Name interface{} // The ID of the network. NetworkId interface{} // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve networks ids. If omitted, the // `region` argument of the provider is used. Region interface{} // The status of the network. Status interface{} // The list of network tags to filter. Tags interface{} // The owner of the network. TenantId interface{} // The VLAN transparent attribute for the // network. TransparentVlan interface{} }
A collection of arguments for invoking getNetwork.
type GetNetworkResult ¶
type GetNetworkResult struct { // (Optional) The administrative state of the network. AdminStateUp interface{} // The set of string tags applied on the network. AllTags interface{} // (Optional) The availability zone candidates for the network. AvailabilityZoneHints interface{} // See Argument Reference above. Region interface{} // by any tenant or not. Shared interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getNetwork.
func LookupNetwork ¶
func LookupNetwork(ctx *pulumi.Context, args *GetNetworkArgs) (*GetNetworkResult, error)
Use this data source to get the ID of an available OpenStack network.
type GetPortArgs ¶ added in v0.16.4
type GetPortArgs struct { // The administrative state of the port. AdminStateUp interface{} // Human-readable description of the port. Description interface{} // The ID of the device the port belongs to. DeviceId interface{} // The device owner of the port. DeviceOwner interface{} // The port IP address filter. FixedIp interface{} // The MAC address of the port. MacAddress interface{} // The name of the port. Name interface{} // The ID of the network the port belongs to. NetworkId interface{} // The ID of the port. PortId interface{} // The owner of the port. ProjectId interface{} // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve port ids. If omitted, the // `region` argument of the provider is used. Region interface{} // The list of port security group IDs to filter. SecurityGroupIds interface{} // The status of the port. Status interface{} // The list of port tags to filter. Tags interface{} TenantId interface{} }
A collection of arguments for invoking getPort.
type GetPortIdsArgs ¶ added in v0.16.4
type GetPortIdsArgs struct { // The administrative state of the port. AdminStateUp interface{} // Human-readable description of the port. Description interface{} // The ID of the device the port belongs to. DeviceId interface{} // The device owner of the port. DeviceOwner interface{} // The port IP address filter. FixedIp interface{} // The MAC address of the port. MacAddress interface{} // The name of the port. Name interface{} // The ID of the network the port belongs to. NetworkId interface{} // The owner of the port. ProjectId interface{} // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve port ids. If omitted, the // `region` argument of the provider is used. Region interface{} // The list of port security group IDs to filter. SecurityGroupIds interface{} // Order the results in either `asc` or `desc`. // Defaults to none. SortDirection interface{} // Sort ports based on a certain key. Defaults to none. SortKey interface{} // The status of the port. Status interface{} // The list of port tags to filter. Tags interface{} TenantId interface{} }
A collection of arguments for invoking getPortIds.
type GetPortIdsResult ¶ added in v0.16.4
type GetPortIdsResult struct { Ids interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getPortIds.
func LookupPortIds ¶ added in v0.16.4
func LookupPortIds(ctx *pulumi.Context, args *GetPortIdsArgs) (*GetPortIdsResult, error)
Use this data source to get a list of Openstack Port IDs matching the specified criteria.
type GetPortResult ¶ added in v0.16.4
type GetPortResult struct { // The collection of Fixed IP addresses on the port in the // order returned by the Network v2 API. AllFixedIps interface{} // The set of security group IDs applied on the port. AllSecurityGroupIds interface{} // The set of string tags applied on the port. AllTags interface{} // An IP/MAC Address pair of additional IP // addresses that can be active on this port. The structure is described // below. AllowedAddressPairs interface{} // An extra DHCP option configured on the port. // The structure is described below. ExtraDhcpOptions interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getPort.
func LookupPort ¶ added in v0.16.4
func LookupPort(ctx *pulumi.Context, args *GetPortArgs) (*GetPortResult, error)
Use this data source to get the ID of an available OpenStack port.
type GetRouterArgs ¶ added in v0.16.1
type GetRouterArgs struct { // Administrative up/down status for the router (must be "true" or "false" if provided). AdminStateUp interface{} // Human-readable description of the router. Description interface{} // Indicates whether or not to get a distributed router. Distributed interface{} EnableSnat interface{} // The name of the router. Name interface{} // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve router ids. If omitted, the // `region` argument of the provider is used. Region interface{} // The UUID of the router resource. RouterId interface{} // The status of the router (ACTIVE/DOWN). Status interface{} // The list of router tags to filter. Tags interface{} // The owner of the router. TenantId interface{} }
A collection of arguments for invoking getRouter.
type GetRouterResult ¶ added in v0.16.1
type GetRouterResult struct { // The set of string tags applied on the router. AllTags interface{} // The availability zone that is used to make router resources highly available. AvailabilityZoneHints interface{} // The value that points out if the Source NAT is enabled on the router. EnableSnat interface{} // The external fixed IPs of the router. ExternalFixedIps interface{} // The network UUID of an external gateway for the router. ExternalNetworkId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getRouter.
func LookupRouter ¶ added in v0.16.1
func LookupRouter(ctx *pulumi.Context, args *GetRouterArgs) (*GetRouterResult, error)
Use this data source to get the ID of an available OpenStack router.
type GetSecGroupArgs ¶
type GetSecGroupArgs struct { // Human-readable description the the subnet. Description interface{} // The name of the security group. Name interface{} // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve security groups ids. If omitted, the // `region` argument of the provider is used. Region interface{} // The ID of the security group. SecgroupId interface{} // The list of security group tags to filter. Tags interface{} // The owner of the security group. TenantId interface{} }
A collection of arguments for invoking getSecGroup.
type GetSecGroupResult ¶
type GetSecGroupResult struct { // The set of string tags applied on the security group. AllTags interface{} // See Argument Reference above. Region interface{} TenantId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSecGroup.
func LookupSecGroup ¶
func LookupSecGroup(ctx *pulumi.Context, args *GetSecGroupArgs) (*GetSecGroupResult, error)
Use this data source to get the ID of an available OpenStack security group.
type GetSubnetArgs ¶
type GetSubnetArgs struct { // The CIDR of the subnet. Cidr interface{} // Human-readable description for the subnet. Description interface{} // If the subnet has DHCP disabled. DhcpDisabled interface{} // If the subnet has DHCP enabled. DhcpEnabled interface{} // The IP of the subnet's gateway. GatewayIp interface{} // The IP version of the subnet (either 4 or 6). IpVersion interface{} // The IPv6 address mode. Valid values are // `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`. Ipv6AddressMode interface{} // The IPv6 Router Advertisement mode. Valid values // are `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`. Ipv6RaMode interface{} // The name of the subnet. Name interface{} // The ID of the network the subnet belongs to. NetworkId interface{} // The region in which to obtain the V2 Neutron client. // A Neutron client is needed to retrieve subnet ids. If omitted, the // `region` argument of the provider is used. Region interface{} // The ID of the subnet. SubnetId interface{} // The ID of the subnetpool associated with the subnet. SubnetpoolId interface{} // The list of subnet tags to filter. Tags interface{} // The owner of the subnet. TenantId interface{} }
A collection of arguments for invoking getSubnet.
type GetSubnetPoolArgs ¶
type GetSubnetPoolArgs struct { // The Neutron address scope that subnetpools // is assigned to. AddressScopeId interface{} // The size of the subnetpool default prefix // length. DefaultPrefixlen interface{} // The per-project quota on the prefix space that // can be allocated from the subnetpool for project subnets. DefaultQuota interface{} // The human-readable description for the subnetpool. Description interface{} // The IP protocol version. IpVersion interface{} // Whether the subnetpool is default subnetpool or not. IsDefault interface{} // The size of the subnetpool max prefix length. MaxPrefixlen interface{} // The size of the subnetpool min prefix length. MinPrefixlen interface{} // The name of the subnetpool. Name interface{} // The owner of the subnetpool. ProjectId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to retrieve a subnetpool id. If omitted, the // `region` argument of the provider is used. Region interface{} Shared interface{} // The list of subnetpool tags to filter. Tags interface{} }
A collection of arguments for invoking getSubnetPool.
type GetSubnetPoolResult ¶
type GetSubnetPoolResult struct { // See Argument Reference above. // * `ip_version` -The IP protocol version. AddressScopeId interface{} // The set of string tags applied on the subnetpool. AllTags interface{} // The time at which subnetpool was created. CreatedAt interface{} // See Argument Reference above. DefaultPrefixlen interface{} // See Argument Reference above. DefaultQuota interface{} // See Argument Reference above. Description interface{} IpVersion interface{} // See Argument Reference above. IsDefault interface{} // See Argument Reference above. MaxPrefixlen interface{} // See Argument Reference above. MinPrefixlen interface{} // See Argument Reference above. Name interface{} // See Argument Reference above. Prefixes interface{} // See Argument Reference above. ProjectId interface{} // See Argument Reference above. Region interface{} // The revision number of the subnetpool. RevisionNumber interface{} Shared interface{} // The time at which subnetpool was created. UpdatedAt interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSubnetPool.
func LookupSubnetPool ¶
func LookupSubnetPool(ctx *pulumi.Context, args *GetSubnetPoolArgs) (*GetSubnetPoolResult, error)
Use this data source to get the ID of an available OpenStack subnetpool.
type GetSubnetResult ¶
type GetSubnetResult struct { // A set of string tags applied on the subnet. AllTags interface{} // Allocation pools of the subnet. AllocationPools interface{} Cidr interface{} Description interface{} // DNS Nameservers of the subnet. DnsNameservers interface{} // Whether the subnet has DHCP enabled or not. EnableDhcp interface{} GatewayIp interface{} // Host Routes of the subnet. HostRoutes interface{} IpVersion interface{} Ipv6AddressMode interface{} Ipv6RaMode interface{} Name interface{} NetworkId interface{} // See Argument Reference above. Region interface{} SubnetId interface{} SubnetpoolId interface{} TenantId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSubnet.
func LookupSubnet ¶
func LookupSubnet(ctx *pulumi.Context, args *GetSubnetArgs) (*GetSubnetResult, error)
Use this data source to get the ID of an available OpenStack subnet.
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
Manages a V2 Neutron network resource within OpenStack.
func GetNetwork ¶
func GetNetwork(ctx *pulumi.Context, name string, id pulumi.ID, state *NetworkState, opts ...pulumi.ResourceOpt) (*Network, error)
GetNetwork gets an existing Network 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 NewNetwork ¶
func NewNetwork(ctx *pulumi.Context, name string, args *NetworkArgs, opts ...pulumi.ResourceOpt) (*Network, error)
NewNetwork registers a new resource with the given unique name, arguments, and options.
func (*Network) AdminStateUp ¶
func (r *Network) AdminStateUp() *pulumi.BoolOutput
The administrative state of the network. Acceptable values are "true" and "false". Changing this value updates the state of the existing network.
func (*Network) AllTags ¶ added in v0.16.5
func (r *Network) AllTags() *pulumi.ArrayOutput
The collection of tags assigned on the network, which have been explicitly and implicitly added.
func (*Network) AvailabilityZoneHints ¶
func (r *Network) AvailabilityZoneHints() *pulumi.ArrayOutput
An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new network.
func (*Network) Description ¶ added in v0.16.4
func (r *Network) Description() *pulumi.StringOutput
Human-readable description of the network. Changing this updates the name of the existing network.
func (*Network) External ¶ added in v0.15.0
func (r *Network) External() *pulumi.BoolOutput
Specifies whether the network resource has the external routing facility. Valid values are true and false. Defaults to false. Changing this updates the external attribute of the existing network.
func (*Network) Name ¶
func (r *Network) Name() *pulumi.StringOutput
The name of the network. Changing this updates the name of the existing network.
func (*Network) Region ¶
func (r *Network) Region() *pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron network. If omitted, the `region` argument of the provider is used. Changing this creates a new network.
func (*Network) Segments ¶
func (r *Network) Segments() *pulumi.ArrayOutput
An array of one or more provider segment objects.
func (*Network) Shared ¶
func (r *Network) Shared() *pulumi.BoolOutput
Specifies whether the network resource can be accessed by any tenant or not. Changing this updates the sharing capabilities of the existing network.
func (*Network) Tags ¶ added in v0.16.3
func (r *Network) Tags() *pulumi.ArrayOutput
A set of string tags for the network.
func (*Network) TenantId ¶
func (r *Network) TenantId() *pulumi.StringOutput
The owner of the network. Required if admin wants to create a network for another tenant. Changing this creates a new network.
func (*Network) TransparentVlan ¶ added in v0.16.4
func (r *Network) TransparentVlan() *pulumi.BoolOutput
Specifies whether the network resource has the VLAN transparent attribute set. Valid values are true and false. Defaults to false. Changing this updates the `transparent_vlan` attribute of the existing network.
func (*Network) ValueSpecs ¶
Map of additional options.
type NetworkArgs ¶
type NetworkArgs struct { // The administrative state of the network. // Acceptable values are "true" and "false". Changing this value updates the // state of the existing network. AdminStateUp interface{} // An availability zone is used to make // network resources highly available. Used for resources with high availability // so that they are scheduled on different availability zones. Changing this // creates a new network. AvailabilityZoneHints interface{} // Human-readable description of the network. Changing this // updates the name of the existing network. Description interface{} // Specifies whether the network resource has the // external routing facility. Valid values are true and false. Defaults to // false. Changing this updates the external attribute of the existing network. External interface{} // The name of the network. Changing this updates the name of // the existing network. Name interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron network. If omitted, the // `region` argument of the provider is used. Changing this creates a new // network. Region interface{} // An array of one or more provider segment objects. Segments interface{} // by any tenant or not. Changing this updates the sharing capabilities of the // existing network. Shared interface{} // A set of string tags for the network. Tags interface{} // The owner of the network. Required if admin wants to // create a network for another tenant. Changing this creates a new network. TenantId interface{} // Specifies whether the network resource has the // VLAN transparent attribute set. Valid values are true and false. Defaults to // false. Changing this updates the `transparent_vlan` attribute of the existing // network. TransparentVlan interface{} // Map of additional options. ValueSpecs interface{} }
The set of arguments for constructing a Network resource.
type NetworkState ¶
type NetworkState struct { // The administrative state of the network. // Acceptable values are "true" and "false". Changing this value updates the // state of the existing network. AdminStateUp interface{} // The collection of tags assigned on the network, which have been // explicitly and implicitly added. AllTags interface{} // An availability zone is used to make // network resources highly available. Used for resources with high availability // so that they are scheduled on different availability zones. Changing this // creates a new network. AvailabilityZoneHints interface{} // Human-readable description of the network. Changing this // updates the name of the existing network. Description interface{} // Specifies whether the network resource has the // external routing facility. Valid values are true and false. Defaults to // false. Changing this updates the external attribute of the existing network. External interface{} // The name of the network. Changing this updates the name of // the existing network. Name interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron network. If omitted, the // `region` argument of the provider is used. Changing this creates a new // network. Region interface{} // An array of one or more provider segment objects. Segments interface{} // by any tenant or not. Changing this updates the sharing capabilities of the // existing network. Shared interface{} // A set of string tags for the network. Tags interface{} // The owner of the network. Required if admin wants to // create a network for another tenant. Changing this creates a new network. TenantId interface{} // Specifies whether the network resource has the // VLAN transparent attribute set. Valid values are true and false. Defaults to // false. Changing this updates the `transparent_vlan` attribute of the existing // network. TransparentVlan interface{} // Map of additional options. ValueSpecs interface{} }
Input properties used for looking up and filtering Network resources.
type Port ¶
type Port struct {
// contains filtered or unexported fields
}
Manages a V2 port resource within OpenStack.
## Notes
### Ports and Instances
There are some notes to consider when connecting Instances to networks using Ports. Please see the `openstack_compute_instance_v2` documentation for further documentation.
func GetPort ¶
func GetPort(ctx *pulumi.Context, name string, id pulumi.ID, state *PortState, opts ...pulumi.ResourceOpt) (*Port, error)
GetPort gets an existing Port 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 NewPort ¶
func NewPort(ctx *pulumi.Context, name string, args *PortArgs, opts ...pulumi.ResourceOpt) (*Port, error)
NewPort registers a new resource with the given unique name, arguments, and options.
func (*Port) AdminStateUp ¶
func (r *Port) AdminStateUp() *pulumi.BoolOutput
Administrative up/down status for the port (must be "true" or "false" if provided). Changing this updates the `admin_state_up` of an existing port.
func (*Port) AllFixedIps ¶
func (r *Port) AllFixedIps() *pulumi.ArrayOutput
The collection of Fixed IP addresses on the port in the order returned by the Network v2 API.
func (*Port) AllSecurityGroupIds ¶
func (r *Port) AllSecurityGroupIds() *pulumi.ArrayOutput
The collection of Security Group IDs on the port which have been explicitly and implicitly added.
func (*Port) AllTags ¶ added in v0.16.5
func (r *Port) AllTags() *pulumi.ArrayOutput
The collection of tags assigned on the port, which have been explicitly and implicitly added.
func (*Port) AllowedAddressPairs ¶
func (r *Port) AllowedAddressPairs() *pulumi.ArrayOutput
An IP/MAC Address pair of additional IP addresses that can be active on this port. The structure is described below.
func (*Port) Description ¶ added in v0.16.4
func (r *Port) Description() *pulumi.StringOutput
Human-readable description of the floating IP. Changing this updates the `description` of an existing port.
func (*Port) DeviceId ¶
func (r *Port) DeviceId() *pulumi.StringOutput
The ID of the device attached to the port. Changing this creates a new port.
func (*Port) DeviceOwner ¶
func (r *Port) DeviceOwner() *pulumi.StringOutput
The device owner of the Port. Changing this creates a new port.
func (*Port) ExtraDhcpOptions ¶ added in v0.16.3
func (r *Port) ExtraDhcpOptions() *pulumi.ArrayOutput
An extra DHCP option that needs to be configured on the port. The structure is described below. Can be specified multiple times.
func (*Port) FixedIps ¶
func (r *Port) FixedIps() *pulumi.ArrayOutput
An array of desired IPs for this port. The structure is described below.
func (*Port) MacAddress ¶
func (r *Port) MacAddress() *pulumi.StringOutput
Specify a specific MAC address for the port. Changing this creates a new port.
func (*Port) Name ¶
func (r *Port) Name() *pulumi.StringOutput
A unique name for the port. Changing this updates the `name` of an existing port.
func (*Port) NetworkId ¶
func (r *Port) NetworkId() *pulumi.StringOutput
The ID of the network to attach the port to. Changing this creates a new port.
func (*Port) NoFixedIp ¶ added in v0.16.1
func (r *Port) NoFixedIp() *pulumi.BoolOutput
Create a port with no fixed IP address. This will also remove any fixed IPs previously set on a port. `true` is the only valid value for this argument.
func (*Port) NoSecurityGroups ¶
func (r *Port) NoSecurityGroups() *pulumi.BoolOutput
If set to `true`, then no security groups are applied to the port. If set to `false` and no `security_group_ids` are specified, then the Port will yield to the default behavior of the Networking service, which is to usually apply the "default" security group.
func (*Port) Region ¶
func (r *Port) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the `region` argument of the provider is used. Changing this creates a new port.
func (*Port) SecurityGroupIds ¶
func (r *Port) SecurityGroupIds() *pulumi.ArrayOutput
A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
func (*Port) Tags ¶ added in v0.16.3
func (r *Port) Tags() *pulumi.ArrayOutput
See Argument Reference above.
func (*Port) TenantId ¶
func (r *Port) TenantId() *pulumi.StringOutput
The owner of the Port. Required if admin wants to create a port for another tenant. Changing this creates a new port.
type PortArgs ¶
type PortArgs struct { // Administrative up/down status for the port // (must be "true" or "false" if provided). Changing this updates the // `admin_state_up` of an existing port. AdminStateUp interface{} // An IP/MAC Address pair of additional IP // addresses that can be active on this port. The structure is described // below. AllowedAddressPairs interface{} // Human-readable description of the floating IP. Changing // this updates the `description` of an existing port. Description interface{} // The ID of the device attached to the port. Changing this // creates a new port. DeviceId interface{} // The device owner of the Port. Changing this creates // a new port. DeviceOwner interface{} // An extra DHCP option that needs to be configured // on the port. The structure is described below. Can be specified multiple // times. ExtraDhcpOptions interface{} // An array of desired IPs for // this port. The structure is described below. FixedIps interface{} // Specify a specific MAC address for the port. Changing // this creates a new port. MacAddress interface{} // A unique name for the port. Changing this // updates the `name` of an existing port. Name interface{} // The ID of the network to attach the port to. Changing // this creates a new port. NetworkId interface{} // Create a port with no fixed // IP address. This will also remove any fixed IPs previously set on a port. `true` // is the only valid value for this argument. NoFixedIp interface{} // If set to // `true`, then no security groups are applied to the port. If set to `false` and // no `security_group_ids` are specified, then the Port will yield to the default // behavior of the Networking service, which is to usually apply the "default" // security group. NoSecurityGroups interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // port. Region interface{} // A list // of security group IDs to apply to the port. The security groups must be // specified by ID and not name (as opposed to how they are configured with // the Compute Instance). SecurityGroupIds interface{} // See Argument Reference above. Tags interface{} // The owner of the Port. Required if admin wants // to create a port for another tenant. Changing this creates a new port. TenantId interface{} // Map of additional options. ValueSpecs interface{} }
The set of arguments for constructing a Port resource.
type PortSecGroupAssociate ¶ added in v0.16.5
type PortSecGroupAssociate struct {
// contains filtered or unexported fields
}
Manages a V2 port's security groups within OpenStack. Useful, when the port was created not by Terraform (e.g. Manila or LBaaS). It should not be used, when the port was created directly within Terraform.
When the resource is deleted, Terraform doesn't delete the port, but unsets the list of user defined security group IDs. However, if `enforce` is set to `true` and the resource is deleted, Terraform will remove all assigned security group IDs.
func GetPortSecGroupAssociate ¶ added in v0.16.5
func GetPortSecGroupAssociate(ctx *pulumi.Context, name string, id pulumi.ID, state *PortSecGroupAssociateState, opts ...pulumi.ResourceOpt) (*PortSecGroupAssociate, error)
GetPortSecGroupAssociate gets an existing PortSecGroupAssociate 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 NewPortSecGroupAssociate ¶ added in v0.16.5
func NewPortSecGroupAssociate(ctx *pulumi.Context, name string, args *PortSecGroupAssociateArgs, opts ...pulumi.ResourceOpt) (*PortSecGroupAssociate, error)
NewPortSecGroupAssociate registers a new resource with the given unique name, arguments, and options.
func (*PortSecGroupAssociate) AllSecurityGroupIds ¶ added in v0.16.5
func (r *PortSecGroupAssociate) AllSecurityGroupIds() *pulumi.ArrayOutput
The collection of Security Group IDs on the port which have been explicitly and implicitly added.
func (*PortSecGroupAssociate) Enforce ¶ added in v0.16.5
func (r *PortSecGroupAssociate) Enforce() *pulumi.BoolOutput
Whether to replace or append the list of security groups, specified in the `security_group_ids`. Defaults to `false`.
func (*PortSecGroupAssociate) ID ¶ added in v0.16.5
func (r *PortSecGroupAssociate) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*PortSecGroupAssociate) PortId ¶ added in v0.16.5
func (r *PortSecGroupAssociate) PortId() *pulumi.StringOutput
An UUID of the port to apply security groups to.
func (*PortSecGroupAssociate) Region ¶ added in v0.16.5
func (r *PortSecGroupAssociate) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to manage a port. If omitted, the `region` argument of the provider is used. Changing this creates a new resource.
func (*PortSecGroupAssociate) SecurityGroupIds ¶ added in v0.16.5
func (r *PortSecGroupAssociate) SecurityGroupIds() *pulumi.ArrayOutput
A list of security group IDs to apply to the port. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
func (*PortSecGroupAssociate) URN ¶ added in v0.16.5
func (r *PortSecGroupAssociate) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type PortSecGroupAssociateArgs ¶ added in v0.16.5
type PortSecGroupAssociateArgs struct { // Whether to replace or append the list of security // groups, specified in the `security_group_ids`. Defaults to `false`. Enforce interface{} // An UUID of the port to apply security groups to. PortId interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to manage a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // resource. Region interface{} // A list of security group IDs to apply to // the port. The security groups must be specified by ID and not name (as // opposed to how they are configured with the Compute Instance). SecurityGroupIds interface{} }
The set of arguments for constructing a PortSecGroupAssociate resource.
type PortSecGroupAssociateState ¶ added in v0.16.5
type PortSecGroupAssociateState struct { // The collection of Security Group IDs on the port // which have been explicitly and implicitly added. AllSecurityGroupIds interface{} // Whether to replace or append the list of security // groups, specified in the `security_group_ids`. Defaults to `false`. Enforce interface{} // An UUID of the port to apply security groups to. PortId interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to manage a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // resource. Region interface{} // A list of security group IDs to apply to // the port. The security groups must be specified by ID and not name (as // opposed to how they are configured with the Compute Instance). SecurityGroupIds interface{} }
Input properties used for looking up and filtering PortSecGroupAssociate resources.
type PortState ¶
type PortState struct { // Administrative up/down status for the port // (must be "true" or "false" if provided). Changing this updates the // `admin_state_up` of an existing port. AdminStateUp interface{} // The collection of Fixed IP addresses on the port in the // order returned by the Network v2 API. AllFixedIps interface{} // The collection of Security Group IDs on the port // which have been explicitly and implicitly added. AllSecurityGroupIds interface{} // The collection of tags assigned on the port, which have been // explicitly and implicitly added. AllTags interface{} // An IP/MAC Address pair of additional IP // addresses that can be active on this port. The structure is described // below. AllowedAddressPairs interface{} // Human-readable description of the floating IP. Changing // this updates the `description` of an existing port. Description interface{} // The ID of the device attached to the port. Changing this // creates a new port. DeviceId interface{} // The device owner of the Port. Changing this creates // a new port. DeviceOwner interface{} // An extra DHCP option that needs to be configured // on the port. The structure is described below. Can be specified multiple // times. ExtraDhcpOptions interface{} // An array of desired IPs for // this port. The structure is described below. FixedIps interface{} // Specify a specific MAC address for the port. Changing // this creates a new port. MacAddress interface{} // A unique name for the port. Changing this // updates the `name` of an existing port. Name interface{} // The ID of the network to attach the port to. Changing // this creates a new port. NetworkId interface{} // Create a port with no fixed // IP address. This will also remove any fixed IPs previously set on a port. `true` // is the only valid value for this argument. NoFixedIp interface{} // If set to // `true`, then no security groups are applied to the port. If set to `false` and // no `security_group_ids` are specified, then the Port will yield to the default // behavior of the Networking service, which is to usually apply the "default" // security group. NoSecurityGroups interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // port. Region interface{} // A list // of security group IDs to apply to the port. The security groups must be // specified by ID and not name (as opposed to how they are configured with // the Compute Instance). SecurityGroupIds interface{} // See Argument Reference above. Tags interface{} // The owner of the Port. Required if admin wants // to create a port for another tenant. Changing this creates a new port. TenantId interface{} // Map of additional options. ValueSpecs interface{} }
Input properties used for looking up and filtering Port resources.
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Manages a V2 router resource within OpenStack.
func GetRouter ¶
func GetRouter(ctx *pulumi.Context, name string, id pulumi.ID, state *RouterState, opts ...pulumi.ResourceOpt) (*Router, error)
GetRouter gets an existing Router 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 NewRouter ¶
func NewRouter(ctx *pulumi.Context, name string, args *RouterArgs, opts ...pulumi.ResourceOpt) (*Router, error)
NewRouter registers a new resource with the given unique name, arguments, and options.
func (*Router) AdminStateUp ¶
func (r *Router) AdminStateUp() *pulumi.BoolOutput
Administrative up/down status for the router (must be "true" or "false" if provided). Changing this updates the `admin_state_up` of an existing router.
func (*Router) AllTags ¶ added in v0.16.5
func (r *Router) AllTags() *pulumi.ArrayOutput
The collection of tags assigned on the router, which have been explicitly and implicitly added.
func (*Router) AvailabilityZoneHints ¶
func (r *Router) AvailabilityZoneHints() *pulumi.ArrayOutput
An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new router.
func (*Router) Description ¶ added in v0.16.4
func (r *Router) Description() *pulumi.StringOutput
Human-readable description for the router.
func (*Router) Distributed ¶
func (r *Router) Distributed() *pulumi.BoolOutput
Indicates whether or not to create a distributed router. The default policy setting in Neutron restricts usage of this property to administrative users only.
func (*Router) EnableSnat ¶
func (r *Router) EnableSnat() *pulumi.BoolOutput
Enable Source NAT for the router. Valid values are "true" or "false". An `external_network_id` has to be set in order to set this property. Changing this updates the `enable_snat` of the router.
func (*Router) ExternalFixedIps ¶
func (r *Router) ExternalFixedIps() *pulumi.ArrayOutput
An external fixed IP for the router. This can be repeated. The structure is described below. An `external_network_id` has to be set in order to set this property. Changing this updates the external fixed IPs of the router.
func (*Router) ExternalGateway ¶
func (r *Router) ExternalGateway() *pulumi.StringOutput
The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of an existing router.
func (*Router) ExternalNetworkId ¶
func (r *Router) ExternalNetworkId() *pulumi.StringOutput
The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of the router.
func (*Router) Name ¶
func (r *Router) Name() *pulumi.StringOutput
A unique name for the router. Changing this updates the `name` of an existing router.
func (*Router) Region ¶
func (r *Router) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the `region` argument of the provider is used. Changing this creates a new router.
func (*Router) Tags ¶ added in v0.16.3
func (r *Router) Tags() *pulumi.ArrayOutput
A set of string tags for the router.
func (*Router) TenantId ¶
func (r *Router) TenantId() *pulumi.StringOutput
The owner of the floating IP. Required if admin wants to create a router for another tenant. Changing this creates a new router.
func (*Router) ValueSpecs ¶
Map of additional driver-specific options.
func (*Router) VendorOptions ¶
Map of additional vendor-specific options. Supported options are described below.
type RouterArgs ¶
type RouterArgs struct { // Administrative up/down status for the router // (must be "true" or "false" if provided). Changing this updates the // `admin_state_up` of an existing router. AdminStateUp interface{} // An availability zone is used to make // network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing // this creates a new router. AvailabilityZoneHints interface{} // Human-readable description for the router. Description interface{} // Indicates whether or not to create a // distributed router. The default policy setting in Neutron restricts // usage of this property to administrative users only. Distributed interface{} // Enable Source NAT for the router. Valid values are // "true" or "false". An `external_network_id` has to be set in order to // set this property. Changing this updates the `enable_snat` of the router. EnableSnat interface{} // An external fixed IP for the router. This // can be repeated. The structure is described below. An `external_network_id` // has to be set in order to set this property. Changing this updates the // external fixed IPs of the router. ExternalFixedIps interface{} // The // network UUID of an external gateway for the router. A router with an // external gateway is required if any compute instances or load balancers // will be using floating IPs. Changing this updates the external gateway // of an existing router. ExternalGateway interface{} // The network UUID of an external gateway // for the router. A router with an external gateway is required if any // compute instances or load balancers will be using floating IPs. Changing // this updates the external gateway of the router. ExternalNetworkId interface{} // A unique name for the router. Changing this // updates the `name` of an existing router. Name interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a router. If omitted, the // `region` argument of the provider is used. Changing this creates a new // router. Region interface{} // A set of string tags for the router. Tags interface{} // The owner of the floating IP. Required if admin wants // to create a router for another tenant. Changing this creates a new router. TenantId interface{} // Map of additional driver-specific options. ValueSpecs interface{} // Map of additional vendor-specific options. // Supported options are described below. VendorOptions interface{} }
The set of arguments for constructing a Router resource.
type RouterInterface ¶
type RouterInterface struct {
// contains filtered or unexported fields
}
Manages a V2 router interface resource within OpenStack.
func GetRouterInterface ¶
func GetRouterInterface(ctx *pulumi.Context, name string, id pulumi.ID, state *RouterInterfaceState, opts ...pulumi.ResourceOpt) (*RouterInterface, error)
GetRouterInterface gets an existing RouterInterface 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 NewRouterInterface ¶
func NewRouterInterface(ctx *pulumi.Context, name string, args *RouterInterfaceArgs, opts ...pulumi.ResourceOpt) (*RouterInterface, error)
NewRouterInterface registers a new resource with the given unique name, arguments, and options.
func (*RouterInterface) ID ¶
func (r *RouterInterface) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*RouterInterface) PortId ¶
func (r *RouterInterface) PortId() *pulumi.StringOutput
ID of the port this interface connects to. Changing this creates a new router interface.
func (*RouterInterface) Region ¶
func (r *RouterInterface) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to create a router. If omitted, the `region` argument of the provider is used. Changing this creates a new router interface.
func (*RouterInterface) RouterId ¶
func (r *RouterInterface) RouterId() *pulumi.StringOutput
ID of the router this interface belongs to. Changing this creates a new router interface.
func (*RouterInterface) SubnetId ¶
func (r *RouterInterface) SubnetId() *pulumi.StringOutput
ID of the subnet this interface connects to. Changing this creates a new router interface.
func (*RouterInterface) URN ¶
func (r *RouterInterface) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type RouterInterfaceArgs ¶
type RouterInterfaceArgs struct { // ID of the port this interface connects to. Changing // this creates a new router interface. PortId interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a router. If omitted, the // `region` argument of the provider is used. Changing this creates a new // router interface. Region interface{} // ID of the router this interface belongs to. Changing // this creates a new router interface. RouterId interface{} // ID of the subnet this interface connects to. Changing // this creates a new router interface. SubnetId interface{} }
The set of arguments for constructing a RouterInterface resource.
type RouterInterfaceState ¶
type RouterInterfaceState struct { // ID of the port this interface connects to. Changing // this creates a new router interface. PortId interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a router. If omitted, the // `region` argument of the provider is used. Changing this creates a new // router interface. Region interface{} // ID of the router this interface belongs to. Changing // this creates a new router interface. RouterId interface{} // ID of the subnet this interface connects to. Changing // this creates a new router interface. SubnetId interface{} }
Input properties used for looking up and filtering RouterInterface resources.
type RouterRoute ¶
type RouterRoute struct {
// contains filtered or unexported fields
}
Creates a routing entry on a OpenStack V2 router.
## Notes
The `next_hop` IP address must be directly reachable from the router at the “openstack_networking_router_route_v2“ resource creation time. You can ensure that by explicitly specifying a dependency on the “openstack_networking_router_interface_v2“ resource that connects the next hop to the router, as in the example above.
func GetRouterRoute ¶
func GetRouterRoute(ctx *pulumi.Context, name string, id pulumi.ID, state *RouterRouteState, opts ...pulumi.ResourceOpt) (*RouterRoute, error)
GetRouterRoute gets an existing RouterRoute 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 NewRouterRoute ¶
func NewRouterRoute(ctx *pulumi.Context, name string, args *RouterRouteArgs, opts ...pulumi.ResourceOpt) (*RouterRoute, error)
NewRouterRoute registers a new resource with the given unique name, arguments, and options.
func (*RouterRoute) DestinationCidr ¶
func (r *RouterRoute) DestinationCidr() *pulumi.StringOutput
CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.
func (*RouterRoute) ID ¶
func (r *RouterRoute) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*RouterRoute) NextHop ¶
func (r *RouterRoute) NextHop() *pulumi.StringOutput
IP address of the next hop gateway. Changing this creates a new routing entry.
func (*RouterRoute) Region ¶
func (r *RouterRoute) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a router. If omitted, the `region` argument of the provider is used. Changing this creates a new routing entry.
func (*RouterRoute) RouterId ¶
func (r *RouterRoute) RouterId() *pulumi.StringOutput
ID of the router this routing entry belongs to. Changing this creates a new routing entry.
func (*RouterRoute) URN ¶
func (r *RouterRoute) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type RouterRouteArgs ¶
type RouterRouteArgs struct { // CIDR block to match on the packet’s destination IP. Changing // this creates a new routing entry. DestinationCidr interface{} // IP address of the next hop gateway. Changing // this creates a new routing entry. NextHop interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to configure a routing entry on a router. If omitted, the // `region` argument of the provider is used. Changing this creates a new // routing entry. Region interface{} // ID of the router this routing entry belongs to. Changing // this creates a new routing entry. RouterId interface{} }
The set of arguments for constructing a RouterRoute resource.
type RouterRouteState ¶
type RouterRouteState struct { // CIDR block to match on the packet’s destination IP. Changing // this creates a new routing entry. DestinationCidr interface{} // IP address of the next hop gateway. Changing // this creates a new routing entry. NextHop interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to configure a routing entry on a router. If omitted, the // `region` argument of the provider is used. Changing this creates a new // routing entry. Region interface{} // ID of the router this routing entry belongs to. Changing // this creates a new routing entry. RouterId interface{} }
Input properties used for looking up and filtering RouterRoute resources.
type RouterState ¶
type RouterState struct { // Administrative up/down status for the router // (must be "true" or "false" if provided). Changing this updates the // `admin_state_up` of an existing router. AdminStateUp interface{} // The collection of tags assigned on the router, which have been // explicitly and implicitly added. AllTags interface{} // An availability zone is used to make // network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing // this creates a new router. AvailabilityZoneHints interface{} // Human-readable description for the router. Description interface{} // Indicates whether or not to create a // distributed router. The default policy setting in Neutron restricts // usage of this property to administrative users only. Distributed interface{} // Enable Source NAT for the router. Valid values are // "true" or "false". An `external_network_id` has to be set in order to // set this property. Changing this updates the `enable_snat` of the router. EnableSnat interface{} // An external fixed IP for the router. This // can be repeated. The structure is described below. An `external_network_id` // has to be set in order to set this property. Changing this updates the // external fixed IPs of the router. ExternalFixedIps interface{} // The // network UUID of an external gateway for the router. A router with an // external gateway is required if any compute instances or load balancers // will be using floating IPs. Changing this updates the external gateway // of an existing router. ExternalGateway interface{} // The network UUID of an external gateway // for the router. A router with an external gateway is required if any // compute instances or load balancers will be using floating IPs. Changing // this updates the external gateway of the router. ExternalNetworkId interface{} // A unique name for the router. Changing this // updates the `name` of an existing router. Name interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a router. If omitted, the // `region` argument of the provider is used. Changing this creates a new // router. Region interface{} // A set of string tags for the router. Tags interface{} // The owner of the floating IP. Required if admin wants // to create a router for another tenant. Changing this creates a new router. TenantId interface{} // Map of additional driver-specific options. ValueSpecs interface{} // Map of additional vendor-specific options. // Supported options are described below. VendorOptions interface{} }
Input properties used for looking up and filtering Router resources.
type SecGroup ¶
type SecGroup struct {
// contains filtered or unexported fields
}
Manages a V2 neutron security group resource within OpenStack. Unlike Nova security groups, neutron separates the group from the rules and also allows an admin to target a specific tenant_id.
func GetSecGroup ¶
func GetSecGroup(ctx *pulumi.Context, name string, id pulumi.ID, state *SecGroupState, opts ...pulumi.ResourceOpt) (*SecGroup, error)
GetSecGroup gets an existing SecGroup 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 NewSecGroup ¶
func NewSecGroup(ctx *pulumi.Context, name string, args *SecGroupArgs, opts ...pulumi.ResourceOpt) (*SecGroup, error)
NewSecGroup registers a new resource with the given unique name, arguments, and options.
func (*SecGroup) AllTags ¶ added in v0.16.5
func (r *SecGroup) AllTags() *pulumi.ArrayOutput
The collection of tags assigned on the security group, which have been explicitly and implicitly added.
func (*SecGroup) DeleteDefaultRules ¶
func (r *SecGroup) DeleteDefaultRules() *pulumi.BoolOutput
Whether or not to delete the default egress security rules. This is `false` by default. See the below note for more information.
func (*SecGroup) Description ¶
func (r *SecGroup) Description() *pulumi.StringOutput
A unique name for the security group.
func (*SecGroup) Name ¶
func (r *SecGroup) Name() *pulumi.StringOutput
A unique name for the security group.
func (*SecGroup) Region ¶
func (r *SecGroup) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the `region` argument of the provider is used. Changing this creates a new security group.
func (*SecGroup) Tags ¶ added in v0.16.3
func (r *SecGroup) Tags() *pulumi.ArrayOutput
A set of string tags for the security group.
func (*SecGroup) TenantId ¶
func (r *SecGroup) TenantId() *pulumi.StringOutput
The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.
type SecGroupArgs ¶
type SecGroupArgs struct { // Whether or not to delete the default // egress security rules. This is `false` by default. See the below note // for more information. DeleteDefaultRules interface{} // A unique name for the security group. Description interface{} // A unique name for the security group. Name interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // security group. Region interface{} // A set of string tags for the security group. Tags interface{} // The owner of the security group. Required if admin // wants to create a port for another tenant. Changing this creates a new // security group. TenantId interface{} }
The set of arguments for constructing a SecGroup resource.
type SecGroupRule ¶
type SecGroupRule struct {
// contains filtered or unexported fields
}
Manages a V2 neutron security group rule resource within OpenStack. Unlike Nova security groups, neutron separates the group from the rules and also allows an admin to target a specific tenant_id.
func GetSecGroupRule ¶
func GetSecGroupRule(ctx *pulumi.Context, name string, id pulumi.ID, state *SecGroupRuleState, opts ...pulumi.ResourceOpt) (*SecGroupRule, error)
GetSecGroupRule gets an existing SecGroupRule 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 NewSecGroupRule ¶
func NewSecGroupRule(ctx *pulumi.Context, name string, args *SecGroupRuleArgs, opts ...pulumi.ResourceOpt) (*SecGroupRule, error)
NewSecGroupRule registers a new resource with the given unique name, arguments, and options.
func (*SecGroupRule) Description ¶ added in v0.16.1
func (r *SecGroupRule) Description() *pulumi.StringOutput
A description of the rule. Changing this creates a new security group rule.
func (*SecGroupRule) Direction ¶
func (r *SecGroupRule) Direction() *pulumi.StringOutput
The direction of the rule, valid values are __ingress__ or __egress__. Changing this creates a new security group rule.
func (*SecGroupRule) Ethertype ¶
func (r *SecGroupRule) Ethertype() *pulumi.StringOutput
The layer 3 protocol type, valid values are __IPv4__ or __IPv6__. Changing this creates a new security group rule.
func (*SecGroupRule) ID ¶
func (r *SecGroupRule) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SecGroupRule) PortRangeMax ¶
func (r *SecGroupRule) PortRangeMax() *pulumi.IntOutput
The higher part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.
func (*SecGroupRule) PortRangeMin ¶
func (r *SecGroupRule) PortRangeMin() *pulumi.IntOutput
The lower part of the allowed port range, valid integer value needs to be between 1 and 65535. Changing this creates a new security group rule.
func (*SecGroupRule) Protocol ¶
func (r *SecGroupRule) Protocol() *pulumi.StringOutput
The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range. * __tcp__ * __udp__ * __icmp__ * __ah__ * __dccp__ * __egp__ * __esp__ * __gre__ * __igmp__ * __ipv6-encap__ * __ipv6-frag__ * __ipv6-icmp__ * __ipv6-nonxt__ * __ipv6-opts__ * __ipv6-route__ * __ospf__ * __pgm__ * __rsvp__ * __sctp__ * __udplite__ * __vrrp__
func (*SecGroupRule) Region ¶
func (r *SecGroupRule) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the `region` argument of the provider is used. Changing this creates a new security group rule.
func (*SecGroupRule) RemoteGroupId ¶
func (r *SecGroupRule) RemoteGroupId() *pulumi.StringOutput
The remote group id, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.
func (*SecGroupRule) RemoteIpPrefix ¶
func (r *SecGroupRule) RemoteIpPrefix() *pulumi.StringOutput
The remote CIDR, the value needs to be a valid CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule.
func (*SecGroupRule) SecurityGroupId ¶
func (r *SecGroupRule) SecurityGroupId() *pulumi.StringOutput
The security group id the rule should belong to, the value needs to be an Openstack ID of a security group in the same tenant. Changing this creates a new security group rule.
func (*SecGroupRule) TenantId ¶
func (r *SecGroupRule) TenantId() *pulumi.StringOutput
The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group rule.
func (*SecGroupRule) URN ¶
func (r *SecGroupRule) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SecGroupRuleArgs ¶
type SecGroupRuleArgs struct { // A description of the rule. Changing this creates a new security group rule. Description interface{} // The direction of the rule, valid values are __ingress__ // or __egress__. Changing this creates a new security group rule. Direction interface{} // The layer 3 protocol type, valid values are __IPv4__ // or __IPv6__. Changing this creates a new security group rule. Ethertype interface{} // The higher part of the allowed port range, valid // integer value needs to be between 1 and 65535. Changing this creates a new // security group rule. PortRangeMax interface{} // The lower part of the allowed port range, valid // integer value needs to be between 1 and 65535. Changing this creates a new // security group rule. PortRangeMin interface{} // The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range. // * __tcp__ // * __udp__ // * __icmp__ // * __ah__ // * __dccp__ // * __egp__ // * __esp__ // * __gre__ // * __igmp__ // * __ipv6-encap__ // * __ipv6-frag__ // * __ipv6-icmp__ // * __ipv6-nonxt__ // * __ipv6-opts__ // * __ipv6-route__ // * __ospf__ // * __pgm__ // * __rsvp__ // * __sctp__ // * __udplite__ // * __vrrp__ Protocol interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // security group rule. Region interface{} // The remote group id, the value needs to be an // Openstack ID of a security group in the same tenant. Changing this creates // a new security group rule. RemoteGroupId interface{} // The remote CIDR, the value needs to be a valid // CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule. RemoteIpPrefix interface{} // The security group id the rule should belong // to, the value needs to be an Openstack ID of a security group in the same // tenant. Changing this creates a new security group rule. SecurityGroupId interface{} // The owner of the security group. Required if admin // wants to create a port for another tenant. Changing this creates a new // security group rule. TenantId interface{} }
The set of arguments for constructing a SecGroupRule resource.
type SecGroupRuleState ¶
type SecGroupRuleState struct { // A description of the rule. Changing this creates a new security group rule. Description interface{} // The direction of the rule, valid values are __ingress__ // or __egress__. Changing this creates a new security group rule. Direction interface{} // The layer 3 protocol type, valid values are __IPv4__ // or __IPv6__. Changing this creates a new security group rule. Ethertype interface{} // The higher part of the allowed port range, valid // integer value needs to be between 1 and 65535. Changing this creates a new // security group rule. PortRangeMax interface{} // The lower part of the allowed port range, valid // integer value needs to be between 1 and 65535. Changing this creates a new // security group rule. PortRangeMin interface{} // The layer 4 protocol type, valid values are following. Changing this creates a new security group rule. This is required if you want to specify a port range. // * __tcp__ // * __udp__ // * __icmp__ // * __ah__ // * __dccp__ // * __egp__ // * __esp__ // * __gre__ // * __igmp__ // * __ipv6-encap__ // * __ipv6-frag__ // * __ipv6-icmp__ // * __ipv6-nonxt__ // * __ipv6-opts__ // * __ipv6-route__ // * __ospf__ // * __pgm__ // * __rsvp__ // * __sctp__ // * __udplite__ // * __vrrp__ Protocol interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // security group rule. Region interface{} // The remote group id, the value needs to be an // Openstack ID of a security group in the same tenant. Changing this creates // a new security group rule. RemoteGroupId interface{} // The remote CIDR, the value needs to be a valid // CIDR (i.e. 192.168.0.0/16). Changing this creates a new security group rule. RemoteIpPrefix interface{} // The security group id the rule should belong // to, the value needs to be an Openstack ID of a security group in the same // tenant. Changing this creates a new security group rule. SecurityGroupId interface{} // The owner of the security group. Required if admin // wants to create a port for another tenant. Changing this creates a new // security group rule. TenantId interface{} }
Input properties used for looking up and filtering SecGroupRule resources.
type SecGroupState ¶
type SecGroupState struct { // The collection of tags assigned on the security group, which have // been explicitly and implicitly added. AllTags interface{} // Whether or not to delete the default // egress security rules. This is `false` by default. See the below note // for more information. DeleteDefaultRules interface{} // A unique name for the security group. Description interface{} // A unique name for the security group. Name interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a port. If omitted, the // `region` argument of the provider is used. Changing this creates a new // security group. Region interface{} // A set of string tags for the security group. Tags interface{} // The owner of the security group. Required if admin // wants to create a port for another tenant. Changing this creates a new // security group. TenantId interface{} }
Input properties used for looking up and filtering SecGroup resources.
type Subnet ¶
type Subnet struct {
// contains filtered or unexported fields
}
Manages a V2 Neutron subnet resource within OpenStack.
func GetSubnet ¶
func GetSubnet(ctx *pulumi.Context, name string, id pulumi.ID, state *SubnetState, opts ...pulumi.ResourceOpt) (*Subnet, error)
GetSubnet gets an existing Subnet 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 NewSubnet ¶
func NewSubnet(ctx *pulumi.Context, name string, args *SubnetArgs, opts ...pulumi.ResourceOpt) (*Subnet, error)
NewSubnet registers a new resource with the given unique name, arguments, and options.
func (*Subnet) AllTags ¶ added in v0.16.5
func (r *Subnet) AllTags() *pulumi.ArrayOutput
The collection of ags assigned on the subnet, which have been explicitly and implicitly added.
func (*Subnet) AllocationPools ¶
func (r *Subnet) AllocationPools() *pulumi.ArrayOutput
An array of sub-ranges of CIDR available for dynamic allocation to ports. The allocation_pool object structure is documented below. Changing this creates a new subnet.
func (*Subnet) Cidr ¶
func (r *Subnet) Cidr() *pulumi.StringOutput
CIDR representing IP range for this subnet, based on IP version. You can omit this option if you are creating a subnet from a subnet pool.
func (*Subnet) Description ¶ added in v0.16.4
func (r *Subnet) Description() *pulumi.StringOutput
Human-readable description of the subnet. Changing this updates the name of the existing subnet.
func (*Subnet) DnsNameservers ¶
func (r *Subnet) DnsNameservers() *pulumi.ArrayOutput
An array of DNS name server names used by hosts in this subnet. Changing this updates the DNS name servers for the existing subnet.
func (*Subnet) EnableDhcp ¶
func (r *Subnet) EnableDhcp() *pulumi.BoolOutput
The administrative state of the network. Acceptable values are "true" and "false". Changing this value enables or disables the DHCP capabilities of the existing subnet. Defaults to true.
func (*Subnet) GatewayIp ¶
func (r *Subnet) GatewayIp() *pulumi.StringOutput
Default gateway used by devices in this subnet. Leaving this blank and not setting `no_gateway` will cause a default gateway of `.1` to be used. Changing this updates the gateway IP of the existing subnet.
func (*Subnet) HostRoutes ¶
func (r *Subnet) HostRoutes() *pulumi.ArrayOutput
An array of routes that should be used by devices with IPs from this subnet (not including local subnet route). The host_route object structure is documented below. Changing this updates the host routes for the existing subnet.
func (*Subnet) Ipv6AddressMode ¶
func (r *Subnet) Ipv6AddressMode() *pulumi.StringOutput
The IPv6 address mode. Valid values are `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`.
func (*Subnet) Ipv6RaMode ¶
func (r *Subnet) Ipv6RaMode() *pulumi.StringOutput
The IPv6 Router Advertisement mode. Valid values are `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`.
func (*Subnet) Name ¶
func (r *Subnet) Name() *pulumi.StringOutput
The name of the subnet. Changing this updates the name of the existing subnet.
func (*Subnet) NetworkId ¶
func (r *Subnet) NetworkId() *pulumi.StringOutput
The UUID of the parent network. Changing this creates a new subnet.
func (*Subnet) NoGateway ¶
func (r *Subnet) NoGateway() *pulumi.BoolOutput
Do not set a gateway IP on this subnet. Changing this removes or adds a default gateway IP of the existing subnet.
func (*Subnet) Region ¶
func (r *Subnet) Region() *pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnet. If omitted, the `region` argument of the provider is used. Changing this creates a new subnet.
func (*Subnet) SubnetpoolId ¶
func (r *Subnet) SubnetpoolId() *pulumi.StringOutput
The ID of the subnetpool associated with the subnet.
func (*Subnet) Tags ¶ added in v0.16.3
func (r *Subnet) Tags() *pulumi.ArrayOutput
A set of string tags for the subnet.
func (*Subnet) TenantId ¶
func (r *Subnet) TenantId() *pulumi.StringOutput
The owner of the subnet. Required if admin wants to create a subnet for another tenant. Changing this creates a new subnet.
func (*Subnet) ValueSpecs ¶
Map of additional options.
type SubnetArgs ¶
type SubnetArgs struct { // An array of sub-ranges of CIDR available for // dynamic allocation to ports. The allocation_pool object structure is // documented below. Changing this creates a new subnet. AllocationPools interface{} // CIDR representing IP range for this subnet, based on IP // version. You can omit this option if you are creating a subnet from a // subnet pool. Cidr interface{} // Human-readable description of the subnet. Changing this // updates the name of the existing subnet. Description interface{} // An array of DNS name server names used by hosts // in this subnet. Changing this updates the DNS name servers for the existing // subnet. DnsNameservers interface{} // The administrative state of the network. // Acceptable values are "true" and "false". Changing this value enables or // disables the DHCP capabilities of the existing subnet. Defaults to true. EnableDhcp interface{} // Default gateway used by devices in this subnet. // Leaving this blank and not setting `no_gateway` will cause a default // gateway of `.1` to be used. Changing this updates the gateway IP of the // existing subnet. GatewayIp interface{} // An array of routes that should be used by devices // with IPs from this subnet (not including local subnet route). The host_route // object structure is documented below. Changing this updates the host routes // for the existing subnet. HostRoutes interface{} // IP version, either 4 (default) or 6. Changing this creates a // new subnet. IpVersion interface{} // The IPv6 address mode. Valid values are // `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`. Ipv6AddressMode interface{} // The IPv6 Router Advertisement mode. Valid values // are `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`. Ipv6RaMode interface{} // The name of the subnet. Changing this updates the name of // the existing subnet. Name interface{} // The UUID of the parent network. Changing this // creates a new subnet. NetworkId interface{} // Do not set a gateway IP on this subnet. Changing // this removes or adds a default gateway IP of the existing subnet. NoGateway interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron subnet. If omitted, the // `region` argument of the provider is used. Changing this creates a new // subnet. Region interface{} // The ID of the subnetpool associated with the subnet. SubnetpoolId interface{} // A set of string tags for the subnet. Tags interface{} // The owner of the subnet. Required if admin wants to // create a subnet for another tenant. Changing this creates a new subnet. TenantId interface{} // Map of additional options. ValueSpecs interface{} }
The set of arguments for constructing a Subnet resource.
type SubnetPool ¶
type SubnetPool struct {
// contains filtered or unexported fields
}
Manages a V2 Neutron subnetpool resource within OpenStack.
func GetSubnetPool ¶
func GetSubnetPool(ctx *pulumi.Context, name string, id pulumi.ID, state *SubnetPoolState, opts ...pulumi.ResourceOpt) (*SubnetPool, error)
GetSubnetPool gets an existing SubnetPool 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 NewSubnetPool ¶
func NewSubnetPool(ctx *pulumi.Context, name string, args *SubnetPoolArgs, opts ...pulumi.ResourceOpt) (*SubnetPool, error)
NewSubnetPool registers a new resource with the given unique name, arguments, and options.
func (*SubnetPool) AddressScopeId ¶
func (r *SubnetPool) AddressScopeId() *pulumi.StringOutput
The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.
func (*SubnetPool) AllTags ¶ added in v0.16.5
func (r *SubnetPool) AllTags() *pulumi.ArrayOutput
The collection of tags assigned on the subnetpool, which have been explicitly and implicitly added.
func (*SubnetPool) CreatedAt ¶
func (r *SubnetPool) CreatedAt() *pulumi.StringOutput
The time at which subnetpool was created.
func (*SubnetPool) DefaultPrefixlen ¶
func (r *SubnetPool) DefaultPrefixlen() *pulumi.IntOutput
The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.
func (*SubnetPool) DefaultQuota ¶
func (r *SubnetPool) DefaultQuota() *pulumi.IntOutput
The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.
func (*SubnetPool) Description ¶
func (r *SubnetPool) Description() *pulumi.StringOutput
The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.
func (*SubnetPool) ID ¶
func (r *SubnetPool) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SubnetPool) IpVersion ¶
func (r *SubnetPool) IpVersion() *pulumi.IntOutput
The IP protocol version.
func (*SubnetPool) IsDefault ¶
func (r *SubnetPool) IsDefault() *pulumi.BoolOutput
Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.
func (*SubnetPool) MaxPrefixlen ¶
func (r *SubnetPool) MaxPrefixlen() *pulumi.IntOutput
The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.
func (*SubnetPool) MinPrefixlen ¶
func (r *SubnetPool) MinPrefixlen() *pulumi.IntOutput
The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.
func (*SubnetPool) Name ¶
func (r *SubnetPool) Name() *pulumi.StringOutput
The name of the subnetpool. Changing this updates the name of the existing subnetpool.
func (*SubnetPool) Prefixes ¶
func (r *SubnetPool) Prefixes() *pulumi.ArrayOutput
A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.
func (*SubnetPool) ProjectId ¶
func (r *SubnetPool) ProjectId() *pulumi.StringOutput
The owner of the subnetpool. Required if admin wants to create a subnetpool for another project. Changing this creates a new subnetpool.
func (*SubnetPool) Region ¶
func (r *SubnetPool) Region() *pulumi.StringOutput
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron subnetpool. If omitted, the `region` argument of the provider is used. Changing this creates a new subnetpool.
func (*SubnetPool) RevisionNumber ¶
func (r *SubnetPool) RevisionNumber() *pulumi.IntOutput
The revision number of the subnetpool.
func (*SubnetPool) Shared ¶
func (r *SubnetPool) Shared() *pulumi.BoolOutput
Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.
func (*SubnetPool) Tags ¶ added in v0.16.3
func (r *SubnetPool) Tags() *pulumi.ArrayOutput
A set of string tags for the subnetpool.
func (*SubnetPool) URN ¶
func (r *SubnetPool) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*SubnetPool) UpdatedAt ¶
func (r *SubnetPool) UpdatedAt() *pulumi.StringOutput
The time at which subnetpool was created.
func (*SubnetPool) ValueSpecs ¶
func (r *SubnetPool) ValueSpecs() *pulumi.MapOutput
Map of additional options.
type SubnetPoolArgs ¶
type SubnetPoolArgs struct { // The Neutron address scope to assign to the // subnetpool. Changing this updates the address scope id of the existing // subnetpool. AddressScopeId interface{} // The size of the prefix to allocate when the cidr // or prefixlen attributes are omitted when you create the subnet. Defaults to the // MinPrefixLen. Changing this updates the default prefixlen of the existing // subnetpool. DefaultPrefixlen interface{} // The per-project quota on the prefix space that can be // allocated from the subnetpool for project subnets. Changing this updates the // default quota of the existing subnetpool. DefaultQuota interface{} // The human-readable description for the subnetpool. // Changing this updates the description of the existing subnetpool. Description interface{} // The IP protocol version. IpVersion interface{} // Indicates whether the subnetpool is default // subnetpool or not. Changing this updates the default status of the existing // subnetpool. IsDefault interface{} // The maximum prefix size that can be allocated from // the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, // default is 128. Changing this updates the max prefixlen of the existing // subnetpool. MaxPrefixlen interface{} // The smallest prefix that can be allocated from a // subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default // is 64. Changing this updates the min prefixlen of the existing subnetpool. MinPrefixlen interface{} // The name of the subnetpool. Changing this updates the name of // the existing subnetpool. Name interface{} // A list of subnet prefixes to assign to the subnetpool. // Neutron API merges adjacent prefixes and treats them as a single prefix. Each // subnet prefix must be unique among all subnet prefixes in all subnetpools that // are associated with the address scope. Changing this updates the prefixes list // of the existing subnetpool. Prefixes interface{} // The owner of the subnetpool. Required if admin wants to // create a subnetpool for another project. Changing this creates a new subnetpool. ProjectId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron subnetpool. If omitted, the // `region` argument of the provider is used. Changing this creates a new // subnetpool. Region interface{} // all projects. Changing this updates the shared status of the existing // subnetpool. Shared interface{} // A set of string tags for the subnetpool. Tags interface{} // Map of additional options. ValueSpecs interface{} }
The set of arguments for constructing a SubnetPool resource.
type SubnetPoolState ¶
type SubnetPoolState struct { // The Neutron address scope to assign to the // subnetpool. Changing this updates the address scope id of the existing // subnetpool. AddressScopeId interface{} // The collection of tags assigned on the subnetpool, which have been // explicitly and implicitly added. AllTags interface{} // The time at which subnetpool was created. CreatedAt interface{} // The size of the prefix to allocate when the cidr // or prefixlen attributes are omitted when you create the subnet. Defaults to the // MinPrefixLen. Changing this updates the default prefixlen of the existing // subnetpool. DefaultPrefixlen interface{} // The per-project quota on the prefix space that can be // allocated from the subnetpool for project subnets. Changing this updates the // default quota of the existing subnetpool. DefaultQuota interface{} // The human-readable description for the subnetpool. // Changing this updates the description of the existing subnetpool. Description interface{} // The IP protocol version. IpVersion interface{} // Indicates whether the subnetpool is default // subnetpool or not. Changing this updates the default status of the existing // subnetpool. IsDefault interface{} // The maximum prefix size that can be allocated from // the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, // default is 128. Changing this updates the max prefixlen of the existing // subnetpool. MaxPrefixlen interface{} // The smallest prefix that can be allocated from a // subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default // is 64. Changing this updates the min prefixlen of the existing subnetpool. MinPrefixlen interface{} // The name of the subnetpool. Changing this updates the name of // the existing subnetpool. Name interface{} // A list of subnet prefixes to assign to the subnetpool. // Neutron API merges adjacent prefixes and treats them as a single prefix. Each // subnet prefix must be unique among all subnet prefixes in all subnetpools that // are associated with the address scope. Changing this updates the prefixes list // of the existing subnetpool. Prefixes interface{} // The owner of the subnetpool. Required if admin wants to // create a subnetpool for another project. Changing this creates a new subnetpool. ProjectId interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron subnetpool. If omitted, the // `region` argument of the provider is used. Changing this creates a new // subnetpool. Region interface{} // The revision number of the subnetpool. RevisionNumber interface{} // all projects. Changing this updates the shared status of the existing // subnetpool. Shared interface{} // A set of string tags for the subnetpool. Tags interface{} // The time at which subnetpool was created. UpdatedAt interface{} // Map of additional options. ValueSpecs interface{} }
Input properties used for looking up and filtering SubnetPool resources.
type SubnetRoute ¶
type SubnetRoute struct {
// contains filtered or unexported fields
}
Creates a routing entry on a OpenStack V2 subnet.
func GetSubnetRoute ¶
func GetSubnetRoute(ctx *pulumi.Context, name string, id pulumi.ID, state *SubnetRouteState, opts ...pulumi.ResourceOpt) (*SubnetRoute, error)
GetSubnetRoute gets an existing SubnetRoute 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 NewSubnetRoute ¶
func NewSubnetRoute(ctx *pulumi.Context, name string, args *SubnetRouteArgs, opts ...pulumi.ResourceOpt) (*SubnetRoute, error)
NewSubnetRoute registers a new resource with the given unique name, arguments, and options.
func (*SubnetRoute) DestinationCidr ¶
func (r *SubnetRoute) DestinationCidr() *pulumi.StringOutput
CIDR block to match on the packet’s destination IP. Changing this creates a new routing entry.
func (*SubnetRoute) ID ¶
func (r *SubnetRoute) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SubnetRoute) NextHop ¶
func (r *SubnetRoute) NextHop() *pulumi.StringOutput
IP address of the next hop gateway. Changing this creates a new routing entry.
func (*SubnetRoute) Region ¶
func (r *SubnetRoute) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to configure a routing entry on a subnet. If omitted, the `region` argument of the provider is used. Changing this creates a new routing entry.
func (*SubnetRoute) SubnetId ¶
func (r *SubnetRoute) SubnetId() *pulumi.StringOutput
ID of the subnet this routing entry belongs to. Changing this creates a new routing entry.
func (*SubnetRoute) URN ¶
func (r *SubnetRoute) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SubnetRouteArgs ¶
type SubnetRouteArgs struct { // CIDR block to match on the packet’s destination IP. Changing // this creates a new routing entry. DestinationCidr interface{} // IP address of the next hop gateway. Changing // this creates a new routing entry. NextHop interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to configure a routing entry on a subnet. If omitted, the // `region` argument of the provider is used. Changing this creates a new // routing entry. Region interface{} // ID of the subnet this routing entry belongs to. Changing // this creates a new routing entry. SubnetId interface{} }
The set of arguments for constructing a SubnetRoute resource.
type SubnetRouteState ¶
type SubnetRouteState struct { // CIDR block to match on the packet’s destination IP. Changing // this creates a new routing entry. DestinationCidr interface{} // IP address of the next hop gateway. Changing // this creates a new routing entry. NextHop interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to configure a routing entry on a subnet. If omitted, the // `region` argument of the provider is used. Changing this creates a new // routing entry. Region interface{} // ID of the subnet this routing entry belongs to. Changing // this creates a new routing entry. SubnetId interface{} }
Input properties used for looking up and filtering SubnetRoute resources.
type SubnetState ¶
type SubnetState struct { // The collection of ags assigned on the subnet, which have been // explicitly and implicitly added. AllTags interface{} // An array of sub-ranges of CIDR available for // dynamic allocation to ports. The allocation_pool object structure is // documented below. Changing this creates a new subnet. AllocationPools interface{} // CIDR representing IP range for this subnet, based on IP // version. You can omit this option if you are creating a subnet from a // subnet pool. Cidr interface{} // Human-readable description of the subnet. Changing this // updates the name of the existing subnet. Description interface{} // An array of DNS name server names used by hosts // in this subnet. Changing this updates the DNS name servers for the existing // subnet. DnsNameservers interface{} // The administrative state of the network. // Acceptable values are "true" and "false". Changing this value enables or // disables the DHCP capabilities of the existing subnet. Defaults to true. EnableDhcp interface{} // Default gateway used by devices in this subnet. // Leaving this blank and not setting `no_gateway` will cause a default // gateway of `.1` to be used. Changing this updates the gateway IP of the // existing subnet. GatewayIp interface{} // An array of routes that should be used by devices // with IPs from this subnet (not including local subnet route). The host_route // object structure is documented below. Changing this updates the host routes // for the existing subnet. HostRoutes interface{} // IP version, either 4 (default) or 6. Changing this creates a // new subnet. IpVersion interface{} // The IPv6 address mode. Valid values are // `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`. Ipv6AddressMode interface{} // The IPv6 Router Advertisement mode. Valid values // are `dhcpv6-stateful`, `dhcpv6-stateless`, or `slaac`. Ipv6RaMode interface{} // The name of the subnet. Changing this updates the name of // the existing subnet. Name interface{} // The UUID of the parent network. Changing this // creates a new subnet. NetworkId interface{} // Do not set a gateway IP on this subnet. Changing // this removes or adds a default gateway IP of the existing subnet. NoGateway interface{} // The region in which to obtain the V2 Networking client. // A Networking client is needed to create a Neutron subnet. If omitted, the // `region` argument of the provider is used. Changing this creates a new // subnet. Region interface{} // The ID of the subnetpool associated with the subnet. SubnetpoolId interface{} // A set of string tags for the subnet. Tags interface{} // The owner of the subnet. Required if admin wants to // create a subnet for another tenant. Changing this creates a new subnet. TenantId interface{} // Map of additional options. ValueSpecs interface{} }
Input properties used for looking up and filtering Subnet resources.
type Trunk ¶ added in v0.16.3
type Trunk struct {
// contains filtered or unexported fields
}
Manages a networking V2 trunk resource within OpenStack.
func GetTrunk ¶ added in v0.16.3
func GetTrunk(ctx *pulumi.Context, name string, id pulumi.ID, state *TrunkState, opts ...pulumi.ResourceOpt) (*Trunk, error)
GetTrunk gets an existing Trunk 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 NewTrunk ¶ added in v0.16.3
func NewTrunk(ctx *pulumi.Context, name string, args *TrunkArgs, opts ...pulumi.ResourceOpt) (*Trunk, error)
NewTrunk registers a new resource with the given unique name, arguments, and options.
func (*Trunk) AdminStateUp ¶ added in v0.16.3
func (r *Trunk) AdminStateUp() *pulumi.BoolOutput
Administrative up/down status for the trunk (must be "true" or "false" if provided). Changing this updates the `admin_state_up` of an existing trunk.
func (*Trunk) AllTags ¶ added in v0.16.5
func (r *Trunk) AllTags() *pulumi.ArrayOutput
The collection of tags assigned on the trunk, which have been explicitly and implicitly added.
func (*Trunk) Description ¶ added in v0.16.5
func (r *Trunk) Description() *pulumi.StringOutput
Human-readable description of the trunk. Changing this updates the name of the existing trunk.
func (*Trunk) ID ¶ added in v0.16.3
ID is this resource's unique identifier assigned by its provider.
func (*Trunk) Name ¶ added in v0.16.3
func (r *Trunk) Name() *pulumi.StringOutput
A unique name for the trunk. Changing this updates the `name` of an existing trunk.
func (*Trunk) PortId ¶ added in v0.16.3
func (r *Trunk) PortId() *pulumi.StringOutput
The ID of the port to be used as the parent port of the trunk. This is the port that should be used as the compute instance network port. Changing this creates a new trunk.
func (*Trunk) Region ¶ added in v0.16.3
func (r *Trunk) Region() *pulumi.StringOutput
The region in which to obtain the V2 networking client. A networking client is needed to create a trunk. If omitted, the `region` argument of the provider is used. Changing this creates a new trunk.
func (*Trunk) SubPorts ¶ added in v0.16.3
func (r *Trunk) SubPorts() *pulumi.ArrayOutput
The set of ports that will be made subports of the trunk. The structure of each subport is described below.
func (*Trunk) Tags ¶ added in v0.16.3
func (r *Trunk) Tags() *pulumi.ArrayOutput
A set of string tags for the port.
func (*Trunk) TenantId ¶ added in v0.16.3
func (r *Trunk) TenantId() *pulumi.StringOutput
The owner of the Trunk. Required if admin wants to create a trunk on behalf of another tenant. Changing this creates a new trunk.
type TrunkArgs ¶ added in v0.16.3
type TrunkArgs struct { // Administrative up/down status for the trunk // (must be "true" or "false" if provided). Changing this updates the // `admin_state_up` of an existing trunk. AdminStateUp interface{} // Human-readable description of the trunk. Changing this // updates the name of the existing trunk. Description interface{} // A unique name for the trunk. Changing this // updates the `name` of an existing trunk. Name interface{} // The ID of the port to be used as the parent port of the // trunk. This is the port that should be used as the compute instance network // port. Changing this creates a new trunk. PortId interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a trunk. If omitted, the // `region` argument of the provider is used. Changing this creates a new // trunk. Region interface{} // The set of ports that will be made subports of the trunk. // The structure of each subport is described below. SubPorts interface{} // A set of string tags for the port. Tags interface{} // The owner of the Trunk. Required if admin wants // to create a trunk on behalf of another tenant. Changing this creates a new trunk. TenantId interface{} }
The set of arguments for constructing a Trunk resource.
type TrunkState ¶ added in v0.16.3
type TrunkState struct { // Administrative up/down status for the trunk // (must be "true" or "false" if provided). Changing this updates the // `admin_state_up` of an existing trunk. AdminStateUp interface{} // The collection of tags assigned on the trunk, which have been // explicitly and implicitly added. AllTags interface{} // Human-readable description of the trunk. Changing this // updates the name of the existing trunk. Description interface{} // A unique name for the trunk. Changing this // updates the `name` of an existing trunk. Name interface{} // The ID of the port to be used as the parent port of the // trunk. This is the port that should be used as the compute instance network // port. Changing this creates a new trunk. PortId interface{} // The region in which to obtain the V2 networking client. // A networking client is needed to create a trunk. If omitted, the // `region` argument of the provider is used. Changing this creates a new // trunk. Region interface{} // The set of ports that will be made subports of the trunk. // The structure of each subport is described below. SubPorts interface{} // A set of string tags for the port. Tags interface{} // The owner of the Trunk. Required if admin wants // to create a trunk on behalf of another tenant. Changing this creates a new trunk. TenantId interface{} }
Input properties used for looking up and filtering Trunk resources.
Source Files ¶
- addressScope.go
- floatingIp.go
- floatingIpAssociate.go
- getFloatingIp.go
- getNetwork.go
- getPort.go
- getPortIds.go
- getRouter.go
- getSecGroup.go
- getSubnet.go
- getSubnetPool.go
- network.go
- port.go
- portSecGroupAssociate.go
- router.go
- routerInterface.go
- routerRoute.go
- secGroup.go
- secGroupRule.go
- subnet.go
- subnetPool.go
- subnetRoute.go
- trunk.go