1. Packages
  2. Fastly Provider
  3. API Docs
  4. getDomainsV1
Viewing docs for Fastly v11.4.1
published on Friday, Feb 27, 2026 by Pulumi
fastly logo
Viewing docs for Fastly v11.4.1
published on Friday, Feb 27, 2026 by Pulumi

    Using getDomainsV1

    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 getDomainsV1(args: GetDomainsV1Args, opts?: InvokeOptions): Promise<GetDomainsV1Result>
    function getDomainsV1Output(args: GetDomainsV1OutputArgs, opts?: InvokeOptions): Output<GetDomainsV1Result>
    def get_domains_v1(total: Optional[int] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDomainsV1Result
    def get_domains_v1_output(total: Optional[pulumi.Input[int]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDomainsV1Result]
    func GetDomainsV1(ctx *Context, args *GetDomainsV1Args, opts ...InvokeOption) (*GetDomainsV1Result, error)
    func GetDomainsV1Output(ctx *Context, args *GetDomainsV1OutputArgs, opts ...InvokeOption) GetDomainsV1ResultOutput

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

    public static class GetDomainsV1 
    {
        public static Task<GetDomainsV1Result> InvokeAsync(GetDomainsV1Args args, InvokeOptions? opts = null)
        public static Output<GetDomainsV1Result> Invoke(GetDomainsV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainsV1Result> getDomainsV1(GetDomainsV1Args args, InvokeOptions options)
    public static Output<GetDomainsV1Result> getDomainsV1(GetDomainsV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: fastly:index/getDomainsV1:getDomainsV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Total int
    The total number of domains returned.
    Total int
    The total number of domains returned.
    total Integer
    The total number of domains returned.
    total number
    The total number of domains returned.
    total int
    The total number of domains returned.
    total Number
    The total number of domains returned.

    getDomainsV1 Result

    The following output properties are available:

    Domains List<GetDomainsV1Domain>
    A domain represents the domain name through which visitors will retrieve content. There can be multiple domains for a service.
    Id string
    The provider-assigned unique ID for this managed resource.
    Total int
    The total number of domains returned.
    Domains []GetDomainsV1Domain
    A domain represents the domain name through which visitors will retrieve content. There can be multiple domains for a service.
    Id string
    The provider-assigned unique ID for this managed resource.
    Total int
    The total number of domains returned.
    domains List<GetDomainsV1Domain>
    A domain represents the domain name through which visitors will retrieve content. There can be multiple domains for a service.
    id String
    The provider-assigned unique ID for this managed resource.
    total Integer
    The total number of domains returned.
    domains GetDomainsV1Domain[]
    A domain represents the domain name through which visitors will retrieve content. There can be multiple domains for a service.
    id string
    The provider-assigned unique ID for this managed resource.
    total number
    The total number of domains returned.
    domains Sequence[GetDomainsV1Domain]
    A domain represents the domain name through which visitors will retrieve content. There can be multiple domains for a service.
    id str
    The provider-assigned unique ID for this managed resource.
    total int
    The total number of domains returned.
    domains List<Property Map>
    A domain represents the domain name through which visitors will retrieve content. There can be multiple domains for a service.
    id String
    The provider-assigned unique ID for this managed resource.
    total Number
    The total number of domains returned.

    Supporting Types

    GetDomainsV1Domain

    Fqdn string
    The fully-qualified domain name for your domain.
    Id string
    Domain Identifier (UUID).
    ServiceId string
    The 'service_id' associated with your domain or 'null' if there is no association.
    Fqdn string
    The fully-qualified domain name for your domain.
    Id string
    Domain Identifier (UUID).
    ServiceId string
    The 'service_id' associated with your domain or 'null' if there is no association.
    fqdn String
    The fully-qualified domain name for your domain.
    id String
    Domain Identifier (UUID).
    serviceId String
    The 'service_id' associated with your domain or 'null' if there is no association.
    fqdn string
    The fully-qualified domain name for your domain.
    id string
    Domain Identifier (UUID).
    serviceId string
    The 'service_id' associated with your domain or 'null' if there is no association.
    fqdn str
    The fully-qualified domain name for your domain.
    id str
    Domain Identifier (UUID).
    service_id str
    The 'service_id' associated with your domain or 'null' if there is no association.
    fqdn String
    The fully-qualified domain name for your domain.
    id String
    Domain Identifier (UUID).
    serviceId String
    The 'service_id' associated with your domain or 'null' if there is no association.

    Package Details

    Repository
    Fastly pulumi/pulumi-fastly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fastly Terraform Provider.
    fastly logo
    Viewing docs for Fastly v11.4.1
    published on Friday, Feb 27, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.