# Packages
Copyright (c) Microsoft Corporation.
Package utils provides helper methods to assist with ARM operations.
# Functions
DeployTemplateSync deploys the template and returns ArmError.
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.
NewAzureClientWithClientCertificateExternalTenant returns an AzureClient via client_id and jwt certificate assertion against a 3rd party tenant.
NewAzureClientWithClientCertificateFile returns an AzureClient via client_id and jwt certificate assertion.
NewAzureClientWithClientSecret returns an AzureClient via client_id and client_secret.
NewAzureClientWithClientSecretExternalTenant returns an AzureClient via client_id and client_secret from a tenant.
NewAzureClientWithDeviceAuth returns an AzureClient by having a user complete a device authentication flow.
# Constants
AADContributorRoleID is the role id that exists in every subscription for 'Contributor'.
AADRoleReferenceTemplate is a template for a roleDefinitionId.
AADRoleResourceGroupScopeTemplate is a template for a roleDefinition scope.
ApplicationDir is the name of the dir where the token is cached.
DefaultARMOperationTimeout defines a default (permissive) ARM operation timeout.
DefaultFakeVMName is the default name assigned to VMs part of FakeListVirtualMachineScaleSetVMsResult and FakeListVirtualMachineResult.
# Variables
RequiredResourceProviders is the list of Azure Resource Providers needed for AKS Engine to function.
# Structs
AzureClient implements the `AKSEngineClient` interface.
AzureStorageClient implements the StorageClient interface and wraps the Azure storage client.
DeploymentError contains the root deployment error along with deployment operation errors.
DeploymentValidationError contains validation error.
KubernetesClientSetClient is a Kubernetes client hooked up to a live api server.
MockAKSEngineClient is an implementation of AKSEngineClient where all requests error out.
MockDeploymentOperationsListResultPage contains a page of DeploymentOperation values.
MockKubernetesClient mock implementation of KubernetesClient.
MockRoleAssignmentListResultPage contains a page of RoleAssignment values.
MockStorageClient mock implementation of StorageClient.
MockVirtualMachineListResultPage contains a page of VirtualMachine values.
MockVirtualMachineScaleSetListResultPage contains a page of VirtualMachine values.
MockVirtualMachineScaleSetVMListResultPage contains a page of VMSS VirtualMachine values.
# Interfaces
AKSEngineClient is the interface used to talk to an Azure environment.
AKSStorageClient interface models the azure storage client.
DeploymentOperationsListResultPage is an interface for resources.DeploymentOperationsListResultPage to aid in mocking.
DiskListPage is an interface for compute.DiskListPage to aid in mocking.
KubernetesClient interface models client for interacting with kubernetes api server.
ProviderListResultPage is an interface for resources.ProviderListResultPage to aid in mocking.
RoleAssignmentListResultPage is an interface for authorization.RoleAssignmentListResultPage to aid in mocking.
VirtualMachineListResultPage is an interface for compute.VirtualMachineListResultPage to aid in mocking.
VirtualMachineScaleSetListResultPage is an interface for compute.VirtualMachineScaleSetListResultPage to aid in mocking.
VirtualMachineScaleSetVMListResultPage is an interface for compute.VirtualMachineScaleSetListResultPage to aid in mocking.