Compartilhar via


ArmRedisModelFactory.RedisPatchScheduleData Method

Definition

Initializes a new instance of RedisPatchScheduleData.

public static Azure.ResourceManager.Redis.RedisPatchScheduleData RedisPatchScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Redis.Models.RedisPatchScheduleSetting> scheduleEntries = default);
static member RedisPatchScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.Redis.Models.RedisPatchScheduleSetting> -> Azure.ResourceManager.Redis.RedisPatchScheduleData
Public Shared Function RedisPatchScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional scheduleEntries As IEnumerable(Of RedisPatchScheduleSetting) = Nothing) As RedisPatchScheduleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

scheduleEntries
IEnumerable<RedisPatchScheduleSetting>

List of patch schedules for a Redis cache.

Returns

A new RedisPatchScheduleData instance for mocking.

Applies to