Condividi tramite


LabServicesScheduleData Class

Definition

A class representing the LabServicesSchedule data model. Schedule for automatically turning virtual machines in a lab on and off at specified times.

public class LabServicesScheduleData : Azure.ResourceManager.Models.ResourceData
type LabServicesScheduleData = class
    inherit ResourceData
Public Class LabServicesScheduleData
Inherits ResourceData
Inheritance
LabServicesScheduleData

Constructors

LabServicesScheduleData()

Initializes a new instance of LabServicesScheduleData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Notes

Notes for this schedule.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ProvisioningState

Current provisioning state of the schedule.

RecurrencePattern

The recurrence pattern of the scheduled actions.

ResourceType

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

(Inherited from ResourceData)
StartOn

When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.

StopOn

When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TimeZoneId

The IANA timezone id for the schedule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Applies to