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

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.DnsAuthorization

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

Creates a new DnsAuthorization in a given project and location.

Create DnsAuthorization Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DnsAuthorization(name: string, args: DnsAuthorizationArgs, opts?: CustomResourceOptions);
@overload
def DnsAuthorization(resource_name: str,
                     args: DnsAuthorizationArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def DnsAuthorization(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     dns_authorization_id: Optional[str] = None,
                     domain: Optional[str] = None,
                     description: Optional[str] = None,
                     labels: Optional[Mapping[str, str]] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     project: Optional[str] = None)
func NewDnsAuthorization(ctx *Context, name string, args DnsAuthorizationArgs, opts ...ResourceOption) (*DnsAuthorization, error)
public DnsAuthorization(string name, DnsAuthorizationArgs args, CustomResourceOptions? opts = null)
public DnsAuthorization(String name, DnsAuthorizationArgs args)
public DnsAuthorization(String name, DnsAuthorizationArgs args, CustomResourceOptions options)
type: google-native:certificatemanager/v1:DnsAuthorization
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DnsAuthorizationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DnsAuthorizationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DnsAuthorizationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DnsAuthorizationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DnsAuthorizationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var dnsAuthorizationResource = new GoogleNative.CertificateManager.V1.DnsAuthorization("dnsAuthorizationResource", new()
{
    DnsAuthorizationId = "string",
    Domain = "string",
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    Name = "string",
    Project = "string",
});
Copy
example, err := certificatemanager.NewDnsAuthorization(ctx, "dnsAuthorizationResource", &certificatemanager.DnsAuthorizationArgs{
	DnsAuthorizationId: pulumi.String("string"),
	Domain:             pulumi.String("string"),
	Description:        pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	Project:  pulumi.String("string"),
})
Copy
var dnsAuthorizationResource = new DnsAuthorization("dnsAuthorizationResource", DnsAuthorizationArgs.builder()
    .dnsAuthorizationId("string")
    .domain("string")
    .description("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .name("string")
    .project("string")
    .build());
Copy
dns_authorization_resource = google_native.certificatemanager.v1.DnsAuthorization("dnsAuthorizationResource",
    dns_authorization_id="string",
    domain="string",
    description="string",
    labels={
        "string": "string",
    },
    location="string",
    name="string",
    project="string")
Copy
const dnsAuthorizationResource = new google_native.certificatemanager.v1.DnsAuthorization("dnsAuthorizationResource", {
    dnsAuthorizationId: "string",
    domain: "string",
    description: "string",
    labels: {
        string: "string",
    },
    location: "string",
    name: "string",
    project: "string",
});
Copy
type: google-native:certificatemanager/v1:DnsAuthorization
properties:
    description: string
    dnsAuthorizationId: string
    domain: string
    labels:
        string: string
    location: string
    name: string
    project: string
Copy

DnsAuthorization Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DnsAuthorization resource accepts the following input properties:

DnsAuthorizationId
This property is required.
Changes to this property will trigger replacement.
string
Required. A user-provided name of the dns authorization.
Domain This property is required. 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.
Description string
One or more paragraphs of text description of a DnsAuthorization.
Labels Dictionary<string, string>
Set of labels associated with a DnsAuthorization.
Location Changes to this property will trigger replacement. string
Name string
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
Project Changes to this property will trigger replacement. string
DnsAuthorizationId
This property is required.
Changes to this property will trigger replacement.
string
Required. A user-provided name of the dns authorization.
Domain This property is required. 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.
Description string
One or more paragraphs of text description of a DnsAuthorization.
Labels map[string]string
Set of labels associated with a DnsAuthorization.
Location Changes to this property will trigger replacement. string
Name string
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
Project Changes to this property will trigger replacement. string
dnsAuthorizationId
This property is required.
Changes to this property will trigger replacement.
String
Required. A user-provided name of the dns authorization.
domain This property is required. 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.
description String
One or more paragraphs of text description of a DnsAuthorization.
labels Map<String,String>
Set of labels associated with a DnsAuthorization.
location Changes to this property will trigger replacement. String
name String
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
project Changes to this property will trigger replacement. String
dnsAuthorizationId
This property is required.
Changes to this property will trigger replacement.
string
Required. A user-provided name of the dns authorization.
domain This property is required. 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.
description string
One or more paragraphs of text description of a DnsAuthorization.
labels {[key: string]: string}
Set of labels associated with a DnsAuthorization.
location Changes to this property will trigger replacement. string
name string
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
project Changes to this property will trigger replacement. string
dns_authorization_id
This property is required.
Changes to this property will trigger replacement.
str
Required. A user-provided name of the dns authorization.
domain This property is required. 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.
description str
One or more paragraphs of text description of a DnsAuthorization.
labels Mapping[str, str]
Set of labels associated with a DnsAuthorization.
location Changes to this property will trigger replacement. str
name str
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
project Changes to this property will trigger replacement. str
dnsAuthorizationId
This property is required.
Changes to this property will trigger replacement.
String
Required. A user-provided name of the dns authorization.
domain This property is required. 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.
description String
One or more paragraphs of text description of a DnsAuthorization.
labels Map<String>
Set of labels associated with a DnsAuthorization.
location Changes to this property will trigger replacement. String
name String
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.
project Changes to this property will trigger replacement. String

Outputs

All input properties are implicitly available as output properties. Additionally, the DnsAuthorization resource produces the following output properties:

CreateTime string
The creation timestamp of a DnsAuthorization.
DnsResourceRecord Pulumi.GoogleNative.CertificateManager.V1.Outputs.DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
Id string
The provider-assigned unique ID for this managed resource.
UpdateTime string
The last update timestamp of a DnsAuthorization.
CreateTime string
The creation timestamp of a DnsAuthorization.
DnsResourceRecord DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
Id string
The provider-assigned unique ID for this managed resource.
UpdateTime string
The last update timestamp of a DnsAuthorization.
createTime String
The creation timestamp of a DnsAuthorization.
dnsResourceRecord DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
id String
The provider-assigned unique ID for this managed resource.
updateTime String
The last update timestamp of a DnsAuthorization.
createTime string
The creation timestamp of a DnsAuthorization.
dnsResourceRecord DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
id string
The provider-assigned unique ID for this managed resource.
updateTime string
The last update timestamp of a DnsAuthorization.
create_time str
The creation timestamp of a DnsAuthorization.
dns_resource_record DnsResourceRecordResponse
DNS Resource Record that needs to be added to DNS configuration.
id str
The provider-assigned unique ID for this managed resource.
update_time str
The last update timestamp of a DnsAuthorization.
createTime String
The creation timestamp of a DnsAuthorization.
dnsResourceRecord Property Map
DNS Resource Record that needs to be added to DNS configuration.
id String
The provider-assigned unique ID for this managed resource.
updateTime String
The last update timestamp of a DnsAuthorization.

Supporting Types

DnsResourceRecordResponse
, DnsResourceRecordResponseArgs

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