ExportResourceGroupTerraform Class

Definition

Export parameter for a resource group.

public class ExportResourceGroupTerraform : Azure.ResourceManager.Terraform.Models.CommonExportProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Terraform.Models.ExportResourceGroupTerraform>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Terraform.Models.ExportResourceGroupTerraform>
type ExportResourceGroupTerraform = class
    inherit CommonExportProperties
    interface IJsonModel<ExportResourceGroupTerraform>
    interface IPersistableModel<ExportResourceGroupTerraform>
Public Class ExportResourceGroupTerraform
Inherits CommonExportProperties
Implements IJsonModel(Of ExportResourceGroupTerraform), IPersistableModel(Of ExportResourceGroupTerraform)
Inheritance
ExportResourceGroupTerraform
Implements

Constructors

Name Description
ExportResourceGroupTerraform(String)

Initializes a new instance of ExportResourceGroupTerraform.

Properties

Name Description
AzureResourcesToExclude

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

(Inherited from CommonExportProperties)
IncludeManagedResource

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

(Inherited from CommonExportProperties)
IncludeRoleAssignment

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

(Inherited from CommonExportProperties)
IsMaskSensitiveEnabled

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

(Inherited from CommonExportProperties)
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.

(Inherited from CommonExportProperties)
NamePattern

The id prefix for the exported Terraform resources. Defaults to res-.

ResourceGroupName

The name of the resource group to be exported.

TargetProvider

The target Azure Terraform provider. Defaults to azurerm.

(Inherited from CommonExportProperties)
TerraformResourcesToExclude

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

(Inherited from CommonExportProperties)

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.

(Inherited from CommonExportProperties)
IJsonModel<CommonExportProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CommonExportProperties)
IJsonModel<ExportResourceGroupTerraform>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExportResourceGroupTerraform>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommonExportProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CommonExportProperties)
IPersistableModel<CommonExportProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CommonExportProperties)
IPersistableModel<CommonExportProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CommonExportProperties)
IPersistableModel<ExportResourceGroupTerraform>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExportResourceGroupTerraform>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExportResourceGroupTerraform>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to