1. Packages
  2. Google Cloud Native
  3. API Docs
  4. certificatemanager
  5. certificatemanager/v1
  6. getDnsAuthorization

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.certificatemanager/v1.getDnsAuthorization

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Gets details of a single DnsAuthorization.

Using getDnsAuthorization

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDnsAuthorization(args: GetDnsAuthorizationArgs, opts?: InvokeOptions): Promise<GetDnsAuthorizationResult>
function getDnsAuthorizationOutput(args: GetDnsAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetDnsAuthorizationResult>
Copy
def get_dns_authorization(dns_authorization_id: Optional[str] = None,
                          location: Optional[str] = None,
                          project: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDnsAuthorizationResult
def get_dns_authorization_output(dns_authorization_id: Optional[pulumi.Input[str]] = None,
                          location: Optional[pulumi.Input[str]] = None,
                          project: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetDnsAuthorizationResult]
Copy
func LookupDnsAuthorization(ctx *Context, args *LookupDnsAuthorizationArgs, opts ...InvokeOption) (*LookupDnsAuthorizationResult, error)
func LookupDnsAuthorizationOutput(ctx *Context, args *LookupDnsAuthorizationOutputArgs, opts ...InvokeOption) LookupDnsAuthorizationResultOutput
Copy

> Note: This function is named LookupDnsAuthorization in the Go SDK.

public static class GetDnsAuthorization 
{
    public static Task<GetDnsAuthorizationResult> InvokeAsync(GetDnsAuthorizationArgs args, InvokeOptions? opts = null)
    public static Output<GetDnsAuthorizationResult> Invoke(GetDnsAuthorizationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDnsAuthorizationResult> getDnsAuthorization(GetDnsAuthorizationArgs args, InvokeOptions options)
public static Output<GetDnsAuthorizationResult> getDnsAuthorization(GetDnsAuthorizationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:certificatemanager/v1:getDnsAuthorization
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DnsAuthorizationId This property is required. string
Location This property is required. string
Project string
DnsAuthorizationId This property is required. string
Location This property is required. string
Project string
dnsAuthorizationId This property is required. String
location This property is required. String
project String
dnsAuthorizationId This property is required. string
location This property is required. string
project string
dns_authorization_id This property is required. str
location This property is required. str
project str
dnsAuthorizationId This property is required. String
location This property is required. String
project String

getDnsAuthorization Result

The following output properties are available:

CreateTime string
The creation timestamp of a DnsAuthorization.
Description string
One or more paragraphs of text description of a DnsAuthorization.
DnsResourceRecord Pulumi.GoogleNative.CertificateManager.V1.Outputs.DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
Domain string
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 Dictionary<string, string>
Set of labels associated with a DnsAuthorization.
Name string
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
UpdateTime string
The last update timestamp of a DnsAuthorization.
CreateTime string
The creation timestamp of a DnsAuthorization.
Description string
One or more paragraphs of text description of a DnsAuthorization.
DnsResourceRecord DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
Domain string
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 map[string]string
Set of labels associated with a DnsAuthorization.
Name string
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
UpdateTime string
The last update timestamp of a DnsAuthorization.
createTime String
The creation timestamp of a DnsAuthorization.
description String
One or more paragraphs of text description of a DnsAuthorization.
dnsResourceRecord DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
domain String
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 Map<String,String>
Set of labels associated with a DnsAuthorization.
name String
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
updateTime String
The last update timestamp of a DnsAuthorization.
createTime string
The creation timestamp of a DnsAuthorization.
description string
One or more paragraphs of text description of a DnsAuthorization.
dnsResourceRecord DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
domain string
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 {[key: string]: string}
Set of labels associated with a DnsAuthorization.
name string
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
updateTime string
The last update timestamp of a DnsAuthorization.
create_time str
The creation timestamp of a DnsAuthorization.
description str
One or more paragraphs of text description of a DnsAuthorization.
dns_resource_record DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
domain str
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 Mapping[str, str]
Set of labels associated with a DnsAuthorization.
name str
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
update_time str
The last update timestamp of a DnsAuthorization.
createTime String
The creation timestamp of a DnsAuthorization.
description String
One or more paragraphs of text description of a DnsAuthorization.
dnsResourceRecord Property Map
DNS Resource Record that needs to be added to DNS configuration.
domain String
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 Map<String>
Set of labels associated with a DnsAuthorization.
name String
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
updateTime String
The last update timestamp of a DnsAuthorization.

Supporting Types

DnsResourceRecordResponse

Data This property is required. string
Data of the DNS Resource Record.
Name This property is required. string
Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
Type This property is required. string
Type of the DNS Resource Record. Currently always set to "CNAME".
Data This property is required. string
Data of the DNS Resource Record.
Name This property is required. string
Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
Type This property is required. string
Type of the DNS Resource Record. Currently always set to "CNAME".
data This property is required. String
Data of the DNS Resource Record.
name This property is required. String
Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
type This property is required. String
Type of the DNS Resource Record. Currently always set to "CNAME".
data This property is required. string
Data of the DNS Resource Record.
name This property is required. string
Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
type This property is required. string
Type of the DNS Resource Record. Currently always set to "CNAME".
data This property is required. str
Data of the DNS Resource Record.
name This property is required. str
Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
type This property is required. str
Type of the DNS Resource Record. Currently always set to "CNAME".
data This property is required. String
Data of the DNS Resource Record.
name This property is required. String
Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
type This property is required. String
Type of the DNS Resource Record. Currently always set to "CNAME".

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi