Share via


ExportResource Class

Definition

Export parameter for individual resources.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Terraform.Models.ExportResourceTypeConverter))]
public class ExportResource : Microsoft.Azure.PowerShell.Cmdlets.Terraform.Models.IExportResource, Microsoft.Azure.PowerShell.Cmdlets.Terraform.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Terraform.Models.ExportResourceTypeConverter))>]
type ExportResource = class
    interface IExportResource
    interface IJsonSerializable
    interface IBaseExportModel
    interface IValidates
Public Class ExportResource
Implements IExportResource, IValidates
Inheritance
ExportResource
Attributes
Implements

Constructors

ExportResource()

Creates an new ExportResource instance.

Properties

FullProperty

Whether to output all non-computed properties in the generated Terraform configuration? This probably needs manual modifications to make it valid

MaskSensitive

Mask sensitive attributes in the Terraform configuration

NamePattern

The name pattern of the Terraform resources

ResourceId

The id of the resource to be exported

ResourceName

The Terraform resource name. Only works when resourceIds contains only one item.

ResourceType

The Terraform resource type. Only works when resourceIds contains only one item.

TargetProvider

The target Azure Terraform Provider

Type

The parameter type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExportResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExportResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Terraform.Models.IExportResource.

FromJsonString(String)

Creates a new instance of ExportResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExportResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to