Share via


Schedule Class

Definition

Represents a Schedule to execute a task.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ScheduleTypeConverter))]
public class Schedule : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ISchedule, Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ScheduleTypeConverter))>]
type Schedule = class
    interface ISchedule
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Schedule
Implements ISchedule, IValidates
Inheritance
Schedule
Attributes
Implements

Constructors

Schedule()

Creates an new Schedule instance.

Properties

Frequency

The frequency of this scheduled task.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Location

The geo-location where the resource lives

Name

The name of the resource

PropertiesType

Supported type this scheduled task represents.

ProvisioningState

The provisioning state of the resource.

State

Indicates whether or not this scheduled task is enabled.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Time

The target time to trigger the action. The format is HH:MM.

TimeZone

The IANA timezone id at which the schedule should execute.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Schedule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Schedule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.ISchedule.

FromJsonString(String)

Creates a new instance of Schedule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Schedule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to