pub struct ResourcePolicyInstanceSchedulePolicy {
pub expiration_time: Option<String>,
pub start_time: Option<String>,
pub time_zone: Option<String>,
pub vm_start_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>,
pub vm_stop_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>,
}
Expand description
An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§expiration_time: Option<String>
The expiration time of the schedule. The timestamp is an RFC3339 string.
start_time: Option<String>
The start time of the schedule. The timestamp is an RFC3339 string.
time_zone: Option<String>
Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
vm_start_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>
Specifies the schedule for starting instances.
vm_stop_schedule: Option<ResourcePolicyInstanceSchedulePolicySchedule>
Specifies the schedule for stopping instances.
Trait Implementations§
source§impl Clone for ResourcePolicyInstanceSchedulePolicy
impl Clone for ResourcePolicyInstanceSchedulePolicy
source§fn clone(&self) -> ResourcePolicyInstanceSchedulePolicy
fn clone(&self) -> ResourcePolicyInstanceSchedulePolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ResourcePolicyInstanceSchedulePolicy
impl Default for ResourcePolicyInstanceSchedulePolicy
source§fn default() -> ResourcePolicyInstanceSchedulePolicy
fn default() -> ResourcePolicyInstanceSchedulePolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourcePolicyInstanceSchedulePolicy
impl<'de> Deserialize<'de> for ResourcePolicyInstanceSchedulePolicy
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for ResourcePolicyInstanceSchedulePolicy
Auto Trait Implementations§
impl RefUnwindSafe for ResourcePolicyInstanceSchedulePolicy
impl Send for ResourcePolicyInstanceSchedulePolicy
impl Sync for ResourcePolicyInstanceSchedulePolicy
impl Unpin for ResourcePolicyInstanceSchedulePolicy
impl UnwindSafe for ResourcePolicyInstanceSchedulePolicy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more