azure-native.app.getMaintenanceConfiguration
Explore with Pulumi AI
Gets the maintenance configuration of a ManagedEnvironment .
Uses Azure REST API version 2024-10-02-preview.
Other available API versions: 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native app [ApiVersion]
. See the version guide for details.
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(config_name: Optional[str] = None,
environment_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMaintenanceConfigurationResult
def get_maintenance_configuration_output(config_name: Optional[pulumi.Input[str]] = None,
environment_name: Optional[pulumi.Input[str]] = None,
resource_group_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:app:getMaintenanceConfiguration
arguments:
# arguments dictionary
The following arguments are supported:
- Config
Name string - The name of the maintenance configuration.
- Environment
Name string - The name of the Managed Environment.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Config
Name string - The name of the maintenance configuration.
- Environment
Name string - The name of the Managed Environment.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- config
Name String - The name of the maintenance configuration.
- environment
Name String - The name of the Managed Environment.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- config
Name string - The name of the maintenance configuration.
- environment
Name string - The name of the Managed Environment.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- config_
name str - The name of the maintenance configuration.
- environment_
name str - The name of the Managed Environment.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- config
Name String - The name of the maintenance configuration.
- environment
Name String - The name of the Managed Environment.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getMaintenanceConfiguration Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Scheduled
Entries List<Pulumi.Azure Native. App. Outputs. Scheduled Entry Response> - List of maintenance schedules for a managed environment.
- System
Data Pulumi.Azure Native. App. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Scheduled
Entries []ScheduledEntry Response - List of maintenance schedules for a managed environment.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- scheduled
Entries List<ScheduledEntry Response> - List of maintenance schedules for a managed environment.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- scheduled
Entries ScheduledEntry Response[] - List of maintenance schedules for a managed environment.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- scheduled_
entries Sequence[ScheduledEntry Response] - List of maintenance schedules for a managed environment.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- scheduled
Entries List<Property Map> - List of maintenance schedules for a managed environment.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ScheduledEntryResponse
- Duration
Hours int - Length of maintenance window range from 8 to 24 hours.
- Start
Hour intUtc - Start hour after which managed environment maintenance can start from 0 to 23 hour.
- Week
Day string - Day of the week when a managed environment can be patched.
- Duration
Hours int - Length of maintenance window range from 8 to 24 hours.
- Start
Hour intUtc - Start hour after which managed environment maintenance can start from 0 to 23 hour.
- Week
Day string - Day of the week when a managed environment can be patched.
- duration
Hours Integer - Length of maintenance window range from 8 to 24 hours.
- start
Hour IntegerUtc - Start hour after which managed environment maintenance can start from 0 to 23 hour.
- week
Day String - Day of the week when a managed environment can be patched.
- duration
Hours number - Length of maintenance window range from 8 to 24 hours.
- start
Hour numberUtc - Start hour after which managed environment maintenance can start from 0 to 23 hour.
- week
Day string - Day of the week when a managed environment can be patched.
- duration_
hours int - Length of maintenance window range from 8 to 24 hours.
- start_
hour_ intutc - Start hour after which managed environment maintenance can start from 0 to 23 hour.
- week_
day str - Day of the week when a managed environment can be patched.
- duration
Hours Number - Length of maintenance window range from 8 to 24 hours.
- start
Hour NumberUtc - Start hour after which managed environment maintenance can start from 0 to 23 hour.
- week
Day String - Day of the week when a managed environment can be patched.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0