azure

package
v0.0.0-...-53af832 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2022 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SupportedResources = map[string]string{
		"AzureBlob":                "azurerm_data_factory_dataset_azure_blob",
		"Binary":                   "azurerm_data_factory_dataset_binary",
		"CosmosDbSqlApiCollection": "azurerm_data_factory_dataset_cosmosdb_sqlapi",
		"CustomDataset":            "azurerm_data_factory_custom_dataset",
		"DelimitedText":            "azurerm_data_factory_dataset_delimited_text",
		"HttpFile":                 "azurerm_data_factory_dataset_http",
		"Json":                     "azurerm_data_factory_dataset_json",
		"MySqlTable":               "azurerm_data_factory_dataset_mysql",
		"Parquet":                  "azurerm_data_factory_dataset_parquet",
		"PostgreSqlTable":          "azurerm_data_factory_dataset_postgresql",
		"SnowflakeTable":           "azurerm_data_factory_dataset_snowflake",
		"SqlServerTable":           "azurerm_data_factory_dataset_sql_server_table",
		"IntegrationRuntime":       "azurerm_data_factory_integration_runtime_azure",
		"Managed":                  "azurerm_data_factory_integration_runtime_azure_ssis",
		"SelfHosted":               "azurerm_data_factory_integration_runtime_self_hosted",
		"AzureBlobStorage":         "azurerm_data_factory_linked_service_azure_blob_storage",
		"AzureDatabricks":          "azurerm_data_factory_linked_service_azure_databricks",
		"AzureFileStorage":         "azurerm_data_factory_linked_service_azure_file_storage",
		"AzureFunction":            "azurerm_data_factory_linked_service_azure_function",
		"AzureSearch":              "azurerm_data_factory_linked_service_azure_search",
		"AzureSqlDatabase":         "azurerm_data_factory_linked_service_azure_sql_database",
		"AzureTableStorage":        "azurerm_data_factory_linked_service_azure_table_storage",
		"CosmosDb":                 "azurerm_data_factory_linked_service_cosmosdb",
		"CustomDataSource":         "azurerm_data_factory_linked_custom_service",
		"AzureBlobFS":              "azurerm_data_factory_linked_service_data_lake_storage_gen2",
		"AzureKeyVault":            "azurerm_data_factory_linked_service_key_vault",
		"AzureDataExplore":         "azurerm_data_factory_linked_service_kusto",
		"MySql":                    "azurerm_data_factory_linked_service_mysql",
		"OData":                    "azurerm_data_factory_linked_service_odata",
		"PostgreSql":               "azurerm_data_factory_linked_service_postgresql",
		"Sftp":                     "azurerm_data_factory_linked_service_sftp",
		"Snowflake":                "azurerm_data_factory_linked_service_snowflake",
		"SqlServer":                "azurerm_data_factory_linked_service_sql_server",
		"AzureSqlDW":               "azurerm_data_factory_linked_service_synapse",
		"Web":                      "azurerm_data_factory_linked_service_web",
		"BlobEventsTrigger":        "azurerm_data_factory_trigger_blob_event",
		"ScheduleTrigger":          "azurerm_data_factory_trigger_schedule",
		"TumblingWindowTrigger":    "azurerm_data_factory_trigger_tumbling_window",
	}
)

Functions

func GenerateRandomString

func GenerateRandomString(strlen int) string

Types

type AnalysisGenerator

type AnalysisGenerator struct {
	AzureService
}

func (*AnalysisGenerator) InitResources

func (g *AnalysisGenerator) InitResources() error

type AppServiceGenerator

type AppServiceGenerator struct {
	AzureService
}

func (*AppServiceGenerator) InitResources

func (g *AppServiceGenerator) InitResources() error

type ApplicationGatewayGenerator

type ApplicationGatewayGenerator struct {
	AzureService
}

func (*ApplicationGatewayGenerator) InitResources

func (g *ApplicationGatewayGenerator) InitResources() error

type AzureProvider

type AzureProvider struct {
	terraformutils.Provider
	// contains filtered or unexported fields
}

func (*AzureProvider) GetName

func (p *AzureProvider) GetName() string

func (*AzureProvider) GetProviderData

func (p *AzureProvider) GetProviderData(arg ...string) map[string]interface{}

func (AzureProvider) GetResourceConnections

func (AzureProvider) GetResourceConnections() map[string]map[string][]string

func (*AzureProvider) GetSupportedService

func (p *AzureProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator

func (*AzureProvider) Init

func (p *AzureProvider) Init(args []string) error

func (*AzureProvider) InitService

func (p *AzureProvider) InitService(serviceName string, verbose bool) error

type AzureService

type AzureService struct {
	terraformutils.Service
}

func (*AzureService) AppendSimpleResource

func (az *AzureService) AppendSimpleResource(id string, resourceName string, resourceType string)

func (*AzureService) AppendSimpleResourceWithDuplicateCheck

func (az *AzureService) AppendSimpleResourceWithDuplicateCheck(id string, resourceName string, resourceType string)

func (*AzureService) DuplicateCheck

func (az *AzureService) DuplicateCheck(id string, resourceName string, resourceType string) (bool, bool)

This method checks if same resource name(tfer) exists with same id

type ContainerGenerator

type ContainerGenerator struct {
	AzureService
}

func (*ContainerGenerator) InitResources

func (g *ContainerGenerator) InitResources() error

type CosmosDBGenerator

type CosmosDBGenerator struct {
	AzureService
}

func (*CosmosDBGenerator) InitResources

func (g *CosmosDBGenerator) InitResources() error

type DNSGenerator

type DNSGenerator struct {
	AzureService
}

func (*DNSGenerator) InitResources

func (g *DNSGenerator) InitResources() error

type DataFactoryGenerator

type DataFactoryGenerator struct {
	AzureService
}

func (*DataFactoryGenerator) InitResources

func (az *DataFactoryGenerator) InitResources() error

func (*DataFactoryGenerator) PostConvertHook

func (az *DataFactoryGenerator) PostConvertHook() error

PostGenerateHook for formatting json properties as heredoc - azurerm_data_factory_pipeline property activities_json

type DatabasesGenerator

type DatabasesGenerator struct {
	AzureService
}

func (*DatabasesGenerator) InitResources

func (g *DatabasesGenerator) InitResources() error

func (*DatabasesGenerator) PostConvertHook

func (g *DatabasesGenerator) PostConvertHook() error

type DatabricksGenerator

type DatabricksGenerator struct {
	AzureService
}

func (*DatabricksGenerator) AppendWorkspace

func (az *DatabricksGenerator) AppendWorkspace(workspace *databricks.Workspace)

func (*DatabricksGenerator) InitResources

func (az *DatabricksGenerator) InitResources() error

type DiskGenerator

type DiskGenerator struct {
	AzureService
}

func (*DiskGenerator) InitResources

func (g *DiskGenerator) InitResources() error

type EventHubGenerator

type EventHubGenerator struct {
	AzureService
}

func (*EventHubGenerator) AppendNamespace

func (az *EventHubGenerator) AppendNamespace(namespace *eventhub.EHNamespace)

func (*EventHubGenerator) InitResources

func (az *EventHubGenerator) InitResources() error

type KeyVaultGenerator

type KeyVaultGenerator struct {
	AzureService
}

func (*KeyVaultGenerator) InitResources

func (g *KeyVaultGenerator) InitResources() error

type LoadBalancerGenerator

type LoadBalancerGenerator struct {
	AzureService
}

func (*LoadBalancerGenerator) InitResources

func (g *LoadBalancerGenerator) InitResources() error

type ManagementLockGenerator

type ManagementLockGenerator struct {
	AzureService
}

func (*ManagementLockGenerator) InitResources

func (az *ManagementLockGenerator) InitResources() error

type NetworkInterfaceGenerator

type NetworkInterfaceGenerator struct {
	AzureService
}

func (*NetworkInterfaceGenerator) InitResources

func (g *NetworkInterfaceGenerator) InitResources() error

type NetworkSecurityGroupGenerator

type NetworkSecurityGroupGenerator struct {
	AzureService
}

func (*NetworkSecurityGroupGenerator) InitResources

func (az *NetworkSecurityGroupGenerator) InitResources() error

type NetworkWatcherGenerator

type NetworkWatcherGenerator struct {
	AzureService
}

func (*NetworkWatcherGenerator) InitResources

func (az *NetworkWatcherGenerator) InitResources() error

type PrivateDNSGenerator

type PrivateDNSGenerator struct {
	AzureService
}

func (*PrivateDNSGenerator) InitResources

func (g *PrivateDNSGenerator) InitResources() error

type PrivateEndpointGenerator

type PrivateEndpointGenerator struct {
	AzureService
}

func (*PrivateEndpointGenerator) AppendEndpoint

func (az *PrivateEndpointGenerator) AppendEndpoint(link *network.PrivateEndpoint)

func (*PrivateEndpointGenerator) AppendServices

func (az *PrivateEndpointGenerator) AppendServices(link *network.PrivateLinkService)

func (*PrivateEndpointGenerator) InitResources

func (az *PrivateEndpointGenerator) InitResources() error

type PublicIPGenerator

type PublicIPGenerator struct {
	AzureService
}

func (*PublicIPGenerator) InitResources

func (g *PublicIPGenerator) InitResources() error

type PurviewGenerator

type PurviewGenerator struct {
	AzureService
}

func (*PurviewGenerator) AppendAccount

func (az *PurviewGenerator) AppendAccount(account *purview.Account)

func (*PurviewGenerator) InitResources

func (az *PurviewGenerator) InitResources() error

type RedisGenerator

type RedisGenerator struct {
	AzureService
}

func (*RedisGenerator) InitResources

func (g *RedisGenerator) InitResources() error

type ResourceGroupGenerator

type ResourceGroupGenerator struct {
	AzureService
}

func (*ResourceGroupGenerator) InitResources

func (g *ResourceGroupGenerator) InitResources() error

type ResourceID

type ResourceID struct {
	SubscriptionID string
	ResourceGroup  string
	Provider       string
	Path           map[string]string
}

ResourceID represents a parsed long-form Azure Resource Manager ID with the Subscription ID, Resource Group and the Provider as top- level fields, and other key-value pairs available via a map in the Path field.

func ParseAzureResourceID

func ParseAzureResourceID(id string) (*ResourceID, error)

ParseAzureResourceID converts a long-form Azure Resource Manager ID into a ResourceID. We make assumptions about the structure of URLs, which is obviously not good, but the best thing available given the SDK.

type RouteTableGenerator

type RouteTableGenerator struct {
	AzureService
}

func (*RouteTableGenerator) InitResources

func (az *RouteTableGenerator) InitResources() error

type SSHPublicKeyGenerator

type SSHPublicKeyGenerator struct {
	AzureService
}

func (*SSHPublicKeyGenerator) InitResources

func (az *SSHPublicKeyGenerator) InitResources() error

type ScaleSetGenerator

type ScaleSetGenerator struct {
	AzureService
}

func (*ScaleSetGenerator) InitResources

func (g *ScaleSetGenerator) InitResources() error

type SecurityCenterContactGenerator

type SecurityCenterContactGenerator struct {
	AzureService
}

func (*SecurityCenterContactGenerator) InitResources

func (g *SecurityCenterContactGenerator) InitResources() error

type SecurityCenterSubscriptionPricingGenerator

type SecurityCenterSubscriptionPricingGenerator struct {
	AzureService
}

func (*SecurityCenterSubscriptionPricingGenerator) InitResources

type StorageAccountGenerator

type StorageAccountGenerator struct {
	AzureService
}

func (*StorageAccountGenerator) InitResources

func (g *StorageAccountGenerator) InitResources() error

type StorageBlobGenerator

type StorageBlobGenerator struct {
	AzureService
}

func (*StorageBlobGenerator) InitResources

func (g *StorageBlobGenerator) InitResources() error

type StorageContainerGenerator

type StorageContainerGenerator struct {
	AzureService
}

func NewStorageContainerGenerator

func NewStorageContainerGenerator(subscriptionID string, authorizer autorest.Authorizer, rg string) *StorageContainerGenerator

func (*StorageContainerGenerator) InitResources

func (g *StorageContainerGenerator) InitResources() error

func (StorageContainerGenerator) ListBlobContainers

func (g StorageContainerGenerator) ListBlobContainers() ([]terraformutils.Resource, error)

type SubnetGenerator

type SubnetGenerator struct {
	AzureService
}

func (*SubnetGenerator) AppendSubnet

func (az *SubnetGenerator) AppendSubnet(subnet *network.Subnet)

func (*SubnetGenerator) InitResources

func (az *SubnetGenerator) InitResources() error

func (*SubnetGenerator) PostConvertHook

func (az *SubnetGenerator) PostConvertHook() error

type SynapseGenerator

type SynapseGenerator struct {
	AzureService
}

func (*SynapseGenerator) InitResources

func (az *SynapseGenerator) InitResources() error

type VirtualMachineGenerator

type VirtualMachineGenerator struct {
	AzureService
}

func (*VirtualMachineGenerator) InitResources

func (g *VirtualMachineGenerator) InitResources() error

type VirtualNetworkGenerator

type VirtualNetworkGenerator struct {
	AzureService
}

func (*VirtualNetworkGenerator) InitResources

func (g *VirtualNetworkGenerator) InitResources() error

func (*VirtualNetworkGenerator) PostConvertHook

func (g *VirtualNetworkGenerator) PostConvertHook() error

NOTE on Virtual Networks and Subnet's: Terraform currently provides both a standalone Subnet resource, and allows for Subnets to be defined in-line within the Virtual Network resource. At this time you cannot use a Virtual Network with in-line Subnets in conjunction with any Subnet resources. Doing so will cause a conflict of Subnet configurations and will overwrite Subnet's.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL