1. Packages
  2. Rancher2
  3. API Docs
  4. GlobalDnsProvider
Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi

rancher2.GlobalDnsProvider

Explore with Pulumi AI

rancher2 logo
Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi

    Provides a Rancher V2 Global DNS Provider resource. This can be used to create Global DNS Providers for Rancher V2. Supported Global DNS Providers: alidns, cloudflare, route53

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as rancher2 from "@pulumi/rancher2";
    
    // Create a new rancher2 Global DNS Provider - alidns
    const foo = new rancher2.GlobalDnsProvider("foo", {
        alidnsConfig: {
            accessKey: "YYYYYYYYYYYYYYYYYYYY",
            secretKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        },
        rootDomain: "example.com",
    });
    
    import pulumi
    import pulumi_rancher2 as rancher2
    
    # Create a new rancher2 Global DNS Provider - alidns
    foo = rancher2.GlobalDnsProvider("foo",
        alidns_config=rancher2.GlobalDnsProviderAlidnsConfigArgs(
            access_key="YYYYYYYYYYYYYYYYYYYY",
            secret_key="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        ),
        root_domain="example.com")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rancher2/sdk/v6/go/rancher2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a new rancher2 Global DNS Provider - alidns
    		_, err := rancher2.NewGlobalDnsProvider(ctx, "foo", &rancher2.GlobalDnsProviderArgs{
    			AlidnsConfig: &rancher2.GlobalDnsProviderAlidnsConfigArgs{
    				AccessKey: pulumi.String("YYYYYYYYYYYYYYYYYYYY"),
    				SecretKey: pulumi.String("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"),
    			},
    			RootDomain: pulumi.String("example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rancher2 = Pulumi.Rancher2;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new rancher2 Global DNS Provider - alidns
        var foo = new Rancher2.GlobalDnsProvider("foo", new()
        {
            AlidnsConfig = new Rancher2.Inputs.GlobalDnsProviderAlidnsConfigArgs
            {
                AccessKey = "YYYYYYYYYYYYYYYYYYYY",
                SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            },
            RootDomain = "example.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rancher2.GlobalDnsProvider;
    import com.pulumi.rancher2.GlobalDnsProviderArgs;
    import com.pulumi.rancher2.inputs.GlobalDnsProviderAlidnsConfigArgs;
    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) {
            var foo = new GlobalDnsProvider("foo", GlobalDnsProviderArgs.builder()        
                .alidnsConfig(GlobalDnsProviderAlidnsConfigArgs.builder()
                    .accessKey("YYYYYYYYYYYYYYYYYYYY")
                    .secretKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
                    .build())
                .rootDomain("example.com")
                .build());
    
        }
    }
    
    resources:
      # Create a new rancher2 Global DNS Provider - alidns
      foo:
        type: rancher2:GlobalDnsProvider
        properties:
          alidnsConfig:
            accessKey: YYYYYYYYYYYYYYYYYYYY
            secretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
          rootDomain: example.com
    
    import * as pulumi from "@pulumi/pulumi";
    import * as rancher2 from "@pulumi/rancher2";
    
    // Create a new rancher2 Global DNS Provider - cloudflare
    const foo = new rancher2.GlobalDnsProvider("foo", {
        cloudflareConfig: {
            apiEmail: "test@test.local",
            apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            proxySetting: true,
        },
        rootDomain: "example.com",
    });
    
    import pulumi
    import pulumi_rancher2 as rancher2
    
    # Create a new rancher2 Global DNS Provider - cloudflare
    foo = rancher2.GlobalDnsProvider("foo",
        cloudflare_config=rancher2.GlobalDnsProviderCloudflareConfigArgs(
            api_email="test@test.local",
            api_key="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            proxy_setting=True,
        ),
        root_domain="example.com")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rancher2/sdk/v6/go/rancher2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a new rancher2 Global DNS Provider - cloudflare
    		_, err := rancher2.NewGlobalDnsProvider(ctx, "foo", &rancher2.GlobalDnsProviderArgs{
    			CloudflareConfig: &rancher2.GlobalDnsProviderCloudflareConfigArgs{
    				ApiEmail:     pulumi.String("test@test.local"),
    				ApiKey:       pulumi.String("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"),
    				ProxySetting: pulumi.Bool(true),
    			},
    			RootDomain: pulumi.String("example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rancher2 = Pulumi.Rancher2;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new rancher2 Global DNS Provider - cloudflare
        var foo = new Rancher2.GlobalDnsProvider("foo", new()
        {
            CloudflareConfig = new Rancher2.Inputs.GlobalDnsProviderCloudflareConfigArgs
            {
                ApiEmail = "test@test.local",
                ApiKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                ProxySetting = true,
            },
            RootDomain = "example.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rancher2.GlobalDnsProvider;
    import com.pulumi.rancher2.GlobalDnsProviderArgs;
    import com.pulumi.rancher2.inputs.GlobalDnsProviderCloudflareConfigArgs;
    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) {
            var foo = new GlobalDnsProvider("foo", GlobalDnsProviderArgs.builder()        
                .cloudflareConfig(GlobalDnsProviderCloudflareConfigArgs.builder()
                    .apiEmail("test@test.local")
                    .apiKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
                    .proxySetting(true)
                    .build())
                .rootDomain("example.com")
                .build());
    
        }
    }
    
    resources:
      # Create a new rancher2 Global DNS Provider - cloudflare
      foo:
        type: rancher2:GlobalDnsProvider
        properties:
          cloudflareConfig:
            apiEmail: test@test.local
            apiKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            proxySetting: true
          rootDomain: example.com
    
    import * as pulumi from "@pulumi/pulumi";
    import * as rancher2 from "@pulumi/rancher2";
    
    // Create a new rancher2 Global DNS Provider - route53
    const foo = new rancher2.GlobalDnsProvider("foo", {
        rootDomain: "example.com",
        route53Config: {
            accessKey: "YYYYYYYYYYYYYYYYYYYY",
            region: "us-east-1",
            secretKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            zoneType: "private",
        },
    });
    
    import pulumi
    import pulumi_rancher2 as rancher2
    
    # Create a new rancher2 Global DNS Provider - route53
    foo = rancher2.GlobalDnsProvider("foo",
        root_domain="example.com",
        route53_config=rancher2.GlobalDnsProviderRoute53ConfigArgs(
            access_key="YYYYYYYYYYYYYYYYYYYY",
            region="us-east-1",
            secret_key="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            zone_type="private",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rancher2/sdk/v6/go/rancher2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a new rancher2 Global DNS Provider - route53
    		_, err := rancher2.NewGlobalDnsProvider(ctx, "foo", &rancher2.GlobalDnsProviderArgs{
    			RootDomain: pulumi.String("example.com"),
    			Route53Config: &rancher2.GlobalDnsProviderRoute53ConfigArgs{
    				AccessKey: pulumi.String("YYYYYYYYYYYYYYYYYYYY"),
    				Region:    pulumi.String("us-east-1"),
    				SecretKey: pulumi.String("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"),
    				ZoneType:  pulumi.String("private"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rancher2 = Pulumi.Rancher2;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new rancher2 Global DNS Provider - route53
        var foo = new Rancher2.GlobalDnsProvider("foo", new()
        {
            RootDomain = "example.com",
            Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs
            {
                AccessKey = "YYYYYYYYYYYYYYYYYYYY",
                Region = "us-east-1",
                SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                ZoneType = "private",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rancher2.GlobalDnsProvider;
    import com.pulumi.rancher2.GlobalDnsProviderArgs;
    import com.pulumi.rancher2.inputs.GlobalDnsProviderRoute53ConfigArgs;
    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) {
            var foo = new GlobalDnsProvider("foo", GlobalDnsProviderArgs.builder()        
                .rootDomain("example.com")
                .route53Config(GlobalDnsProviderRoute53ConfigArgs.builder()
                    .accessKey("YYYYYYYYYYYYYYYYYYYY")
                    .region("us-east-1")
                    .secretKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
                    .zoneType("private")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Create a new rancher2 Global DNS Provider - route53
      foo:
        type: rancher2:GlobalDnsProvider
        properties:
          rootDomain: example.com
          route53Config:
            accessKey: YYYYYYYYYYYYYYYYYYYY
            region: us-east-1
            secretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            zoneType: private
    

    Create GlobalDnsProvider Resource

    new GlobalDnsProvider(name: string, args: GlobalDnsProviderArgs, opts?: CustomResourceOptions);
    @overload
    def GlobalDnsProvider(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          alidns_config: Optional[GlobalDnsProviderAlidnsConfigArgs] = None,
                          annotations: Optional[Mapping[str, Any]] = None,
                          cloudflare_config: Optional[GlobalDnsProviderCloudflareConfigArgs] = None,
                          labels: Optional[Mapping[str, Any]] = None,
                          name: Optional[str] = None,
                          root_domain: Optional[str] = None,
                          route53_config: Optional[GlobalDnsProviderRoute53ConfigArgs] = None)
    @overload
    def GlobalDnsProvider(resource_name: str,
                          args: GlobalDnsProviderArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewGlobalDnsProvider(ctx *Context, name string, args GlobalDnsProviderArgs, opts ...ResourceOption) (*GlobalDnsProvider, error)
    public GlobalDnsProvider(string name, GlobalDnsProviderArgs args, CustomResourceOptions? opts = null)
    public GlobalDnsProvider(String name, GlobalDnsProviderArgs args)
    public GlobalDnsProvider(String name, GlobalDnsProviderArgs args, CustomResourceOptions options)
    
    type: rancher2:GlobalDnsProvider
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args GlobalDnsProviderArgs
    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 GlobalDnsProviderArgs
    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 GlobalDnsProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GlobalDnsProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GlobalDnsProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    GlobalDnsProvider Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The GlobalDnsProvider resource accepts the following input properties:

    RootDomain string
    The user ID to assign Global DNS Provider (string)
    AlidnsConfig GlobalDnsProviderAlidnsConfig
    Annotations Dictionary<string, object>
    Annotations for Global DNS Provider (map)
    CloudflareConfig GlobalDnsProviderCloudflareConfig
    Labels Dictionary<string, object>
    Labels for Global DNS Provider (map)
    Name string
    The name of the Global DNS Provider (string)
    Route53Config GlobalDnsProviderRoute53Config
    RootDomain string
    The user ID to assign Global DNS Provider (string)
    AlidnsConfig GlobalDnsProviderAlidnsConfigArgs
    Annotations map[string]interface{}
    Annotations for Global DNS Provider (map)
    CloudflareConfig GlobalDnsProviderCloudflareConfigArgs
    Labels map[string]interface{}
    Labels for Global DNS Provider (map)
    Name string
    The name of the Global DNS Provider (string)
    Route53Config GlobalDnsProviderRoute53ConfigArgs
    rootDomain String
    The user ID to assign Global DNS Provider (string)
    alidnsConfig GlobalDnsProviderAlidnsConfig
    annotations Map<String,Object>
    Annotations for Global DNS Provider (map)
    cloudflareConfig GlobalDnsProviderCloudflareConfig
    labels Map<String,Object>
    Labels for Global DNS Provider (map)
    name String
    The name of the Global DNS Provider (string)
    route53Config GlobalDnsProviderRoute53Config
    rootDomain string
    The user ID to assign Global DNS Provider (string)
    alidnsConfig GlobalDnsProviderAlidnsConfig
    annotations {[key: string]: any}
    Annotations for Global DNS Provider (map)
    cloudflareConfig GlobalDnsProviderCloudflareConfig
    labels {[key: string]: any}
    Labels for Global DNS Provider (map)
    name string
    The name of the Global DNS Provider (string)
    route53Config GlobalDnsProviderRoute53Config
    root_domain str
    The user ID to assign Global DNS Provider (string)
    alidns_config GlobalDnsProviderAlidnsConfigArgs
    annotations Mapping[str, Any]
    Annotations for Global DNS Provider (map)
    cloudflare_config GlobalDnsProviderCloudflareConfigArgs
    labels Mapping[str, Any]
    Labels for Global DNS Provider (map)
    name str
    The name of the Global DNS Provider (string)
    route53_config GlobalDnsProviderRoute53ConfigArgs
    rootDomain String
    The user ID to assign Global DNS Provider (string)
    alidnsConfig Property Map
    annotations Map<Any>
    Annotations for Global DNS Provider (map)
    cloudflareConfig Property Map
    labels Map<Any>
    Labels for Global DNS Provider (map)
    name String
    The name of the Global DNS Provider (string)
    route53Config Property Map

    Outputs

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

    DnsProvider string
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    Id string
    The provider-assigned unique ID for this managed resource.
    DnsProvider string
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    Id string
    The provider-assigned unique ID for this managed resource.
    dnsProvider String
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    id String
    The provider-assigned unique ID for this managed resource.
    dnsProvider string
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    id string
    The provider-assigned unique ID for this managed resource.
    dns_provider str
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    id str
    The provider-assigned unique ID for this managed resource.
    dnsProvider String
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GlobalDnsProvider Resource

    Get an existing GlobalDnsProvider 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?: GlobalDnsProviderState, opts?: CustomResourceOptions): GlobalDnsProvider
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alidns_config: Optional[GlobalDnsProviderAlidnsConfigArgs] = None,
            annotations: Optional[Mapping[str, Any]] = None,
            cloudflare_config: Optional[GlobalDnsProviderCloudflareConfigArgs] = None,
            dns_provider: Optional[str] = None,
            labels: Optional[Mapping[str, Any]] = None,
            name: Optional[str] = None,
            root_domain: Optional[str] = None,
            route53_config: Optional[GlobalDnsProviderRoute53ConfigArgs] = None) -> GlobalDnsProvider
    func GetGlobalDnsProvider(ctx *Context, name string, id IDInput, state *GlobalDnsProviderState, opts ...ResourceOption) (*GlobalDnsProvider, error)
    public static GlobalDnsProvider Get(string name, Input<string> id, GlobalDnsProviderState? state, CustomResourceOptions? opts = null)
    public static GlobalDnsProvider get(String name, Output<String> id, GlobalDnsProviderState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AlidnsConfig GlobalDnsProviderAlidnsConfig
    Annotations Dictionary<string, object>
    Annotations for Global DNS Provider (map)
    CloudflareConfig GlobalDnsProviderCloudflareConfig
    DnsProvider string
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    Labels Dictionary<string, object>
    Labels for Global DNS Provider (map)
    Name string
    The name of the Global DNS Provider (string)
    RootDomain string
    The user ID to assign Global DNS Provider (string)
    Route53Config GlobalDnsProviderRoute53Config
    AlidnsConfig GlobalDnsProviderAlidnsConfigArgs
    Annotations map[string]interface{}
    Annotations for Global DNS Provider (map)
    CloudflareConfig GlobalDnsProviderCloudflareConfigArgs
    DnsProvider string
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    Labels map[string]interface{}
    Labels for Global DNS Provider (map)
    Name string
    The name of the Global DNS Provider (string)
    RootDomain string
    The user ID to assign Global DNS Provider (string)
    Route53Config GlobalDnsProviderRoute53ConfigArgs
    alidnsConfig GlobalDnsProviderAlidnsConfig
    annotations Map<String,Object>
    Annotations for Global DNS Provider (map)
    cloudflareConfig GlobalDnsProviderCloudflareConfig
    dnsProvider String
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    labels Map<String,Object>
    Labels for Global DNS Provider (map)
    name String
    The name of the Global DNS Provider (string)
    rootDomain String
    The user ID to assign Global DNS Provider (string)
    route53Config GlobalDnsProviderRoute53Config
    alidnsConfig GlobalDnsProviderAlidnsConfig
    annotations {[key: string]: any}
    Annotations for Global DNS Provider (map)
    cloudflareConfig GlobalDnsProviderCloudflareConfig
    dnsProvider string
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    labels {[key: string]: any}
    Labels for Global DNS Provider (map)
    name string
    The name of the Global DNS Provider (string)
    rootDomain string
    The user ID to assign Global DNS Provider (string)
    route53Config GlobalDnsProviderRoute53Config
    alidns_config GlobalDnsProviderAlidnsConfigArgs
    annotations Mapping[str, Any]
    Annotations for Global DNS Provider (map)
    cloudflare_config GlobalDnsProviderCloudflareConfigArgs
    dns_provider str
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    labels Mapping[str, Any]
    Labels for Global DNS Provider (map)
    name str
    The name of the Global DNS Provider (string)
    root_domain str
    The user ID to assign Global DNS Provider (string)
    route53_config GlobalDnsProviderRoute53ConfigArgs
    alidnsConfig Property Map
    annotations Map<Any>
    Annotations for Global DNS Provider (map)
    cloudflareConfig Property Map
    dnsProvider String
    (Computed) The Global DNS Provider alidns, cloudflare, route53 (string)
    labels Map<Any>
    Labels for Global DNS Provider (map)
    name String
    The name of the Global DNS Provider (string)
    rootDomain String
    The user ID to assign Global DNS Provider (string)
    route53Config Property Map

    Supporting Types

    GlobalDnsProviderAlidnsConfig, GlobalDnsProviderAlidnsConfigArgs

    AccessKey string
    The AWS Access key (string)
    SecretKey string
    The AWS Secret key (string)
    AccessKey string
    The AWS Access key (string)
    SecretKey string
    The AWS Secret key (string)
    accessKey String
    The AWS Access key (string)
    secretKey String
    The AWS Secret key (string)
    accessKey string
    The AWS Access key (string)
    secretKey string
    The AWS Secret key (string)
    access_key str
    The AWS Access key (string)
    secret_key str
    The AWS Secret key (string)
    accessKey String
    The AWS Access key (string)
    secretKey String
    The AWS Secret key (string)

    GlobalDnsProviderCloudflareConfig, GlobalDnsProviderCloudflareConfigArgs

    ApiEmail string
    The CloudFlare API Email (string)
    ApiKey string
    The CloudFlare API Key (string)
    ProxySetting bool
    CloudFlare Proxy Setting. Default: false (bool)
    ApiEmail string
    The CloudFlare API Email (string)
    ApiKey string
    The CloudFlare API Key (string)
    ProxySetting bool
    CloudFlare Proxy Setting. Default: false (bool)
    apiEmail String
    The CloudFlare API Email (string)
    apiKey String
    The CloudFlare API Key (string)
    proxySetting Boolean
    CloudFlare Proxy Setting. Default: false (bool)
    apiEmail string
    The CloudFlare API Email (string)
    apiKey string
    The CloudFlare API Key (string)
    proxySetting boolean
    CloudFlare Proxy Setting. Default: false (bool)
    api_email str
    The CloudFlare API Email (string)
    api_key str
    The CloudFlare API Key (string)
    proxy_setting bool
    CloudFlare Proxy Setting. Default: false (bool)
    apiEmail String
    The CloudFlare API Email (string)
    apiKey String
    The CloudFlare API Key (string)
    proxySetting Boolean
    CloudFlare Proxy Setting. Default: false (bool)

    GlobalDnsProviderRoute53Config, GlobalDnsProviderRoute53ConfigArgs

    AccessKey string
    The AWS Access key (string)
    SecretKey string
    The AWS Secret key (string)
    CredentialsPath string
    The AWS credentials path. Default: "/.aws" (string)
    Region string
    The AWS Region. Default: "us-west-2" (string)
    RoleArn string
    The AWS Role ARN (string)
    ZoneType string
    The Route53 zone type public, private. Default: "public" (string)
    AccessKey string
    The AWS Access key (string)
    SecretKey string
    The AWS Secret key (string)
    CredentialsPath string
    The AWS credentials path. Default: "/.aws" (string)
    Region string
    The AWS Region. Default: "us-west-2" (string)
    RoleArn string
    The AWS Role ARN (string)
    ZoneType string
    The Route53 zone type public, private. Default: "public" (string)
    accessKey String
    The AWS Access key (string)
    secretKey String
    The AWS Secret key (string)
    credentialsPath String
    The AWS credentials path. Default: "/.aws" (string)
    region String
    The AWS Region. Default: "us-west-2" (string)
    roleArn String
    The AWS Role ARN (string)
    zoneType String
    The Route53 zone type public, private. Default: "public" (string)
    accessKey string
    The AWS Access key (string)
    secretKey string
    The AWS Secret key (string)
    credentialsPath string
    The AWS credentials path. Default: "/.aws" (string)
    region string
    The AWS Region. Default: "us-west-2" (string)
    roleArn string
    The AWS Role ARN (string)
    zoneType string
    The Route53 zone type public, private. Default: "public" (string)
    access_key str
    The AWS Access key (string)
    secret_key str
    The AWS Secret key (string)
    credentials_path str
    The AWS credentials path. Default: "/.aws" (string)
    region str
    The AWS Region. Default: "us-west-2" (string)
    role_arn str
    The AWS Role ARN (string)
    zone_type str
    The Route53 zone type public, private. Default: "public" (string)
    accessKey String
    The AWS Access key (string)
    secretKey String
    The AWS Secret key (string)
    credentialsPath String
    The AWS credentials path. Default: "/.aws" (string)
    region String
    The AWS Region. Default: "us-west-2" (string)
    roleArn String
    The AWS Role ARN (string)
    zoneType String
    The Route53 zone type public, private. Default: "public" (string)

    Import

    Global DNS Providers can be imported using the Rancher Global DNS Provider ID

    $ pulumi import rancher2:index/globalDnsProvider:GlobalDnsProvider foo <global_dns_provider_id>
    

    Package Details

    Repository
    Rancher2 pulumi/pulumi-rancher2
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rancher2 Terraform Provider.
    rancher2 logo
    Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi