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 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 FirewallFixIPConfiguration(input *[]network.AzureFirewallIPConfiguration) (*[]network.AzureFirewallIPConfiguration, error)
- func FlattenAppServiceSiteConfig(input *web.SiteConfig) []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 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 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 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) (s []string, es []error)
- func ValidateKeyVaultChildName(v interface{}, k string) (ws []string, es []error)
- func ValidateMsSqlServiceName(i interface{}, k string) (_ []string, errors []error)
- func ValidateResourceID(i interface{}, k string) (ws []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 ¶
func EventHubAuthorizationRuleCustomizeDiff ¶
func EventHubAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
func ExpandAppServiceSiteConfig ¶
func ExpandAppServiceSiteConfig(input interface{}) web.SiteConfig
func ExpandCertificatePermissions ¶
func ExpandCertificatePermissions(input []interface{}) *[]keyvault.CertificatePermissions
func ExpandDevTestLabVirtualMachineGalleryImageReference ¶
func ExpandDevTestLabVirtualMachineGalleryImageReference(input []interface{}, osType string) *dtl.GalleryImageReference
func ExpandDevTestLabVirtualMachineNatRules ¶
func ExpandDevTestLabVirtualMachineNatRules(input *schema.Set) []dtl.InboundNatRule
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 ExpandZones ¶
func ExpandZones(v []interface{}) *[]string
func FindNetworkInterfaceIPConfiguration ¶
func FindNetworkInterfaceIPConfiguration(input *[]network.InterfaceIPConfiguration, name string) *network.InterfaceIPConfiguration
func FirewallFixIPConfiguration ¶
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 ¶
func FlattenAppServiceSiteConfig(input *web.SiteConfig) []interface{}
func FlattenCertificatePermissions ¶
func FlattenCertificatePermissions(input *[]keyvault.CertificatePermissions) []interface{}
func FlattenDevTestVirtualMachineGalleryImage ¶
func FlattenDevTestVirtualMachineGalleryImage(input *dtl.GalleryImageReference) []interface{}
func FlattenEventHubAuthorizationRuleRights ¶
func FlattenEventHubAuthorizationRuleRights(rights *[]eventhub.AccessRights) (listen, send, 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, send, manage bool)
func MergeSchema ¶
func MergeSchema(a map[string]*schema.Schema, b map[string]*schema.Schema) map[string]*schema.Schema
shared schema
func NormalizeLocation ¶
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 SchemaLocation ¶
func SchemaResourceGroupName ¶
func SchemaSingleZone ¶
func SchemaSubscription ¶
func SchemaZones ¶
func SchemaZonesComputed ¶
func ServiceBusAuthorizationRuleCustomizeDiff ¶
func ServiceBusAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
func SuppressLocationDiff ¶
func SuppressLocationDiff(k, old, new string, d *schema.ResourceData) bool
func UpdateNetworkInterfaceIPConfiguration ¶
func UpdateNetworkInterfaceIPConfiguration(config network.InterfaceIPConfiguration, configs *[]network.InterfaceIPConfiguration) *[]network.InterfaceIPConfiguration
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 ValidateKeyVaultChildId ¶
Unfortunately this can't (easily) go in the Validate package since there's a circular reference on this package
func ValidateMsSqlServiceName ¶
true for a resource ID or an empty string
func ValidateResourceID ¶
func ValidateResourceIDOrEmpty ¶
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 KeyVaultChildID ¶
func ParseKeyVaultChildID ¶
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.