Class GetSubnetPool
Inheritance
System.Object
GetSubnetPool
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 static class GetSubnetPool
Methods
View SourceInvokeAsync(GetSubnetPoolArgs, InvokeOptions)
Use this data source to get the ID of an available OpenStack subnetpool.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var subnetpool1 = Output.Create(OpenStack.Networking.GetSubnetPool.InvokeAsync(new OpenStack.Networking.GetSubnetPoolArgs
{
Name = "subnetpool_1",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetSubnetPoolResult> InvokeAsync(GetSubnetPoolArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSubnetPoolArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetSubnetPoolResult> |