Documentation ¶
Index ¶
- func PossibleValuesForCode() []string
- func PossibleValuesForEnforce() []string
- func PossibleValuesForInherited() []string
- func PossibleValuesForIsEnabled() []string
- func PossibleValuesForPricingTier() []string
- func PossibleValuesForResourcesCoverageStatus() []string
- func ValidatePricingID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopeIdID(input interface{}, key string) (warnings []string, errors []error)
- type Code
- type DeleteOperationResponse
- type Enforce
- type Extension
- type GetOperationResponse
- type Inherited
- type IsEnabled
- type ListOperationOptions
- type ListOperationResponse
- type OperationStatus
- type Pricing
- type PricingId
- type PricingList
- type PricingProperties
- type PricingTier
- type PricingsClient
- func (c PricingsClient) Delete(ctx context.Context, id PricingId) (result DeleteOperationResponse, err error)
- func (c PricingsClient) Get(ctx context.Context, id PricingId) (result GetOperationResponse, err error)
- func (c PricingsClient) List(ctx context.Context, id ScopeIdId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c PricingsClient) Update(ctx context.Context, id PricingId, input Pricing) (result UpdateOperationResponse, err error)
- type ResourcesCoverageStatus
- type ScopeIdId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCode ¶
func PossibleValuesForCode() []string
func PossibleValuesForEnforce ¶
func PossibleValuesForEnforce() []string
func PossibleValuesForInherited ¶
func PossibleValuesForInherited() []string
func PossibleValuesForIsEnabled ¶
func PossibleValuesForIsEnabled() []string
func PossibleValuesForPricingTier ¶
func PossibleValuesForPricingTier() []string
func PossibleValuesForResourcesCoverageStatus ¶
func PossibleValuesForResourcesCoverageStatus() []string
func ValidatePricingID ¶
ValidatePricingID checks that 'input' can be parsed as a Pricing ID
func ValidateScopeIdID ¶
ValidateScopeIdID checks that 'input' can be parsed as a Scope Id ID
Types ¶
type DeleteOperationResponse ¶
type Extension ¶
type Extension struct { AdditionalExtensionProperties *map[string]interface{} `json:"additionalExtensionProperties,omitempty"` IsEnabled IsEnabled `json:"isEnabled"` Name string `json:"name"` OperationStatus *OperationStatus `json:"operationStatus,omitempty"` }
type GetOperationResponse ¶
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PricingList }
type OperationStatus ¶
type Pricing ¶
type Pricing struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PricingProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PricingId ¶
PricingId is a struct representing the Resource ID for a Pricing
func NewPricingID ¶
NewPricingID returns a new PricingId struct
func ParsePricingID ¶
ParsePricingID parses 'input' into a PricingId
func ParsePricingIDInsensitively ¶
ParsePricingIDInsensitively parses 'input' case-insensitively into a PricingId note: this method should only be used for API response data and not user input
func (*PricingId) FromParseResult ¶
func (id *PricingId) FromParseResult(input resourceids.ParseResult) error
func (PricingId) Segments ¶
func (id PricingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pricing ID
type PricingList ¶
type PricingList struct {
Value []Pricing `json:"value"`
}
type PricingProperties ¶
type PricingProperties struct { Deprecated *bool `json:"deprecated,omitempty"` EnablementTime *string `json:"enablementTime,omitempty"` Enforce *Enforce `json:"enforce,omitempty"` Extensions *[]Extension `json:"extensions,omitempty"` FreeTrialRemainingTime *string `json:"freeTrialRemainingTime,omitempty"` Inherited *Inherited `json:"inherited,omitempty"` InheritedFrom *string `json:"inheritedFrom,omitempty"` PricingTier PricingTier `json:"pricingTier"` ReplacedBy *[]string `json:"replacedBy,omitempty"` ResourcesCoverageStatus *ResourcesCoverageStatus `json:"resourcesCoverageStatus,omitempty"` SubPlan *string `json:"subPlan,omitempty"` }
func (*PricingProperties) GetEnablementTimeAsTime ¶
func (o *PricingProperties) GetEnablementTimeAsTime() (*time.Time, error)
func (*PricingProperties) SetEnablementTimeAsTime ¶
func (o *PricingProperties) SetEnablementTimeAsTime(input time.Time)
type PricingTier ¶
type PricingTier string
const ( PricingTierFree PricingTier = "Free" PricingTierStandard PricingTier = "Standard" )
func (*PricingTier) UnmarshalJSON ¶
func (s *PricingTier) UnmarshalJSON(bytes []byte) error
type PricingsClient ¶
type PricingsClient struct {
Client *resourcemanager.Client
}
func NewPricingsClientWithBaseURI ¶
func NewPricingsClientWithBaseURI(sdkApi sdkEnv.Api) (*PricingsClient, error)
func (PricingsClient) Delete ¶
func (c PricingsClient) Delete(ctx context.Context, id PricingId) (result DeleteOperationResponse, err error)
Delete ...
func (PricingsClient) Get ¶
func (c PricingsClient) Get(ctx context.Context, id PricingId) (result GetOperationResponse, err error)
Get ...
func (PricingsClient) List ¶
func (c PricingsClient) List(ctx context.Context, id ScopeIdId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (PricingsClient) Update ¶
func (c PricingsClient) Update(ctx context.Context, id PricingId, input Pricing) (result UpdateOperationResponse, err error)
Update ...
type ResourcesCoverageStatus ¶
type ResourcesCoverageStatus string
const ( ResourcesCoverageStatusFullyCovered ResourcesCoverageStatus = "FullyCovered" ResourcesCoverageStatusNotCovered ResourcesCoverageStatus = "NotCovered" ResourcesCoverageStatusPartiallyCovered ResourcesCoverageStatus = "PartiallyCovered" )
func (*ResourcesCoverageStatus) UnmarshalJSON ¶
func (s *ResourcesCoverageStatus) UnmarshalJSON(bytes []byte) error
type ScopeIdId ¶
type ScopeIdId struct {
ScopeId string
}
ScopeIdId is a struct representing the Resource ID for a Scope Id
func NewScopeIdID ¶
NewScopeIdID returns a new ScopeIdId struct
func ParseScopeIdID ¶
ParseScopeIdID parses 'input' into a ScopeIdId
func ParseScopeIdIDInsensitively ¶
ParseScopeIdIDInsensitively parses 'input' case-insensitively into a ScopeIdId note: this method should only be used for API response data and not user input
func (*ScopeIdId) FromParseResult ¶
func (id *ScopeIdId) FromParseResult(input resourceids.ParseResult) error
func (ScopeIdId) Segments ¶
func (id ScopeIdId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scope Id ID