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-native logo

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 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:

    DnsAuthorizationId 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 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 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
    DnsAuthorizationId 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 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 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
    dnsAuthorizationId 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 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 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
    dnsAuthorizationId 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 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 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
    dns_authorization_id 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 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 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
    dnsAuthorizationId 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 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 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:

    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 string
    Data of the DNS Resource Record.
    Name string
    Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
    Type string
    Type of the DNS Resource Record. Currently always set to "CNAME".
    Data string
    Data of the DNS Resource Record.
    Name string
    Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
    Type string
    Type of the DNS Resource Record. Currently always set to "CNAME".
    data String
    Data of the DNS Resource Record.
    name String
    Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
    type String
    Type of the DNS Resource Record. Currently always set to "CNAME".
    data string
    Data of the DNS Resource Record.
    name string
    Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
    type string
    Type of the DNS Resource Record. Currently always set to "CNAME".
    data str
    Data of the DNS Resource Record.
    name str
    Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
    type str
    Type of the DNS Resource Record. Currently always set to "CNAME".
    data String
    Data of the DNS Resource Record.
    name String
    Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com
    type 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-native logo

    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