Versions in this module Expand all Collapse all v45 v45.1.2 Aug 18, 2020 v45.1.1 Aug 14, 2020 v45.1.0 Aug 7, 2020 v45.0.0 Aug 3, 2020 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type BaseClient struct + BaseURI string + func New() BaseClient + func NewWithBaseURI(baseURI string) BaseClient + func (client BaseClient) CheckResourceName(ctx context.Context, resourceNameDefinition *ResourceName) (result CheckResourceNameResult, err error) + func (client BaseClient) CheckResourceNamePreparer(ctx context.Context, resourceNameDefinition *ResourceName) (*http.Request, error) + func (client BaseClient) CheckResourceNameResponder(resp *http.Response) (result CheckResourceNameResult, err error) + func (client BaseClient) CheckResourceNameSender(req *http.Request) (*http.Response, error) + type CheckResourceNameResult struct + Name *string + Status ResourceNameStatus + Type *string + type Client struct + func NewClient() Client + func NewClientWithBaseURI(baseURI string) Client + func (client Client) Get(ctx context.Context, subscriptionID string) (result Subscription, err error) + func (client Client) GetPreparer(ctx context.Context, subscriptionID string) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result Subscription, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) List(ctx context.Context) (result ListResultPage, err error) + func (client Client) ListComplete(ctx context.Context) (result ListResultIterator, err error) + func (client Client) ListLocations(ctx context.Context, subscriptionID string) (result LocationListResult, err error) + func (client Client) ListLocationsPreparer(ctx context.Context, subscriptionID string) (*http.Request, error) + func (client Client) ListLocationsResponder(resp *http.Response) (result LocationListResult, err error) + func (client Client) ListLocationsSender(req *http.Request) (*http.Response, error) + func (client Client) ListPreparer(ctx context.Context) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + type ErrorDefinition struct + Code *string + Message *string + type ErrorResponse struct + Error *ErrorDefinition + type ListResult struct + NextLink *string + Value *[]Subscription + func (lr ListResult) IsEmpty() bool + type ListResultIterator struct + func NewListResultIterator(page ListResultPage) ListResultIterator + func (iter *ListResultIterator) Next() error + func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListResultIterator) NotDone() bool + func (iter ListResultIterator) Response() ListResult + func (iter ListResultIterator) Value() Subscription + type ListResultPage struct + func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage + func (page *ListResultPage) Next() error + func (page *ListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ListResultPage) NotDone() bool + func (page ListResultPage) Response() ListResult + func (page ListResultPage) Values() []Subscription + type Location struct + DisplayName *string + ID *string + Metadata *LocationMetadata + Name *string + RegionalDisplayName *string + SubscriptionID *string + func (l Location) MarshalJSON() ([]byte, error) + type LocationListResult struct + Value *[]Location + type LocationMetadata struct + GeographyGroup *string + Latitude *string + Longitude *string + PairedRegion *[]PairedRegion + PhysicalLocation *string + RegionCategory RegionCategory + RegionType RegionType + func (lm LocationMetadata) MarshalJSON() ([]byte, error) + type ManagedByTenant struct + TenantID *string + type Operation struct + Display *OperationDisplay + Name *string + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + type OperationListResultIterator struct + func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator + func (iter *OperationListResultIterator) Next() error + func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func NewOperationListResultPage(...) OperationListResultPage + func (page *OperationListResultPage) Next() error + func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListResultPage) NotDone() bool + func (page OperationListResultPage) Response() OperationListResult + func (page OperationListResultPage) Values() []Operation + type OperationsClient struct + func NewOperationsClient() OperationsClient + func NewOperationsClientWithBaseURI(baseURI string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type PairedRegion struct + ID *string + Name *string + SubscriptionID *string + type Policies struct + LocationPlacementID *string + QuotaID *string + SpendingLimit SpendingLimit + type RegionCategory string + const Other + const Recommended + func PossibleRegionCategoryValues() []RegionCategory + type RegionType string + const Logical + const Physical + func PossibleRegionTypeValues() []RegionType + type ResourceName struct + Name *string + Type *string + type ResourceNameStatus string + const Allowed + const Reserved + func PossibleResourceNameStatusValues() []ResourceNameStatus + type SpendingLimit string + const CurrentPeriodOff + const Off + const On + func PossibleSpendingLimitValues() []SpendingLimit + type State string + const Deleted + const Disabled + const Enabled + const PastDue + const Warned + func PossibleStateValues() []State + type Subscription struct + AuthorizationSource *string + DisplayName *string + ID *string + ManagedByTenants *[]ManagedByTenant + State State + SubscriptionID *string + SubscriptionPolicies *Policies + Tags map[string]*string + TenantID *string + func (s Subscription) MarshalJSON() ([]byte, error) + type TenantCategory string + const Home + const ManagedBy + const ProjectedBy + func PossibleTenantCategoryValues() []TenantCategory + type TenantIDDescription struct + Country *string + CountryCode *string + DisplayName *string + Domains *[]string + ID *string + TenantCategory TenantCategory + TenantID *string + type TenantListResult struct + NextLink *string + Value *[]TenantIDDescription + func (tlr TenantListResult) IsEmpty() bool + type TenantListResultIterator struct + func NewTenantListResultIterator(page TenantListResultPage) TenantListResultIterator + func (iter *TenantListResultIterator) Next() error + func (iter *TenantListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter TenantListResultIterator) NotDone() bool + func (iter TenantListResultIterator) Response() TenantListResult + func (iter TenantListResultIterator) Value() TenantIDDescription + type TenantListResultPage struct + func NewTenantListResultPage(getNextPage func(context.Context, TenantListResult) (TenantListResult, error)) TenantListResultPage + func (page *TenantListResultPage) Next() error + func (page *TenantListResultPage) NextWithContext(ctx context.Context) (err error) + func (page TenantListResultPage) NotDone() bool + func (page TenantListResultPage) Response() TenantListResult + func (page TenantListResultPage) Values() []TenantIDDescription + type TenantsClient struct + func NewTenantsClient() TenantsClient + func NewTenantsClientWithBaseURI(baseURI string) TenantsClient + func (client TenantsClient) List(ctx context.Context) (result TenantListResultPage, err error) + func (client TenantsClient) ListComplete(ctx context.Context) (result TenantListResultIterator, err error) + func (client TenantsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client TenantsClient) ListResponder(resp *http.Response) (result TenantListResult, err error) + func (client TenantsClient) ListSender(req *http.Request) (*http.Response, error) Other modules containing this package 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.v46 gopkg.in/Azure/azure-sdk-for-go.v48