models

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

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

func (*Location) Validate

func (m *Location) Validate(formats strfmt.Registry) error

Validate validates this location

type LocationListResult

type LocationListResult struct {

	// An array of locations.
	Value []*Location `json:"value"`
}

LocationListResult Location list operation response. swagger:model LocationListResult

func (*LocationListResult) Validate

func (m *LocationListResult) Validate(formats strfmt.Registry) error

Validate validates this location list result

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

func (*Subscription) Validate

func (m *Subscription) Validate(formats strfmt.Registry) error

Validate validates this 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

func (*SubscriptionListResult) Validate

func (m *SubscriptionListResult) Validate(formats strfmt.Registry) error

Validate validates this subscription list result

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

func (*SubscriptionPolicies) Validate

func (m *SubscriptionPolicies) Validate(formats strfmt.Registry) error

Validate validates this subscription policies

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

func (*TenantIDDescription) Validate

func (m *TenantIDDescription) Validate(formats strfmt.Registry) error

Validate validates this tenant Id description

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

func (*TenantListResult) Validate

func (m *TenantListResult) Validate(formats strfmt.Registry) error

Validate validates this tenant list result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL