Documentation ¶
Index ¶
- Constants
- func CosmosGetIDFromResponse(resp autorest.Response) (string, error)
- func EventHubAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
- func EventHubAuthorizationRuleSchemaFrom(s map[string]*schema.Schema) map[string]*schema.Schema
- func ExpandApiManagementOperationParameterContract(input []interface{}) *[]apimanagement.ParameterContract
- func ExpandApiManagementOperationRepresentation(input []interface{}) (*[]apimanagement.RepresentationContract, error)
- func ExpandAppServiceAuthSettings(input []interface{}) web.SiteAuthSettingsProperties
- func ExpandAppServiceBackup(input []interface{}) *web.BackupRequest
- func ExpandAppServiceIdentity(input []interface{}) *web.ManagedServiceIdentity
- func ExpandAppServiceLogs(input interface{}) web.SiteLogsConfigProperties
- func ExpandAppServiceSiteConfig(input interface{}) (*web.SiteConfig, error)
- func ExpandAppServiceStorageAccounts(input []interface{}) map[string]*web.AzureStorageInfoValue
- func ExpandApplicationInsightsAPIKeyLinkedProperties(v *schema.Set, appInsightsId string) *[]string
- func ExpandBatchAccountKeyVaultReference(list []interface{}) (*batch.KeyVaultReference, error)
- func ExpandBatchMetaData(input map[string]interface{}) *[]batch.MetadataItem
- func ExpandBatchPoolCertificateReferences(list []interface{}) (*[]batch.CertificateReference, error)
- func ExpandBatchPoolContainerConfiguration(list []interface{}) (*batch.ContainerConfiguration, error)
- func ExpandBatchPoolEndpointConfiguration(list []interface{}) (*batch.PoolEndpointConfiguration, error)
- func ExpandBatchPoolImageReference(list []interface{}) (*batch.ImageReference, error)
- func ExpandBatchPoolNetworkConfiguration(list []interface{}) (*batch.NetworkConfiguration, error)
- func ExpandBatchPoolNetworkSecurityGroupRule(list []interface{}) ([]batch.NetworkSecurityGroupRule, 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 ExpandHDInsightNodeDefinition(name string, input []interface{}, definition HDInsightNodeDefinition) (*hdinsight.Role, error)
- func ExpandHDInsightsConfigurations(input []interface{}) map[string]interface{}
- func ExpandHDInsightsStorageAccounts(storageAccounts []interface{}, gen2storageAccounts []interface{}) (*[]hdinsight.StorageAccount, *hdinsight.ClusterIdentity, error)
- 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 ExpandStoragePermissions(input []interface{}) *[]keyvault.StoragePermissions
- func ExpandStreamAnalyticsOutputSerialization(input []interface{}) (streamanalytics.BasicSerialization, error)
- func ExpandStreamAnalyticsStreamInputSerialization(input []interface{}) (streamanalytics.BasicSerialization, error)
- func ExpandWebCorsSettings(input interface{}) web.CorsSettings
- func ExpandZones(v []interface{}) *[]string
- func FindHDInsightConnectivityEndpoint(name string, input *[]hdinsight.ConnectivityEndpoint) string
- func FindHDInsightRole(input *[]hdinsight.Role, name string) *hdinsight.Role
- func FindNetworkInterfaceIPConfiguration(input *[]network.InterfaceIPConfiguration, name string) *network.InterfaceIPConfiguration
- func FlattenAdditionalLoginParams(input *[]string) map[string]interface{}
- func FlattenApiManagementOperationParameterContract(input *[]apimanagement.ParameterContract) []interface{}
- func FlattenApiManagementOperationRepresentation(input *[]apimanagement.RepresentationContract) []interface{}
- func FlattenAppServiceAuthSettings(input *web.SiteAuthSettingsProperties) []interface{}
- func FlattenAppServiceBackup(input *web.BackupRequestProperties) []interface{}
- func FlattenAppServiceIdentity(identity *web.ManagedServiceIdentity) []interface{}
- func FlattenAppServiceLogs(input *web.SiteLogsConfigProperties) []interface{}
- func FlattenAppServiceSiteConfig(input *web.SiteConfig) []interface{}
- func FlattenAppServiceStorageAccounts(input map[string]*web.AzureStorageInfoValue) []interface{}
- func FlattenApplicationInsightsAPIKeyLinkedProperties(props *[]string) *[]string
- func FlattenBatchAccountKeyvaultReference(keyVaultReference *batch.KeyVaultReference) interface{}
- func FlattenBatchMetaData(metadatas *[]batch.MetadataItem) map[string]interface{}
- func FlattenBatchPoolAutoScaleSettings(settings *batch.AutoScaleSettings) []interface{}
- func FlattenBatchPoolCertificateReferences(armCertificates *[]batch.CertificateReference) []interface{}
- func FlattenBatchPoolContainerConfiguration(d *schema.ResourceData, ...) interface{}
- func FlattenBatchPoolFixedScaleSettings(settings *batch.FixedScaleSettings) []interface{}
- func FlattenBatchPoolImageReference(image *batch.ImageReference) []interface{}
- func FlattenBatchPoolNetworkConfiguration(networkConfig *batch.NetworkConfiguration) []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 FlattenHDInsightNodeDefinition(input *hdinsight.Role, existing []interface{}, ...) []interface{}
- func FlattenHDInsightsConfigurations(input map[string]*string) []interface{}
- 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 FlattenStoragePermissions(input *[]keyvault.StoragePermissions) []interface{}
- func FlattenStreamAnalyticsOutputSerialization(input streamanalytics.BasicSerialization) []interface{}
- func FlattenStreamAnalyticsStreamInputSerialization(input streamanalytics.BasicSerialization) []interface{}
- func FlattenWebCorsSettings(input *web.CorsSettings) []interface{}
- func FlattenZones(v *[]string) []interface{}
- func GetKeyVaultBaseUrlFromID(ctx context.Context, client *keyvault.VaultsClient, keyVaultId string) (string, error)
- func GetKeyVaultIDFromBaseUrl(ctx context.Context, client *keyvault.VaultsClient, keyVaultUrl string) (*string, error)
- func HandleAzureSdkForGoBug2824(id string) string
- func HashAzureLocation(location interface{}) int
- func HashIPv6Address(ipv6 interface{}) int
- func KeyVaultExists(ctx context.Context, client *keyvault.VaultsClient, keyVaultId string) (bool, error)
- func MSSQLElasticPoolValidateSKU(diff *schema.ResourceDiff) error
- func MergeSchema(a map[string]*schema.Schema, b map[string]*schema.Schema) map[string]*schema.Schema
- func MinCapacitySkuNameInSlice(valid []string, minCapacity int32, ignoreCase bool) schema.SchemaValidateFunc
- func NormalizeIPv6Address(ipv6 interface{}) string
- func NormalizeJson(jsonString interface{}) string
- func NormalizeLocation(location interface{}) string
- func SchemaApiManagementChildDataSourceName() *schema.Schema
- func SchemaApiManagementChildID() *schema.Schema
- func SchemaApiManagementChildName() *schema.Schema
- func SchemaApiManagementDataSourceName() *schema.Schema
- func SchemaApiManagementName() *schema.Schema
- func SchemaApiManagementOperationParameterContract() *schema.Schema
- func SchemaApiManagementOperationRepresentation() *schema.Schema
- func SchemaApiManagementUserDataSourceName() *schema.Schema
- func SchemaApiManagementUserName() *schema.Schema
- func SchemaAppServiceAadAuthSettings() *schema.Schema
- func SchemaAppServiceAuthSettings() *schema.Schema
- func SchemaAppServiceBackup() *schema.Schema
- func SchemaAppServiceDataSourceSiteConfig() *schema.Schema
- func SchemaAppServiceFacebookAuthSettings() *schema.Schema
- func SchemaAppServiceGoogleAuthSettings() *schema.Schema
- func SchemaAppServiceIdentity() *schema.Schema
- func SchemaAppServiceLogsConfig() *schema.Schema
- func SchemaAppServiceMicrosoftAuthSettings() *schema.Schema
- func SchemaAppServiceSiteConfig() *schema.Schema
- func SchemaAppServiceStorageAccounts() *schema.Schema
- func SchemaAppServiceTwitterAuthSettings() *schema.Schema
- func SchemaContainerGroupProbe() *schema.Schema
- func SchemaDevTestVirtualMachineGalleryImageReference() *schema.Schema
- func SchemaDevTestVirtualMachineInboundNatRule() *schema.Schema
- func SchemaHDInsightClusterVersion() *schema.Schema
- func SchemaHDInsightDataSourceName() *schema.Schema
- func SchemaHDInsightName() *schema.Schema
- func SchemaHDInsightNodeDefinition(schemaLocation string, definition HDInsightNodeDefinition) *schema.Schema
- func SchemaHDInsightTier() *schema.Schema
- func SchemaHDInsightsGateway() *schema.Schema
- func SchemaHDInsightsGen2StorageAccounts() *schema.Schema
- func SchemaHDInsightsStorageAccounts() *schema.Schema
- func SchemaKeyVaultCertificatePermissions() *schema.Schema
- func SchemaKeyVaultKeyPermissions() *schema.Schema
- func SchemaKeyVaultSecretPermissions() *schema.Schema
- func SchemaKeyVaultStoragePermissions() *schema.Schema
- func SchemaLocation() *schema.Schema
- func SchemaLocationDeprecated() *schema.Schema
- func SchemaLocationForDataSource() *schema.Schema
- func SchemaLocationOptional() *schema.Schema
- func SchemaMultipleZones() *schema.Schema
- func SchemaResourceGroupName() *schema.Schema
- func SchemaResourceGroupNameDeprecated() *schema.Schema
- func SchemaResourceGroupNameDiffSuppress() *schema.Schema
- func SchemaResourceGroupNameForDataSource() *schema.Schema
- func SchemaSingleZone() *schema.Schema
- func SchemaStreamAnalyticsOutputSerialization() *schema.Schema
- func SchemaStreamAnalyticsStreamInputSerialization() *schema.Schema
- func SchemaSubscription(subscriptionIDOptional bool) map[string]*schema.Schema
- func SchemaWebCorsSettings() *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 SplitSku(sku string) (string, int32, error)
- func StringContains(sourceStr, subStr string) bool
- func SuppressLocationDiff(_, old, new string, _ *schema.ResourceData) bool
- func UpdateNetworkInterfaceIPConfiguration(config network.InterfaceIPConfiguration, ...) *[]network.InterfaceIPConfiguration
- func ValidateAutomationAccountName() schema.SchemaValidateFunc
- func ValidateAutomationRunbookName() schema.SchemaValidateFunc
- func ValidateAutomationScheduleName() schema.SchemaValidateFunc
- 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 ValidateMsSqlFailoverGroupName(i interface{}, k string) (_ []string, errors []error)
- func ValidateMsSqlServerName(i interface{}, k string) (_ []string, errors []error)
- func ValidateMySqlServerName(i interface{}, k string) (_ []string, errors []error)
- func ValidateRecoveryServicesVaultName(v interface{}, k string) (warnings []string, errors []error)
- func ValidateResourceID(i interface{}, k string) (warnings []string, errors []error)
- func ValidateResourceIDOrEmpty(i interface{}, k string) (_ []string, errors []error)
- func ValidateSchemaHDInsightNodeDefinitionVMSize() schema.SchemaValidateFunc
- func ValidateServiceBusAuthorizationRuleName() schema.SchemaValidateFunc
- func ValidateServiceBusNamespaceName() schema.SchemaValidateFunc
- func ValidateServiceBusQueueName() schema.SchemaValidateFunc
- func ValidateServiceBusSubscriptionName() schema.SchemaValidateFunc
- func ValidateServiceBusTopicName() schema.SchemaValidateFunc
- type CosmosAccountID
- type CosmosDatabaseCollectionID
- type CosmosDatabaseContainerID
- type CosmosDatabaseID
- type CosmosGremlinGraphID
- type CosmosKeyspaceID
- type CosmosTableID
- type HDInsightNodeDefinition
- type KeyVaultChildID
- type ResourceID
Constants ¶
const ( DTU skuType = 0 VCore skuType = 1 )
Variables ¶
This section is empty.
Functions ¶
func CosmosGetIDFromResponse ¶ added in v1.28.0
it seems the cosmos API is not returning any sort of valid ID in the main response body so lets grab it from the response.request.url.path
func EventHubAuthorizationRuleCustomizeDiff ¶ added in v1.10.0
func EventHubAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
func EventHubAuthorizationRuleSchemaFrom ¶ added in v1.10.0
func ExpandApiManagementOperationParameterContract ¶ added in v1.24.0
func ExpandApiManagementOperationParameterContract(input []interface{}) *[]apimanagement.ParameterContract
func ExpandApiManagementOperationRepresentation ¶ added in v1.24.0
func ExpandApiManagementOperationRepresentation(input []interface{}) (*[]apimanagement.RepresentationContract, error)
func ExpandAppServiceAuthSettings ¶ added in v1.29.0
func ExpandAppServiceAuthSettings(input []interface{}) web.SiteAuthSettingsProperties
func ExpandAppServiceBackup ¶ added in v1.32.0
func ExpandAppServiceBackup(input []interface{}) *web.BackupRequest
func ExpandAppServiceIdentity ¶ added in v1.32.0
func ExpandAppServiceIdentity(input []interface{}) *web.ManagedServiceIdentity
func ExpandAppServiceLogs ¶ added in v1.31.0
func ExpandAppServiceLogs(input interface{}) web.SiteLogsConfigProperties
func ExpandAppServiceSiteConfig ¶ added in v1.14.0
func ExpandAppServiceSiteConfig(input interface{}) (*web.SiteConfig, error)
func ExpandAppServiceStorageAccounts ¶ added in v1.32.0
func ExpandAppServiceStorageAccounts(input []interface{}) map[string]*web.AzureStorageInfoValue
func ExpandApplicationInsightsAPIKeyLinkedProperties ¶ added in v1.21.0
func ExpandBatchAccountKeyVaultReference ¶ added in v1.32.0
func ExpandBatchAccountKeyVaultReference(list []interface{}) (*batch.KeyVaultReference, error)
ExpandBatchAccountKeyVaultReference expands Batch account KeyVault reference
func ExpandBatchMetaData ¶ added in v1.41.0
func ExpandBatchMetaData(input map[string]interface{}) *[]batch.MetadataItem
ExpandBatchMetaData expands Batch pool metadata
func ExpandBatchPoolCertificateReferences ¶ added in v1.25.0
func ExpandBatchPoolCertificateReferences(list []interface{}) (*[]batch.CertificateReference, error)
ExpandBatchPoolCertificateReferences expands Batch pool certificate references
func ExpandBatchPoolContainerConfiguration ¶ added in v1.28.0
func ExpandBatchPoolContainerConfiguration(list []interface{}) (*batch.ContainerConfiguration, error)
ExpandBatchPoolContainerConfiguration expands the Batch pool container configuration
func ExpandBatchPoolEndpointConfiguration ¶ added in v1.42.0
func ExpandBatchPoolEndpointConfiguration(list []interface{}) (*batch.PoolEndpointConfiguration, error)
ExpandBatchPoolEndpointConfiguration expands Batch pool endpoint configuration
func ExpandBatchPoolImageReference ¶ added in v1.21.0
func ExpandBatchPoolImageReference(list []interface{}) (*batch.ImageReference, error)
ExpandBatchPoolImageReference expands Batch pool image reference
func ExpandBatchPoolNetworkConfiguration ¶ added in v1.42.0
func ExpandBatchPoolNetworkConfiguration(list []interface{}) (*batch.NetworkConfiguration, error)
ExpandBatchPoolNetworkConfiguration expands Batch pool network configuration
func ExpandBatchPoolNetworkSecurityGroupRule ¶ added in v1.42.0
func ExpandBatchPoolNetworkSecurityGroupRule(list []interface{}) ([]batch.NetworkSecurityGroupRule, error)
ExpandBatchPoolNetworkSecurityGroupRule expands Batch pool network security group rule
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 ExpandHDInsightNodeDefinition ¶ added in v1.25.0
func ExpandHDInsightNodeDefinition(name string, input []interface{}, definition HDInsightNodeDefinition) (*hdinsight.Role, error)
func ExpandHDInsightsConfigurations ¶ added in v1.25.0
func ExpandHDInsightsConfigurations(input []interface{}) map[string]interface{}
func ExpandHDInsightsStorageAccounts ¶ added in v1.25.0
func ExpandHDInsightsStorageAccounts(storageAccounts []interface{}, gen2storageAccounts []interface{}) (*[]hdinsight.StorageAccount, *hdinsight.ClusterIdentity, error)
ExpandHDInsightsStorageAccounts returns an array of StorageAccount structs, as well as a ClusterIdentity populated with any managed identities required for accessing Data Lake Gen2 storage.
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 ExpandStoragePermissions ¶ added in v1.24.0
func ExpandStoragePermissions(input []interface{}) *[]keyvault.StoragePermissions
func ExpandStreamAnalyticsOutputSerialization ¶ added in v1.25.0
func ExpandStreamAnalyticsOutputSerialization(input []interface{}) (streamanalytics.BasicSerialization, error)
func ExpandStreamAnalyticsStreamInputSerialization ¶ added in v1.25.0
func ExpandStreamAnalyticsStreamInputSerialization(input []interface{}) (streamanalytics.BasicSerialization, error)
func ExpandWebCorsSettings ¶ added in v1.33.0
func ExpandWebCorsSettings(input interface{}) web.CorsSettings
func ExpandZones ¶ added in v1.19.0
func ExpandZones(v []interface{}) *[]string
func FindHDInsightConnectivityEndpoint ¶ added in v1.25.0
func FindHDInsightConnectivityEndpoint(name string, input *[]hdinsight.ConnectivityEndpoint) string
func FindHDInsightRole ¶ added in v1.25.0
func FindNetworkInterfaceIPConfiguration ¶ added in v1.17.0
func FindNetworkInterfaceIPConfiguration(input *[]network.InterfaceIPConfiguration, name string) *network.InterfaceIPConfiguration
func FlattenAdditionalLoginParams ¶ added in v1.29.0
func FlattenApiManagementOperationParameterContract ¶ added in v1.24.0
func FlattenApiManagementOperationParameterContract(input *[]apimanagement.ParameterContract) []interface{}
func FlattenApiManagementOperationRepresentation ¶ added in v1.24.0
func FlattenApiManagementOperationRepresentation(input *[]apimanagement.RepresentationContract) []interface{}
func FlattenAppServiceAuthSettings ¶ added in v1.29.0
func FlattenAppServiceAuthSettings(input *web.SiteAuthSettingsProperties) []interface{}
func FlattenAppServiceBackup ¶ added in v1.32.0
func FlattenAppServiceBackup(input *web.BackupRequestProperties) []interface{}
func FlattenAppServiceIdentity ¶ added in v1.32.0
func FlattenAppServiceIdentity(identity *web.ManagedServiceIdentity) []interface{}
func FlattenAppServiceLogs ¶ added in v1.31.0
func FlattenAppServiceLogs(input *web.SiteLogsConfigProperties) []interface{}
func FlattenAppServiceSiteConfig ¶ added in v1.14.0
func FlattenAppServiceSiteConfig(input *web.SiteConfig) []interface{}
func FlattenAppServiceStorageAccounts ¶ added in v1.32.0
func FlattenAppServiceStorageAccounts(input map[string]*web.AzureStorageInfoValue) []interface{}
func FlattenApplicationInsightsAPIKeyLinkedProperties ¶ added in v1.21.0
func FlattenBatchAccountKeyvaultReference ¶ added in v1.32.0
func FlattenBatchAccountKeyvaultReference(keyVaultReference *batch.KeyVaultReference) interface{}
FlattenBatchAccountKeyvaultReference flattens a Batch account keyvault reference
func FlattenBatchMetaData ¶ added in v1.41.0
func FlattenBatchMetaData(metadatas *[]batch.MetadataItem) map[string]interface{}
FlattenBatchMetaData flattens a Batch pool metadata
func FlattenBatchPoolAutoScaleSettings ¶ added in v1.21.0
func FlattenBatchPoolAutoScaleSettings(settings *batch.AutoScaleSettings) []interface{}
FlattenBatchPoolAutoScaleSettings flattens the auto scale settings for a Batch pool
func FlattenBatchPoolCertificateReferences ¶ added in v1.25.0
func FlattenBatchPoolCertificateReferences(armCertificates *[]batch.CertificateReference) []interface{}
FlattenBatchPoolCertificateReferences flattens a Batch pool certificate reference
func FlattenBatchPoolContainerConfiguration ¶ added in v1.28.0
func FlattenBatchPoolContainerConfiguration(d *schema.ResourceData, armContainerConfiguration *batch.ContainerConfiguration) interface{}
FlattenBatchPoolContainerConfiguration flattens a Batch pool container configuration
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 FlattenBatchPoolNetworkConfiguration ¶ added in v1.42.0
func FlattenBatchPoolNetworkConfiguration(networkConfig *batch.NetworkConfiguration) []interface{}
FlattenBatchPoolNetworkConfiguration flattens the network configuration for a Batch pool
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 FlattenHDInsightNodeDefinition ¶ added in v1.25.0
func FlattenHDInsightNodeDefinition(input *hdinsight.Role, existing []interface{}, definition HDInsightNodeDefinition) []interface{}
func FlattenHDInsightsConfigurations ¶ added in v1.25.0
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 FlattenStoragePermissions ¶ added in v1.24.0
func FlattenStoragePermissions(input *[]keyvault.StoragePermissions) []interface{}
func FlattenStreamAnalyticsOutputSerialization ¶ added in v1.25.0
func FlattenStreamAnalyticsOutputSerialization(input streamanalytics.BasicSerialization) []interface{}
func FlattenStreamAnalyticsStreamInputSerialization ¶ added in v1.25.0
func FlattenStreamAnalyticsStreamInputSerialization(input streamanalytics.BasicSerialization) []interface{}
func FlattenWebCorsSettings ¶ added in v1.33.0
func FlattenWebCorsSettings(input *web.CorsSettings) []interface{}
func FlattenZones ¶ added in v1.36.0
func FlattenZones(v *[]string) []interface{}
func GetKeyVaultBaseUrlFromID ¶ added in v1.22.0
func GetKeyVaultIDFromBaseUrl ¶ added in v1.22.0
func HandleAzureSdkForGoBug2824 ¶ added in v1.33.0
This code is a workaround for this bug https://github.com/Azure/azure-sdk-for-go/issues/2824
func HashAzureLocation ¶ added in v1.20.0
func HashAzureLocation(location interface{}) int
func HashIPv6Address ¶ added in v1.43.0
func HashIPv6Address(ipv6 interface{}) int
HashIPv6Address normalizes an IPv6 address and returns a hash for it
func KeyVaultExists ¶ added in v1.22.0
func MSSQLElasticPoolValidateSKU ¶ added in v1.22.0
func MSSQLElasticPoolValidateSKU(diff *schema.ResourceDiff) error
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 MinCapacitySkuNameInSlice ¶ added in v1.35.0
func MinCapacitySkuNameInSlice(valid []string, minCapacity int32, ignoreCase bool) schema.SchemaValidateFunc
MinCapacitySkuNameInSlice returns a SchemaValidateFunc which tests if the provided value is of type string and matches the value of an element in the valid slice will test with in lower case if ignoreCase is true will also validate if the capacity if above passed minCapacity value
func NormalizeIPv6Address ¶ added in v1.43.0
func NormalizeIPv6Address(ipv6 interface{}) string
NormalizeIPv6Address returns the normalized notation of an IPv6
func NormalizeJson ¶ added in v1.40.0
func NormalizeJson(jsonString interface{}) string
func NormalizeLocation ¶ added in v1.19.0
func NormalizeLocation(location interface{}) string
azure.NormalizeLocation 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 SchemaApiManagementChildDataSourceName ¶ added in v1.23.0
SchemaApiManagementChildDataSourceName returns the Schema for the identifier used by resources within nested under the API Management Service resource
func SchemaApiManagementChildID ¶ added in v1.24.0
SchemaApiManagementChildID returns the Schema for the identifier used by resources within nested under the API Management Service resource
func SchemaApiManagementChildName ¶ added in v1.23.0
SchemaApiManagementChildName returns the Schema for the identifier used by resources within nested under the API Management Service resource
func SchemaApiManagementDataSourceName ¶ added in v1.23.0
func SchemaApiManagementName ¶ added in v1.23.0
func SchemaApiManagementOperationParameterContract ¶ added in v1.24.0
func SchemaApiManagementOperationRepresentation ¶ added in v1.24.0
func SchemaApiManagementUserDataSourceName ¶ added in v1.23.0
func SchemaApiManagementUserName ¶ added in v1.23.0
func SchemaAppServiceAadAuthSettings ¶ added in v1.29.0
func SchemaAppServiceAuthSettings ¶ added in v1.29.0
func SchemaAppServiceBackup ¶ added in v1.32.0
func SchemaAppServiceDataSourceSiteConfig ¶ added in v1.24.0
func SchemaAppServiceFacebookAuthSettings ¶ added in v1.29.0
func SchemaAppServiceGoogleAuthSettings ¶ added in v1.29.0
func SchemaAppServiceIdentity ¶ added in v1.32.0
func SchemaAppServiceLogsConfig ¶ added in v1.31.0
func SchemaAppServiceMicrosoftAuthSettings ¶ added in v1.29.0
func SchemaAppServiceSiteConfig ¶ added in v1.14.0
func SchemaAppServiceStorageAccounts ¶ added in v1.32.0
func SchemaAppServiceTwitterAuthSettings ¶ added in v1.29.0
func SchemaContainerGroupProbe ¶ added in v1.25.0
func SchemaDevTestVirtualMachineGalleryImageReference ¶ added in v1.17.0
func SchemaDevTestVirtualMachineInboundNatRule ¶ added in v1.17.0
func SchemaHDInsightClusterVersion ¶ added in v1.25.0
func SchemaHDInsightDataSourceName ¶ added in v1.25.0
func SchemaHDInsightName ¶ added in v1.25.0
func SchemaHDInsightNodeDefinition ¶ added in v1.25.0
func SchemaHDInsightNodeDefinition(schemaLocation string, definition HDInsightNodeDefinition) *schema.Schema
func SchemaHDInsightTier ¶ added in v1.25.0
func SchemaHDInsightsGateway ¶ added in v1.25.0
func SchemaHDInsightsGen2StorageAccounts ¶ added in v1.37.0
func SchemaHDInsightsStorageAccounts ¶ added in v1.25.0
func SchemaKeyVaultCertificatePermissions ¶ added in v1.14.0
func SchemaKeyVaultKeyPermissions ¶ added in v1.14.0
func SchemaKeyVaultSecretPermissions ¶ added in v1.14.0
func SchemaKeyVaultStoragePermissions ¶ added in v1.24.0
func SchemaLocation ¶ added in v1.19.0
func SchemaLocationDeprecated ¶ added in v1.19.0
func SchemaLocationForDataSource ¶ added in v1.19.0
todo should we change this to SchemaLocationComputed
func SchemaLocationOptional ¶ added in v1.21.0
func SchemaMultipleZones ¶ added in v1.36.0
func SchemaResourceGroupName ¶ added in v1.19.0
func SchemaResourceGroupNameDeprecated ¶ added in v1.32.0
func SchemaResourceGroupNameDiffSuppress ¶ added in v1.19.0
func SchemaResourceGroupNameForDataSource ¶ added in v1.19.0
func SchemaSingleZone ¶ added in v1.19.0
func SchemaStreamAnalyticsOutputSerialization ¶ added in v1.25.0
func SchemaStreamAnalyticsStreamInputSerialization ¶ added in v1.25.0
func SchemaSubscription ¶ added in v1.14.0
func SchemaWebCorsSettings ¶ added in v1.33.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 StringContains ¶ added in v1.43.0
func SuppressLocationDiff ¶ added in v1.19.0
func SuppressLocationDiff(_, old, new string, _ *schema.ResourceData) bool
func UpdateNetworkInterfaceIPConfiguration ¶ added in v1.17.0
func UpdateNetworkInterfaceIPConfiguration(config network.InterfaceIPConfiguration, configs *[]network.InterfaceIPConfiguration) *[]network.InterfaceIPConfiguration
func ValidateAutomationAccountName ¶ added in v1.36.0
func ValidateAutomationAccountName() schema.SchemaValidateFunc
ValidateAutomationAccountName validates Automation Account names
func ValidateAutomationRunbookName ¶ added in v1.36.0
func ValidateAutomationRunbookName() schema.SchemaValidateFunc
ValidateAutomationRunbookName validates Automation Account Runbook names
func ValidateAutomationScheduleName ¶ added in v1.36.0
func ValidateAutomationScheduleName() schema.SchemaValidateFunc
ValidateAutomationScheduleName validates Automation Account Schedule names
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 ValidateMsSqlFailoverGroupName ¶ added in v1.33.0
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 ValidateMySqlServerName ¶ added in v1.31.0
func ValidateRecoveryServicesVaultName ¶ added in v1.33.0
func ValidateResourceID ¶ added in v1.9.0
func ValidateResourceIDOrEmpty ¶
true for a resource ID or an empty string
func ValidateSchemaHDInsightNodeDefinitionVMSize ¶ added in v1.37.0
func ValidateSchemaHDInsightNodeDefinitionVMSize() schema.SchemaValidateFunc
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 CosmosAccountID ¶ added in v1.28.0
type CosmosAccountID struct { ResourceID Account string }
func ParseCosmosAccountID ¶ added in v1.28.0
func ParseCosmosAccountID(id string) (*CosmosAccountID, error)
type CosmosDatabaseCollectionID ¶ added in v1.28.0
type CosmosDatabaseCollectionID struct { CosmosDatabaseID Collection string }
func ParseCosmosDatabaseCollectionID ¶ added in v1.28.0
func ParseCosmosDatabaseCollectionID(id string) (*CosmosDatabaseCollectionID, error)
type CosmosDatabaseContainerID ¶ added in v1.33.0
type CosmosDatabaseContainerID struct { CosmosDatabaseID Container string }
func ParseCosmosDatabaseContainerID ¶ added in v1.33.0
func ParseCosmosDatabaseContainerID(id string) (*CosmosDatabaseContainerID, error)
type CosmosDatabaseID ¶ added in v1.28.0
type CosmosDatabaseID struct { CosmosAccountID Database string }
func ParseCosmosDatabaseID ¶ added in v1.28.0
func ParseCosmosDatabaseID(id string) (*CosmosDatabaseID, error)
type CosmosGremlinGraphID ¶ added in v1.41.0
type CosmosGremlinGraphID struct { CosmosDatabaseID Graph string }
func ParseCosmosGramlinGraphID ¶ added in v1.41.0
func ParseCosmosGramlinGraphID(id string) (*CosmosGremlinGraphID, error)
type CosmosKeyspaceID ¶ added in v1.28.0
type CosmosKeyspaceID struct { CosmosAccountID Keyspace string }
func ParseCosmosKeyspaceID ¶ added in v1.28.0
func ParseCosmosKeyspaceID(id string) (*CosmosKeyspaceID, error)
type CosmosTableID ¶ added in v1.28.0
type CosmosTableID struct { CosmosAccountID Table string }
func ParseCosmosTableID ¶ added in v1.28.0
func ParseCosmosTableID(id string) (*CosmosTableID, error)
type HDInsightNodeDefinition ¶ added in v1.25.0
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.
func (*ResourceID) PopSegment ¶ added in v1.40.0
func (id *ResourceID) PopSegment(name string) (string, error)
PopSegment retrieves a segment from the Path and returns it if found it removes it from the Path then return the value if not found, this returns nil
func (*ResourceID) ValidateNoEmptySegments ¶ added in v1.40.0
func (id *ResourceID) ValidateNoEmptySegments(sourceId string) error
ValidateNoEmptySegments validates ...
Source Files ¶
- api_management.go
- app_insights.go
- app_service.go
- app_service_schedule_backup.go
- automation.go
- batch_account.go
- batch_pool.go
- container_group.go
- cosmos.go
- datalake.go
- devtest.go
- elasticpool.go
- eventhub.go
- hdinsight.go
- ipv6.go
- json.go
- key_vault.go
- key_vault_access_policy.go
- key_vault_child.go
- location.go
- mssql.go
- mysql.go
- network_interface.go
- recovery_services_vault.go
- resource_group.go
- resourceid.go
- servicebus.go
- sku.go
- stream_analytics_output.go
- stream_analytics_stream_input.go
- string.go
- subscription.go
- validate.go
- web.go
- zones.go