UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

168 lines (167 loc) 6.33 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone. * * Uses Azure REST API version 2024-06-01. * * Other available API versions: 2018-09-01, 2020-01-01, 2020-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native privatedns [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class PrivateRecordSet extends pulumi.CustomResource { /** * Get an existing PrivateRecordSet resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PrivateRecordSet; /** * Returns true if the given object is an instance of PrivateRecordSet. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PrivateRecordSet; /** * The list of A records in the record set. */ readonly aRecords: pulumi.Output<outputs.privatedns.ARecordResponse[] | undefined>; /** * The list of AAAA records in the record set. */ readonly aaaaRecords: pulumi.Output<outputs.privatedns.AaaaRecordResponse[] | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The CNAME record in the record set. */ readonly cnameRecord: pulumi.Output<outputs.privatedns.CnameRecordResponse | undefined>; /** * The ETag of the record set. */ readonly etag: pulumi.Output<string | undefined>; /** * Fully qualified domain name of the record set. */ readonly fqdn: pulumi.Output<string>; /** * Is the record set auto-registered in the Private DNS zone through a virtual network link? */ readonly isAutoRegistered: pulumi.Output<boolean>; /** * The metadata attached to the record set. */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The list of MX records in the record set. */ readonly mxRecords: pulumi.Output<outputs.privatedns.MxRecordResponse[] | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * The list of PTR records in the record set. */ readonly ptrRecords: pulumi.Output<outputs.privatedns.PtrRecordResponse[] | undefined>; /** * The SOA record in the record set. */ readonly soaRecord: pulumi.Output<outputs.privatedns.SoaRecordResponse | undefined>; /** * The list of SRV records in the record set. */ readonly srvRecords: pulumi.Output<outputs.privatedns.SrvRecordResponse[] | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.privatedns.SystemDataResponse>; /** * The TTL (time-to-live) of the records in the record set. */ readonly ttl: pulumi.Output<number | undefined>; /** * The list of TXT records in the record set. */ readonly txtRecords: pulumi.Output<outputs.privatedns.TxtRecordResponse[] | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Create a PrivateRecordSet resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PrivateRecordSetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PrivateRecordSet resource. */ export interface PrivateRecordSetArgs { /** * The list of A records in the record set. */ aRecords?: pulumi.Input<pulumi.Input<inputs.privatedns.ARecordArgs>[]>; /** * The list of AAAA records in the record set. */ aaaaRecords?: pulumi.Input<pulumi.Input<inputs.privatedns.AaaaRecordArgs>[]>; /** * The CNAME record in the record set. */ cnameRecord?: pulumi.Input<inputs.privatedns.CnameRecordArgs>; /** * The metadata attached to the record set. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The list of MX records in the record set. */ mxRecords?: pulumi.Input<pulumi.Input<inputs.privatedns.MxRecordArgs>[]>; /** * The name of the DNS zone (without a terminating dot). */ privateZoneName: pulumi.Input<string>; /** * The list of PTR records in the record set. */ ptrRecords?: pulumi.Input<pulumi.Input<inputs.privatedns.PtrRecordArgs>[]>; /** * The type of DNS record in this record set. */ recordType: pulumi.Input<string>; /** * The name of the record set, relative to the name of the zone. */ relativeRecordSetName?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The SOA record in the record set. */ soaRecord?: pulumi.Input<inputs.privatedns.SoaRecordArgs>; /** * The list of SRV records in the record set. */ srvRecords?: pulumi.Input<pulumi.Input<inputs.privatedns.SrvRecordArgs>[]>; /** * The TTL (time-to-live) of the records in the record set. */ ttl?: pulumi.Input<number>; /** * The list of TXT records in the record set. */ txtRecords?: pulumi.Input<pulumi.Input<inputs.privatedns.TxtRecordArgs>[]>; }