1. Packages
  2. Aviatrix
  3. API Docs
  4. AviatrixControllerCertDomainConfig
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.AviatrixControllerCertDomainConfig

Explore with Pulumi AI

aviatrix logo
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

    The aviatrix_controller_cert_domain_config resource allows management of an Aviatrix Controller’s cert domain config. This resource is available as of provider version R2.19+.

    !> WARNING: Changing the Controller’s cert domain config causes all other API calls to the controller to fail. If multiple other resources are created with the aviatrix_controller_cert_domain_config resource, a dependency on the aviatrix_controller_cert_domain_config resource must be added.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix controller cert domain config
        var test = new Aviatrix.AviatrixControllerCertDomainConfig("test", new()
        {
            CertDomain = "abc.com",
        });
    
    });
    
    package main
    
    import (
    	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aviatrix.NewAviatrixControllerCertDomainConfig(ctx, "test", &aviatrix.AviatrixControllerCertDomainConfigArgs{
    			CertDomain: pulumi.String("abc.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aviatrix.AviatrixControllerCertDomainConfig;
    import com.pulumi.aviatrix.AviatrixControllerCertDomainConfigArgs;
    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 test = new AviatrixControllerCertDomainConfig("test", AviatrixControllerCertDomainConfigArgs.builder()        
                .certDomain("abc.com")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix controller cert domain config
    test = aviatrix.AviatrixControllerCertDomainConfig("test", cert_domain="abc.com")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Create an Aviatrix controller cert domain config
    const test = new aviatrix.AviatrixControllerCertDomainConfig("test", {
        certDomain: "abc.com",
    });
    
    resources:
      # Create an Aviatrix controller cert domain config
      test:
        type: aviatrix:AviatrixControllerCertDomainConfig
        properties:
          certDomain: abc.com
    

    Create AviatrixControllerCertDomainConfig Resource

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

    Constructor syntax

    new AviatrixControllerCertDomainConfig(name: string, args?: AviatrixControllerCertDomainConfigArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixControllerCertDomainConfig(resource_name: str,
                                           args: Optional[AviatrixControllerCertDomainConfigArgs] = None,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AviatrixControllerCertDomainConfig(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           cert_domain: Optional[str] = None)
    func NewAviatrixControllerCertDomainConfig(ctx *Context, name string, args *AviatrixControllerCertDomainConfigArgs, opts ...ResourceOption) (*AviatrixControllerCertDomainConfig, error)
    public AviatrixControllerCertDomainConfig(string name, AviatrixControllerCertDomainConfigArgs? args = null, CustomResourceOptions? opts = null)
    public AviatrixControllerCertDomainConfig(String name, AviatrixControllerCertDomainConfigArgs args)
    public AviatrixControllerCertDomainConfig(String name, AviatrixControllerCertDomainConfigArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixControllerCertDomainConfig
    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 AviatrixControllerCertDomainConfigArgs
    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 AviatrixControllerCertDomainConfigArgs
    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 AviatrixControllerCertDomainConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixControllerCertDomainConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixControllerCertDomainConfigArgs
    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 aviatrixControllerCertDomainConfigResource = new Aviatrix.AviatrixControllerCertDomainConfig("aviatrixControllerCertDomainConfigResource", new()
    {
        CertDomain = "string",
    });
    
    example, err := aviatrix.NewAviatrixControllerCertDomainConfig(ctx, "aviatrixControllerCertDomainConfigResource", &aviatrix.AviatrixControllerCertDomainConfigArgs{
    	CertDomain: pulumi.String("string"),
    })
    
    var aviatrixControllerCertDomainConfigResource = new AviatrixControllerCertDomainConfig("aviatrixControllerCertDomainConfigResource", AviatrixControllerCertDomainConfigArgs.builder()
        .certDomain("string")
        .build());
    
    aviatrix_controller_cert_domain_config_resource = aviatrix.AviatrixControllerCertDomainConfig("aviatrixControllerCertDomainConfigResource", cert_domain="string")
    
    const aviatrixControllerCertDomainConfigResource = new aviatrix.AviatrixControllerCertDomainConfig("aviatrixControllerCertDomainConfigResource", {certDomain: "string"});
    
    type: aviatrix:AviatrixControllerCertDomainConfig
    properties:
        certDomain: string
    

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

    CertDomain string
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    CertDomain string
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    certDomain String
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    certDomain string
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    cert_domain str
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    certDomain String
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AviatrixControllerCertDomainConfig 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 AviatrixControllerCertDomainConfig Resource

    Get an existing AviatrixControllerCertDomainConfig 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?: AviatrixControllerCertDomainConfigState, opts?: CustomResourceOptions): AviatrixControllerCertDomainConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cert_domain: Optional[str] = None) -> AviatrixControllerCertDomainConfig
    func GetAviatrixControllerCertDomainConfig(ctx *Context, name string, id IDInput, state *AviatrixControllerCertDomainConfigState, opts ...ResourceOption) (*AviatrixControllerCertDomainConfig, error)
    public static AviatrixControllerCertDomainConfig Get(string name, Input<string> id, AviatrixControllerCertDomainConfigState? state, CustomResourceOptions? opts = null)
    public static AviatrixControllerCertDomainConfig get(String name, Output<String> id, AviatrixControllerCertDomainConfigState 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:
    CertDomain string
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    CertDomain string
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    certDomain String
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    certDomain string
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    cert_domain str
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".
    certDomain String
    Domain name that is used in FQDN for generating cert. Default value: "aviatrixnetwork.com".

    Import

    aviatrix_controller_cert_domain_config can be imported using controller IP, e.g. controller IP is 10.11.12.13

     $ pulumi import aviatrix:index/aviatrixControllerCertDomainConfig:AviatrixControllerCertDomainConfig test 10-11-12-13
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    aviatrix astipkovits/pulumi-aviatrix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aviatrix Terraform Provider.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix