1. Packages
  2. Azure Native
  3. API Docs
  4. redis
  5. getPatchSchedule
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.redis.getPatchSchedule

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Gets the patching schedule of a redis cache.

Uses Azure REST API version 2024-11-01.

Other available API versions: 2016-04-01, 2017-02-01, 2017-10-01, 2018-03-01, 2019-07-01, 2020-06-01, 2020-12-01, 2021-06-01, 2022-05-01, 2022-06-01, 2023-04-01, 2023-05-01-preview, 2023-08-01, 2024-03-01, 2024-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native redis [ApiVersion]. See the version guide for details.

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>
Copy
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]
Copy
func LookupPatchSchedule(ctx *Context, args *LookupPatchScheduleArgs, opts ...InvokeOption) (*LookupPatchScheduleResult, error)
func LookupPatchScheduleOutput(ctx *Context, args *LookupPatchScheduleOutputArgs, opts ...InvokeOption) LookupPatchScheduleResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPatchScheduleResult> getPatchSchedule(GetPatchScheduleArgs args, InvokeOptions options)
public static Output<GetPatchScheduleResult> getPatchSchedule(GetPatchScheduleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:redis:getPatchSchedule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Default
This property is required.
Changes to this property will trigger replacement.
string
Default string modeled as parameter for auto generation to work correctly.
Name
This property is required.
Changes to this property will trigger replacement.
string
The name of the redis cache.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Default
This property is required.
Changes to this property will trigger replacement.
string
Default string modeled as parameter for auto generation to work correctly.
Name
This property is required.
Changes to this property will trigger replacement.
string
The name of the redis cache.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
default_
This property is required.
Changes to this property will trigger replacement.
String
Default string modeled as parameter for auto generation to work correctly.
name
This property is required.
Changes to this property will trigger replacement.
String
The name of the redis cache.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
default
This property is required.
Changes to this property will trigger replacement.
string
Default string modeled as parameter for auto generation to work correctly.
name
This property is required.
Changes to this property will trigger replacement.
string
The name of the redis cache.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
default
This property is required.
Changes to this property will trigger replacement.
str
Default string modeled as parameter for auto generation to work correctly.
name
This property is required.
Changes to this property will trigger replacement.
str
The name of the redis cache.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
default
This property is required.
Changes to this property will trigger replacement.
String
Default string modeled as parameter for auto generation to work correctly.
name
This property is required.
Changes to this property will trigger replacement.
String
The name of the redis cache.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getPatchSchedule Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
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.Redis.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"
AzureApiVersion string
The Azure API version of the resource.
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"
azureApiVersion String
The Azure API version of the resource.
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"
azureApiVersion string
The Azure API version of the resource.
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"
azure_api_version str
The Azure API version of the resource.
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"
azureApiVersion String
The Azure API version of the resource.
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 This property is required. string
Day of the week when a cache can be patched.
StartHourUtc This property is required. int
Start hour after which cache patching can start.
MaintenanceWindow string
ISO8601 timespan specifying how much time cache patching can take.
DayOfWeek This property is required. string
Day of the week when a cache can be patched.
StartHourUtc This property is required. int
Start hour after which cache patching can start.
MaintenanceWindow string
ISO8601 timespan specifying how much time cache patching can take.
dayOfWeek This property is required. String
Day of the week when a cache can be patched.
startHourUtc This property is required. Integer
Start hour after which cache patching can start.
maintenanceWindow String
ISO8601 timespan specifying how much time cache patching can take.
dayOfWeek This property is required. string
Day of the week when a cache can be patched.
startHourUtc This property is required. number
Start hour after which cache patching can start.
maintenanceWindow string
ISO8601 timespan specifying how much time cache patching can take.
day_of_week This property is required. str
Day of the week when a cache can be patched.
start_hour_utc This property is required. int
Start hour after which cache patching can start.
maintenance_window str
ISO8601 timespan specifying how much time cache patching can take.
dayOfWeek This property is required. String
Day of the week when a cache can be patched.
startHourUtc This property is required. 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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi