Class GetPortIds
Inheritance
System.Object
GetPortIds
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 GetPortIds
Methods
View SourceInvokeAsync(GetPortIdsArgs, InvokeOptions)
Use this data source to get a list of Openstack Port IDs matching the specified criteria.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var ports = Output.Create(OpenStack.Networking.GetPortIds.InvokeAsync(new OpenStack.Networking.GetPortIdsArgs
{
Name = "port",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetPortIdsResult> InvokeAsync(GetPortIdsArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPortIdsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetPortIdsResult> |