pub struct Zone {
pub available_cpu_platforms: Option<Vec<String>>,
pub creation_timestamp: Option<String>,
pub deprecated: Option<DeprecationStatus>,
pub description: Option<String>,
pub id: Option<u64>,
pub kind: Option<String>,
pub name: Option<String>,
pub region: Option<String>,
pub self_link: Option<String>,
pub status: Option<String>,
pub supports_pzs: Option<bool>,
}
Expand description
Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-b is located in the us-east1 region. For more information, read Regions and Zones.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get zones (response)
- list zones (none)
Fields§
§available_cpu_platforms: Option<Vec<String>>
[Output Only] Available cpu/platform selections for the zone.
creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
deprecated: Option<DeprecationStatus>
[Output Only] The deprecation status associated with this zone.
description: Option<String>
[Output Only] Textual description of the resource.
id: Option<u64>
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind: Option<String>
[Output Only] Type of the resource. Always compute#zone for zones.
name: Option<String>
[Output Only] Name of the resource.
region: Option<String>
[Output Only] Full URL reference to the region which hosts the zone.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
status: Option<String>
[Output Only] Status of the zone, either UP or DOWN.
supports_pzs: Option<bool>
[Output Only] Reserved for future use.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Zone
impl<'de> Deserialize<'de> for Zone
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>,
impl Resource for Zone
impl ResponseResult for Zone
Auto Trait Implementations§
impl Freeze for Zone
impl RefUnwindSafe for Zone
impl Send for Zone
impl Sync for Zone
impl Unpin for Zone
impl UnwindSafe for Zone
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more