# Packages

Run go generate to regenerate this mock.

# Functions

GetTenantID returns the tenantID for the given subscriptionID The tenantID is parsed from the WWW-Authenticate header of a failed request.
IsFederatedCredentialAlreadyExists returns true if the given error is a federated credential already exists error.
IsFederatedCredentialNotFound returns true if the given error is a federated credential not found error.
IsNotFound returns true if the given error is a NotFound error.
IsRoleAssignmentAlreadyDeleted returns true if the given error is a role assignment already deleted error.
IsRoleAssignmentExists returns true if the given error is a role assignment already exists error.
NewAzureClientWithCLI creates an AzureClient configured from Azure CLI 2.0 for local development scenarios.
NewAzureClientWithClientCertificate returns an AzureClient via client_id and jwt certificate assertion.
NewAzureClientWithClientCertificateFile returns an AzureClient via client_id and jwt certificate assertion.
NewAzureClientWithClientSecret returns an AzureClient via client_id and client_secret.

# Constants

GraphErrorCodeMultipleObjectsWithSameKeyValue is the error code for multiple objects with same key value.
GraphErrorCodeResourceNotFound is the error code for resource not found.

# Variables

ErrFederatedCredentialNotFound is returned when the federated credential is not found.

# Structs

No description provided by the author
GraphError is a custom error type for Graph API errors.

# Interfaces

No description provided by the author