Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNameAvailability ¶
CheckNameAvailability use thes CDN package to determine whether or not a given name is appropriate.
Example ¶
ctx := context.Background() available, err := CheckNameAvailability(ctx, randname.GenerateWithPrefix("gocdnname", 6), "Microsoft.Cdn/Profiles/Endpoints") if err != nil { log.Fatalf("cannot check availability: %v", err) } fmt.Println(available)
Output: true
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.