azure-native.redis.getPatchSchedule
Explore with Pulumi AI
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>
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)
public static Output<GetPatchScheduleResult> getPatchSchedule(GetPatchScheduleArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:redis: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.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Default string
- Default string modeled as parameter for auto generation to work correctly.
- Name string
- The name of the redis cache.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- default_ String
- Default string modeled as parameter for auto generation to work correctly.
- name String
- The name of the redis cache.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- default string
- Default string modeled as parameter for auto generation to work correctly.
- name string
- The name of the redis cache.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- default str
- Default string modeled as parameter for auto generation to work correctly.
- name str
- The name of the redis cache.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- default String
- Default string modeled as parameter for auto generation to work correctly.
- name String
- The name of the redis cache.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getPatchSchedule Result
The following output properties are available:
- Azure
Api stringVersion - 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
- Schedule
Entries List<Pulumi.Azure Native. Redis. Outputs. Schedule Entry Response> - 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 stringVersion - 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
- Schedule
Entries []ScheduleEntry Response - 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 StringVersion - 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
- schedule
Entries List<ScheduleEntry Response> - 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 stringVersion - 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
- schedule
Entries ScheduleEntry Response[] - 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_ strversion - 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[ScheduleEntry Response] - List of patch schedules for a Redis cache.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - 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
- schedule
Entries 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
- Day
Of stringWeek - Day of the week when a cache can be patched.
- Start
Hour intUtc - Start hour after which cache patching can start.
- Maintenance
Window string - ISO8601 timespan specifying how much time cache patching can take.
- Day
Of stringWeek - Day of the week when a cache can be patched.
- Start
Hour intUtc - Start hour after which cache patching can start.
- Maintenance
Window string - ISO8601 timespan specifying how much time cache patching can take.
- day
Of StringWeek - Day of the week when a cache can be patched.
- start
Hour IntegerUtc - Start hour after which cache patching can start.
- maintenance
Window String - ISO8601 timespan specifying how much time cache patching can take.
- day
Of stringWeek - Day of the week when a cache can be patched.
- start
Hour numberUtc - Start hour after which cache patching can start.
- maintenance
Window string - ISO8601 timespan specifying how much time cache patching can take.
- day_
of_ strweek - Day of the week when a cache can be patched.
- start_
hour_ intutc - Start hour after which cache patching can start.
- maintenance_
window str - ISO8601 timespan specifying how much time cache patching can take.
- day
Of StringWeek - Day of the week when a cache can be patched.
- start
Hour NumberUtc - Start hour after which cache patching can start.
- maintenance
Window String - ISO8601 timespan specifying how much time cache patching can take.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0