Versions in this module Expand all Collapse all v11 v11.2.9 Jan 28, 2021 Changes in this version + const EnvironmentFilepathName + const HeaderClientID + const HeaderRequestID + const HeaderReturnClientID + var ChinaCloud = Environment + var GermanCloud = Environment + var PublicCloud = Environment + var USGovernmentCloud = Environment + func DoPollForAsynchronous(delay time.Duration) autorest.SendDecorator + func DoRetryWithRegistration(client autorest.Client) autorest.SendDecorator + func ExtractClientID(resp *http.Response) string + func ExtractRequestID(resp *http.Response) string + func IsAzureError(e error) bool + func WithClientID(uuid string) autorest.PrepareDecorator + func WithErrorUnlessStatusCode(codes ...int) autorest.RespondDecorator + func WithReturnClientID(b bool) autorest.PrepareDecorator + func WithReturningClientID(uuid string) autorest.PrepareDecorator + type AsyncOpIncompleteError struct + FutureType string + func NewAsyncOpIncompleteError(futureType string) AsyncOpIncompleteError + func (e AsyncOpIncompleteError) Error() string + type Environment struct + ActiveDirectoryEndpoint string + BatchManagementEndpoint string + ContainerRegistryDNSSuffix string + GalleryEndpoint string + GraphEndpoint string + KeyVaultDNSSuffix string + KeyVaultEndpoint string + ManagementPortalURL string + Name string + PublishSettingsURL string + ResourceManagerEndpoint string + ResourceManagerVMDNSSuffix string + SQLDatabaseDNSSuffix string + ServiceBusEndpoint string + ServiceBusEndpointSuffix string + ServiceManagementEndpoint string + ServiceManagementVMDNSSuffix string + StorageEndpointSuffix string + TokenAudience string + TrafficManagerDNSSuffix string + func EnvironmentFromFile(location string) (unmarshaled Environment, err error) + func EnvironmentFromName(name string) (Environment, error) + func EnvironmentFromURL(resourceManagerEndpoint string, properties ...OverrideProperty) (environment Environment, err error) + type EnvironmentProperty string + const EnvironmentActiveDirectoryEndpoint + const EnvironmentBatchManagementEndpoint + const EnvironmentContainerRegistryDNSSuffix + const EnvironmentGalleryEndpoint + const EnvironmentGraphEndpoint + const EnvironmentKeyVaultDNSSuffix + const EnvironmentKeyVaultEndpoint + const EnvironmentManagementPortalURL + const EnvironmentName + const EnvironmentPublishSettingsURL + const EnvironmentResourceManagerEndpoint + const EnvironmentResourceManagerVMDNSSuffix + const EnvironmentSQLDatabaseDNSSuffix + const EnvironmentServiceBusEndpoint + const EnvironmentServiceBusEndpointSuffix + const EnvironmentServiceManagementEndpoint + const EnvironmentServiceManagementVMDNSSuffix + const EnvironmentStorageEndpointSuffix + const EnvironmentTokenAudience + const EnvironmentTrafficManagerDNSSuffix + type Future struct + func NewFuture(req *http.Request) Future + func NewFutureFromResponse(resp *http.Response) (Future, error) + func (f *Future) Done(sender autorest.Sender) (bool, error) + func (f *Future) DoneWithContext(ctx context.Context, sender autorest.Sender) (done bool, err error) + func (f *Future) UnmarshalJSON(data []byte) error + func (f *Future) WaitForCompletionRef(ctx context.Context, client autorest.Client) (err error) + func (f Future) GetPollingDelay() (time.Duration, bool) + func (f Future) GetResult(sender autorest.Sender) (*http.Response, error) + func (f Future) MarshalJSON() ([]byte, error) + func (f Future) PollingMethod() PollingMethodType + func (f Future) PollingURL() string + func (f Future) Response() *http.Response + func (f Future) Status() string + func (f Future) WaitForCompletion(ctx context.Context, client autorest.Client) error + type OverrideProperty struct + Key EnvironmentProperty + Value string + type PollingMethodType string + const PollingAsyncOperation + const PollingLocation + const PollingRequestURI + const PollingUnknown + type RequestError struct + RequestID string + ServiceError *ServiceError + func NewErrorWithError(original error, packageType string, method string, resp *http.Response, ...) RequestError + func (e RequestError) Error() string + type Resource struct + Provider string + ResourceGroup string + ResourceName string + ResourceType string + SubscriptionID string + func ParseResourceID(resourceID string) (Resource, error) + type ServiceError struct + AdditionalInfo []map[string]interface{} + Code string + Details []map[string]interface{} + InnerError map[string]interface{} + Message string + Target *string + func (se *ServiceError) UnmarshalJSON(b []byte) error + func (se ServiceError) Error() string Other modules containing this package github.com/pmalek-sumo/go-autorest