Documentation ¶
Index ¶
- type FloatingIp
- func (r *FloatingIp) Address() *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) 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 GetSecGroupArgs
- type GetSecGroupResult
- type GetSubnetArgs
- type GetSubnetPoolArgs
- type GetSubnetPoolResult
- type GetSubnetResult
- type Network
- func (r *Network) AdminStateUp() *pulumi.StringOutput
- func (r *Network) AvailabilityZoneHints() *pulumi.ArrayOutput
- 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.StringOutput
- func (r *Network) TenantId() *pulumi.StringOutput
- 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) AllowedAddressPairs() *pulumi.ArrayOutput
- func (r *Port) DeviceId() *pulumi.StringOutput
- func (r *Port) DeviceOwner() *pulumi.StringOutput
- 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) NoSecurityGroups() *pulumi.BoolOutput
- func (r *Port) Region() *pulumi.StringOutput
- func (r *Port) SecurityGroupIds() *pulumi.ArrayOutput
- func (r *Port) TenantId() *pulumi.StringOutput
- func (r *Port) URN() *pulumi.URNOutput
- func (r *Port) ValueSpecs() *pulumi.MapOutput
- type PortArgs
- type PortState
- type Router
- func (r *Router) AdminStateUp() *pulumi.BoolOutput
- func (r *Router) AvailabilityZoneHints() *pulumi.ArrayOutput
- 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) 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) 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) TenantId() *pulumi.StringOutput
- func (r *SecGroup) URN() *pulumi.URNOutput
- type SecGroupArgs
- type SecGroupRule
- 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) AllocationPools() *pulumi.ArrayOutput
- func (r *Subnet) Cidr() *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) 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) 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) 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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) 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{} // 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{} // 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{} // 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{} // 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{} // 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 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 {
// 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 { // 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 owner of the network. TenantId interface{} }
A collection of arguments for invoking getNetwork.
type GetNetworkResult ¶
type GetNetworkResult struct { // (Optional) The administrative state of the network. AdminStateUp 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 GetSecGroupArgs ¶
type GetSecGroupArgs struct { // 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 owner of the security group. TenantId interface{} }
A collection of arguments for invoking getSecGroup.
type GetSecGroupResult ¶
type GetSecGroupResult struct { // 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{} // 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 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{} }
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 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 { // Allocation pools of the subnet. AllocationPools interface{} Cidr 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.StringOutput
The administrative state of the network. Acceptable values are "true" and "false". Changing this value updates the state of the existing network.
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) 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.StringOutput
Specifies whether the network resource can be accessed by any tenant or not. Changing this updates the sharing capabalities of the existing 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) 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{} // 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 capabalities of the // existing network. Shared 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{} // 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{} // 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{} // 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 capabalities of the // existing network. Shared 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{} // 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.
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) 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) 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) 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) 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) 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{} // 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 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{} // 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{} // 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 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{} // An IP/MAC Address pair of additional IP // addresses that can be active on this port. The structure is described // below. AllowedAddressPairs 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 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{} // 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{} // 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) 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) 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) 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{} // 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{} // 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.
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{} // 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{} // 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{} // 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) 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) 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{} // 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) 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 { // 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 { // 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 { // 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{} // 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) 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) 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) 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{} // 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{} // 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) 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) 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{} // 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 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{} // 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 { // 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{} // 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{} // 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.