Class CustomAttribute
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public class CustomAttribute : CustomResource
Constructors
View SourceCustomAttribute(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 SourceManagedObjectType
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> |
Name
The name of the custom attribute.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |