Documentation ¶
Overview ¶
package azure defines utility functions and constants for working with Azure types and UCP resource IDs.
Index ¶
Constants ¶
View Source
const ( // PlaneTypeAzure defines the type name of the Azure plane. PlaneTypeAzure = "azure" // ScopeSubscriptions is the scope for an Azure subscription ID. ScopeSubscriptions = "subscriptions" // ScopeResourceGroups is the scope for an Azure Resource Group. ScopeResourceGroups = "resourcegroups" )
View Source
const ( // ResourceTypeManagedIdentityUserAssignedManagedIdentity is the resource type of a user-assigned managed identity. ResourceTypeManagedIdentityUserAssignedManagedIdentity = "Microsoft.ManagedIdentity/userAssignedIdentities" // ResourceTypeManagedIdentityUserAssignedManagedIdentityFederatedIdentityCredential is the resource type of a federated identity credential for a user-assigned managed identity. ResourceTypeManagedIdentityUserAssignedManagedIdentityFederatedIdentityCredential = "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials" // ResourceTypeAuthorizationRoleAssignment is the resource type of a role assignment. ResourceTypeAuthorizationRoleAssignment = "Microsoft.Authorization/roleAssignments" )
Variables ¶
This section is empty.
Functions ¶
func IsAzureResource ¶
IsAzureResource returns true if the given resource ID is an Azure resource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.