Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.47.0 published on Saturday, Nov 20, 2021 by Pulumi

getMaintenanceConfiguration

maintenance configuration. API Version: 2021-03-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(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)

> 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)
}

The following arguments are supported:

ConfigName string
The name of the maintenance configuration.
ResourceGroupName string
The name of the resource group.
ResourceName string
The name of the managed cluster resource.
ConfigName string
The name of the maintenance configuration.
ResourceGroupName string
The name of the resource group.
ResourceName string
The name of the managed cluster resource.
configName string
The name of the maintenance configuration.
resourceGroupName string
The name of the resource group.
resourceName string
The name of the managed cluster resource.
config_name str
The name of the maintenance configuration.
resource_group_name str
The name of the resource group.
resource_name str
The name of the managed cluster resource.

getMaintenanceConfiguration Result

The following output properties are available:

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.
SystemData Pulumi.AzureNative.ContainerService.Outputs.SystemDataResponse
The system meta data relating to this resource.
Type string
Resource type
NotAllowedTime List<Pulumi.AzureNative.ContainerService.Outputs.TimeSpanResponse>
Time slots on which upgrade is not allowed.
TimeInWeek List<Pulumi.AzureNative.ContainerService.Outputs.TimeInWeekResponse>
Weekday time slots allowed to upgrade.
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.
SystemData SystemDataResponse
The system meta data relating to this resource.
Type string
Resource type
NotAllowedTime []TimeSpanResponse
Time slots on which upgrade is not allowed.
TimeInWeek []TimeInWeekResponse
Weekday time slots allowed to upgrade.
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.
systemData SystemDataResponse
The system meta data relating to this resource.
type string
Resource type
notAllowedTime TimeSpanResponse[]
Time slots on which upgrade is not allowed.
timeInWeek TimeInWeekResponse[]
Weekday time slots allowed to upgrade.
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 SystemDataResponse
The system meta data relating to this resource.
type str
Resource type
not_allowed_time Sequence[TimeSpanResponse]
Time slots on which upgrade is not allowed.
time_in_week Sequence[TimeInWeekResponse]
Weekday time slots allowed to upgrade.

Supporting Types

SystemDataResponse

CreatedAt string
The UTC timestamp of resource creation.
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The UTC timestamp of resource creation.
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The type of identity that last modified the resource.
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt string
The UTC timestamp of resource creation.
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The type of identity that last modified the resource.
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The UTC timestamp of resource creation.
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The type of identity that last modified the resource.
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.

TimeInWeekResponse

Day string
A day in a week.
HourSlots List<int>
hour slots in a day.
Day string
A day in a week.
HourSlots []int
hour slots in a day.
day string
A day in a week.
hourSlots number[]
hour slots in a day.
day str
A day in a week.
hour_slots Sequence[int]
hour slots in a day.

TimeSpanResponse

End string
The end of a time span
Start string
The start of a time span
End string
The end of a time span
Start string
The start of a time span
end string
The end of a time span
start string
The start of a time span
end str
The end of a time span
start str
The start of a time span

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0