Show / Hide Table of Contents

Class GetPolicy

Inheritance
System.Object
GetPolicy
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.Firewall
Assembly: Pulumi.OpenStack.dll
Syntax
public static class GetPolicy

Methods

View Source

InvokeAsync(GetPolicyArgs, InvokeOptions)

Use this data source to get firewall policy information of an available OpenStack firewall policy.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var policy = Output.Create(OpenStack.Firewall.GetPolicy.InvokeAsync(new OpenStack.Firewall.GetPolicyArgs
    {
        Name = "tf_test_policy",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetPolicyArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetPolicyResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.