azure-native.containerservice.getMaintenanceConfiguration
Explore with Pulumi AI
See planned maintenance for more information about planned maintenance.
Uses Azure REST API version 2024-10-01.
Other available API versions: 2020-12-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-07-01, 2021-08-01, 2021-09-01, 2021-10-01, 2021-11-01-preview, 2022-01-01, 2022-01-02-preview, 2022-02-01, 2022-02-02-preview, 2022-03-01, 2022-03-02-preview, 2022-04-01, 2022-04-02-preview, 2022-05-02-preview, 2022-06-01, 2022-06-02-preview, 2022-07-01, 2022-07-02-preview, 2022-08-02-preview, 2022-08-03-preview, 2022-09-01, 2022-09-02-preview, 2022-10-02-preview, 2022-11-01, 2022-11-02-preview, 2023-01-01, 2023-01-02-preview, 2023-02-01, 2023-02-02-preview, 2023-03-01, 2023-03-02-preview, 2023-04-01, 2023-04-02-preview, 2023-05-01, 2023-05-02-preview, 2023-06-01, 2023-06-02-preview, 2023-07-01, 2023-07-02-preview, 2023-08-01, 2023-08-02-preview, 2023-09-01, 2023-09-02-preview, 2023-10-01, 2023-10-02-preview, 2023-11-01, 2023-11-02-preview, 2024-01-01, 2024-01-02-preview, 2024-02-01, 2024-02-02-preview, 2024-03-02-preview, 2024-04-02-preview, 2024-05-01, 2024-05-02-preview, 2024-06-02-preview, 2024-07-01, 2024-07-02-preview, 2024-08-01, 2024-09-01, 2024-09-02-preview, 2024-10-02-preview, 2025-01-01, 2025-01-02-preview, 2025-02-01, 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [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,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMaintenanceConfigurationResult
def get_maintenance_configuration_output(config_name: Optional[pulumi.Input[str]] = None,
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:containerservice:getMaintenanceConfiguration
arguments:
# arguments dictionary
The following arguments are supported:
- Config
Name string - The name of the maintenance configuration.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Config
Name string - The name of the maintenance configuration.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- config
Name String - The name of the maintenance configuration.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- config
Name string - The name of the maintenance configuration.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the managed cluster resource.
- config_
name str - The name of the maintenance configuration.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the managed cluster resource.
- config
Name String - The name of the maintenance configuration.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
getMaintenanceConfiguration Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- System
Data Pulumi.Azure Native. Container Service. Outputs. System Data Response - The system metadata relating to this resource.
- Type string
- Resource type
- Maintenance
Window Pulumi.Azure Native. Container Service. Outputs. Maintenance Window Response - Maintenance window for the maintenance configuration.
- Not
Allowed List<Pulumi.Time Azure Native. Container Service. Outputs. Time Span Response> - Time slots on which upgrade is not allowed.
- Time
In List<Pulumi.Week Azure Native. Container Service. Outputs. Time In Week Response> - If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- System
Data SystemData Response - The system metadata relating to this resource.
- Type string
- Resource type
- Maintenance
Window MaintenanceWindow Response - Maintenance window for the maintenance configuration.
- Not
Allowed []TimeTime Span Response - Time slots on which upgrade is not allowed.
- Time
In []TimeWeek In Week Response - If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- system
Data SystemData Response - The system metadata relating to this resource.
- type String
- Resource type
- maintenance
Window MaintenanceWindow Response - Maintenance window for the maintenance configuration.
- not
Allowed List<TimeTime Span Response> - Time slots on which upgrade is not allowed.
- time
In List<TimeWeek In Week Response> - If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource ID.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- system
Data SystemData Response - The system metadata relating to this resource.
- type string
- Resource type
- maintenance
Window MaintenanceWindow Response - Maintenance window for the maintenance configuration.
- not
Allowed TimeTime Span Response[] - Time slots on which upgrade is not allowed.
- time
In TimeWeek In Week Response[] - If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource ID.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- system_
data SystemData Response - The system metadata relating to this resource.
- type str
- Resource type
- maintenance_
window MaintenanceWindow Response - Maintenance window for the maintenance configuration.
- not_
allowed_ Sequence[Timetime Span Response] - Time slots on which upgrade is not allowed.
- time_
in_ Sequence[Timeweek In Week Response] - If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- system
Data Property Map - The system metadata relating to this resource.
- type String
- Resource type
- maintenance
Window Property Map - Maintenance window for the maintenance configuration.
- not
Allowed List<Property Map>Time - Time slots on which upgrade is not allowed.
- time
In List<Property Map>Week - If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.
Supporting Types
AbsoluteMonthlyScheduleResponse
- Day
Of intMonth - The date of the month.
- Interval
Months int - Specifies the number of months between each set of occurrences.
- Day
Of intMonth - The date of the month.
- Interval
Months int - Specifies the number of months between each set of occurrences.
- day
Of IntegerMonth - The date of the month.
- interval
Months Integer - Specifies the number of months between each set of occurrences.
- day
Of numberMonth - The date of the month.
- interval
Months number - Specifies the number of months between each set of occurrences.
- day_
of_ intmonth - The date of the month.
- interval_
months int - Specifies the number of months between each set of occurrences.
- day
Of NumberMonth - The date of the month.
- interval
Months Number - Specifies the number of months between each set of occurrences.
DailyScheduleResponse
- Interval
Days int - Specifies the number of days between each set of occurrences.
- Interval
Days int - Specifies the number of days between each set of occurrences.
- interval
Days Integer - Specifies the number of days between each set of occurrences.
- interval
Days number - Specifies the number of days between each set of occurrences.
- interval_
days int - Specifies the number of days between each set of occurrences.
- interval
Days Number - Specifies the number of days between each set of occurrences.
DateSpanResponse
MaintenanceWindowResponse
- Duration
Hours int - Length of maintenance window range from 4 to 24 hours.
- Schedule
Pulumi.
Azure Native. Container Service. Inputs. Schedule Response - Recurrence schedule for the maintenance window.
- Start
Time string - The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
- Not
Allowed List<Pulumi.Dates Azure Native. Container Service. Inputs. Date Span Response> - Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
- Start
Date string - The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
- Utc
Offset string - The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
- Duration
Hours int - Length of maintenance window range from 4 to 24 hours.
- Schedule
Schedule
Response - Recurrence schedule for the maintenance window.
- Start
Time string - The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
- Not
Allowed []DateDates Span Response - Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
- Start
Date string - The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
- Utc
Offset string - The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
- duration
Hours Integer - Length of maintenance window range from 4 to 24 hours.
- schedule
Schedule
Response - Recurrence schedule for the maintenance window.
- start
Time String - The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
- not
Allowed List<DateDates Span Response> - Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
- start
Date String - The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
- utc
Offset String - The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
- duration
Hours number - Length of maintenance window range from 4 to 24 hours.
- schedule
Schedule
Response - Recurrence schedule for the maintenance window.
- start
Time string - The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
- not
Allowed DateDates Span Response[] - Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
- start
Date string - The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
- utc
Offset string - The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
- duration_
hours int - Length of maintenance window range from 4 to 24 hours.
- schedule
Schedule
Response - Recurrence schedule for the maintenance window.
- start_
time str - The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
- not_
allowed_ Sequence[Datedates Span Response] - Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
- start_
date str - The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
- utc_
offset str - The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
- duration
Hours Number - Length of maintenance window range from 4 to 24 hours.
- schedule Property Map
- Recurrence schedule for the maintenance window.
- start
Time String - The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.
- not
Allowed List<Property Map>Dates - Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.
- start
Date String - The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.
- utc
Offset String - The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.
RelativeMonthlyScheduleResponse
- Day
Of stringWeek - Specifies on which day of the week the maintenance occurs.
- Interval
Months int - Specifies the number of months between each set of occurrences.
- Week
Index string - Specifies on which week of the month the dayOfWeek applies.
- Day
Of stringWeek - Specifies on which day of the week the maintenance occurs.
- Interval
Months int - Specifies the number of months between each set of occurrences.
- Week
Index string - Specifies on which week of the month the dayOfWeek applies.
- day
Of StringWeek - Specifies on which day of the week the maintenance occurs.
- interval
Months Integer - Specifies the number of months between each set of occurrences.
- week
Index String - Specifies on which week of the month the dayOfWeek applies.
- day
Of stringWeek - Specifies on which day of the week the maintenance occurs.
- interval
Months number - Specifies the number of months between each set of occurrences.
- week
Index string - Specifies on which week of the month the dayOfWeek applies.
- day_
of_ strweek - Specifies on which day of the week the maintenance occurs.
- interval_
months int - Specifies the number of months between each set of occurrences.
- week_
index str - Specifies on which week of the month the dayOfWeek applies.
- day
Of StringWeek - Specifies on which day of the week the maintenance occurs.
- interval
Months Number - Specifies the number of months between each set of occurrences.
- week
Index String - Specifies on which week of the month the dayOfWeek applies.
ScheduleResponse
- Absolute
Monthly Pulumi.Azure Native. Container Service. Inputs. Absolute Monthly Schedule Response - For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
- Daily
Pulumi.
Azure Native. Container Service. Inputs. Daily Schedule Response - For schedules like: 'recur every day' or 'recur every 3 days'.
- Relative
Monthly Pulumi.Azure Native. Container Service. Inputs. Relative Monthly Schedule Response - For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
- Weekly
Pulumi.
Azure Native. Container Service. Inputs. Weekly Schedule Response - For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
- Absolute
Monthly AbsoluteMonthly Schedule Response - For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
- Daily
Daily
Schedule Response - For schedules like: 'recur every day' or 'recur every 3 days'.
- Relative
Monthly RelativeMonthly Schedule Response - For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
- Weekly
Weekly
Schedule Response - For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
- absolute
Monthly AbsoluteMonthly Schedule Response - For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
- daily
Daily
Schedule Response - For schedules like: 'recur every day' or 'recur every 3 days'.
- relative
Monthly RelativeMonthly Schedule Response - For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
- weekly
Weekly
Schedule Response - For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
- absolute
Monthly AbsoluteMonthly Schedule Response - For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
- daily
Daily
Schedule Response - For schedules like: 'recur every day' or 'recur every 3 days'.
- relative
Monthly RelativeMonthly Schedule Response - For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
- weekly
Weekly
Schedule Response - For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
- absolute_
monthly AbsoluteMonthly Schedule Response - For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
- daily
Daily
Schedule Response - For schedules like: 'recur every day' or 'recur every 3 days'.
- relative_
monthly RelativeMonthly Schedule Response - For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
- weekly
Weekly
Schedule Response - For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
- absolute
Monthly Property Map - For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
- daily Property Map
- For schedules like: 'recur every day' or 'recur every 3 days'.
- relative
Monthly Property Map - For schedules like: 'recur every month on the first Monday' or 'recur every 3 months on last Friday'.
- weekly Property Map
- For schedules like: 'recur every Monday' or 'recur every 3 weeks on Wednesday'.
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.
TimeInWeekResponse
- day str
- The day of the week.
- hour_
slots Sequence[int] - Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.
TimeSpanResponse
WeeklyScheduleResponse
- Day
Of stringWeek - Specifies on which day of the week the maintenance occurs.
- Interval
Weeks int - Specifies the number of weeks between each set of occurrences.
- Day
Of stringWeek - Specifies on which day of the week the maintenance occurs.
- Interval
Weeks int - Specifies the number of weeks between each set of occurrences.
- day
Of StringWeek - Specifies on which day of the week the maintenance occurs.
- interval
Weeks Integer - Specifies the number of weeks between each set of occurrences.
- day
Of stringWeek - Specifies on which day of the week the maintenance occurs.
- interval
Weeks number - Specifies the number of weeks between each set of occurrences.
- day_
of_ strweek - Specifies on which day of the week the maintenance occurs.
- interval_
weeks int - Specifies the number of weeks between each set of occurrences.
- day
Of StringWeek - Specifies on which day of the week the maintenance occurs.
- interval
Weeks Number - Specifies the number of weeks between each set of occurrences.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0