Viewing docs for spectrocloud 0.29.1
published on Friday, May 8, 2026 by spectrocloud
published on Friday, May 8, 2026 by spectrocloud
Viewing docs for spectrocloud 0.29.1
published on Friday, May 8, 2026 by spectrocloud
published on Friday, May 8, 2026 by spectrocloud
Data source for looking up private cloud gateway DNS mappings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const example = spectrocloud.getPrivatecloudgatewayDnsMap({
privateCloudGatewayId: "pcg-uid",
searchDomainName: "corp.example.com",
});
import pulumi
import pulumi_spectrocloud as spectrocloud
example = spectrocloud.get_privatecloudgateway_dns_map(private_cloud_gateway_id="pcg-uid",
search_domain_name="corp.example.com")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := spectrocloud.LookupPrivatecloudgatewayDnsMap(ctx, &spectrocloud.LookupPrivatecloudgatewayDnsMapArgs{
PrivateCloudGatewayId: "pcg-uid",
SearchDomainName: "corp.example.com",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var example = Spectrocloud.GetPrivatecloudgatewayDnsMap.Invoke(new()
{
PrivateCloudGatewayId = "pcg-uid",
SearchDomainName = "corp.example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetPrivatecloudgatewayDnsMapArgs;
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 example = SpectrocloudFunctions.getPrivatecloudgatewayDnsMap(GetPrivatecloudgatewayDnsMapArgs.builder()
.privateCloudGatewayId("pcg-uid")
.searchDomainName("corp.example.com")
.build());
}
}
variables:
example:
fn::invoke:
function: spectrocloud:getPrivatecloudgatewayDnsMap
arguments:
privateCloudGatewayId: pcg-uid
searchDomainName: corp.example.com
Example coming soon!
Using getPrivatecloudgatewayDnsMap
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 getPrivatecloudgatewayDnsMap(args: GetPrivatecloudgatewayDnsMapArgs, opts?: InvokeOptions): Promise<GetPrivatecloudgatewayDnsMapResult>
function getPrivatecloudgatewayDnsMapOutput(args: GetPrivatecloudgatewayDnsMapOutputArgs, opts?: InvokeOptions): Output<GetPrivatecloudgatewayDnsMapResult>def get_privatecloudgateway_dns_map(id: Optional[str] = None,
network: Optional[str] = None,
private_cloud_gateway_id: Optional[str] = None,
search_domain_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivatecloudgatewayDnsMapResult
def get_privatecloudgateway_dns_map_output(id: pulumi.Input[Optional[str]] = None,
network: pulumi.Input[Optional[str]] = None,
private_cloud_gateway_id: pulumi.Input[Optional[str]] = None,
search_domain_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivatecloudgatewayDnsMapResult]func LookupPrivatecloudgatewayDnsMap(ctx *Context, args *LookupPrivatecloudgatewayDnsMapArgs, opts ...InvokeOption) (*LookupPrivatecloudgatewayDnsMapResult, error)
func LookupPrivatecloudgatewayDnsMapOutput(ctx *Context, args *LookupPrivatecloudgatewayDnsMapOutputArgs, opts ...InvokeOption) LookupPrivatecloudgatewayDnsMapResultOutput> Note: This function is named LookupPrivatecloudgatewayDnsMap in the Go SDK.
public static class GetPrivatecloudgatewayDnsMap
{
public static Task<GetPrivatecloudgatewayDnsMapResult> InvokeAsync(GetPrivatecloudgatewayDnsMapArgs args, InvokeOptions? opts = null)
public static Output<GetPrivatecloudgatewayDnsMapResult> Invoke(GetPrivatecloudgatewayDnsMapInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPrivatecloudgatewayDnsMapResult> getPrivatecloudgatewayDnsMap(GetPrivatecloudgatewayDnsMapArgs args, InvokeOptions options)
public static Output<GetPrivatecloudgatewayDnsMapResult> getPrivatecloudgatewayDnsMap(GetPrivatecloudgatewayDnsMapArgs args, InvokeOptions options)
fn::invoke:
function: spectrocloud:index/getPrivatecloudgatewayDnsMap:getPrivatecloudgatewayDnsMap
arguments:
# arguments dictionarydata "spectrocloud_getprivatecloudgatewaydnsmap" "name" {
# arguments
}The following arguments are supported:
- Private
Cloud stringGateway Id - The ID of the private cloud gateway.
- Search
Domain stringName - The domain name used for DNS search queries within the private cloud.
- Id string
- The ID of this resource.
- Network string
- The network to which the private cloud gateway is mapped.
- Private
Cloud stringGateway Id - The ID of the private cloud gateway.
- Search
Domain stringName - The domain name used for DNS search queries within the private cloud.
- Id string
- The ID of this resource.
- Network string
- The network to which the private cloud gateway is mapped.
- private_
cloud_ stringgateway_ id - The ID of the private cloud gateway.
- search_
domain_ stringname - The domain name used for DNS search queries within the private cloud.
- id string
- The ID of this resource.
- network string
- The network to which the private cloud gateway is mapped.
- private
Cloud StringGateway Id - The ID of the private cloud gateway.
- search
Domain StringName - The domain name used for DNS search queries within the private cloud.
- id String
- The ID of this resource.
- network String
- The network to which the private cloud gateway is mapped.
- private
Cloud stringGateway Id - The ID of the private cloud gateway.
- search
Domain stringName - The domain name used for DNS search queries within the private cloud.
- id string
- The ID of this resource.
- network string
- The network to which the private cloud gateway is mapped.
- private_
cloud_ strgateway_ id - The ID of the private cloud gateway.
- search_
domain_ strname - The domain name used for DNS search queries within the private cloud.
- id str
- The ID of this resource.
- network str
- The network to which the private cloud gateway is mapped.
- private
Cloud StringGateway Id - The ID of the private cloud gateway.
- search
Domain StringName - The domain name used for DNS search queries within the private cloud.
- id String
- The ID of this resource.
- network String
- The network to which the private cloud gateway is mapped.
getPrivatecloudgatewayDnsMap Result
The following output properties are available:
- Data
Center string - The data center in which the private cloud resides.
- Id string
- The ID of this resource.
- Network string
- The network to which the private cloud gateway is mapped.
- Private
Cloud stringGateway Id - The ID of the private cloud gateway.
- Search
Domain stringName - The domain name used for DNS search queries within the private cloud.
- Data
Center string - The data center in which the private cloud resides.
- Id string
- The ID of this resource.
- Network string
- The network to which the private cloud gateway is mapped.
- Private
Cloud stringGateway Id - The ID of the private cloud gateway.
- Search
Domain stringName - The domain name used for DNS search queries within the private cloud.
- data_
center string - The data center in which the private cloud resides.
- id string
- The ID of this resource.
- network string
- The network to which the private cloud gateway is mapped.
- private_
cloud_ stringgateway_ id - The ID of the private cloud gateway.
- search_
domain_ stringname - The domain name used for DNS search queries within the private cloud.
- data
Center String - The data center in which the private cloud resides.
- id String
- The ID of this resource.
- network String
- The network to which the private cloud gateway is mapped.
- private
Cloud StringGateway Id - The ID of the private cloud gateway.
- search
Domain StringName - The domain name used for DNS search queries within the private cloud.
- data
Center string - The data center in which the private cloud resides.
- id string
- The ID of this resource.
- network string
- The network to which the private cloud gateway is mapped.
- private
Cloud stringGateway Id - The ID of the private cloud gateway.
- search
Domain stringName - The domain name used for DNS search queries within the private cloud.
- data_
center str - The data center in which the private cloud resides.
- id str
- The ID of this resource.
- network str
- The network to which the private cloud gateway is mapped.
- private_
cloud_ strgateway_ id - The ID of the private cloud gateway.
- search_
domain_ strname - The domain name used for DNS search queries within the private cloud.
- data
Center String - The data center in which the private cloud resides.
- id String
- The ID of this resource.
- network String
- The network to which the private cloud gateway is mapped.
- private
Cloud StringGateway Id - The ID of the private cloud gateway.
- search
Domain StringName - The domain name used for DNS search queries within the private cloud.
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloudTerraform Provider.
Viewing docs for spectrocloud 0.29.1
published on Friday, May 8, 2026 by spectrocloud
published on Friday, May 8, 2026 by spectrocloud
