1. Packages
  2. Packages
  3. Azure Native
  4. API Docs
  5. maintenance
  6. getMaintenanceConfiguration
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Maintenance configuration record type API Version: 2020-04-01.

    Using getMaintenanceConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMaintenanceConfiguration(args: GetMaintenanceConfigurationArgs, opts?: InvokeOptions): Promise<GetMaintenanceConfigurationResult>
    function getMaintenanceConfigurationOutput(args: GetMaintenanceConfigurationOutputArgs, opts?: InvokeOptions): Output<GetMaintenanceConfigurationResult>
    def get_maintenance_configuration(resource_group_name: Optional[str] = None,
                                      resource_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetMaintenanceConfigurationResult
    def get_maintenance_configuration_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                      resource_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetMaintenanceConfigurationResult]
    func LookupMaintenanceConfiguration(ctx *Context, args *LookupMaintenanceConfigurationArgs, opts ...InvokeOption) (*LookupMaintenanceConfigurationResult, error)
    func LookupMaintenanceConfigurationOutput(ctx *Context, args *LookupMaintenanceConfigurationOutputArgs, opts ...InvokeOption) LookupMaintenanceConfigurationResultOutput

    > Note: This function is named LookupMaintenanceConfiguration in the Go SDK.

    public static class GetMaintenanceConfiguration 
    {
        public static Task<GetMaintenanceConfigurationResult> InvokeAsync(GetMaintenanceConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetMaintenanceConfigurationResult> Invoke(GetMaintenanceConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMaintenanceConfigurationResult> getMaintenanceConfiguration(GetMaintenanceConfigurationArgs args, InvokeOptions options)
    public static Output<GetMaintenanceConfigurationResult> getMaintenanceConfiguration(GetMaintenanceConfigurationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:maintenance:getMaintenanceConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    Resource Group Name
    ResourceName string
    Resource Identifier
    ResourceGroupName string
    Resource Group Name
    ResourceName string
    Resource Identifier
    resourceGroupName String
    Resource Group Name
    resourceName String
    Resource Identifier
    resourceGroupName string
    Resource Group Name
    resourceName string
    Resource Identifier
    resource_group_name str
    Resource Group Name
    resource_name str
    Resource Identifier
    resourceGroupName String
    Resource Group Name
    resourceName String
    Resource Identifier

    getMaintenanceConfiguration Result

    The following output properties are available:

    Id string
    Fully qualified identifier of the resource
    Name string
    Name of the resource
    Type string
    Type of the resource
    ExtensionProperties Dictionary<string, string>
    Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
    Location string
    Gets or sets location of the resource
    MaintenanceScope string
    Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
    Namespace string
    Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
    Tags Dictionary<string, string>
    Gets or sets tags of the resource
    Id string
    Fully qualified identifier of the resource
    Name string
    Name of the resource
    Type string
    Type of the resource
    ExtensionProperties map[string]string
    Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
    Location string
    Gets or sets location of the resource
    MaintenanceScope string
    Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
    Namespace string
    Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
    Tags map[string]string
    Gets or sets tags of the resource
    id String
    Fully qualified identifier of the resource
    name String
    Name of the resource
    type String
    Type of the resource
    extensionProperties Map<String,String>
    Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
    location String
    Gets or sets location of the resource
    maintenanceScope String
    Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
    namespace String
    Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
    tags Map<String,String>
    Gets or sets tags of the resource
    id string
    Fully qualified identifier of the resource
    name string
    Name of the resource
    type string
    Type of the resource
    extensionProperties {[key: string]: string}
    Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
    location string
    Gets or sets location of the resource
    maintenanceScope string
    Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
    namespace string
    Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
    tags {[key: string]: string}
    Gets or sets tags of the resource
    id str
    Fully qualified identifier of the resource
    name str
    Name of the resource
    type str
    Type of the resource
    extension_properties Mapping[str, str]
    Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
    location str
    Gets or sets location of the resource
    maintenance_scope str
    Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
    namespace str
    Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
    tags Mapping[str, str]
    Gets or sets tags of the resource
    id String
    Fully qualified identifier of the resource
    name String
    Name of the resource
    type String
    Type of the resource
    extensionProperties Map<String>
    Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
    location String
    Gets or sets location of the resource
    maintenanceScope String
    Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
    namespace String
    Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
    tags Map<String>
    Gets or sets tags of the resource

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.