Class GetResolutionLines
Inheritance
System.Object
GetResolutionLines
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.Dns
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetResolutionLines
Methods
View SourceInvokeAsync(GetResolutionLinesArgs, InvokeOptions)
This data source provides a list of DNS Resolution Lines in an Alibaba Cloud account according to the specified filters.
NOTE: Available in 1.60.0.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var resolutionLinesDs = Output.Create(AliCloud.Dns.GetResolutionLines.InvokeAsync(new AliCloud.Dns.GetResolutionLinesArgs
{
LineCodes =
{
"cn_unicom_shanxi",
},
OutputFile = "support_lines.txt",
}));
this.FirstLineCode = resolutionLinesDs.Apply(resolutionLinesDs => resolutionLinesDs.Lines[0].LineCode);
}
[Output("firstLineCode")]
public Output<string> FirstLineCode { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetResolutionLinesResult> InvokeAsync(GetResolutionLinesArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetResolutionLinesArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetResolutionLinesResult> |