azure

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventHubAuthorizationRuleCustomizeDiff added in v1.10.0

func EventHubAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error

func EventHubAuthorizationRuleSchemaFrom added in v1.10.0

func EventHubAuthorizationRuleSchemaFrom(s map[string]*schema.Schema) map[string]*schema.Schema

func ExpandAppServiceSiteConfig added in v1.14.0

func ExpandAppServiceSiteConfig(input interface{}) web.SiteConfig

func ExpandCertificatePermissions added in v1.14.0

func ExpandCertificatePermissions(input []interface{}) *[]keyvault.CertificatePermissions

func ExpandDevTestLabVirtualMachineGalleryImageReference added in v1.17.0

func ExpandDevTestLabVirtualMachineGalleryImageReference(input []interface{}, osType string) *dtl.GalleryImageReference

func ExpandDevTestLabVirtualMachineNatRules added in v1.17.0

func ExpandDevTestLabVirtualMachineNatRules(input *schema.Set) []dtl.InboundNatRule

func ExpandEventHubAuthorizationRuleRights added in v1.10.0

func ExpandEventHubAuthorizationRuleRights(d *schema.ResourceData) *[]eventhub.AccessRights

schema

func ExpandKeyPermissions added in v1.14.0

func ExpandKeyPermissions(keyPermissionsRaw []interface{}) *[]keyvault.KeyPermissions

func ExpandKeyVaultAccessPolicies added in v1.14.0

func ExpandKeyVaultAccessPolicies(input []interface{}) (*[]keyvault.AccessPolicyEntry, error)

func ExpandSecretPermissions added in v1.14.0

func ExpandSecretPermissions(input []interface{}) *[]keyvault.SecretPermissions

func ExpandServiceBusAuthorizationRuleRights added in v1.9.0

func ExpandServiceBusAuthorizationRuleRights(d *schema.ResourceData) *[]servicebus.AccessRights

func FindNetworkInterfaceIPConfiguration added in v1.17.0

func FindNetworkInterfaceIPConfiguration(input *[]network.InterfaceIPConfiguration, name string) *network.InterfaceIPConfiguration

func FirewallFixIPConfiguration added in v1.15.0

func FirewallFixIPConfiguration(input *[]network.AzureFirewallIPConfiguration) (*[]network.AzureFirewallIPConfiguration, error)

The API requires InternalPublicIPAddress to be set when for a CreateOrUpdate operation, but Get operations return the property as PublicIPAddress so we need to go through and copy the value to the correct property.

func FlattenAppServiceSiteConfig added in v1.14.0

func FlattenAppServiceSiteConfig(input *web.SiteConfig) []interface{}

func FlattenCertificatePermissions added in v1.14.0

func FlattenCertificatePermissions(input *[]keyvault.CertificatePermissions) []interface{}

func FlattenDevTestVirtualMachineGalleryImage added in v1.17.0

func FlattenDevTestVirtualMachineGalleryImage(input *dtl.GalleryImageReference) []interface{}

func FlattenEventHubAuthorizationRuleRights added in v1.10.0

func FlattenEventHubAuthorizationRuleRights(rights *[]eventhub.AccessRights) (listen bool, send bool, manage bool)

func FlattenKeyPermissions added in v1.14.0

func FlattenKeyPermissions(input *[]keyvault.KeyPermissions) []interface{}

func FlattenKeyVaultAccessPolicies added in v1.14.0

func FlattenKeyVaultAccessPolicies(policies *[]keyvault.AccessPolicyEntry) []map[string]interface{}

func FlattenSecretPermissions added in v1.14.0

func FlattenSecretPermissions(input *[]keyvault.SecretPermissions) []interface{}

func FlattenServiceBusAuthorizationRuleRights added in v1.9.0

func FlattenServiceBusAuthorizationRuleRights(rights *[]servicebus.AccessRights) (listen bool, send bool, manage bool)

func MergeSchema added in v1.10.0

func MergeSchema(a map[string]*schema.Schema, b map[string]*schema.Schema) map[string]*schema.Schema

shared schema

func ParseNetworkSecurityGroupName

func ParseNetworkSecurityGroupName(networkSecurityGroupId string) (string, error)

func ParseRouteTableName

func ParseRouteTableName(routeTableId string) (string, error)

func SchemaAppServiceSiteConfig added in v1.14.0

func SchemaAppServiceSiteConfig() *schema.Schema

func SchemaDevTestVirtualMachineGalleryImageReference added in v1.17.0

func SchemaDevTestVirtualMachineGalleryImageReference() *schema.Schema

func SchemaDevTestVirtualMachineInboundNatRule added in v1.17.0

func SchemaDevTestVirtualMachineInboundNatRule() *schema.Schema

func SchemaKeyVaultCertificatePermissions added in v1.14.0

func SchemaKeyVaultCertificatePermissions() *schema.Schema

func SchemaKeyVaultKeyPermissions added in v1.14.0

func SchemaKeyVaultKeyPermissions() *schema.Schema

func SchemaKeyVaultSecretPermissions added in v1.14.0

func SchemaKeyVaultSecretPermissions() *schema.Schema

func SchemaSubscription added in v1.14.0

func SchemaSubscription(subscriptionIDOptional bool) map[string]*schema.Schema

func ServiceBusAuthorizationRuleCustomizeDiff added in v1.9.0

func ServiceBusAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error

func ServiceBusAuthorizationRuleSchemaFrom added in v1.10.0

func ServiceBusAuthorizationRuleSchemaFrom(s map[string]*schema.Schema) map[string]*schema.Schema

func UpdateNetworkInterfaceIPConfiguration added in v1.17.0

func UpdateNetworkInterfaceIPConfiguration(config network.InterfaceIPConfiguration, configs *[]network.InterfaceIPConfiguration) *[]network.InterfaceIPConfiguration

func ValidateDataLakeAccountName added in v1.10.0

func ValidateDataLakeAccountName() schema.SchemaValidateFunc

store and analytic account names are the same

func ValidateDataLakeFirewallRuleName added in v1.10.0

func ValidateDataLakeFirewallRuleName() schema.SchemaValidateFunc

func ValidateEventHubAuthorizationRuleName added in v1.10.0

func ValidateEventHubAuthorizationRuleName() schema.SchemaValidateFunc

func ValidateEventHubConsumerName added in v1.10.0

func ValidateEventHubConsumerName() schema.SchemaValidateFunc

func ValidateEventHubName added in v1.10.0

func ValidateEventHubName() schema.SchemaValidateFunc

func ValidateEventHubNamespaceName added in v1.10.0

func ValidateEventHubNamespaceName() schema.SchemaValidateFunc

validation

func ValidateResourceID added in v1.9.0

func ValidateResourceID(i interface{}, k string) (_ []string, errors []error)

func ValidateResourceIDOrEmpty

func ValidateResourceIDOrEmpty(i interface{}, k string) (_ []string, errors []error)

true for a resource ID or an empty string

func ValidateServiceBusAuthorizationRuleName added in v1.9.0

func ValidateServiceBusAuthorizationRuleName() schema.SchemaValidateFunc

func ValidateServiceBusNamespaceName added in v1.9.0

func ValidateServiceBusNamespaceName() schema.SchemaValidateFunc

validation

func ValidateServiceBusQueueName added in v1.10.0

func ValidateServiceBusQueueName() schema.SchemaValidateFunc

func ValidateServiceBusSubscriptionName added in v1.10.0

func ValidateServiceBusSubscriptionName() schema.SchemaValidateFunc

func ValidateServiceBusTopicName added in v1.9.0

func ValidateServiceBusTopicName() schema.SchemaValidateFunc

Types

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.

Jump to

Keyboard shortcuts

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