Documentation ¶
Index ¶
- func ExpandServiceBusAuthorizationRuleRights(d *schema.ResourceData) *[]servicebus.AccessRights
- func FlattenServiceBusAuthorizationRuleRights(rights *[]servicebus.AccessRights) (listen bool, send bool, manage bool)
- func ParseNetworkSecurityGroupName(networkSecurityGroupId string) (string, error)
- func ParseRouteTableName(routeTableId string) (string, error)
- func ServiceBusAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
- func ValidateResourceID(i interface{}, k string) (_ []string, errors []error)
- func ValidateResourceIDOrEmpty(i interface{}, k string) (_ []string, errors []error)
- func ValidateServiceBusAuthorizationRuleName() schema.SchemaValidateFunc
- func ValidateServiceBusNamespaceName() schema.SchemaValidateFunc
- func ValidateServiceBusTopicName() schema.SchemaValidateFunc
- type ResourceID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandServiceBusAuthorizationRuleRights ¶ added in v1.9.0
func ExpandServiceBusAuthorizationRuleRights(d *schema.ResourceData) *[]servicebus.AccessRights
func FlattenServiceBusAuthorizationRuleRights ¶ added in v1.9.0
func FlattenServiceBusAuthorizationRuleRights(rights *[]servicebus.AccessRights) (listen bool, send bool, manage bool)
func ParseRouteTableName ¶
func ServiceBusAuthorizationRuleCustomizeDiff ¶ added in v1.9.0
func ServiceBusAuthorizationRuleCustomizeDiff(d *schema.ResourceDiff, _ interface{}) error
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 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.
Click to show internal directories.
Click to hide internal directories.