1. Packages
  2. Azure Native
  3. API Docs
  4. cache
  5. getPatchSchedule
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.66.0 published on Wednesday, Oct 9, 2024 by Pulumi

azure-native.cache.getPatchSchedule

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.66.0 published on Wednesday, Oct 9, 2024 by Pulumi

    Gets the patching schedule of a redis cache. Azure REST API version: 2023-04-01.

    Other available API versions: 2023-05-01-preview, 2023-08-01, 2024-03-01, 2024-04-01-preview.

    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
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ScheduleEntries List<Pulumi.AzureNative.Cache.Outputs.ScheduleEntryResponse>
    List of patch schedules for a Redis cache.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ScheduleEntries []ScheduleEntryResponse
    List of patch schedules for a Redis cache.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    scheduleEntries List<ScheduleEntryResponse>
    List of patch schedules for a Redis cache.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    The geo-location where the resource lives
    name string
    The name of the resource
    scheduleEntries ScheduleEntryResponse[]
    List of patch schedules for a Redis cache.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    The geo-location where the resource lives
    name str
    The name of the resource
    schedule_entries Sequence[ScheduleEntryResponse]
    List of patch schedules for a Redis cache.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    scheduleEntries List<Property Map>
    List of patch schedules for a Redis cache.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.66.0 published on Wednesday, Oct 9, 2024 by Pulumi