1. Packages
  2. Vra Provider
  3. API Docs
  4. NetworkProfile
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

vra.NetworkProfile

Explore with Pulumi AI

vra logo
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

    Example Usage

    S

    This is an example of how to create a network profile resource.

    Network profile:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const simple = new vra.NetworkProfile("simple", {
        description: "Simple Network Profile with no isolation.",
        regionId: data.vra_region["this"].id,
        fabricNetworkIds: [
            data.vra_fabric_network.subnet_1.id,
            data.vra_fabric_network.subnet_2.id,
        ],
        isolationType: "NONE",
        tags: [{
            key: "foo",
            value: "bar",
        }],
    });
    
    import pulumi
    import pulumi_vra as vra
    
    simple = vra.NetworkProfile("simple",
        description="Simple Network Profile with no isolation.",
        region_id=data["vra_region"]["this"]["id"],
        fabric_network_ids=[
            data["vra_fabric_network"]["subnet_1"]["id"],
            data["vra_fabric_network"]["subnet_2"]["id"],
        ],
        isolation_type="NONE",
        tags=[{
            "key": "foo",
            "value": "bar",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vra.NewNetworkProfile(ctx, "simple", &vra.NetworkProfileArgs{
    			Description: pulumi.String("Simple Network Profile with no isolation."),
    			RegionId:    pulumi.Any(data.Vra_region.This.Id),
    			FabricNetworkIds: pulumi.StringArray{
    				data.Vra_fabric_network.Subnet_1.Id,
    				data.Vra_fabric_network.Subnet_2.Id,
    			},
    			IsolationType: pulumi.String("NONE"),
    			Tags: vra.NetworkProfileTagArray{
    				&vra.NetworkProfileTagArgs{
    					Key:   pulumi.String("foo"),
    					Value: pulumi.String("bar"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vra = Pulumi.Vra;
    
    return await Deployment.RunAsync(() => 
    {
        var simple = new Vra.NetworkProfile("simple", new()
        {
            Description = "Simple Network Profile with no isolation.",
            RegionId = data.Vra_region.This.Id,
            FabricNetworkIds = new[]
            {
                data.Vra_fabric_network.Subnet_1.Id,
                data.Vra_fabric_network.Subnet_2.Id,
            },
            IsolationType = "NONE",
            Tags = new[]
            {
                new Vra.Inputs.NetworkProfileTagArgs
                {
                    Key = "foo",
                    Value = "bar",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.NetworkProfile;
    import com.pulumi.vra.NetworkProfileArgs;
    import com.pulumi.vra.inputs.NetworkProfileTagArgs;
    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 simple = new NetworkProfile("simple", NetworkProfileArgs.builder()
                .description("Simple Network Profile with no isolation.")
                .regionId(data.vra_region().this().id())
                .fabricNetworkIds(            
                    data.vra_fabric_network().subnet_1().id(),
                    data.vra_fabric_network().subnet_2().id())
                .isolationType("NONE")
                .tags(NetworkProfileTagArgs.builder()
                    .key("foo")
                    .value("bar")
                    .build())
                .build());
    
        }
    }
    
    resources:
      simple:
        type: vra:NetworkProfile
        properties:
          description: Simple Network Profile with no isolation.
          regionId: ${data.vra_region.this.id}
          fabricNetworkIds:
            - ${data.vra_fabric_network.subnet_1.id}
            - ${data.vra_fabric_network.subnet_2.id}
          isolationType: NONE
          tags:
            - key: foo
              value: bar
    

    A network profile resource supports the following arguments:

    Create NetworkProfile Resource

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

    Constructor syntax

    new NetworkProfile(name: string, args: NetworkProfileArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkProfile(resource_name: str,
                       args: NetworkProfileArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkProfile(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       region_id: Optional[str] = None,
                       isolated_network_domain_id: Optional[str] = None,
                       fabric_network_ids: Optional[Sequence[str]] = None,
                       isolated_external_fabric_network_id: Optional[str] = None,
                       isolated_network_cidr_prefix: Optional[float] = None,
                       isolated_network_domain_cidr: Optional[str] = None,
                       custom_properties: Optional[Mapping[str, str]] = None,
                       isolation_type: Optional[str] = None,
                       name: Optional[str] = None,
                       network_profile_id: Optional[str] = None,
                       description: Optional[str] = None,
                       security_group_ids: Optional[Sequence[str]] = None,
                       tags: Optional[Sequence[NetworkProfileTagArgs]] = None)
    func NewNetworkProfile(ctx *Context, name string, args NetworkProfileArgs, opts ...ResourceOption) (*NetworkProfile, error)
    public NetworkProfile(string name, NetworkProfileArgs args, CustomResourceOptions? opts = null)
    public NetworkProfile(String name, NetworkProfileArgs args)
    public NetworkProfile(String name, NetworkProfileArgs args, CustomResourceOptions options)
    
    type: vra:NetworkProfile
    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 NetworkProfileArgs
    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 NetworkProfileArgs
    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 NetworkProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkProfileArgs
    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 networkProfileResource = new Vra.NetworkProfile("networkProfileResource", new()
    {
        RegionId = "string",
        IsolatedNetworkDomainId = "string",
        FabricNetworkIds = new[]
        {
            "string",
        },
        IsolatedExternalFabricNetworkId = "string",
        IsolatedNetworkCidrPrefix = 0,
        IsolatedNetworkDomainCidr = "string",
        CustomProperties = 
        {
            { "string", "string" },
        },
        IsolationType = "string",
        Name = "string",
        NetworkProfileId = "string",
        Description = "string",
        SecurityGroupIds = new[]
        {
            "string",
        },
        Tags = new[]
        {
            new Vra.Inputs.NetworkProfileTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := vra.NewNetworkProfile(ctx, "networkProfileResource", &vra.NetworkProfileArgs{
    	RegionId:                pulumi.String("string"),
    	IsolatedNetworkDomainId: pulumi.String("string"),
    	FabricNetworkIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IsolatedExternalFabricNetworkId: pulumi.String("string"),
    	IsolatedNetworkCidrPrefix:       pulumi.Float64(0),
    	IsolatedNetworkDomainCidr:       pulumi.String("string"),
    	CustomProperties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsolationType:    pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	NetworkProfileId: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: vra.NetworkProfileTagArray{
    		&vra.NetworkProfileTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var networkProfileResource = new NetworkProfile("networkProfileResource", NetworkProfileArgs.builder()
        .regionId("string")
        .isolatedNetworkDomainId("string")
        .fabricNetworkIds("string")
        .isolatedExternalFabricNetworkId("string")
        .isolatedNetworkCidrPrefix(0)
        .isolatedNetworkDomainCidr("string")
        .customProperties(Map.of("string", "string"))
        .isolationType("string")
        .name("string")
        .networkProfileId("string")
        .description("string")
        .securityGroupIds("string")
        .tags(NetworkProfileTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    network_profile_resource = vra.NetworkProfile("networkProfileResource",
        region_id="string",
        isolated_network_domain_id="string",
        fabric_network_ids=["string"],
        isolated_external_fabric_network_id="string",
        isolated_network_cidr_prefix=0,
        isolated_network_domain_cidr="string",
        custom_properties={
            "string": "string",
        },
        isolation_type="string",
        name="string",
        network_profile_id="string",
        description="string",
        security_group_ids=["string"],
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const networkProfileResource = new vra.NetworkProfile("networkProfileResource", {
        regionId: "string",
        isolatedNetworkDomainId: "string",
        fabricNetworkIds: ["string"],
        isolatedExternalFabricNetworkId: "string",
        isolatedNetworkCidrPrefix: 0,
        isolatedNetworkDomainCidr: "string",
        customProperties: {
            string: "string",
        },
        isolationType: "string",
        name: "string",
        networkProfileId: "string",
        description: "string",
        securityGroupIds: ["string"],
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: vra:NetworkProfile
    properties:
        customProperties:
            string: string
        description: string
        fabricNetworkIds:
            - string
        isolatedExternalFabricNetworkId: string
        isolatedNetworkCidrPrefix: 0
        isolatedNetworkDomainCidr: string
        isolatedNetworkDomainId: string
        isolationType: string
        name: string
        networkProfileId: string
        regionId: string
        securityGroupIds:
            - string
        tags:
            - key: string
              value: string
    

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

    RegionId string
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    CustomProperties Dictionary<string, string>
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    Description string
    A human-friendly description.
    FabricNetworkIds List<string>
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    IsolatedExternalFabricNetworkId string
    The id of the fabric network used for outbound access.
    IsolatedNetworkCidrPrefix double
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    IsolatedNetworkDomainCidr string
    CIDR of the isolation network domain.
    IsolatedNetworkDomainId string
    The id of the network domain used for creating isolated networks.
    IsolationType string
    Specifies the isolation type e.g. none, subnet or security group
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    NetworkProfileId string
    SecurityGroupIds List<string>
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    Tags List<NetworkProfileTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    RegionId string
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    CustomProperties map[string]string
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    Description string
    A human-friendly description.
    FabricNetworkIds []string
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    IsolatedExternalFabricNetworkId string
    The id of the fabric network used for outbound access.
    IsolatedNetworkCidrPrefix float64
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    IsolatedNetworkDomainCidr string
    CIDR of the isolation network domain.
    IsolatedNetworkDomainId string
    The id of the network domain used for creating isolated networks.
    IsolationType string
    Specifies the isolation type e.g. none, subnet or security group
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    NetworkProfileId string
    SecurityGroupIds []string
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    Tags []NetworkProfileTagArgs
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    regionId String
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    customProperties Map<String,String>
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description String
    A human-friendly description.
    fabricNetworkIds List<String>
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolatedExternalFabricNetworkId String
    The id of the fabric network used for outbound access.
    isolatedNetworkCidrPrefix Double
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolatedNetworkDomainCidr String
    CIDR of the isolation network domain.
    isolatedNetworkDomainId String
    The id of the network domain used for creating isolated networks.
    isolationType String
    Specifies the isolation type e.g. none, subnet or security group
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    networkProfileId String
    securityGroupIds List<String>
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags List<NetworkProfileTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    regionId string
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    customProperties {[key: string]: string}
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description string
    A human-friendly description.
    fabricNetworkIds string[]
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolatedExternalFabricNetworkId string
    The id of the fabric network used for outbound access.
    isolatedNetworkCidrPrefix number
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolatedNetworkDomainCidr string
    CIDR of the isolation network domain.
    isolatedNetworkDomainId string
    The id of the network domain used for creating isolated networks.
    isolationType string
    Specifies the isolation type e.g. none, subnet or security group
    name string
    A human-friendly name used as an identifier in APIs that support this option.
    networkProfileId string
    securityGroupIds string[]
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags NetworkProfileTag[]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    region_id str
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    custom_properties Mapping[str, str]
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description str
    A human-friendly description.
    fabric_network_ids Sequence[str]
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolated_external_fabric_network_id str
    The id of the fabric network used for outbound access.
    isolated_network_cidr_prefix float
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolated_network_domain_cidr str
    CIDR of the isolation network domain.
    isolated_network_domain_id str
    The id of the network domain used for creating isolated networks.
    isolation_type str
    Specifies the isolation type e.g. none, subnet or security group
    name str
    A human-friendly name used as an identifier in APIs that support this option.
    network_profile_id str
    security_group_ids Sequence[str]
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags Sequence[NetworkProfileTagArgs]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    regionId String
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    customProperties Map<String>
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description String
    A human-friendly description.
    fabricNetworkIds List<String>
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolatedExternalFabricNetworkId String
    The id of the fabric network used for outbound access.
    isolatedNetworkCidrPrefix Number
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolatedNetworkDomainCidr String
    CIDR of the isolation network domain.
    isolatedNetworkDomainId String
    The id of the network domain used for creating isolated networks.
    isolationType String
    Specifies the isolation type e.g. none, subnet or security group
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    networkProfileId String
    securityGroupIds List<String>
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags List<Property Map>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]

    Outputs

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

    CloudAccountId string
    The ID of the cloud account this entity belongs to.
    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    ExternalRegionId string
    The external regionId of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<NetworkProfileLink>
    HATEOAS of the entity
    OrgId string
    ID of organization that entity belongs to.
    OrganizationId string
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    Owner string
    Email of the user that owns the entity.
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    CloudAccountId string
    The ID of the cloud account this entity belongs to.
    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    ExternalRegionId string
    The external regionId of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []NetworkProfileLink
    HATEOAS of the entity
    OrgId string
    ID of organization that entity belongs to.
    OrganizationId string
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    Owner string
    Email of the user that owns the entity.
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    The ID of the cloud account this entity belongs to.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    externalRegionId String
    The external regionId of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<NetworkProfileLink>
    HATEOAS of the entity
    orgId String
    ID of organization that entity belongs to.
    organizationId String
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner String
    Email of the user that owns the entity.
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId string
    The ID of the cloud account this entity belongs to.
    createdAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    externalRegionId string
    The external regionId of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    links NetworkProfileLink[]
    HATEOAS of the entity
    orgId string
    ID of organization that entity belongs to.
    organizationId string
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner string
    Email of the user that owns the entity.
    updatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloud_account_id str
    The ID of the cloud account this entity belongs to.
    created_at str
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    external_region_id str
    The external regionId of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[NetworkProfileLink]
    HATEOAS of the entity
    org_id str
    ID of organization that entity belongs to.
    organization_id str
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner str
    Email of the user that owns the entity.
    updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    The ID of the cloud account this entity belongs to.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    externalRegionId String
    The external regionId of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<Property Map>
    HATEOAS of the entity
    orgId String
    ID of organization that entity belongs to.
    organizationId String
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner String
    Email of the user that owns the entity.
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.

    Look up Existing NetworkProfile Resource

    Get an existing NetworkProfile 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?: NetworkProfileState, opts?: CustomResourceOptions): NetworkProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            custom_properties: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            external_region_id: Optional[str] = None,
            fabric_network_ids: Optional[Sequence[str]] = None,
            isolated_external_fabric_network_id: Optional[str] = None,
            isolated_network_cidr_prefix: Optional[float] = None,
            isolated_network_domain_cidr: Optional[str] = None,
            isolated_network_domain_id: Optional[str] = None,
            isolation_type: Optional[str] = None,
            links: Optional[Sequence[NetworkProfileLinkArgs]] = None,
            name: Optional[str] = None,
            network_profile_id: Optional[str] = None,
            org_id: Optional[str] = None,
            organization_id: Optional[str] = None,
            owner: Optional[str] = None,
            region_id: Optional[str] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[NetworkProfileTagArgs]] = None,
            updated_at: Optional[str] = None) -> NetworkProfile
    func GetNetworkProfile(ctx *Context, name string, id IDInput, state *NetworkProfileState, opts ...ResourceOption) (*NetworkProfile, error)
    public static NetworkProfile Get(string name, Input<string> id, NetworkProfileState? state, CustomResourceOptions? opts = null)
    public static NetworkProfile get(String name, Output<String> id, NetworkProfileState state, CustomResourceOptions options)
    resources:  _:    type: vra:NetworkProfile    get:      id: ${id}
    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:
    CloudAccountId string
    The ID of the cloud account this entity belongs to.
    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    CustomProperties Dictionary<string, string>
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    Description string
    A human-friendly description.
    ExternalRegionId string
    The external regionId of the resource.
    FabricNetworkIds List<string>
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    IsolatedExternalFabricNetworkId string
    The id of the fabric network used for outbound access.
    IsolatedNetworkCidrPrefix double
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    IsolatedNetworkDomainCidr string
    CIDR of the isolation network domain.
    IsolatedNetworkDomainId string
    The id of the network domain used for creating isolated networks.
    IsolationType string
    Specifies the isolation type e.g. none, subnet or security group
    Links List<NetworkProfileLink>
    HATEOAS of the entity
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    NetworkProfileId string
    OrgId string
    ID of organization that entity belongs to.
    OrganizationId string
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    Owner string
    Email of the user that owns the entity.
    RegionId string
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    SecurityGroupIds List<string>
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    Tags List<NetworkProfileTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    CloudAccountId string
    The ID of the cloud account this entity belongs to.
    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    CustomProperties map[string]string
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    Description string
    A human-friendly description.
    ExternalRegionId string
    The external regionId of the resource.
    FabricNetworkIds []string
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    IsolatedExternalFabricNetworkId string
    The id of the fabric network used for outbound access.
    IsolatedNetworkCidrPrefix float64
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    IsolatedNetworkDomainCidr string
    CIDR of the isolation network domain.
    IsolatedNetworkDomainId string
    The id of the network domain used for creating isolated networks.
    IsolationType string
    Specifies the isolation type e.g. none, subnet or security group
    Links []NetworkProfileLinkArgs
    HATEOAS of the entity
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    NetworkProfileId string
    OrgId string
    ID of organization that entity belongs to.
    OrganizationId string
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    Owner string
    Email of the user that owns the entity.
    RegionId string
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    SecurityGroupIds []string
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    Tags []NetworkProfileTagArgs
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    The ID of the cloud account this entity belongs to.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    customProperties Map<String,String>
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description String
    A human-friendly description.
    externalRegionId String
    The external regionId of the resource.
    fabricNetworkIds List<String>
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolatedExternalFabricNetworkId String
    The id of the fabric network used for outbound access.
    isolatedNetworkCidrPrefix Double
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolatedNetworkDomainCidr String
    CIDR of the isolation network domain.
    isolatedNetworkDomainId String
    The id of the network domain used for creating isolated networks.
    isolationType String
    Specifies the isolation type e.g. none, subnet or security group
    links List<NetworkProfileLink>
    HATEOAS of the entity
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    networkProfileId String
    orgId String
    ID of organization that entity belongs to.
    organizationId String
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner String
    Email of the user that owns the entity.
    regionId String
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    securityGroupIds List<String>
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags List<NetworkProfileTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId string
    The ID of the cloud account this entity belongs to.
    createdAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    customProperties {[key: string]: string}
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description string
    A human-friendly description.
    externalRegionId string
    The external regionId of the resource.
    fabricNetworkIds string[]
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolatedExternalFabricNetworkId string
    The id of the fabric network used for outbound access.
    isolatedNetworkCidrPrefix number
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolatedNetworkDomainCidr string
    CIDR of the isolation network domain.
    isolatedNetworkDomainId string
    The id of the network domain used for creating isolated networks.
    isolationType string
    Specifies the isolation type e.g. none, subnet or security group
    links NetworkProfileLink[]
    HATEOAS of the entity
    name string
    A human-friendly name used as an identifier in APIs that support this option.
    networkProfileId string
    orgId string
    ID of organization that entity belongs to.
    organizationId string
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner string
    Email of the user that owns the entity.
    regionId string
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    securityGroupIds string[]
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags NetworkProfileTag[]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloud_account_id str
    The ID of the cloud account this entity belongs to.
    created_at str
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    custom_properties Mapping[str, str]
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description str
    A human-friendly description.
    external_region_id str
    The external regionId of the resource.
    fabric_network_ids Sequence[str]
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolated_external_fabric_network_id str
    The id of the fabric network used for outbound access.
    isolated_network_cidr_prefix float
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolated_network_domain_cidr str
    CIDR of the isolation network domain.
    isolated_network_domain_id str
    The id of the network domain used for creating isolated networks.
    isolation_type str
    Specifies the isolation type e.g. none, subnet or security group
    links Sequence[NetworkProfileLinkArgs]
    HATEOAS of the entity
    name str
    A human-friendly name used as an identifier in APIs that support this option.
    network_profile_id str
    org_id str
    ID of organization that entity belongs to.
    organization_id str
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner str
    Email of the user that owns the entity.
    region_id str
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    security_group_ids Sequence[str]
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags Sequence[NetworkProfileTagArgs]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    The ID of the cloud account this entity belongs to.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    customProperties Map<String>
    Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router. onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.
    description String
    A human-friendly description.
    externalRegionId String
    The external regionId of the resource.
    fabricNetworkIds List<String>
    A list of fabric network Ids which are assigned to the network profile. example: [ "6543" ]
    isolatedExternalFabricNetworkId String
    The id of the fabric network used for outbound access.
    isolatedNetworkCidrPrefix Number
    The CIDR prefix length to be used for the isolated networks that are created with the network profile.
    isolatedNetworkDomainCidr String
    CIDR of the isolation network domain.
    isolatedNetworkDomainId String
    The id of the network domain used for creating isolated networks.
    isolationType String
    Specifies the isolation type e.g. none, subnet or security group
    links List<Property Map>
    HATEOAS of the entity
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    networkProfileId String
    orgId String
    ID of organization that entity belongs to.
    organizationId String
    The id of the organization this entity belongs to. Deprecated, refer to org_id instead.
    owner String
    Email of the user that owns the entity.
    regionId String
    The id of the region for which this profile is defined as in vRealize Automation(vRA).
    securityGroupIds List<String>
    A list of security group Ids which are assigned to the network profile. example: [ "6545" ]
    tags List<Property Map>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.

    Supporting Types

    Href string
    Hrefs List<string>
    Rel string
    Href string
    Hrefs []string
    Rel string
    href String
    hrefs List<String>
    rel String
    href string
    hrefs string[]
    rel string
    href str
    hrefs Sequence[str]
    rel str
    href String
    hrefs List<String>
    rel String

    NetworkProfileTag, NetworkProfileTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Package Details

    Repository
    vra vmware/terraform-provider-vra
    License
    Notes
    This Pulumi package is based on the vra Terraform Provider.
    vra logo
    vra 0.12.0 published on Monday, Apr 14, 2025 by vmware