Class GetLogProfile
Inheritance
System.Object
GetLogProfile
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.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public static class GetLogProfile
Methods
View SourceInvokeAsync(GetLogProfileArgs, InvokeOptions)
Use this data source to access the properties of a Log Profile.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.Monitoring.GetLogProfile.InvokeAsync(new Azure.Monitoring.GetLogProfileArgs
{
Name = "test-logprofile",
}));
this.LogProfileStorageAccountId = example.Apply(example => example.StorageAccountId);
}
[Output("logProfileStorageAccountId")]
public Output<string> LogProfileStorageAccountId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetLogProfileResult> InvokeAsync(GetLogProfileArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLogProfileArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetLogProfileResult> |