Documentation

Index

Constants

View Source
const AzureDirectory = ".azure"
View Source
const AzureProile = "azureProfile.json"
View Source
const BOM = '\uFEFF'
View Source
const PublicCloud = "AzureCloud"

Variables

This section is empty.

Functions

func GetCurrentAzureSubscriptionFromCli

func GetCurrentAzureSubscriptionFromCli() (string, error)

func ParseConnectionString

func ParseConnectionString(connString string) (name string, key string, err error)

func RemoveBOM

func RemoveBOM(reader *bufio.Reader) error

Types

type AvailableSubscription

type AvailableSubscription struct {
	SubscriptionId  string `json:"id"`
	State           string `json:"state"`
	IsDefault       bool   `json:"isDefault"`
	EnvironmentName string `json:"environmentName"`
}

type AvailableSubscriptions

type AvailableSubscriptions struct {
	Subscriptions []AvailableSubscription `json:"subscriptions"`
}

type CredentialSet

type CredentialSet struct {
	Credential azblob.SharedKeyCredential
	Pipeline   pipeline.Pipeline
}

Source Files