azure_resources

package
v0.1.53 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceGroupName

func GetResourceGroupName(name string) string

Types

type AzureClientConfig

type AzureClientConfig struct {
	*output.TerraformDataSource `hcl:",squash" default:"name=azurerm_client_config"`
}

type AzureDatabase

type AzureDatabase struct {
	*types.Database
}

func (AzureDatabase) FromState

func (AzureDatabase) GetMainResourceName

func (r AzureDatabase) GetMainResourceName() (string, error)

func (AzureDatabase) Translate

func (r AzureDatabase) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)

type AzureKubernetesCluster

type AzureKubernetesCluster struct {
	*types.KubernetesCluster
}

func (AzureKubernetesCluster) FromState

func (AzureKubernetesCluster) GetMainResourceName

func (r AzureKubernetesCluster) GetMainResourceName() (string, error)

func (AzureKubernetesCluster) Translate

type AzureKubernetesNodePool

type AzureKubernetesNodePool struct {
	*types.KubernetesNodePool
}

func (AzureKubernetesNodePool) FromState

func (AzureKubernetesNodePool) GetMainResourceName

func (r AzureKubernetesNodePool) GetMainResourceName() (string, error)

func (AzureKubernetesNodePool) Translate

type AzureNetworkInterface

type AzureNetworkInterface struct {
	*types.NetworkInterface
}

func (AzureNetworkInterface) FromState

func (AzureNetworkInterface) GetMainResourceName

func (r AzureNetworkInterface) GetMainResourceName() (string, error)

func (AzureNetworkInterface) Translate

type AzureNetworkInterfaceSecurityGroupAssociation

type AzureNetworkInterfaceSecurityGroupAssociation struct {
	*types.NetworkInterfaceSecurityGroupAssociation
}

func (AzureNetworkInterfaceSecurityGroupAssociation) FromState

func (AzureNetworkInterfaceSecurityGroupAssociation) GetMainResourceName

func (r AzureNetworkInterfaceSecurityGroupAssociation) GetMainResourceName() (string, error)

func (AzureNetworkInterfaceSecurityGroupAssociation) Translate

type AzureNetworkSecurityGroup

type AzureNetworkSecurityGroup struct {
	*types.NetworkSecurityGroup
}

func (AzureNetworkSecurityGroup) FromState

func (AzureNetworkSecurityGroup) GetMainResourceName

func (r AzureNetworkSecurityGroup) GetMainResourceName() (string, error)

func (AzureNetworkSecurityGroup) Translate

type AzureObjectStorage

type AzureObjectStorage struct {
	*types.ObjectStorage
}

func (AzureObjectStorage) FromState

func (AzureObjectStorage) GetMainResourceName

func (r AzureObjectStorage) GetMainResourceName() (string, error)

func (AzureObjectStorage) Translate

type AzureObjectStorageObject

type AzureObjectStorageObject struct {
	*types.ObjectStorageObject
}

func (AzureObjectStorageObject) FromState

func (AzureObjectStorageObject) GetMainResourceName

func (r AzureObjectStorageObject) GetMainResourceName() (string, error)

func (AzureObjectStorageObject) Translate

type AzurePublicIp

type AzurePublicIp struct {
	*types.PublicIp
}

func (AzurePublicIp) FromState

func (AzurePublicIp) GetMainResourceName

func (r AzurePublicIp) GetMainResourceName() (string, error)

func (AzurePublicIp) Translate

func (r AzurePublicIp) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)

type AzureResourceGroup

type AzureResourceGroup struct {
	*common.AzResource `hcl:",squash" default:"name=azurerm_resource_group"`
	Location           string `hcl:"location"`
}

type AzureRouteTable

type AzureRouteTable struct {
	*types.RouteTable
}

func (AzureRouteTable) FromState

func (AzureRouteTable) GetMainResourceName

func (r AzureRouteTable) GetMainResourceName() (string, error)

func (AzureRouteTable) Translate

type AzureRouteTableAssociation

type AzureRouteTableAssociation struct {
	*types.RouteTableAssociation
}

func (AzureRouteTableAssociation) FromState

func (AzureRouteTableAssociation) GetMainResourceName

func (r AzureRouteTableAssociation) GetMainResourceName() (string, error)

func (AzureRouteTableAssociation) Translate

type AzureSubnet

type AzureSubnet struct {
	*types.Subnet
}

func (AzureSubnet) FromState

func (r AzureSubnet) FromState(state *output.TfState) (*resourcespb.SubnetResource, error)

func (AzureSubnet) GetMainResourceName

func (r AzureSubnet) GetMainResourceName() (string, error)

func (AzureSubnet) Translate

func (r AzureSubnet) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)

type AzureVault

type AzureVault struct {
	*types.Vault
}

func (AzureVault) FromState

func (r AzureVault) FromState(state *output.TfState) (*resourcespb.VaultResource, error)

func (AzureVault) GetMainResourceName

func (r AzureVault) GetMainResourceName() (string, error)

func (AzureVault) Translate

type AzureVaultAccessPolicy

type AzureVaultAccessPolicy struct {
	*types.VaultAccessPolicy
}

func (AzureVaultAccessPolicy) FromState

func (AzureVaultAccessPolicy) GetAccessPolicyRules

func (r AzureVaultAccessPolicy) GetAccessPolicyRules() *vault.AzureKeyVaultPermissions

func (AzureVaultAccessPolicy) GetMainResourceName

func (r AzureVaultAccessPolicy) GetMainResourceName() (string, error)

func (AzureVaultAccessPolicy) Translate

type AzureVaultSecret

type AzureVaultSecret struct {
	*types.VaultSecret
}

func (AzureVaultSecret) FromState

func (AzureVaultSecret) GetMainResourceName

func (r AzureVaultSecret) GetMainResourceName() (string, error)

func (AzureVaultSecret) Translate

type AzureVirtualMachine

type AzureVirtualMachine struct {
	*types.VirtualMachine
}

func (AzureVirtualMachine) FromState

func (AzureVirtualMachine) GetMainResourceName

func (r AzureVirtualMachine) GetMainResourceName() (string, error)

func (AzureVirtualMachine) Translate

type AzureVirtualNetwork

type AzureVirtualNetwork struct {
	*types.VirtualNetwork
}

func (AzureVirtualNetwork) FromState

func (AzureVirtualNetwork) GetAssociatedRouteTableId

func (r AzureVirtualNetwork) GetAssociatedRouteTableId() string

func (AzureVirtualNetwork) GetMainResourceName

func (r AzureVirtualNetwork) GetMainResourceName() (string, error)

func (AzureVirtualNetwork) Translate

type ResourceGroup

type ResourceGroup struct {
	*types.ResourceGroup
}

func (ResourceGroup) FromState

func (ResourceGroup) GetMainResourceName

func (rg ResourceGroup) GetMainResourceName() (string, error)

func (ResourceGroup) Translate

func (rg ResourceGroup) Translate(ctx resources.MultyContext) ([]output.TfBlock, error)

Jump to

Keyboard shortcuts

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