1. Packages
  2. Auth0 Provider
  3. API Docs
  4. OrganizationDiscoveryDomains
Auth0 v3.31.0 published on Saturday, Nov 1, 2025 by Pulumi

auth0.OrganizationDiscoveryDomains

Start a Neo task
Explain and create an auth0.OrganizationDiscoveryDomains resource
auth0 logo
Auth0 v3.31.0 published on Saturday, Nov 1, 2025 by Pulumi

    With this resource, you can manage discovery domains on an organization.

    Create OrganizationDiscoveryDomains Resource

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

    Constructor syntax

    new OrganizationDiscoveryDomains(name: string, args: OrganizationDiscoveryDomainsArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationDiscoveryDomains(resource_name: str,
                                     args: OrganizationDiscoveryDomainsArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationDiscoveryDomains(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     discovery_domains: Optional[Sequence[OrganizationDiscoveryDomainsDiscoveryDomainArgs]] = None,
                                     organization_id: Optional[str] = None)
    func NewOrganizationDiscoveryDomains(ctx *Context, name string, args OrganizationDiscoveryDomainsArgs, opts ...ResourceOption) (*OrganizationDiscoveryDomains, error)
    public OrganizationDiscoveryDomains(string name, OrganizationDiscoveryDomainsArgs args, CustomResourceOptions? opts = null)
    public OrganizationDiscoveryDomains(String name, OrganizationDiscoveryDomainsArgs args)
    public OrganizationDiscoveryDomains(String name, OrganizationDiscoveryDomainsArgs args, CustomResourceOptions options)
    
    type: auth0:OrganizationDiscoveryDomains
    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 OrganizationDiscoveryDomainsArgs
    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 OrganizationDiscoveryDomainsArgs
    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 OrganizationDiscoveryDomainsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationDiscoveryDomainsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationDiscoveryDomainsArgs
    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 organizationDiscoveryDomainsResource = new Auth0.OrganizationDiscoveryDomains("organizationDiscoveryDomainsResource", new()
    {
        DiscoveryDomains = new[]
        {
            new Auth0.Inputs.OrganizationDiscoveryDomainsDiscoveryDomainArgs
            {
                Domain = "string",
                Status = "string",
                Id = "string",
                VerificationHost = "string",
                VerificationTxt = "string",
            },
        },
        OrganizationId = "string",
    });
    
    example, err := auth0.NewOrganizationDiscoveryDomains(ctx, "organizationDiscoveryDomainsResource", &auth0.OrganizationDiscoveryDomainsArgs{
    	DiscoveryDomains: auth0.OrganizationDiscoveryDomainsDiscoveryDomainArray{
    		&auth0.OrganizationDiscoveryDomainsDiscoveryDomainArgs{
    			Domain:           pulumi.String("string"),
    			Status:           pulumi.String("string"),
    			Id:               pulumi.String("string"),
    			VerificationHost: pulumi.String("string"),
    			VerificationTxt:  pulumi.String("string"),
    		},
    	},
    	OrganizationId: pulumi.String("string"),
    })
    
    var organizationDiscoveryDomainsResource = new OrganizationDiscoveryDomains("organizationDiscoveryDomainsResource", OrganizationDiscoveryDomainsArgs.builder()
        .discoveryDomains(OrganizationDiscoveryDomainsDiscoveryDomainArgs.builder()
            .domain("string")
            .status("string")
            .id("string")
            .verificationHost("string")
            .verificationTxt("string")
            .build())
        .organizationId("string")
        .build());
    
    organization_discovery_domains_resource = auth0.OrganizationDiscoveryDomains("organizationDiscoveryDomainsResource",
        discovery_domains=[{
            "domain": "string",
            "status": "string",
            "id": "string",
            "verification_host": "string",
            "verification_txt": "string",
        }],
        organization_id="string")
    
    const organizationDiscoveryDomainsResource = new auth0.OrganizationDiscoveryDomains("organizationDiscoveryDomainsResource", {
        discoveryDomains: [{
            domain: "string",
            status: "string",
            id: "string",
            verificationHost: "string",
            verificationTxt: "string",
        }],
        organizationId: "string",
    });
    
    type: auth0:OrganizationDiscoveryDomains
    properties:
        discoveryDomains:
            - domain: string
              id: string
              status: string
              verificationHost: string
              verificationTxt: string
        organizationId: string
    

    OrganizationDiscoveryDomains 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 OrganizationDiscoveryDomains resource accepts the following input properties:

    DiscoveryDomains List<OrganizationDiscoveryDomainsDiscoveryDomain>
    Discovery domains that are configured for the organization.
    OrganizationId string
    ID of the organization on which to manage the discovery domains.
    DiscoveryDomains []OrganizationDiscoveryDomainsDiscoveryDomainArgs
    Discovery domains that are configured for the organization.
    OrganizationId string
    ID of the organization on which to manage the discovery domains.
    discoveryDomains List<OrganizationDiscoveryDomainsDiscoveryDomain>
    Discovery domains that are configured for the organization.
    organizationId String
    ID of the organization on which to manage the discovery domains.
    discoveryDomains OrganizationDiscoveryDomainsDiscoveryDomain[]
    Discovery domains that are configured for the organization.
    organizationId string
    ID of the organization on which to manage the discovery domains.
    discovery_domains Sequence[OrganizationDiscoveryDomainsDiscoveryDomainArgs]
    Discovery domains that are configured for the organization.
    organization_id str
    ID of the organization on which to manage the discovery domains.
    discoveryDomains List<Property Map>
    Discovery domains that are configured for the organization.
    organizationId String
    ID of the organization on which to manage the discovery domains.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OrganizationDiscoveryDomains Resource

    Get an existing OrganizationDiscoveryDomains resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OrganizationDiscoveryDomainsState, opts?: CustomResourceOptions): OrganizationDiscoveryDomains
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            discovery_domains: Optional[Sequence[OrganizationDiscoveryDomainsDiscoveryDomainArgs]] = None,
            organization_id: Optional[str] = None) -> OrganizationDiscoveryDomains
    func GetOrganizationDiscoveryDomains(ctx *Context, name string, id IDInput, state *OrganizationDiscoveryDomainsState, opts ...ResourceOption) (*OrganizationDiscoveryDomains, error)
    public static OrganizationDiscoveryDomains Get(string name, Input<string> id, OrganizationDiscoveryDomainsState? state, CustomResourceOptions? opts = null)
    public static OrganizationDiscoveryDomains get(String name, Output<String> id, OrganizationDiscoveryDomainsState state, CustomResourceOptions options)
    resources:  _:    type: auth0:OrganizationDiscoveryDomains    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DiscoveryDomains List<OrganizationDiscoveryDomainsDiscoveryDomain>
    Discovery domains that are configured for the organization.
    OrganizationId string
    ID of the organization on which to manage the discovery domains.
    DiscoveryDomains []OrganizationDiscoveryDomainsDiscoveryDomainArgs
    Discovery domains that are configured for the organization.
    OrganizationId string
    ID of the organization on which to manage the discovery domains.
    discoveryDomains List<OrganizationDiscoveryDomainsDiscoveryDomain>
    Discovery domains that are configured for the organization.
    organizationId String
    ID of the organization on which to manage the discovery domains.
    discoveryDomains OrganizationDiscoveryDomainsDiscoveryDomain[]
    Discovery domains that are configured for the organization.
    organizationId string
    ID of the organization on which to manage the discovery domains.
    discovery_domains Sequence[OrganizationDiscoveryDomainsDiscoveryDomainArgs]
    Discovery domains that are configured for the organization.
    organization_id str
    ID of the organization on which to manage the discovery domains.
    discoveryDomains List<Property Map>
    Discovery domains that are configured for the organization.
    organizationId String
    ID of the organization on which to manage the discovery domains.

    Supporting Types

    OrganizationDiscoveryDomainsDiscoveryDomain, OrganizationDiscoveryDomainsDiscoveryDomainArgs

    Domain string
    The domain name for organization discovery.
    Status string
    Verification status. Must be either 'pending' or 'verified'.
    Id string
    The ID of the discovery domain.
    VerificationHost string
    The full domain where the TXT record should be added.
    VerificationTxt string
    TXT record value for domain verification.
    Domain string
    The domain name for organization discovery.
    Status string
    Verification status. Must be either 'pending' or 'verified'.
    Id string
    The ID of the discovery domain.
    VerificationHost string
    The full domain where the TXT record should be added.
    VerificationTxt string
    TXT record value for domain verification.
    domain String
    The domain name for organization discovery.
    status String
    Verification status. Must be either 'pending' or 'verified'.
    id String
    The ID of the discovery domain.
    verificationHost String
    The full domain where the TXT record should be added.
    verificationTxt String
    TXT record value for domain verification.
    domain string
    The domain name for organization discovery.
    status string
    Verification status. Must be either 'pending' or 'verified'.
    id string
    The ID of the discovery domain.
    verificationHost string
    The full domain where the TXT record should be added.
    verificationTxt string
    TXT record value for domain verification.
    domain str
    The domain name for organization discovery.
    status str
    Verification status. Must be either 'pending' or 'verified'.
    id str
    The ID of the discovery domain.
    verification_host str
    The full domain where the TXT record should be added.
    verification_txt str
    TXT record value for domain verification.
    domain String
    The domain name for organization discovery.
    status String
    Verification status. Must be either 'pending' or 'verified'.
    id String
    The ID of the discovery domain.
    verificationHost String
    The full domain where the TXT record should be added.
    verificationTxt String
    TXT record value for domain verification.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Auth0 v3.31.0 published on Saturday, Nov 1, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate