다음을 통해 공유


BandwidthScheduleData Class

Definition

A class representing the BandwidthSchedule data model. The bandwidth schedule details.

public class BandwidthScheduleData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBoxEdge.BandwidthScheduleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBoxEdge.BandwidthScheduleData>
public class BandwidthScheduleData : Azure.ResourceManager.Models.ResourceData
type BandwidthScheduleData = class
    inherit ResourceData
    interface IJsonModel<BandwidthScheduleData>
    interface IPersistableModel<BandwidthScheduleData>
type BandwidthScheduleData = class
    inherit ResourceData
Public Class BandwidthScheduleData
Inherits ResourceData
Implements IJsonModel(Of BandwidthScheduleData), IPersistableModel(Of BandwidthScheduleData)
Public Class BandwidthScheduleData
Inherits ResourceData
Inheritance
BandwidthScheduleData
Implements

Constructors

BandwidthScheduleData(TimeSpan, TimeSpan, Int32, IEnumerable<DataBoxEdgeDayOfWeek>)

Initializes a new instance of BandwidthScheduleData.

Properties

Days

The days of the week when this schedule is applicable.

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)
RateInMbps

The bandwidth rate in Mbps.

ResourceType

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

(Inherited from ResourceData)
StartOn

The start time of the schedule in UTC.

StopOn

The stop time of the schedule in UTC.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BandwidthScheduleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BandwidthScheduleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BandwidthScheduleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BandwidthScheduleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BandwidthScheduleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to