Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 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, includeExtendedLocations *bool) (result LocationListResult, err error) + func (client Client) ListLocationsPreparer(ctx context.Context, subscriptionID string, includeExtendedLocations *bool) (*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 CloudError struct + Error *ErrorResponse + type ErrorAdditionalInfo struct + Info interface{} + Type *string + func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error) + type ErrorResponse struct + AdditionalInfo *[]ErrorAdditionalInfo + Code *string + Details *[]ErrorResponse + Message *string + Target *string + func (er ErrorResponse) MarshalJSON() ([]byte, error) + 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(cur ListResult, ...) 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 + Type LocationType + func (l Location) MarshalJSON() ([]byte, error) + type LocationListResult struct + Value *[]Location + type LocationMetadata struct + GeographyGroup *string + HomeLocation *string + Latitude *string + Longitude *string + PairedRegion *[]PairedRegion + PhysicalLocation *string + RegionCategory RegionCategory + RegionType RegionType + func (lm LocationMetadata) MarshalJSON() ([]byte, error) + type LocationType string + const LocationTypeEdgeZone + const LocationTypeRegion + func PossibleLocationTypeValues() []LocationType + type ManagedByTenant struct + TenantID *string + func (mbt ManagedByTenant) MarshalJSON() ([]byte, error) + 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(cur OperationListResult, ...) 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 + func (pr PairedRegion) MarshalJSON() ([]byte, error) + type Policies struct + LocationPlacementID *string + QuotaID *string + SpendingLimit SpendingLimit + func (p Policies) MarshalJSON() ([]byte, error) + type RegionCategory string + const RegionCategoryExtended + const RegionCategoryOther + const RegionCategoryRecommended + func PossibleRegionCategoryValues() []RegionCategory + type RegionType string + const RegionTypeLogical + const RegionTypePhysical + func PossibleRegionTypeValues() []RegionType + type ResourceName struct + Name *string + Type *string + type ResourceNameStatus string + const ResourceNameStatusAllowed + const ResourceNameStatusReserved + func PossibleResourceNameStatusValues() []ResourceNameStatus + type SpendingLimit string + const SpendingLimitCurrentPeriodOff + const SpendingLimitOff + const SpendingLimitOn + func PossibleSpendingLimitValues() []SpendingLimit + type State string + const StateDeleted + const StateDisabled + const StateEnabled + const StatePastDue + const StateWarned + 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 TenantCategoryHome + const TenantCategoryManagedBy + const TenantCategoryProjectedBy + func PossibleTenantCategoryValues() []TenantCategory + type TenantIDDescription struct + Country *string + CountryCode *string + DefaultDomain *string + DisplayName *string + Domains *[]string + ID *string + TenantBrandingLogoURL *string + TenantCategory TenantCategory + TenantID *string + TenantType *string + func (tid TenantIDDescription) MarshalJSON() ([]byte, error) + 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(cur TenantListResult, ...) 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)