1. Packages
  2. Azure Native v1
  3. API Docs
  4. cache
  5. getPatchSchedule
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.cache.getPatchSchedule

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets the patching schedule of a redis cache. API Version: 2020-06-01.

    Using getPatchSchedule

    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 getPatchSchedule(args: GetPatchScheduleArgs, opts?: InvokeOptions): Promise<GetPatchScheduleResult>
    function getPatchScheduleOutput(args: GetPatchScheduleOutputArgs, opts?: InvokeOptions): Output<GetPatchScheduleResult>
    def get_patch_schedule(default: Optional[str] = None,
                           name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPatchScheduleResult
    def get_patch_schedule_output(default: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPatchScheduleResult]
    func LookupPatchSchedule(ctx *Context, args *LookupPatchScheduleArgs, opts ...InvokeOption) (*LookupPatchScheduleResult, error)
    func LookupPatchScheduleOutput(ctx *Context, args *LookupPatchScheduleOutputArgs, opts ...InvokeOption) LookupPatchScheduleResultOutput

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

    public static class GetPatchSchedule 
    {
        public static Task<GetPatchScheduleResult> InvokeAsync(GetPatchScheduleArgs args, InvokeOptions? opts = null)
        public static Output<GetPatchScheduleResult> Invoke(GetPatchScheduleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPatchScheduleResult> getPatchSchedule(GetPatchScheduleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:cache:getPatchSchedule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Default string
    Default string modeled as parameter for auto generation to work correctly.
    Name string
    The name of the redis cache.
    ResourceGroupName string
    The name of the resource group.
    Default string
    Default string modeled as parameter for auto generation to work correctly.
    Name string
    The name of the redis cache.
    ResourceGroupName string
    The name of the resource group.
    default_ String
    Default string modeled as parameter for auto generation to work correctly.
    name String
    The name of the redis cache.
    resourceGroupName String
    The name of the resource group.
    default string
    Default string modeled as parameter for auto generation to work correctly.
    name string
    The name of the redis cache.
    resourceGroupName string
    The name of the resource group.
    default str
    Default string modeled as parameter for auto generation to work correctly.
    name str
    The name of the redis cache.
    resource_group_name str
    The name of the resource group.
    default String
    Default string modeled as parameter for auto generation to work correctly.
    name String
    The name of the redis cache.
    resourceGroupName String
    The name of the resource group.

    getPatchSchedule Result

    The following output properties are available:

    Id string
    Resource ID.
    Name string
    Resource name.
    ScheduleEntries List<Pulumi.AzureNative.Cache.Outputs.ScheduleEntryResponse>
    List of patch schedules for a Redis cache.
    Type string
    Resource type.
    Id string
    Resource ID.
    Name string
    Resource name.
    ScheduleEntries []ScheduleEntryResponse
    List of patch schedules for a Redis cache.
    Type string
    Resource type.
    id String
    Resource ID.
    name String
    Resource name.
    scheduleEntries List<ScheduleEntryResponse>
    List of patch schedules for a Redis cache.
    type String
    Resource type.
    id string
    Resource ID.
    name string
    Resource name.
    scheduleEntries ScheduleEntryResponse[]
    List of patch schedules for a Redis cache.
    type string
    Resource type.
    id str
    Resource ID.
    name str
    Resource name.
    schedule_entries Sequence[ScheduleEntryResponse]
    List of patch schedules for a Redis cache.
    type str
    Resource type.
    id String
    Resource ID.
    name String
    Resource name.
    scheduleEntries List<Property Map>
    List of patch schedules for a Redis cache.
    type String
    Resource type.

    Supporting Types

    ScheduleEntryResponse

    DayOfWeek string
    Day of the week when a cache can be patched.
    StartHourUtc int
    Start hour after which cache patching can start.
    MaintenanceWindow string
    ISO8601 timespan specifying how much time cache patching can take.
    DayOfWeek string
    Day of the week when a cache can be patched.
    StartHourUtc int
    Start hour after which cache patching can start.
    MaintenanceWindow string
    ISO8601 timespan specifying how much time cache patching can take.
    dayOfWeek String
    Day of the week when a cache can be patched.
    startHourUtc Integer
    Start hour after which cache patching can start.
    maintenanceWindow String
    ISO8601 timespan specifying how much time cache patching can take.
    dayOfWeek string
    Day of the week when a cache can be patched.
    startHourUtc number
    Start hour after which cache patching can start.
    maintenanceWindow string
    ISO8601 timespan specifying how much time cache patching can take.
    day_of_week str
    Day of the week when a cache can be patched.
    start_hour_utc int
    Start hour after which cache patching can start.
    maintenance_window str
    ISO8601 timespan specifying how much time cache patching can take.
    dayOfWeek String
    Day of the week when a cache can be patched.
    startHourUtc Number
    Start hour after which cache patching can start.
    maintenanceWindow String
    ISO8601 timespan specifying how much time cache patching can take.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi