Documentation ¶
Index ¶
- func BuildSender() autorest.Sender
- func EventHubAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
- func EventHubAuthorizationRuleSchemaFrom(s map[string]*schema.Schema) map[string]*schema.Schema
- func ExpandAppServiceSiteConfig(input interface{}) web.SiteConfig
- func ExpandApplicationInsightsAPIKeyLinkedProperties(v *schema.Set, appInsightsId string) *[]string
- func ExpandBatchPoolImageReference(list []interface{}) (*batch.ImageReference, error)
- func ExpandBatchPoolStartTask(list []interface{}) (*batch.StartTask, error)
- func ExpandCertificatePermissions(input []interface{}) *[]keyvault.CertificatePermissions
- func ExpandDevTestLabVirtualMachineGalleryImageReference(input []interface{}, osType string) *dtl.GalleryImageReference
- func ExpandDevTestLabVirtualMachineNatRules(input *schema.Set) []dtl.InboundNatRule
- func ExpandEventHubAuthorizationRuleRights(d *schema.ResourceData) *[]eventhub.AccessRights
- func ExpandKeyPermissions(keyPermissionsRaw []interface{}) *[]keyvault.KeyPermissions
- func ExpandKeyVaultAccessPolicies(input []interface{}) (*[]keyvault.AccessPolicyEntry, error)
- func ExpandSecretPermissions(input []interface{}) *[]keyvault.SecretPermissions
- func ExpandServiceBusAuthorizationRuleRights(d *schema.ResourceData) *[]servicebus.AccessRights
- func ExpandZones(v []interface{}) *[]string
- func FindNetworkInterfaceIPConfiguration(input *[]network.InterfaceIPConfiguration, name string) *network.InterfaceIPConfiguration
- func FlattenAppServiceSiteConfig(input *web.SiteConfig) []interface{}
- func FlattenApplicationInsightsAPIKeyLinkedProperties(props *[]string) *[]string
- func FlattenBatchPoolAutoScaleSettings(settings *batch.AutoScaleSettings) []interface{}
- func FlattenBatchPoolFixedScaleSettings(settings *batch.FixedScaleSettings) []interface{}
- func FlattenBatchPoolImageReference(image *batch.ImageReference) []interface{}
- func FlattenBatchPoolStartTask(startTask *batch.StartTask) []interface{}
- func FlattenCertificatePermissions(input *[]keyvault.CertificatePermissions) []interface{}
- func FlattenDevTestVirtualMachineGalleryImage(input *dtl.GalleryImageReference) []interface{}
- func FlattenEventHubAuthorizationRuleRights(rights *[]eventhub.AccessRights) (listen, send, manage bool)
- func FlattenKeyPermissions(input *[]keyvault.KeyPermissions) []interface{}
- func FlattenKeyVaultAccessPolicies(policies *[]keyvault.AccessPolicyEntry) []map[string]interface{}
- func FlattenSecretPermissions(input *[]keyvault.SecretPermissions) []interface{}
- func FlattenServiceBusAuthorizationRuleRights(rights *[]servicebus.AccessRights) (listen, send, manage bool)
- func HashAzureLocation(location interface{}) int
- func MergeSchema(a map[string]*schema.Schema, b map[string]*schema.Schema) map[string]*schema.Schema
- func NormalizeLocation(location interface{}) string
- func SchemaAppServiceSiteConfig() *schema.Schema
- func SchemaDevTestVirtualMachineGalleryImageReference() *schema.Schema
- func SchemaDevTestVirtualMachineInboundNatRule() *schema.Schema
- func SchemaKeyVaultCertificatePermissions() *schema.Schema
- func SchemaKeyVaultKeyPermissions() *schema.Schema
- func SchemaKeyVaultSecretPermissions() *schema.Schema
- func SchemaLocation() *schema.Schema
- func SchemaLocationDeprecated() *schema.Schema
- func SchemaLocationForDataSource() *schema.Schema
- func SchemaLocationOptional() *schema.Schema
- func SchemaResourceGroupName() *schema.Schema
- func SchemaResourceGroupNameDiffSuppress() *schema.Schema
- func SchemaResourceGroupNameForDataSource() *schema.Schema
- func SchemaSingleZone() *schema.Schema
- func SchemaSubscription(subscriptionIDOptional bool) map[string]*schema.Schema
- func SchemaZones() *schema.Schema
- func SchemaZonesComputed() *schema.Schema
- func ServiceBusAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
- func ServiceBusAuthorizationRuleSchemaFrom(s map[string]*schema.Schema) map[string]*schema.Schema
- func SuppressLocationDiff(k, old, new string, d *schema.ResourceData) bool
- func UpdateNetworkInterfaceIPConfiguration(config network.InterfaceIPConfiguration, ...) *[]network.InterfaceIPConfiguration
- func ValidateAzureRMBatchPoolName(v interface{}, k string) (warnings []string, errors []error)
- func ValidateDataLakeAccountName() schema.SchemaValidateFunc
- func ValidateDataLakeFirewallRuleName() schema.SchemaValidateFunc
- func ValidateEventHubAuthorizationRuleName() schema.SchemaValidateFunc
- func ValidateEventHubConsumerName() schema.SchemaValidateFunc
- func ValidateEventHubName() schema.SchemaValidateFunc
- func ValidateEventHubNamespaceName() schema.SchemaValidateFunc
- func ValidateKeyVaultChildId(i interface{}, k string) (warnings []string, errors []error)
- func ValidateKeyVaultChildName(v interface{}, k string) (warnings []string, errors []error)
- func ValidateMsSqlDatabaseName(i interface{}, k string) (_ []string, errors []error)
- func ValidateMsSqlElasticPoolName(i interface{}, k string) (_ []string, errors []error)
- func ValidateMsSqlServerName(i interface{}, k string) (_ []string, errors []error)
- func ValidateResourceID(i interface{}, k string) (warnings []string, errors []error)
- func ValidateResourceIDOrEmpty(i interface{}, k string) (_ []string, errors []error)
- func ValidateServiceBusAuthorizationRuleName() schema.SchemaValidateFunc
- func ValidateServiceBusNamespaceName() schema.SchemaValidateFunc
- func ValidateServiceBusQueueName() schema.SchemaValidateFunc
- func ValidateServiceBusSubscriptionName() schema.SchemaValidateFunc
- func ValidateServiceBusTopicName() schema.SchemaValidateFunc
- type KeyVaultChildID
- type ResourceID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSender ¶ added in v1.18.0
func EventHubAuthorizationRuleCustomizeDiff ¶ added in v1.10.0
func EventHubAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
func EventHubAuthorizationRuleSchemaFrom ¶ added in v1.10.0
func ExpandAppServiceSiteConfig ¶ added in v1.14.0
func ExpandAppServiceSiteConfig(input interface{}) web.SiteConfig
func ExpandApplicationInsightsAPIKeyLinkedProperties ¶ added in v1.21.0
func ExpandBatchPoolImageReference ¶ added in v1.21.0
func ExpandBatchPoolImageReference(list []interface{}) (*batch.ImageReference, error)
ExpandBatchPoolImageReference expands Batch pool image reference
func ExpandBatchPoolStartTask ¶ added in v1.21.0
ExpandBatchPoolStartTask expands Batch pool start task
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 ExpandZones ¶ added in v1.19.0
func ExpandZones(v []interface{}) *[]string
func FindNetworkInterfaceIPConfiguration ¶ added in v1.17.0
func FindNetworkInterfaceIPConfiguration(input *[]network.InterfaceIPConfiguration, name string) *network.InterfaceIPConfiguration
func FlattenAppServiceSiteConfig ¶ added in v1.14.0
func FlattenAppServiceSiteConfig(input *web.SiteConfig) []interface{}
func FlattenApplicationInsightsAPIKeyLinkedProperties ¶ added in v1.21.0
func FlattenBatchPoolAutoScaleSettings ¶ added in v1.21.0
func FlattenBatchPoolAutoScaleSettings(settings *batch.AutoScaleSettings) []interface{}
FlattenBatchPoolAutoScaleSettings flattens the auto scale settings for a Batch pool
func FlattenBatchPoolFixedScaleSettings ¶ added in v1.21.0
func FlattenBatchPoolFixedScaleSettings(settings *batch.FixedScaleSettings) []interface{}
FlattenBatchPoolFixedScaleSettings flattens the fixed scale settings for a Batch pool
func FlattenBatchPoolImageReference ¶ added in v1.21.0
func FlattenBatchPoolImageReference(image *batch.ImageReference) []interface{}
FlattenBatchPoolImageReference flattens the Batch pool image reference
func FlattenBatchPoolStartTask ¶ added in v1.21.0
FlattenBatchPoolStartTask flattens a Batch pool start task
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, send, 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, send, manage bool)
func HashAzureLocation ¶ added in v1.20.0
func HashAzureLocation(location interface{}) int
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 NormalizeLocation ¶ added in v1.19.0
func NormalizeLocation(location interface{}) string
azureRMNormalizeLocation is a function which normalises human-readable region/location names (e.g. "West US") to the values used and returned by the Azure API (e.g. "westus"). In state we track the API internal version as it is easier to go from the human form to the canonical form than the other way around.
func SchemaAppServiceSiteConfig ¶ added in v1.14.0
func SchemaDevTestVirtualMachineGalleryImageReference ¶ added in v1.17.0
func SchemaDevTestVirtualMachineInboundNatRule ¶ added in v1.17.0
func SchemaKeyVaultCertificatePermissions ¶ added in v1.14.0
func SchemaKeyVaultKeyPermissions ¶ added in v1.14.0
func SchemaKeyVaultSecretPermissions ¶ added in v1.14.0
func SchemaLocation ¶ added in v1.19.0
func SchemaLocationDeprecated ¶ added in v1.19.0
func SchemaLocationForDataSource ¶ added in v1.19.0
func SchemaLocationOptional ¶ added in v1.21.0
func SchemaResourceGroupName ¶ added in v1.19.0
func SchemaResourceGroupNameDiffSuppress ¶ added in v1.19.0
func SchemaResourceGroupNameForDataSource ¶ added in v1.19.0
func SchemaSingleZone ¶ added in v1.19.0
func SchemaSubscription ¶ added in v1.14.0
func SchemaZones ¶ added in v1.19.0
func SchemaZonesComputed ¶ added in v1.19.0
func ServiceBusAuthorizationRuleCustomizeDiff ¶ added in v1.9.0
func ServiceBusAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
func ServiceBusAuthorizationRuleSchemaFrom ¶ added in v1.10.0
func SuppressLocationDiff ¶ added in v1.19.0
func SuppressLocationDiff(k, old, new string, d *schema.ResourceData) bool
func UpdateNetworkInterfaceIPConfiguration ¶ added in v1.17.0
func UpdateNetworkInterfaceIPConfiguration(config network.InterfaceIPConfiguration, configs *[]network.InterfaceIPConfiguration) *[]network.InterfaceIPConfiguration
func ValidateAzureRMBatchPoolName ¶ added in v1.21.0
ValidateAzureRMBatchPoolName validates the name of a Batch pool
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 ValidateKeyVaultChildId ¶ added in v1.18.0
Unfortunately this can't (easily) go in the Validate package since there's a circular reference on this package
func ValidateKeyVaultChildName ¶ added in v1.18.0
func ValidateMsSqlDatabaseName ¶ added in v1.20.0
Your database name can't end with '.' or ' ', can't contain '<,>,*,%,&,:,\,/,?' or control characters, and can't have more than 128 characters.
func ValidateMsSqlElasticPoolName ¶ added in v1.20.0
Following characters and any control characters are not allowed for resource name '%,&,\\\\,?,/'.\" The name can not end with characters: '. ' TODO: unsure about length, was able to deploy one at 120
func ValidateMsSqlServerName ¶ added in v1.20.0
Your server name can contain only lowercase letters, numbers, and '-', but can't start or end with '-' or have more than 63 characters.
func ValidateResourceID ¶ added in v1.9.0
func ValidateResourceIDOrEmpty ¶
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 KeyVaultChildID ¶ added in v1.18.0
func ParseKeyVaultChildID ¶ added in v1.18.0
func ParseKeyVaultChildID(id string) (*KeyVaultChildID, 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.