CommonExportProperties Class

Definition

The base export parameter Please note this is the abstract base class. The derived classes available for instantiation are: ExportQueryTerraform, ExportResourceTerraform, and ExportResourceGroupTerraform.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Terraform.Models.UnknownCommonExportProperties))]
public abstract class CommonExportProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Terraform.Models.CommonExportProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Terraform.Models.CommonExportProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Terraform.Models.UnknownCommonExportProperties))>]
type CommonExportProperties = class
    interface IJsonModel<CommonExportProperties>
    interface IPersistableModel<CommonExportProperties>
Public MustInherit Class CommonExportProperties
Implements IJsonModel(Of CommonExportProperties), IPersistableModel(Of CommonExportProperties)
Inheritance
CommonExportProperties
Derived
Attributes
Implements

Properties

Name Description
AzureResourcesToExclude

Excludes specified Azure Resource Ids. Case-insensitive Azure Resource ID regular expression. Example: ["/subscriptions/[0-9a-f-]+/resourceGroups/my-rg.*"].

IncludeManagedResource

Whether to include internal resources managed by Azure in the exported configuration. Defaults to false.

IncludeRoleAssignment

Whether to include RBAC role assignments assigned to the resources exported. Only resource-scoped role assignments are supported. Defaults to false.

IsMaskSensitiveEnabled

Mask sensitive attributes in the Terraform configuration. Defaults to true.

IsOutputFullPropertiesEnabled

Whether to output all non-computed properties in the generated Terraform configuration. If set to false empty-valued properties will be omitted from the configuration. Defaults to true.

TargetProvider

The target Azure Terraform provider. Defaults to azurerm.

TerraformResourcesToExclude

Excludes specified Terraform resource types. Example: ["azurerm_virtual_network"].

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CommonExportProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CommonExportProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommonExportProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommonExportProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CommonExportProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to