azure

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventHubAuthorizationRuleCustomizeDiff

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

func EventHubAuthorizationRuleSchemaFrom

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

func ExpandAppServiceSiteConfig

func ExpandAppServiceSiteConfig(input interface{}) web.SiteConfig

func ExpandCertificatePermissions

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

func ExpandEventHubAuthorizationRuleRights

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

schema

func ExpandKeyPermissions

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

func ExpandKeyVaultAccessPolicies

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

func ExpandSecretPermissions

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

func ExpandServiceBusAuthorizationRuleRights

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

func FlattenAppServiceSiteConfig

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

func FlattenCertificatePermissions

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

func FlattenEventHubAuthorizationRuleRights

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

func FlattenKeyPermissions

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

func FlattenKeyVaultAccessPolicies

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

func FlattenSecretPermissions

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

func FlattenServiceBusAuthorizationRuleRights

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

func MergeSchema

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

func SchemaAppServiceSiteConfig() *schema.Schema

func SchemaKeyVaultCertificatePermissions

func SchemaKeyVaultCertificatePermissions() *schema.Schema

func SchemaKeyVaultKeyPermissions

func SchemaKeyVaultKeyPermissions() *schema.Schema

func SchemaKeyVaultSecretPermissions

func SchemaKeyVaultSecretPermissions() *schema.Schema

func SchemaSubscription

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

func ServiceBusAuthorizationRuleCustomizeDiff

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

func ServiceBusAuthorizationRuleSchemaFrom

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

func ValidateDataLakeAccountName

func ValidateDataLakeAccountName() schema.SchemaValidateFunc

store and analytic account names are the same

func ValidateDataLakeFirewallRuleName

func ValidateDataLakeFirewallRuleName() schema.SchemaValidateFunc

func ValidateEventHubAuthorizationRuleName

func ValidateEventHubAuthorizationRuleName() schema.SchemaValidateFunc

func ValidateEventHubConsumerName

func ValidateEventHubConsumerName() schema.SchemaValidateFunc

func ValidateEventHubName

func ValidateEventHubName() schema.SchemaValidateFunc

func ValidateEventHubNamespaceName

func ValidateEventHubNamespaceName() schema.SchemaValidateFunc

validation

func ValidateResourceID

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

func ValidateServiceBusAuthorizationRuleName() schema.SchemaValidateFunc

func ValidateServiceBusNamespaceName

func ValidateServiceBusNamespaceName() schema.SchemaValidateFunc

validation

func ValidateServiceBusQueueName

func ValidateServiceBusQueueName() schema.SchemaValidateFunc

func ValidateServiceBusSubscriptionName

func ValidateServiceBusSubscriptionName() schema.SchemaValidateFunc

func ValidateServiceBusTopicName

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