Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SubscriptionStateEnabled captures enum value "Enabled" SubscriptionStateEnabled string = "Enabled" // SubscriptionStateWarned captures enum value "Warned" SubscriptionStateWarned string = "Warned" // SubscriptionStatePastDue captures enum value "PastDue" SubscriptionStatePastDue string = "PastDue" // SubscriptionStateDisabled captures enum value "Disabled" SubscriptionStateDisabled string = "Disabled" // SubscriptionStateDeleted captures enum value "Deleted" SubscriptionStateDeleted string = "Deleted" )
View Source
const ( // SubscriptionPoliciesSpendingLimitOn captures enum value "On" SubscriptionPoliciesSpendingLimitOn string = "On" // SubscriptionPoliciesSpendingLimitOff captures enum value "Off" SubscriptionPoliciesSpendingLimitOff string = "Off" // SubscriptionPoliciesSpendingLimitCurrentPeriodOff captures enum value "CurrentPeriodOff" SubscriptionPoliciesSpendingLimitCurrentPeriodOff string = "CurrentPeriodOff" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location struct { // The display name of the location. // Read Only: true DisplayName string `json:"displayName,omitempty"` // The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. // Read Only: true ID string `json:"id,omitempty"` // The latitude of the location. // Read Only: true Latitude string `json:"latitude,omitempty"` // The longitude of the location. // Read Only: true Longitude string `json:"longitude,omitempty"` // The location name. // Read Only: true Name string `json:"name,omitempty"` // The subscription ID. // Read Only: true SubscriptionID string `json:"subscriptionId,omitempty"` }
Location Location information. swagger:model Location
type LocationListResult ¶
type LocationListResult struct { // An array of locations. Value []*Location `json:"value"` }
LocationListResult Location list operation response. swagger:model LocationListResult
type Subscription ¶
type Subscription struct { // The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'. AuthorizationSource string `json:"authorizationSource,omitempty"` // The subscription display name. // Read Only: true DisplayName string `json:"displayName,omitempty"` // The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000. // Read Only: true ID string `json:"id,omitempty"` // The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. // Read Only: true State string `json:"state,omitempty"` // The subscription ID. // Read Only: true SubscriptionID string `json:"subscriptionId,omitempty"` // The subscription policies. SubscriptionPolicies *SubscriptionPolicies `json:"subscriptionPolicies,omitempty"` // The tenant ID. // Read Only: true TenantID string `json:"tenantId,omitempty"` }
Subscription Subscription information. swagger:model Subscription
type SubscriptionListResult ¶
type SubscriptionListResult struct { // The URL to get the next set of results. // Required: true NextLink *string `json:"nextLink"` // An array of subscriptions. Value []*Subscription `json:"value"` }
SubscriptionListResult Subscription list operation response. swagger:model SubscriptionListResult
type SubscriptionPolicies ¶
type SubscriptionPolicies struct { // The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions. // Read Only: true LocationPlacementID string `json:"locationPlacementId,omitempty"` // The subscription quota ID. // Read Only: true QuotaID string `json:"quotaId,omitempty"` // The subscription spending limit. // Read Only: true SpendingLimit string `json:"spendingLimit,omitempty"` }
SubscriptionPolicies Subscription policies. swagger:model SubscriptionPolicies
type TenantIDDescription ¶
type TenantIDDescription struct { // The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000. // Read Only: true ID string `json:"id,omitempty"` // The tenant ID. For example, 00000000-0000-0000-0000-000000000000. // Read Only: true TenantID string `json:"tenantId,omitempty"` }
TenantIDDescription Tenant Id information. swagger:model TenantIdDescription
type TenantListResult ¶
type TenantListResult struct { // The URL to use for getting the next set of results. // Required: true NextLink *string `json:"nextLink"` // An array of tenants. Value []*TenantIDDescription `json:"value"` }
TenantListResult Tenant Ids information. swagger:model TenantListResult
Click to show internal directories.
Click to hide internal directories.