Documentation ¶
Index ¶
- func DropZoneName(dnsName, zoneName string) (string, bool)
- func ExtractResourceGroup(id string) (string, error)
- func GetSubscriptionIDAndAuthorizer(c *provider.DNSHandlerConfig) (subscriptionID string, authorizer autorest.Authorizer, err error)
- func MakeZoneID(resourceGroup, zoneName string) string
- func SplitZoneID(zoneid string) (string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropZoneName ¶
DropZoneName shortens DnsEntry-dnsName from record name + .DNSZone to record name only: e.g www2.test6227.ml to www2
func ExtractResourceGroup ¶
func GetSubscriptionIDAndAuthorizer ¶
func GetSubscriptionIDAndAuthorizer(c *provider.DNSHandlerConfig) (subscriptionID string, authorizer autorest.Authorizer, err error)
GetSubscriptionIDAndAuthorizer extracts credentials from config
func MakeZoneID ¶
MakeZoneID creates zone ID from resource group and name
func SplitZoneID ¶
SplitZoneID returns resource group and name for a zoneid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.