Class GetConfiguration
Inheritance
System.Object
GetConfiguration
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.Maintenance
Assembly: Pulumi.Azure.dll
Syntax
public static class GetConfiguration
Methods
View SourceInvokeAsync(GetConfigurationArgs, InvokeOptions)
Use this data source to access information about an existing Maintenance Configuration.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var existing = Output.Create(Azure.Maintenance.GetConfiguration.InvokeAsync(new Azure.Maintenance.GetConfigurationArgs
{
Name = "example-mc",
ResourceGroupName = "example-resources",
}));
this.Id = azurerm_maintenance_configuration.Existing.Id;
}
[Output("id")]
public Output<string> Id { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetConfigurationResult> InvokeAsync(GetConfigurationArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetConfigurationArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetConfigurationResult> |