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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.cache.getPatchSchedule
Explore with Pulumi AI
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.47.1 published on Monday, Jun 24, 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.
- Resource
Group stringName - 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.
- Resource
Group stringName - 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.
- resource
Group StringName - 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.
- resource
Group stringName - 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_ strname - 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.
- resource
Group StringName - 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
- Schedule
Entries List<Pulumi.Azure Native. Cache. 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"
- 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"
- 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"
- 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"
- 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"
- 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
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.47.1 published on Monday, Jun 24, 2024 by Pulumi