azure

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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

func IsAzureResource(id resources.ID) bool

IsAzureResource returns true if the given resource ID is an Azure resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL