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

aviatrix.AviatrixSegmentationSecurityDomain

Explore with Pulumi AI

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

    The aviatrix_segmentation_security_domain resource handles creation of Transit Segmentation Security Domains.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix Segmentation Security Domain
        var testSegmentationSecurityDomain = new Aviatrix.AviatrixSegmentationSecurityDomain("testSegmentationSecurityDomain", new()
        {
            DomainName = "domain-a",
        });
    
    });
    
    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.NewAviatrixSegmentationSecurityDomain(ctx, "testSegmentationSecurityDomain", &aviatrix.AviatrixSegmentationSecurityDomainArgs{
    			DomainName: pulumi.String("domain-a"),
    		})
    		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.AviatrixSegmentationSecurityDomain;
    import com.pulumi.aviatrix.AviatrixSegmentationSecurityDomainArgs;
    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 testSegmentationSecurityDomain = new AviatrixSegmentationSecurityDomain("testSegmentationSecurityDomain", AviatrixSegmentationSecurityDomainArgs.builder()        
                .domainName("domain-a")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix Segmentation Security Domain
    test_segmentation_security_domain = aviatrix.AviatrixSegmentationSecurityDomain("testSegmentationSecurityDomain", domain_name="domain-a")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Create an Aviatrix Segmentation Security Domain
    const testSegmentationSecurityDomain = new aviatrix.AviatrixSegmentationSecurityDomain("test_segmentation_security_domain", {
        domainName: "domain-a",
    });
    
    resources:
      # Create an Aviatrix Segmentation Security Domain
      testSegmentationSecurityDomain:
        type: aviatrix:AviatrixSegmentationSecurityDomain
        properties:
          domainName: domain-a
    

    Create AviatrixSegmentationSecurityDomain Resource

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

    Constructor syntax

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

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

    DomainName string
    Name of the Security Domain.
    DomainName string
    Name of the Security Domain.
    domainName String
    Name of the Security Domain.
    domainName string
    Name of the Security Domain.
    domain_name str
    Name of the Security Domain.
    domainName String
    Name of the Security Domain.

    Outputs

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

    Get an existing AviatrixSegmentationSecurityDomain 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?: AviatrixSegmentationSecurityDomainState, opts?: CustomResourceOptions): AviatrixSegmentationSecurityDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domain_name: Optional[str] = None) -> AviatrixSegmentationSecurityDomain
    func GetAviatrixSegmentationSecurityDomain(ctx *Context, name string, id IDInput, state *AviatrixSegmentationSecurityDomainState, opts ...ResourceOption) (*AviatrixSegmentationSecurityDomain, error)
    public static AviatrixSegmentationSecurityDomain Get(string name, Input<string> id, AviatrixSegmentationSecurityDomainState? state, CustomResourceOptions? opts = null)
    public static AviatrixSegmentationSecurityDomain get(String name, Output<String> id, AviatrixSegmentationSecurityDomainState 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:
    DomainName string
    Name of the Security Domain.
    DomainName string
    Name of the Security Domain.
    domainName String
    Name of the Security Domain.
    domainName string
    Name of the Security Domain.
    domain_name str
    Name of the Security Domain.
    domainName String
    Name of the Security Domain.

    Import

    aviatrix_segmentation_security_domain can be imported using the domain_name, e.g.

     $ pulumi import aviatrix:index/aviatrixSegmentationSecurityDomain:AviatrixSegmentationSecurityDomain test domain_name
    

    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