public PropertyContainer(Models.DiffDiskSettings protocolObject) : base(BindingState.Bound) { this.PlacementProperty = this.CreatePropertyAccessor( UtilitiesInternal.MapNullableEnum <Models.DiffDiskPlacement, Common.DiffDiskPlacement>(protocolObject.Placement), nameof(Placement), BindingAccess.Read | BindingAccess.Write); }
/// <summary> /// Initializes a new instance of the OSDisk class. /// </summary> /// <param name="ephemeralOSDiskSettings">Specifies the ephemeral Disk /// Settings for the operating system disk used by the compute node /// (VM).</param> public OSDisk(DiffDiskSettings ephemeralOSDiskSettings = default(DiffDiskSettings)) { EphemeralOSDiskSettings = ephemeralOSDiskSettings; CustomInit(); }