1. Packages
  2. Google Cloud Native
  3. API Docs
  4. managedidentities
  5. managedidentities/v1
  6. getDomain

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.managedidentities/v1.getDomain

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

    Gets information about a domain.

    Using getDomain

    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 getDomain(args: GetDomainArgs, opts?: InvokeOptions): Promise<GetDomainResult>
    function getDomainOutput(args: GetDomainOutputArgs, opts?: InvokeOptions): Output<GetDomainResult>
    def get_domain(domain_id: Optional[str] = None,
                   project: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDomainResult
    def get_domain_output(domain_id: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDomainResult]
    func LookupDomain(ctx *Context, args *LookupDomainArgs, opts ...InvokeOption) (*LookupDomainResult, error)
    func LookupDomainOutput(ctx *Context, args *LookupDomainOutputArgs, opts ...InvokeOption) LookupDomainResultOutput

    > Note: This function is named LookupDomain in the Go SDK.

    public static class GetDomain 
    {
        public static Task<GetDomainResult> InvokeAsync(GetDomainArgs args, InvokeOptions? opts = null)
        public static Output<GetDomainResult> Invoke(GetDomainInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:managedidentities/v1:getDomain
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DomainId string
    Project string
    DomainId string
    Project string
    domainId String
    project String
    domainId string
    project string
    domainId String
    project String

    getDomain Result

    The following output properties are available:

    Admin string
    Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.
    AuditLogsEnabled bool
    Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
    AuthorizedNetworks List<string>
    Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.
    CreateTime string
    The time the instance was created.
    Fqdn string
    The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
    Labels Dictionary<string, string>
    Optional. Resource labels that can contain user-provided metadata.
    Locations List<string>
    Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
    Name string
    The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.
    ReservedIpRange string
    The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
    State string
    The current state of this domain.
    StatusMessage string
    Additional information about the current status of this domain, if available.
    Trusts List<Pulumi.GoogleNative.Managedidentities.V1.Outputs.TrustResponse>
    The current trusts associated with the domain.
    UpdateTime string
    The last update time.
    Admin string
    Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.
    AuditLogsEnabled bool
    Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
    AuthorizedNetworks []string
    Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.
    CreateTime string
    The time the instance was created.
    Fqdn string
    The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
    Labels map[string]string
    Optional. Resource labels that can contain user-provided metadata.
    Locations []string
    Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
    Name string
    The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.
    ReservedIpRange string
    The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
    State string
    The current state of this domain.
    StatusMessage string
    Additional information about the current status of this domain, if available.
    Trusts []TrustResponse
    The current trusts associated with the domain.
    UpdateTime string
    The last update time.
    admin String
    Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.
    auditLogsEnabled Boolean
    Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
    authorizedNetworks List<String>
    Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.
    createTime String
    The time the instance was created.
    fqdn String
    The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
    labels Map<String,String>
    Optional. Resource labels that can contain user-provided metadata.
    locations List<String>
    Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
    name String
    The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.
    reservedIpRange String
    The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
    state String
    The current state of this domain.
    statusMessage String
    Additional information about the current status of this domain, if available.
    trusts List<TrustResponse>
    The current trusts associated with the domain.
    updateTime String
    The last update time.
    admin string
    Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.
    auditLogsEnabled boolean
    Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
    authorizedNetworks string[]
    Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.
    createTime string
    The time the instance was created.
    fqdn string
    The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
    labels {[key: string]: string}
    Optional. Resource labels that can contain user-provided metadata.
    locations string[]
    Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
    name string
    The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.
    reservedIpRange string
    The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
    state string
    The current state of this domain.
    statusMessage string
    Additional information about the current status of this domain, if available.
    trusts TrustResponse[]
    The current trusts associated with the domain.
    updateTime string
    The last update time.
    admin str
    Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.
    audit_logs_enabled bool
    Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
    authorized_networks Sequence[str]
    Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.
    create_time str
    The time the instance was created.
    fqdn str
    The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
    labels Mapping[str, str]
    Optional. Resource labels that can contain user-provided metadata.
    locations Sequence[str]
    Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
    name str
    The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.
    reserved_ip_range str
    The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
    state str
    The current state of this domain.
    status_message str
    Additional information about the current status of this domain, if available.
    trusts Sequence[TrustResponse]
    The current trusts associated with the domain.
    update_time str
    The last update time.
    admin String
    Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.
    auditLogsEnabled Boolean
    Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.
    authorizedNetworks List<String>
    Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.
    createTime String
    The time the instance was created.
    fqdn String
    The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
    labels Map<String>
    Optional. Resource labels that can contain user-provided metadata.
    locations List<String>
    Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
    name String
    The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.
    reservedIpRange String
    The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
    state String
    The current state of this domain.
    statusMessage String
    Additional information about the current status of this domain, if available.
    trusts List<Property Map>
    The current trusts associated with the domain.
    updateTime String
    The last update time.

    Supporting Types

    TrustResponse

    CreateTime string
    The time the instance was created.
    LastTrustHeartbeatTime string
    The last heartbeat time when the trust was known to be connected.
    SelectiveAuthentication bool
    Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
    State string
    The current state of the trust.
    StateDescription string
    Additional information about the current state of the trust, if available.
    TargetDnsIpAddresses List<string>
    The target DNS server IP addresses which can resolve the remote domain involved in the trust.
    TargetDomainName string
    The fully qualified target domain name which will be in trust with the current domain.
    TrustDirection string
    The trust direction, which decides if the current domain is trusted, trusting, or both.
    TrustHandshakeSecret string
    The trust secret used for the handshake with the target domain. This will not be stored.
    TrustType string
    The type of trust represented by the trust resource.
    UpdateTime string
    The last update time.
    CreateTime string
    The time the instance was created.
    LastTrustHeartbeatTime string
    The last heartbeat time when the trust was known to be connected.
    SelectiveAuthentication bool
    Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
    State string
    The current state of the trust.
    StateDescription string
    Additional information about the current state of the trust, if available.
    TargetDnsIpAddresses []string
    The target DNS server IP addresses which can resolve the remote domain involved in the trust.
    TargetDomainName string
    The fully qualified target domain name which will be in trust with the current domain.
    TrustDirection string
    The trust direction, which decides if the current domain is trusted, trusting, or both.
    TrustHandshakeSecret string
    The trust secret used for the handshake with the target domain. This will not be stored.
    TrustType string
    The type of trust represented by the trust resource.
    UpdateTime string
    The last update time.
    createTime String
    The time the instance was created.
    lastTrustHeartbeatTime String
    The last heartbeat time when the trust was known to be connected.
    selectiveAuthentication Boolean
    Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
    state String
    The current state of the trust.
    stateDescription String
    Additional information about the current state of the trust, if available.
    targetDnsIpAddresses List<String>
    The target DNS server IP addresses which can resolve the remote domain involved in the trust.
    targetDomainName String
    The fully qualified target domain name which will be in trust with the current domain.
    trustDirection String
    The trust direction, which decides if the current domain is trusted, trusting, or both.
    trustHandshakeSecret String
    The trust secret used for the handshake with the target domain. This will not be stored.
    trustType String
    The type of trust represented by the trust resource.
    updateTime String
    The last update time.
    createTime string
    The time the instance was created.
    lastTrustHeartbeatTime string
    The last heartbeat time when the trust was known to be connected.
    selectiveAuthentication boolean
    Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
    state string
    The current state of the trust.
    stateDescription string
    Additional information about the current state of the trust, if available.
    targetDnsIpAddresses string[]
    The target DNS server IP addresses which can resolve the remote domain involved in the trust.
    targetDomainName string
    The fully qualified target domain name which will be in trust with the current domain.
    trustDirection string
    The trust direction, which decides if the current domain is trusted, trusting, or both.
    trustHandshakeSecret string
    The trust secret used for the handshake with the target domain. This will not be stored.
    trustType string
    The type of trust represented by the trust resource.
    updateTime string
    The last update time.
    create_time str
    The time the instance was created.
    last_trust_heartbeat_time str
    The last heartbeat time when the trust was known to be connected.
    selective_authentication bool
    Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
    state str
    The current state of the trust.
    state_description str
    Additional information about the current state of the trust, if available.
    target_dns_ip_addresses Sequence[str]
    The target DNS server IP addresses which can resolve the remote domain involved in the trust.
    target_domain_name str
    The fully qualified target domain name which will be in trust with the current domain.
    trust_direction str
    The trust direction, which decides if the current domain is trusted, trusting, or both.
    trust_handshake_secret str
    The trust secret used for the handshake with the target domain. This will not be stored.
    trust_type str
    The type of trust represented by the trust resource.
    update_time str
    The last update time.
    createTime String
    The time the instance was created.
    lastTrustHeartbeatTime String
    The last heartbeat time when the trust was known to be connected.
    selectiveAuthentication Boolean
    Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
    state String
    The current state of the trust.
    stateDescription String
    Additional information about the current state of the trust, if available.
    targetDnsIpAddresses List<String>
    The target DNS server IP addresses which can resolve the remote domain involved in the trust.
    targetDomainName String
    The fully qualified target domain name which will be in trust with the current domain.
    trustDirection String
    The trust direction, which decides if the current domain is trusted, trusting, or both.
    trustHandshakeSecret String
    The trust secret used for the handshake with the target domain. This will not be stored.
    trustType String
    The type of trust represented by the trust resource.
    updateTime String
    The last update time.

    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