constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
constellix.getCertRecord
Explore with Pulumi AI
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix
Data source for records of type CERT for a specific domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as constellix from "@pulumi/constellix";
const firstrecord = constellix.getCertRecord({
domainId: constellix_domain.first_domain.id,
name: "firstrecord",
sourceType: "domains",
});
import pulumi
import pulumi_constellix as constellix
firstrecord = constellix.get_cert_record(domain_id=constellix_domain["first_domain"]["id"],
name="firstrecord",
source_type="domains")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/constellix/constellix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := constellix.LookupCertRecord(ctx, &constellix.LookupCertRecordArgs{
DomainId: constellix_domain.First_domain.Id,
Name: "firstrecord",
SourceType: "domains",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Constellix = Pulumi.Constellix;
return await Deployment.RunAsync(() =>
{
var firstrecord = Constellix.GetCertRecord.Invoke(new()
{
DomainId = constellix_domain.First_domain.Id,
Name = "firstrecord",
SourceType = "domains",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.constellix.ConstellixFunctions;
import com.pulumi.constellix.inputs.GetCertRecordArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var firstrecord = ConstellixFunctions.getCertRecord(GetCertRecordArgs.builder()
.domainId(constellix_domain.first_domain().id())
.name("firstrecord")
.sourceType("domains")
.build());
}
}
variables:
firstrecord:
fn::invoke:
function: constellix:getCertRecord
arguments:
domainId: ${constellix_domain.first_domain.id}
name: firstrecord
sourceType: domains
Attribute Reference
ttl
- (Optional) TTL must be in between 0 and 2147483647.noanswer
- (Optional) Shows if record is enabled or disabled. Default is false (Active).note
- (Optional)Record note.gtd_region
- (Optional) Shows id of GTD region in which record is to be created.roundrobin
- (Optional) Object.roundrobin.certificate_type
- (Optional) certificateType 0 - 65,535roundrobin.key_tag
- (Optional) 0 - 65,535roundrobin.disable_flag
- (Optional) disable flag. Default is falseroundrobin.certificate
- (Optional) certificate.roundrobin.algorithm
- (Optional) 0-255.type
- (Optional) Record type CERT.
Using getCertRecord
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 getCertRecord(args: GetCertRecordArgs, opts?: InvokeOptions): Promise<GetCertRecordResult>
function getCertRecordOutput(args: GetCertRecordOutputArgs, opts?: InvokeOptions): Output<GetCertRecordResult>
def get_cert_record(domain_id: Optional[str] = None,
gtd_region: Optional[float] = None,
id: Optional[str] = None,
name: Optional[str] = None,
noanswer: Optional[bool] = None,
note: Optional[str] = None,
parent: Optional[str] = None,
parentid: Optional[float] = None,
roundrobins: Optional[Sequence[GetCertRecordRoundrobin]] = None,
source: Optional[str] = None,
source_type: Optional[str] = None,
ttl: Optional[float] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertRecordResult
def get_cert_record_output(domain_id: Optional[pulumi.Input[str]] = None,
gtd_region: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
noanswer: Optional[pulumi.Input[bool]] = None,
note: Optional[pulumi.Input[str]] = None,
parent: Optional[pulumi.Input[str]] = None,
parentid: Optional[pulumi.Input[float]] = None,
roundrobins: Optional[pulumi.Input[Sequence[pulumi.Input[GetCertRecordRoundrobinArgs]]]] = None,
source: Optional[pulumi.Input[str]] = None,
source_type: Optional[pulumi.Input[str]] = None,
ttl: Optional[pulumi.Input[float]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCertRecordResult]
func LookupCertRecord(ctx *Context, args *LookupCertRecordArgs, opts ...InvokeOption) (*LookupCertRecordResult, error)
func LookupCertRecordOutput(ctx *Context, args *LookupCertRecordOutputArgs, opts ...InvokeOption) LookupCertRecordResultOutput
> Note: This function is named LookupCertRecord
in the Go SDK.
public static class GetCertRecord
{
public static Task<GetCertRecordResult> InvokeAsync(GetCertRecordArgs args, InvokeOptions? opts = null)
public static Output<GetCertRecordResult> Invoke(GetCertRecordInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCertRecordResult> getCertRecord(GetCertRecordArgs args, InvokeOptions options)
public static Output<GetCertRecordResult> getCertRecord(GetCertRecordArgs args, InvokeOptions options)
fn::invoke:
function: constellix:index/getCertRecord:getCertRecord
arguments:
# arguments dictionary
The following arguments are supported:
- Domain
Id This property is required. string - Domain id of the CERT record.
- Name
This property is required. string - Name of record. Name should be unique.
- Source
Type This property is required. string - Type of the CERT record. The values which can be applied are "domains" or "templates".
- Gtd
Region double - Id string
- Noanswer bool
- Note string
- Parent string
- Parentid double
- Roundrobins
List<Get
Cert Record Roundrobin> - Source string
- Ttl double
- Type string
- Domain
Id This property is required. string - Domain id of the CERT record.
- Name
This property is required. string - Name of record. Name should be unique.
- Source
Type This property is required. string - Type of the CERT record. The values which can be applied are "domains" or "templates".
- Gtd
Region float64 - Id string
- Noanswer bool
- Note string
- Parent string
- Parentid float64
- Roundrobins
[]Get
Cert Record Roundrobin - Source string
- Ttl float64
- Type string
- domain
Id This property is required. String - Domain id of the CERT record.
- name
This property is required. String - Name of record. Name should be unique.
- source
Type This property is required. String - Type of the CERT record. The values which can be applied are "domains" or "templates".
- gtd
Region Double - id String
- noanswer Boolean
- note String
- parent String
- parentid Double
- roundrobins
List<Get
Cert Record Roundrobin> - source String
- ttl Double
- type String
- domain
Id This property is required. string - Domain id of the CERT record.
- name
This property is required. string - Name of record. Name should be unique.
- source
Type This property is required. string - Type of the CERT record. The values which can be applied are "domains" or "templates".
- gtd
Region number - id string
- noanswer boolean
- note string
- parent string
- parentid number
- roundrobins
Get
Cert Record Roundrobin[] - source string
- ttl number
- type string
- domain_
id This property is required. str - Domain id of the CERT record.
- name
This property is required. str - Name of record. Name should be unique.
- source_
type This property is required. str - Type of the CERT record. The values which can be applied are "domains" or "templates".
- gtd_
region float - id str
- noanswer bool
- note str
- parent str
- parentid float
- roundrobins
Sequence[Get
Cert Record Roundrobin] - source str
- ttl float
- type str
- domain
Id This property is required. String - Domain id of the CERT record.
- name
This property is required. String - Name of record. Name should be unique.
- source
Type This property is required. String - Type of the CERT record. The values which can be applied are "domains" or "templates".
- gtd
Region Number - id String
- noanswer Boolean
- note String
- parent String
- parentid Number
- roundrobins List<Property Map>
- source String
- ttl Number
- type String
getCertRecord Result
The following output properties are available:
- Domain
Id string - Gtd
Region double - Id string
- Name string
- Noanswer bool
- Note string
- Parent string
- Parentid double
- Source string
- Source
Type string - Ttl double
- Type string
- Roundrobins
List<Get
Cert Record Roundrobin>
- Domain
Id string - Gtd
Region float64 - Id string
- Name string
- Noanswer bool
- Note string
- Parent string
- Parentid float64
- Source string
- Source
Type string - Ttl float64
- Type string
- Roundrobins
[]Get
Cert Record Roundrobin
- domain
Id String - gtd
Region Double - id String
- name String
- noanswer Boolean
- note String
- parent String
- parentid Double
- source String
- source
Type String - ttl Double
- type String
- roundrobins
List<Get
Cert Record Roundrobin>
- domain
Id string - gtd
Region number - id string
- name string
- noanswer boolean
- note string
- parent string
- parentid number
- source string
- source
Type string - ttl number
- type string
- roundrobins
Get
Cert Record Roundrobin[]
- domain_
id str - gtd_
region float - id str
- name str
- noanswer bool
- note str
- parent str
- parentid float
- source str
- source_
type str - ttl float
- type str
- roundrobins
Sequence[Get
Cert Record Roundrobin]
- domain
Id String - gtd
Region Number - id String
- name String
- noanswer Boolean
- note String
- parent String
- parentid Number
- source String
- source
Type String - ttl Number
- type String
- roundrobins List<Property Map>
Supporting Types
GetCertRecordRoundrobin
- Algorithm
This property is required. double - Certificate
This property is required. string - Certificate
Type This property is required. double - Disable
Flag This property is required. bool - Keytag
This property is required. double
- Algorithm
This property is required. float64 - Certificate
This property is required. string - Certificate
Type This property is required. float64 - Disable
Flag This property is required. bool - Keytag
This property is required. float64
- algorithm
This property is required. Double - certificate
This property is required. String - certificate
Type This property is required. Double - disable
Flag This property is required. Boolean - keytag
This property is required. Double
- algorithm
This property is required. number - certificate
This property is required. string - certificate
Type This property is required. number - disable
Flag This property is required. boolean - keytag
This property is required. number
- algorithm
This property is required. float - certificate
This property is required. str - certificate_
type This property is required. float - disable_
flag This property is required. bool - keytag
This property is required. float
- algorithm
This property is required. Number - certificate
This property is required. String - certificate
Type This property is required. Number - disable
Flag This property is required. Boolean - keytag
This property is required. Number
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellix
Terraform Provider.
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix