Documentation ¶
Index ¶
- func PossibleValuesForLocationType() []string
- func PossibleValuesForRegionCategory() []string
- func PossibleValuesForRegionType() []string
- func PossibleValuesForSpendingLimit() []string
- func PossibleValuesForSubscriptionState() []string
- type AvailabilityZoneMappings
- type AvailabilityZonePeers
- type CheckZonePeersOperationResponse
- type CheckZonePeersRequest
- type CheckZonePeersResult
- type GetOperationResponse
- type ListCompleteResult
- type ListLocationsOperationOptions
- type ListLocationsOperationResponse
- type ListOperationResponse
- type Location
- type LocationListResult
- type LocationMetadata
- type LocationType
- type ManagedByTenant
- type PairedRegion
- type Peers
- type RegionCategory
- type RegionType
- type SpendingLimit
- type Subscription
- type SubscriptionOperationPredicate
- type SubscriptionPolicies
- type SubscriptionState
- type SubscriptionsClient
- func (c SubscriptionsClient) CheckZonePeers(ctx context.Context, id commonids.SubscriptionId, input CheckZonePeersRequest) (result CheckZonePeersOperationResponse, err error)
- func (c SubscriptionsClient) Get(ctx context.Context, id commonids.SubscriptionId) (result GetOperationResponse, err error)
- func (c SubscriptionsClient) List(ctx context.Context) (result ListOperationResponse, err error)
- func (c SubscriptionsClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
- func (c SubscriptionsClient) ListCompleteMatchingPredicate(ctx context.Context, predicate SubscriptionOperationPredicate) (result ListCompleteResult, err error)
- func (c SubscriptionsClient) ListLocations(ctx context.Context, id commonids.SubscriptionId, ...) (result ListLocationsOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLocationType ¶
func PossibleValuesForLocationType() []string
func PossibleValuesForRegionCategory ¶
func PossibleValuesForRegionCategory() []string
func PossibleValuesForRegionType ¶
func PossibleValuesForRegionType() []string
func PossibleValuesForSpendingLimit ¶
func PossibleValuesForSpendingLimit() []string
func PossibleValuesForSubscriptionState ¶
func PossibleValuesForSubscriptionState() []string
Types ¶
type AvailabilityZonePeers ¶
type CheckZonePeersOperationResponse ¶
type CheckZonePeersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckZonePeersResult }
type CheckZonePeersRequest ¶
type CheckZonePeersResult ¶
type CheckZonePeersResult struct { AvailabilityZonePeers *[]AvailabilityZonePeers `json:"availabilityZonePeers,omitempty"` Location *string `json:"location,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Subscription }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Subscription }
type ListLocationsOperationOptions ¶
type ListLocationsOperationOptions struct {
IncludeExtendedLocations *bool
}
func DefaultListLocationsOperationOptions ¶
func DefaultListLocationsOperationOptions() ListLocationsOperationOptions
func (ListLocationsOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ListLocationsOperationOptions) ToHeaders() *client.Headers
func (ListLocationsOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ListLocationsOperationOptions) ToOData() *odata.Query
func (ListLocationsOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ListLocationsOperationOptions) ToQuery() *client.QueryParams
type ListLocationsOperationResponse ¶
type ListLocationsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LocationListResult }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Subscription }
type Location ¶
type Location struct { AvailabilityZoneMappings *[]AvailabilityZoneMappings `json:"availabilityZoneMappings,omitempty"` DisplayName *string `json:"displayName,omitempty"` Id *string `json:"id,omitempty"` Metadata *LocationMetadata `json:"metadata,omitempty"` Name *string `json:"name,omitempty"` RegionalDisplayName *string `json:"regionalDisplayName,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` Type *LocationType `json:"type,omitempty"` }
type LocationListResult ¶
type LocationListResult struct {
Value *[]Location `json:"value,omitempty"`
}
type LocationMetadata ¶
type LocationMetadata struct { Geography *string `json:"geography,omitempty"` GeographyGroup *string `json:"geographyGroup,omitempty"` HomeLocation *string `json:"homeLocation,omitempty"` Latitude *string `json:"latitude,omitempty"` Longitude *string `json:"longitude,omitempty"` PairedRegion *[]PairedRegion `json:"pairedRegion,omitempty"` PhysicalLocation *string `json:"physicalLocation,omitempty"` RegionCategory *RegionCategory `json:"regionCategory,omitempty"` RegionType *RegionType `json:"regionType,omitempty"` }
type LocationType ¶
type LocationType string
const ( LocationTypeEdgeZone LocationType = "EdgeZone" LocationTypeRegion LocationType = "Region" )
func (*LocationType) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *LocationType) UnmarshalJSON(bytes []byte) error
type ManagedByTenant ¶
type ManagedByTenant struct {
TenantId *string `json:"tenantId,omitempty"`
}
type PairedRegion ¶
type RegionCategory ¶
type RegionCategory string
const ( RegionCategoryExtended RegionCategory = "Extended" RegionCategoryOther RegionCategory = "Other" RegionCategoryRecommended RegionCategory = "Recommended" )
func (*RegionCategory) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *RegionCategory) UnmarshalJSON(bytes []byte) error
type RegionType ¶
type RegionType string
const ( RegionTypeLogical RegionType = "Logical" RegionTypePhysical RegionType = "Physical" )
func (*RegionType) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *RegionType) UnmarshalJSON(bytes []byte) error
type SpendingLimit ¶
type SpendingLimit string
const ( SpendingLimitCurrentPeriodOff SpendingLimit = "CurrentPeriodOff" SpendingLimitOff SpendingLimit = "Off" SpendingLimitOn SpendingLimit = "On" )
func (*SpendingLimit) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *SpendingLimit) UnmarshalJSON(bytes []byte) error
type Subscription ¶
type Subscription struct { AuthorizationSource *string `json:"authorizationSource,omitempty"` DisplayName *string `json:"displayName,omitempty"` Id *string `json:"id,omitempty"` ManagedByTenants *[]ManagedByTenant `json:"managedByTenants,omitempty"` State *SubscriptionState `json:"state,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SubscriptionPolicies *SubscriptionPolicies `json:"subscriptionPolicies,omitempty"` Tags *map[string]string `json:"tags,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type SubscriptionOperationPredicate ¶
type SubscriptionOperationPredicate struct { AuthorizationSource *string DisplayName *string Id *string SubscriptionId *string TenantId *string }
func (SubscriptionOperationPredicate) Matches ¶
func (p SubscriptionOperationPredicate) Matches(input Subscription) bool
type SubscriptionPolicies ¶
type SubscriptionPolicies struct { LocationPlacementId *string `json:"locationPlacementId,omitempty"` QuotaId *string `json:"quotaId,omitempty"` SpendingLimit *SpendingLimit `json:"spendingLimit,omitempty"` }
type SubscriptionState ¶
type SubscriptionState string
const ( SubscriptionStateDeleted SubscriptionState = "Deleted" SubscriptionStateDisabled SubscriptionState = "Disabled" SubscriptionStateEnabled SubscriptionState = "Enabled" SubscriptionStatePastDue SubscriptionState = "PastDue" SubscriptionStateWarned SubscriptionState = "Warned" )
func (*SubscriptionState) UnmarshalJSON ¶ added in v0.20230509.1154719
func (s *SubscriptionState) UnmarshalJSON(bytes []byte) error
type SubscriptionsClient ¶
type SubscriptionsClient struct {
Client *resourcemanager.Client
}
func NewSubscriptionsClientWithBaseURI ¶
func NewSubscriptionsClientWithBaseURI(sdkApi sdkEnv.Api) (*SubscriptionsClient, error)
func (SubscriptionsClient) CheckZonePeers ¶
func (c SubscriptionsClient) CheckZonePeers(ctx context.Context, id commonids.SubscriptionId, input CheckZonePeersRequest) (result CheckZonePeersOperationResponse, err error)
CheckZonePeers ...
func (SubscriptionsClient) Get ¶
func (c SubscriptionsClient) Get(ctx context.Context, id commonids.SubscriptionId) (result GetOperationResponse, err error)
Get ...
func (SubscriptionsClient) List ¶
func (c SubscriptionsClient) List(ctx context.Context) (result ListOperationResponse, err error)
List ...
func (SubscriptionsClient) ListComplete ¶
func (c SubscriptionsClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SubscriptionsClient) ListCompleteMatchingPredicate ¶
func (c SubscriptionsClient) ListCompleteMatchingPredicate(ctx context.Context, predicate SubscriptionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SubscriptionsClient) ListLocations ¶
func (c SubscriptionsClient) ListLocations(ctx context.Context, id commonids.SubscriptionId, options ListLocationsOperationOptions) (result ListLocationsOperationResponse, err error)
ListLocations ...
Source Files ¶
- client.go
- constants.go
- method_checkzonepeers.go
- method_get.go
- method_list.go
- method_listlocations.go
- model_availabilityzonemappings.go
- model_availabilityzonepeers.go
- model_checkzonepeersrequest.go
- model_checkzonepeersresult.go
- model_location.go
- model_locationlistresult.go
- model_locationmetadata.go
- model_managedbytenant.go
- model_pairedregion.go
- model_peers.go
- model_subscription.go
- model_subscriptionpolicies.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.