Show / Hide Table of Contents

Class GetProtocols

Inheritance
System.Object
GetProtocols
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.AliCloud.Nas
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetProtocols

Methods

View Source

InvokeAsync(GetProtocolsArgs, InvokeOptions)

Provide a data source to retrieve the type of protocol used to create NAS file system.

NOTE: Available in 1.42.0

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var @default = Output.Create(AliCloud.Nas.GetProtocols.InvokeAsync(new AliCloud.Nas.GetProtocolsArgs
    {
        OutputFile = "protocols.txt",
        Type = "Performance",
        ZoneId = "cn-beijing-e",
    }));
    this.NasProtocolsProtocol = @default.Apply(@default => @default.Protocols[0]);
}

[Output("nasProtocolsProtocol")]
public Output<string> NasProtocolsProtocol { get; set; }
}

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

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