Class GetNetwork
Inheritance
System.Object
GetNetwork
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.Docker
Assembly: Pulumi.Docker.dll
Syntax
public static class GetNetwork
Methods
View SourceInvokeAsync(GetNetworkArgs, InvokeOptions)
Finds a specific docker network and returns information about it.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Docker = Pulumi.Docker;
class MyStack : Stack
{
public MyStack()
{
var main = Output.Create(Docker.GetNetwork.InvokeAsync(new Docker.GetNetworkArgs
{
Name = "main",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetNetworkResult> InvokeAsync(GetNetworkArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetNetworkArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetNetworkResult> |