pub struct DnsAuthorization {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub dns_resource_record: Option<DnsResourceRecord>,
pub domain: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub type_: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
§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).
- locations dns authorizations create projects (request)
- locations dns authorizations get projects (response)
- locations dns authorizations patch projects (request)
Fields§
§create_time: Option<DateTime<Utc>>Output only. The creation timestamp of a DnsAuthorization.
description: Option<String>One or more paragraphs of text description of a DnsAuthorization.
dns_resource_record: Option<DnsResourceRecord>Output only. DNS Resource Record that needs to be added to DNS configuration.
domain: Option<String>Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for example.com can be used to issue certificates for example.com and *.example.com.
labels: Option<HashMap<String, String>>Set of labels associated with a DnsAuthorization.
name: Option<String>A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
type_: Option<String>Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used: - in location global: FIXED_RECORD.
update_time: Option<DateTime<Utc>>Output only. The last update timestamp of a DnsAuthorization.
Trait Implementations§
Source§impl Clone for DnsAuthorization
impl Clone for DnsAuthorization
Source§fn clone(&self) -> DnsAuthorization
fn clone(&self) -> DnsAuthorization
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DnsAuthorization
impl Debug for DnsAuthorization
Source§impl Default for DnsAuthorization
impl Default for DnsAuthorization
Source§fn default() -> DnsAuthorization
fn default() -> DnsAuthorization
Source§impl<'de> Deserialize<'de> for DnsAuthorization
impl<'de> Deserialize<'de> for DnsAuthorization
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>,
Source§impl Serialize for DnsAuthorization
impl Serialize for DnsAuthorization
impl RequestValue for DnsAuthorization
impl ResponseResult for DnsAuthorization
Auto Trait Implementations§
impl Freeze for DnsAuthorization
impl RefUnwindSafe for DnsAuthorization
impl Send for DnsAuthorization
impl Sync for DnsAuthorization
impl Unpin for DnsAuthorization
impl UnwindSafe for DnsAuthorization
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