Class GetSaslAcls
Inheritance
System.Object
GetSaslAcls
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.ActionTrail
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetSaslAcls
Methods
View SourceInvokeAsync(GetSaslAclsArgs, InvokeOptions)
This data source provides a list of ALIKAFKA Sasl acls in an Alibaba Cloud account according to the specified filters.
NOTE: Available in 1.66.0+
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var saslAclsDs = Output.Create(AliCloud.ActionTrail.GetSaslAcls.InvokeAsync(new AliCloud.ActionTrail.GetSaslAclsArgs
{
AclResourceName = "testTopic",
AclResourceType = "Topic",
InstanceId = "xxx",
OutputFile = "saslAcls.txt",
Username = "username",
}));
this.FirstSaslAclUsername = saslAclsDs.Apply(saslAclsDs => saslAclsDs.Acls[0].Username);
}
[Output("firstSaslAclUsername")]
public Output<string> FirstSaslAclUsername { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetSaslAclsResult> InvokeAsync(GetSaslAclsArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSaslAclsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetSaslAclsResult> |