#[non_exhaustive]pub struct ManagementDnsZoneBinding {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub state: State,
pub description: String,
pub uid: String,
pub bind_network: Option<BindNetwork>,
/* private fields */
}Expand description
Represents a binding between a network and the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud’s ESXi hosts and management VM appliances like vCenter and NSX Manager.
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 binding.
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-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding
create_time: Option<Timestamp>Output only. Creation time of this resource.
update_time: Option<Timestamp>Output only. Last update time of this resource.
state: StateOutput only. The state of the resource.
description: StringUser-provided description for this resource.
uid: StringOutput only. System-generated unique identifier for the resource.
bind_network: Option<BindNetwork>Required. The relative resource name of the network to bind to the management DNS zone. This network can be a consumer VPC network or a VMware engine network.
Implementations§
Source§impl ManagementDnsZoneBinding
impl ManagementDnsZoneBinding
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_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_bind_network<T: Into<Option<BindNetwork>>>(self, v: T) -> Self
pub fn set_bind_network<T: Into<Option<BindNetwork>>>(self, v: T) -> Self
Sets the value of bind_network.
Note that all the setters affecting bind_network are mutually
exclusive.
Sourcepub fn vpc_network(&self) -> Option<&String>
pub fn vpc_network(&self) -> Option<&String>
The value of bind_network
if it holds a VpcNetwork, None if the field is not set or
holds a different branch.
Sourcepub fn set_vpc_network<T: Into<String>>(self, v: T) -> Self
pub fn set_vpc_network<T: Into<String>>(self, v: T) -> Self
Sets the value of bind_network
to hold a VpcNetwork.
Note that all the setters affecting bind_network are
mutually exclusive.
Sourcepub fn vmware_engine_network(&self) -> Option<&String>
pub fn vmware_engine_network(&self) -> Option<&String>
The value of bind_network
if it holds a VmwareEngineNetwork, None if the field is not set or
holds a different branch.
Sourcepub fn set_vmware_engine_network<T: Into<String>>(self, v: T) -> Self
pub fn set_vmware_engine_network<T: Into<String>>(self, v: T) -> Self
Sets the value of bind_network
to hold a VmwareEngineNetwork.
Note that all the setters affecting bind_network are
mutually exclusive.
Trait Implementations§
Source§impl Clone for ManagementDnsZoneBinding
impl Clone for ManagementDnsZoneBinding
Source§fn clone(&self) -> ManagementDnsZoneBinding
fn clone(&self) -> ManagementDnsZoneBinding
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more