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

vra.FabricCompute

Explore with Pulumi AI

Updates a VMware vRealize Automation fabric_compute resource.

Example Usage

S

You cannot create a fabric compute resource, however you can import it using the command specified in the import section below.

Once a resource is imported, you can update it as shown below:

import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";

const _this = new vra.FabricCompute("this", {tags: [{
    key: "foo",
    value: "bar",
}]});
Copy
import pulumi
import pulumi_vra as vra

this = vra.FabricCompute("this", tags=[{
    "key": "foo",
    "value": "bar",
}])
Copy
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.NewFabricCompute(ctx, "this", &vra.FabricComputeArgs{
			Tags: vra.FabricComputeTagArray{
				&vra.FabricComputeTagArgs{
					Key:   pulumi.String("foo"),
					Value: pulumi.String("bar"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;

return await Deployment.RunAsync(() => 
{
    var @this = new Vra.FabricCompute("this", new()
    {
        Tags = new[]
        {
            new Vra.Inputs.FabricComputeTagArgs
            {
                Key = "foo",
                Value = "bar",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.FabricCompute;
import com.pulumi.vra.FabricComputeArgs;
import com.pulumi.vra.inputs.FabricComputeTagArgs;
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 this_ = new FabricCompute("this", FabricComputeArgs.builder()
            .tags(FabricComputeTagArgs.builder()
                .key("foo")
                .value("bar")
                .build())
            .build());

    }
}
Copy
resources:
  this:
    type: vra:FabricCompute
    properties:
      tags:
        - key: foo
          value: bar
Copy

Create FabricCompute Resource

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

Constructor syntax

new FabricCompute(name: string, args?: FabricComputeArgs, opts?: CustomResourceOptions);
@overload
def FabricCompute(resource_name: str,
                  args: Optional[FabricComputeArgs] = None,
                  opts: Optional[ResourceOptions] = None)

@overload
def FabricCompute(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  fabric_compute_id: Optional[str] = None,
                  tags: Optional[Sequence[FabricComputeTagArgs]] = None)
func NewFabricCompute(ctx *Context, name string, args *FabricComputeArgs, opts ...ResourceOption) (*FabricCompute, error)
public FabricCompute(string name, FabricComputeArgs? args = null, CustomResourceOptions? opts = null)
public FabricCompute(String name, FabricComputeArgs args)
public FabricCompute(String name, FabricComputeArgs args, CustomResourceOptions options)
type: vra:FabricCompute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args FabricComputeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args FabricComputeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args FabricComputeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args FabricComputeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. FabricComputeArgs
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 fabricComputeResource = new Vra.FabricCompute("fabricComputeResource", new()
{
    FabricComputeId = "string",
    Tags = new[]
    {
        new Vra.Inputs.FabricComputeTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := vra.NewFabricCompute(ctx, "fabricComputeResource", &vra.FabricComputeArgs{
	FabricComputeId: pulumi.String("string"),
	Tags: vra.FabricComputeTagArray{
		&vra.FabricComputeTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
Copy
var fabricComputeResource = new FabricCompute("fabricComputeResource", FabricComputeArgs.builder()
    .fabricComputeId("string")
    .tags(FabricComputeTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
fabric_compute_resource = vra.FabricCompute("fabricComputeResource",
    fabric_compute_id="string",
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const fabricComputeResource = new vra.FabricCompute("fabricComputeResource", {
    fabricComputeId: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: vra:FabricCompute
properties:
    fabricComputeId: string
    tags:
        - key: string
          value: string
Copy

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

FabricComputeId string
Tags List<FabricComputeTag>
A set of tag keys and optional values that were set on this resource:
FabricComputeId string
Tags []FabricComputeTagArgs
A set of tag keys and optional values that were set on this resource:
fabricComputeId String
tags List<FabricComputeTag>
A set of tag keys and optional values that were set on this resource:
fabricComputeId string
tags FabricComputeTag[]
A set of tag keys and optional values that were set on this resource:
fabric_compute_id str
tags Sequence[FabricComputeTagArgs]
A set of tag keys and optional values that were set on this resource:
fabricComputeId String
tags List<Property Map>
A set of tag keys and optional values that were set on this resource:

Outputs

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

CreatedAt string
Date when the entity was created. The date is in ISO 8601 and UTC.
CustomProperties Dictionary<string, string>
A list of key value pair of custom properties for the fabric compute resource.
Description string
A human-friendly description.
ExternalId string
The id of the external entity on the provider side.
ExternalRegionId string
The external region id of the fabric compute.
ExternalZoneId string
The external zone id of the fabric compute.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleState string
Lifecycle status of the compute instance.
Links List<FabricComputeLink>
HATEOAS of the entity.
Name string
A human-friendly name used as an identifier for the fabric compute resource instance.
OrgId string
The id of the organization this entity belongs to.
Owner string
Email of the user that owns the entity.
PowerState string
Power state of fabric compute instance.
Type string
Type of the fabric compute instance.
UpdatedAt string
Date when the entity was last updated. The date is ISO 8601 and UTC.
CreatedAt string
Date when the entity was created. The date is in ISO 8601 and UTC.
CustomProperties map[string]string
A list of key value pair of custom properties for the fabric compute resource.
Description string
A human-friendly description.
ExternalId string
The id of the external entity on the provider side.
ExternalRegionId string
The external region id of the fabric compute.
ExternalZoneId string
The external zone id of the fabric compute.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleState string
Lifecycle status of the compute instance.
Links []FabricComputeLink
HATEOAS of the entity.
Name string
A human-friendly name used as an identifier for the fabric compute resource instance.
OrgId string
The id of the organization this entity belongs to.
Owner string
Email of the user that owns the entity.
PowerState string
Power state of fabric compute instance.
Type string
Type of the fabric compute instance.
UpdatedAt string
Date when the entity was last updated. The date is ISO 8601 and UTC.
createdAt String
Date when the entity was created. The date is in ISO 8601 and UTC.
customProperties Map<String,String>
A list of key value pair of custom properties for the fabric compute resource.
description String
A human-friendly description.
externalId String
The id of the external entity on the provider side.
externalRegionId String
The external region id of the fabric compute.
externalZoneId String
The external zone id of the fabric compute.
id String
The provider-assigned unique ID for this managed resource.
lifecycleState String
Lifecycle status of the compute instance.
links List<FabricComputeLink>
HATEOAS of the entity.
name String
A human-friendly name used as an identifier for the fabric compute resource instance.
orgId String
The id of the organization this entity belongs to.
owner String
Email of the user that owns the entity.
powerState String
Power state of fabric compute instance.
type String
Type of the fabric compute instance.
updatedAt String
Date when the entity was last updated. The date is ISO 8601 and UTC.
createdAt string
Date when the entity was created. The date is in ISO 8601 and UTC.
customProperties {[key: string]: string}
A list of key value pair of custom properties for the fabric compute resource.
description string
A human-friendly description.
externalId string
The id of the external entity on the provider side.
externalRegionId string
The external region id of the fabric compute.
externalZoneId string
The external zone id of the fabric compute.
id string
The provider-assigned unique ID for this managed resource.
lifecycleState string
Lifecycle status of the compute instance.
links FabricComputeLink[]
HATEOAS of the entity.
name string
A human-friendly name used as an identifier for the fabric compute resource instance.
orgId string
The id of the organization this entity belongs to.
owner string
Email of the user that owns the entity.
powerState string
Power state of fabric compute instance.
type string
Type of the fabric compute instance.
updatedAt string
Date when the entity was last updated. The date is ISO 8601 and UTC.
created_at str
Date when the entity was created. The date is in ISO 8601 and UTC.
custom_properties Mapping[str, str]
A list of key value pair of custom properties for the fabric compute resource.
description str
A human-friendly description.
external_id str
The id of the external entity on the provider side.
external_region_id str
The external region id of the fabric compute.
external_zone_id str
The external zone id of the fabric compute.
id str
The provider-assigned unique ID for this managed resource.
lifecycle_state str
Lifecycle status of the compute instance.
links Sequence[FabricComputeLink]
HATEOAS of the entity.
name str
A human-friendly name used as an identifier for the fabric compute resource instance.
org_id str
The id of the organization this entity belongs to.
owner str
Email of the user that owns the entity.
power_state str
Power state of fabric compute instance.
type str
Type of the fabric compute instance.
updated_at str
Date when the entity was last updated. The date is ISO 8601 and UTC.
createdAt String
Date when the entity was created. The date is in ISO 8601 and UTC.
customProperties Map<String>
A list of key value pair of custom properties for the fabric compute resource.
description String
A human-friendly description.
externalId String
The id of the external entity on the provider side.
externalRegionId String
The external region id of the fabric compute.
externalZoneId String
The external zone id of the fabric compute.
id String
The provider-assigned unique ID for this managed resource.
lifecycleState String
Lifecycle status of the compute instance.
links List<Property Map>
HATEOAS of the entity.
name String
A human-friendly name used as an identifier for the fabric compute resource instance.
orgId String
The id of the organization this entity belongs to.
owner String
Email of the user that owns the entity.
powerState String
Power state of fabric compute instance.
type String
Type of the fabric compute instance.
updatedAt String
Date when the entity was last updated. The date is ISO 8601 and UTC.

Look up Existing FabricCompute Resource

Get an existing FabricCompute 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?: FabricComputeState, opts?: CustomResourceOptions): FabricCompute
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        custom_properties: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        external_id: Optional[str] = None,
        external_region_id: Optional[str] = None,
        external_zone_id: Optional[str] = None,
        fabric_compute_id: Optional[str] = None,
        lifecycle_state: Optional[str] = None,
        links: Optional[Sequence[FabricComputeLinkArgs]] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        owner: Optional[str] = None,
        power_state: Optional[str] = None,
        tags: Optional[Sequence[FabricComputeTagArgs]] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None) -> FabricCompute
func GetFabricCompute(ctx *Context, name string, id IDInput, state *FabricComputeState, opts ...ResourceOption) (*FabricCompute, error)
public static FabricCompute Get(string name, Input<string> id, FabricComputeState? state, CustomResourceOptions? opts = null)
public static FabricCompute get(String name, Output<String> id, FabricComputeState state, CustomResourceOptions options)
resources:  _:    type: vra:FabricCompute    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreatedAt string
Date when the entity was created. The date is in ISO 8601 and UTC.
CustomProperties Dictionary<string, string>
A list of key value pair of custom properties for the fabric compute resource.
Description string
A human-friendly description.
ExternalId string
The id of the external entity on the provider side.
ExternalRegionId string
The external region id of the fabric compute.
ExternalZoneId string
The external zone id of the fabric compute.
FabricComputeId string
LifecycleState string
Lifecycle status of the compute instance.
Links List<FabricComputeLink>
HATEOAS of the entity.
Name string
A human-friendly name used as an identifier for the fabric compute resource instance.
OrgId string
The id of the organization this entity belongs to.
Owner string
Email of the user that owns the entity.
PowerState string
Power state of fabric compute instance.
Tags List<FabricComputeTag>
A set of tag keys and optional values that were set on this resource:
Type string
Type of the fabric compute instance.
UpdatedAt string
Date when the entity was last updated. The date is ISO 8601 and UTC.
CreatedAt string
Date when the entity was created. The date is in ISO 8601 and UTC.
CustomProperties map[string]string
A list of key value pair of custom properties for the fabric compute resource.
Description string
A human-friendly description.
ExternalId string
The id of the external entity on the provider side.
ExternalRegionId string
The external region id of the fabric compute.
ExternalZoneId string
The external zone id of the fabric compute.
FabricComputeId string
LifecycleState string
Lifecycle status of the compute instance.
Links []FabricComputeLinkArgs
HATEOAS of the entity.
Name string
A human-friendly name used as an identifier for the fabric compute resource instance.
OrgId string
The id of the organization this entity belongs to.
Owner string
Email of the user that owns the entity.
PowerState string
Power state of fabric compute instance.
Tags []FabricComputeTagArgs
A set of tag keys and optional values that were set on this resource:
Type string
Type of the fabric compute instance.
UpdatedAt string
Date when the entity was last updated. The date is ISO 8601 and UTC.
createdAt String
Date when the entity was created. The date is in ISO 8601 and UTC.
customProperties Map<String,String>
A list of key value pair of custom properties for the fabric compute resource.
description String
A human-friendly description.
externalId String
The id of the external entity on the provider side.
externalRegionId String
The external region id of the fabric compute.
externalZoneId String
The external zone id of the fabric compute.
fabricComputeId String
lifecycleState String
Lifecycle status of the compute instance.
links List<FabricComputeLink>
HATEOAS of the entity.
name String
A human-friendly name used as an identifier for the fabric compute resource instance.
orgId String
The id of the organization this entity belongs to.
owner String
Email of the user that owns the entity.
powerState String
Power state of fabric compute instance.
tags List<FabricComputeTag>
A set of tag keys and optional values that were set on this resource:
type String
Type of the fabric compute instance.
updatedAt String
Date when the entity was last updated. The date is ISO 8601 and UTC.
createdAt string
Date when the entity was created. The date is in ISO 8601 and UTC.
customProperties {[key: string]: string}
A list of key value pair of custom properties for the fabric compute resource.
description string
A human-friendly description.
externalId string
The id of the external entity on the provider side.
externalRegionId string
The external region id of the fabric compute.
externalZoneId string
The external zone id of the fabric compute.
fabricComputeId string
lifecycleState string
Lifecycle status of the compute instance.
links FabricComputeLink[]
HATEOAS of the entity.
name string
A human-friendly name used as an identifier for the fabric compute resource instance.
orgId string
The id of the organization this entity belongs to.
owner string
Email of the user that owns the entity.
powerState string
Power state of fabric compute instance.
tags FabricComputeTag[]
A set of tag keys and optional values that were set on this resource:
type string
Type of the fabric compute instance.
updatedAt string
Date when the entity was last updated. The date is ISO 8601 and UTC.
created_at str
Date when the entity was created. The date is in ISO 8601 and UTC.
custom_properties Mapping[str, str]
A list of key value pair of custom properties for the fabric compute resource.
description str
A human-friendly description.
external_id str
The id of the external entity on the provider side.
external_region_id str
The external region id of the fabric compute.
external_zone_id str
The external zone id of the fabric compute.
fabric_compute_id str
lifecycle_state str
Lifecycle status of the compute instance.
links Sequence[FabricComputeLinkArgs]
HATEOAS of the entity.
name str
A human-friendly name used as an identifier for the fabric compute resource instance.
org_id str
The id of the organization this entity belongs to.
owner str
Email of the user that owns the entity.
power_state str
Power state of fabric compute instance.
tags Sequence[FabricComputeTagArgs]
A set of tag keys and optional values that were set on this resource:
type str
Type of the fabric compute instance.
updated_at str
Date when the entity was last updated. The date is ISO 8601 and UTC.
createdAt String
Date when the entity was created. The date is in ISO 8601 and UTC.
customProperties Map<String>
A list of key value pair of custom properties for the fabric compute resource.
description String
A human-friendly description.
externalId String
The id of the external entity on the provider side.
externalRegionId String
The external region id of the fabric compute.
externalZoneId String
The external zone id of the fabric compute.
fabricComputeId String
lifecycleState String
Lifecycle status of the compute instance.
links List<Property Map>
HATEOAS of the entity.
name String
A human-friendly name used as an identifier for the fabric compute resource instance.
orgId String
The id of the organization this entity belongs to.
owner String
Email of the user that owns the entity.
powerState String
Power state of fabric compute instance.
tags List<Property Map>
A set of tag keys and optional values that were set on this resource:
type String
Type of the fabric compute instance.
updatedAt String
Date when the entity was last updated. The date is ISO 8601 and UTC.

Supporting Types

Href This property is required. string
Hrefs This property is required. List<string>
Rel This property is required. string
Href This property is required. string
Hrefs This property is required. []string
Rel This property is required. string
href This property is required. String
hrefs This property is required. List<String>
rel This property is required. String
href This property is required. string
hrefs This property is required. string[]
rel This property is required. string
href This property is required. str
hrefs This property is required. Sequence[str]
rel This property is required. str
href This property is required. String
hrefs This property is required. List<String>
rel This property is required. String

FabricComputeTag
, FabricComputeTagArgs

Key This property is required. string
Tag’s key.
Value This property is required. string
Tag’s value.
Key This property is required. string
Tag’s key.
Value This property is required. string
Tag’s value.
key This property is required. String
Tag’s key.
value This property is required. String
Tag’s value.
key This property is required. string
Tag’s key.
value This property is required. string
Tag’s value.
key This property is required. str
Tag’s key.
value This property is required. str
Tag’s value.
key This property is required. String
Tag’s key.
value This property is required. String
Tag’s value.

Import

To import the fabric compute resource, use the ID as in the following example:

$ pulumi import vra:index/fabricCompute:FabricCompute this 88fdea8b-92ed-4aa9-b6ee-4670412961b0
Copy

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

Package Details

Repository
vra vmware/terraform-provider-vra
License
Notes
This Pulumi package is based on the vra Terraform Provider.