Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

getPatchSchedule

Response to put/get patch schedules for 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
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0