Class GetSubnetArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class GetSubnetArgs : InvokeArgs
Constructors
View SourceGetSubnetArgs()
Declaration
public GetSubnetArgs()
Properties
View SourceCidr
The CIDR of the subnet.
Declaration
public string Cidr { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Description
Human-readable description for the subnet.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DhcpDisabled
If the subnet has DHCP disabled.
Declaration
public bool? DhcpDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
DhcpEnabled
If the subnet has DHCP enabled.
Declaration
public bool? DhcpEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
GatewayIp
The IP of the subnet's gateway.
Declaration
public string GatewayIp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Ipv6AddressMode
The IPv6 address mode. Valid values are
dhcpv6-stateful, dhcpv6-stateless, or slaac.
Declaration
public string Ipv6AddressMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Ipv6RaMode
The IPv6 Router Advertisement mode. Valid values
are dhcpv6-stateful, dhcpv6-stateless, or slaac.
Declaration
public string Ipv6RaMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IpVersion
The IP version of the subnet (either 4 or 6).
Declaration
public int? IpVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Name
The name of the subnet.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NetworkId
The ID of the network the subnet belongs to.
Declaration
public string NetworkId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Region
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.
Declaration
public string Region { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SubnetId
The ID of the subnet.
Declaration
public string SubnetId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SubnetpoolId
The ID of the subnetpool associated with the subnet.
Declaration
public string SubnetpoolId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Tags
The list of subnet tags to filter.
Declaration
public List<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
TenantId
The owner of the subnet.
Declaration
public string TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |