Versions in this module Expand all Collapse all v35 v35.1.0 Nov 1, 2019 v35.0.0 Oct 30, 2019 Changes in this version + const DefaultAPIVersion + const DefaultAzureManagementURL + const DefaultOperationPollInterval + var DefaultUserAgent = userAgent() + var ErrOperationCancelled = errors.New("Polling for operation status cancelled") + func IsResourceNotFoundError(err error) bool + type AzureError struct + Code string + Message string + func (e AzureError) Error() string + type Client interface + GetOperationStatus func(operationID OperationID) (GetOperationStatusResponse, error) + SendAzureDeleteRequest func(url string) (OperationID, error) + SendAzureGetRequest func(url string) ([]byte, error) + SendAzurePostRequest func(url string, data []byte) (OperationID, error) + SendAzurePostRequestWithReturnedResponse func(url string, data []byte) ([]byte, error) + SendAzurePutRequest func(url, contentType string, data []byte) (OperationID, error) + WaitForOperation func(operationID OperationID, cancel chan struct{}) error + func ClientFromPublishSettingsData(settingsData []byte, subscriptionID string) (client Client, err error) + func ClientFromPublishSettingsDataWithConfig(data []byte, subscriptionID string, config ClientConfig) (client Client, err error) + func ClientFromPublishSettingsFile(filePath, subscriptionID string) (client Client, err error) + func ClientFromPublishSettingsFileWithConfig(filePath, subscriptionID string, config ClientConfig) (client Client, err error) + func NewAnonymousClient() Client + func NewClient(subscriptionID string, managementCert []byte) (Client, error) + func NewClientFromConfig(subscriptionID string, managementCert []byte, config ClientConfig) (Client, error) + type ClientConfig struct + APIVersion string + ManagementURL string + OperationPollInterval time.Duration + UserAgent string + func DefaultConfig() ClientConfig + type GetOperationStatusResponse struct + Error *AzureError + HTTPStatusCode string + ID string + Status OperationStatus + XMLName xml.Name + type OperationID string + type OperationStatus string + const OperationStatusFailed + const OperationStatusInProgress + const OperationStatusSucceeded Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v15 gopkg.in/Azure/azure-sdk-for-go.v16 gopkg.in/Azure/azure-sdk-for-go.v17 gopkg.in/Azure/azure-sdk-for-go.v18 gopkg.in/Azure/azure-sdk-for-go.v19 gopkg.in/Azure/azure-sdk-for-go.v20 gopkg.in/Azure/azure-sdk-for-go.v21 gopkg.in/Azure/azure-sdk-for-go.v22 gopkg.in/Azure/azure-sdk-for-go.v23 gopkg.in/Azure/azure-sdk-for-go.v24 gopkg.in/Azure/azure-sdk-for-go.v25 gopkg.in/Azure/azure-sdk-for-go.v26 gopkg.in/Azure/azure-sdk-for-go.v27 gopkg.in/Azure/azure-sdk-for-go.v28 gopkg.in/Azure/azure-sdk-for-go.v29 gopkg.in/Azure/azure-sdk-for-go.v30 gopkg.in/Azure/azure-sdk-for-go.v31 gopkg.in/Azure/azure-sdk-for-go.v32 gopkg.in/Azure/azure-sdk-for-go.v33 gopkg.in/Azure/azure-sdk-for-go.v34 gopkg.in/Azure/azure-sdk-for-go.v36 gopkg.in/Azure/azure-sdk-for-go.v37 gopkg.in/Azure/azure-sdk-for-go.v38 gopkg.in/Azure/azure-sdk-for-go.v39 gopkg.in/Azure/azure-sdk-for-go.v40 gopkg.in/Azure/azure-sdk-for-go.v41 gopkg.in/Azure/azure-sdk-for-go.v42 gopkg.in/Azure/azure-sdk-for-go.v43 gopkg.in/Azure/azure-sdk-for-go.v44 gopkg.in/Azure/azure-sdk-for-go.v45 gopkg.in/Azure/azure-sdk-for-go.v46 gopkg.in/Azure/azure-sdk-for-go.v48