#[non_exhaustive]pub struct HcxActivationKey {
pub name: String,
pub create_time: Option<Timestamp>,
pub state: State,
pub activation_key: String,
pub uid: String,
/* private fields */
}Expand description
HCX activation key. A default key is created during private cloud provisioning, but this behavior is subject to change and you should always verify active keys. Use VmwareEngine.ListHcxActivationKeys to retrieve existing keys and VmwareEngine.CreateHcxActivationKey to create new ones.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringOutput only. The resource name of this HcxActivationKey.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
create_time: Option<Timestamp>Output only. Creation time of HCX activation key.
state: StateOutput only. State of HCX activation key.
activation_key: StringOutput only. HCX activation key.
uid: StringOutput only. System-generated unique identifier for the resource.
Implementations§
Source§impl HcxActivationKey
impl HcxActivationKey
pub fn new() -> Self
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
Sourcepub fn set_activation_key<T: Into<String>>(self, v: T) -> Self
pub fn set_activation_key<T: Into<String>>(self, v: T) -> Self
Sets the value of activation_key.
Trait Implementations§
Source§impl Clone for HcxActivationKey
impl Clone for HcxActivationKey
Source§fn clone(&self) -> HcxActivationKey
fn clone(&self) -> HcxActivationKey
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more