Show / Hide Table of Contents

Class CustomAttribute

Inheritance
System.Object
Resource
CustomResource
CustomAttribute
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public class CustomAttribute : CustomResource

Constructors

View Source

CustomAttribute(String, CustomAttributeArgs, CustomResourceOptions)

Create a CustomAttribute resource with the given unique name, arguments, and options.

Declaration
public CustomAttribute(string name, CustomAttributeArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

CustomAttributeArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ManagedObjectType

The object type that this attribute may be applied to. If not set, the custom attribute may be applied to any object type. For a full list, click here. Forces a new resource if changed.

Declaration
public Output<string> ManagedObjectType { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the custom attribute.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, CustomAttributeState, CustomResourceOptions)

Get an existing CustomAttribute resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static CustomAttribute Get(string name, Input<string> id, CustomAttributeState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

CustomAttributeState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
CustomAttribute
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.