Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KnownResourceIds ¶ added in v0.70.0
func KnownResourceIds() map[string]resourceids.ResourceId
KnownResourceIds returns the map of resource IDs that have been registered by each API imported via the RegisterResourceId function. This is the case for all APIs generated via the Pandora project via init(). The keys for the map are the lower-cased ID strings with the user-specified segments stripped out, leaving the path intact. Example: "/subscriptions//resourceGroups//providers/Microsoft.BotService/botServices/"
func PotentialScopeValues ¶ added in v0.70.0
func PotentialScopeValues() []string
PotentialScopeValues returns a list of possible ScopeSegment values from all registered ID types This is a best effort process, limited to scope targets that are prefixed with '/subscriptions/' or '/providers/'
func ReCase ¶
ReCase tries to determine the type of Resource ID defined in `input` to be able to re-case it from
func ReCaseKnownId ¶ added in v0.70.0
ReCaseKnownId attempts to correct the casing on the static segments of an Azure resourceId. Functionality of this method is intended to be limited to resource IDs that have been registered with the package via the RegisterResourceId() function at init.
func RegisterResourceId ¶
func RegisterResourceId(id resourceids.ResourceId)
RegisterResourceId adds ResourceIds to a list of known ids
func ResourceIdTypeFromResourceId ¶ added in v0.70.0
func ResourceIdTypeFromResourceId(input string) resourceids.ResourceId
ResourceIdTypeFromResourceId takes a Azure Resource ID as a string and attempts to return the corresponding resourceids.ResourceId type. If a matching resourceId is not found in the supported/registered resourceId types then a `nil` value is returned.
Types ¶
This section is empty.