Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.certificatemanager/v1.DnsAuthorization
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 string
- The unique name of the resource.
- args DnsAuthorizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args DnsAuthorizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsAuthorizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
const dnsAuthorizationResource = new google_native.certificatemanager.v1.DnsAuthorization("dnsAuthorizationResource", {
dnsAuthorizationId: "string",
domain: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
name: "string",
project: "string",
});
type: google-native:certificatemanager/v1:DnsAuthorization
properties:
description: string
dnsAuthorizationId: string
domain: string
labels:
string: string
location: string
name: string
project: string
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:
- string
- Required. A user-provided name of the dns authorization.
- 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 forexample.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 string
- Name string
- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*
. - Project string
- string
- Required. A user-provided name of the dns authorization.
- 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 forexample.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 string
- Name string
- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*
. - Project string
- String
- Required. A user-provided name of the dns authorization.
- 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 forexample.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 String
- name String
- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*
. - project String
- string
- Required. A user-provided name of the dns authorization.
- 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 forexample.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 string
- name string
- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*
. - project string
- str
- Required. A user-provided name of the dns authorization.
- 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 forexample.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 str
- name str
- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*
. - project str
- String
- Required. A user-provided name of the dns authorization.
- 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 forexample.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 String
- name String
- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*
. - project String
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsAuthorization resource produces the following output properties:
- Create
Time string - The creation timestamp of a DnsAuthorization.
- Dns
Resource Pulumi.Record Google Native. Certificate Manager. V1. Outputs. Dns Resource Record Response - DNS Resource Record that needs to be added to DNS configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The last update timestamp of a DnsAuthorization.
- Create
Time string - The creation timestamp of a DnsAuthorization.
- Dns
Resource DnsRecord Resource Record Response - DNS Resource Record that needs to be added to DNS configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The last update timestamp of a DnsAuthorization.
- create
Time String - The creation timestamp of a DnsAuthorization.
- dns
Resource DnsRecord Resource Record Response - DNS Resource Record that needs to be added to DNS configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The last update timestamp of a DnsAuthorization.
- create
Time string - The creation timestamp of a DnsAuthorization.
- dns
Resource DnsRecord Resource Record Response - DNS Resource Record that needs to be added to DNS configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - The last update timestamp of a DnsAuthorization.
- create_
time str - The creation timestamp of a DnsAuthorization.
- dns_
resource_ Dnsrecord Resource Record Response - 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.
- create
Time String - The creation timestamp of a DnsAuthorization.
- dns
Resource Property MapRecord - DNS Resource Record that needs to be added to DNS configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The last update timestamp of a DnsAuthorization.
Supporting Types
DnsResourceRecordResponse, DnsResourceRecordResponseArgs
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.