Documentation ¶
Index ¶
- func PossibleValuesForRequestState() []string
- func ValidateGroupQuotaLimitID(input interface{}, key string) (warnings []string, errors []error)
- type AllocatedQuotaToSubscriptionList
- type AllocatedToSubscription
- type GroupQuotaDetails
- type GroupQuotaDetailsName
- type GroupQuotaLimit
- type GroupQuotaLimitId
- type GroupQuotaLimitList
- type GroupQuotaLimitListProperties
- type GroupQuotaLimitsClient
- func (c GroupQuotaLimitsClient) List(ctx context.Context, id GroupQuotaLimitId) (result ListOperationResponse, err error)
- func (c GroupQuotaLimitsClient) RequestUpdate(ctx context.Context, id GroupQuotaLimitId, input GroupQuotaLimitList) (result RequestUpdateOperationResponse, err error)
- func (c GroupQuotaLimitsClient) RequestUpdateThenPoll(ctx context.Context, id GroupQuotaLimitId, input GroupQuotaLimitList) error
- type ListOperationResponse
- type RequestState
- type RequestUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRequestState ¶
func PossibleValuesForRequestState() []string
func ValidateGroupQuotaLimitID ¶
ValidateGroupQuotaLimitID checks that 'input' can be parsed as a Group Quota Limit ID
Types ¶
type AllocatedQuotaToSubscriptionList ¶
type AllocatedQuotaToSubscriptionList struct {
Value *[]AllocatedToSubscription `json:"value,omitempty"`
}
type AllocatedToSubscription ¶
type GroupQuotaDetails ¶
type GroupQuotaDetails struct { AllocatedToSubscriptions *AllocatedQuotaToSubscriptionList `json:"allocatedToSubscriptions,omitempty"` AvailableLimit *int64 `json:"availableLimit,omitempty"` Comment *string `json:"comment,omitempty"` Limit *int64 `json:"limit,omitempty"` Name *GroupQuotaDetailsName `json:"name,omitempty"` ResourceName *string `json:"resourceName,omitempty"` Unit *string `json:"unit,omitempty"` }
type GroupQuotaDetailsName ¶
type GroupQuotaLimit ¶
type GroupQuotaLimit struct {
Properties *GroupQuotaDetails `json:"properties,omitempty"`
}
type GroupQuotaLimitId ¶
type GroupQuotaLimitId struct { ManagementGroupId string GroupQuotaName string ResourceProviderName string GroupQuotaLimitName string }
GroupQuotaLimitId is a struct representing the Resource ID for a Group Quota Limit
func NewGroupQuotaLimitID ¶
func NewGroupQuotaLimitID(managementGroupId string, groupQuotaName string, resourceProviderName string, groupQuotaLimitName string) GroupQuotaLimitId
NewGroupQuotaLimitID returns a new GroupQuotaLimitId struct
func ParseGroupQuotaLimitID ¶
func ParseGroupQuotaLimitID(input string) (*GroupQuotaLimitId, error)
ParseGroupQuotaLimitID parses 'input' into a GroupQuotaLimitId
func ParseGroupQuotaLimitIDInsensitively ¶
func ParseGroupQuotaLimitIDInsensitively(input string) (*GroupQuotaLimitId, error)
ParseGroupQuotaLimitIDInsensitively parses 'input' case-insensitively into a GroupQuotaLimitId note: this method should only be used for API response data and not user input
func (*GroupQuotaLimitId) FromParseResult ¶
func (id *GroupQuotaLimitId) FromParseResult(input resourceids.ParseResult) error
func (GroupQuotaLimitId) ID ¶
func (id GroupQuotaLimitId) ID() string
ID returns the formatted Group Quota Limit ID
func (GroupQuotaLimitId) Segments ¶
func (id GroupQuotaLimitId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group Quota Limit ID
func (GroupQuotaLimitId) String ¶
func (id GroupQuotaLimitId) String() string
String returns a human-readable description of this Group Quota Limit ID
type GroupQuotaLimitList ¶
type GroupQuotaLimitList struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupQuotaLimitListProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type GroupQuotaLimitListProperties ¶
type GroupQuotaLimitListProperties struct { NextLink *string `json:"nextLink,omitempty"` ProvisioningState *RequestState `json:"provisioningState,omitempty"` Value *[]GroupQuotaLimit `json:"value,omitempty"` }
type GroupQuotaLimitsClient ¶
type GroupQuotaLimitsClient struct {
Client *resourcemanager.Client
}
func NewGroupQuotaLimitsClientWithBaseURI ¶
func NewGroupQuotaLimitsClientWithBaseURI(sdkApi sdkEnv.Api) (*GroupQuotaLimitsClient, error)
func (GroupQuotaLimitsClient) List ¶
func (c GroupQuotaLimitsClient) List(ctx context.Context, id GroupQuotaLimitId) (result ListOperationResponse, err error)
List ...
func (GroupQuotaLimitsClient) RequestUpdate ¶
func (c GroupQuotaLimitsClient) RequestUpdate(ctx context.Context, id GroupQuotaLimitId, input GroupQuotaLimitList) (result RequestUpdateOperationResponse, err error)
RequestUpdate ...
func (GroupQuotaLimitsClient) RequestUpdateThenPoll ¶
func (c GroupQuotaLimitsClient) RequestUpdateThenPoll(ctx context.Context, id GroupQuotaLimitId, input GroupQuotaLimitList) error
RequestUpdateThenPoll performs RequestUpdate then polls until it's completed
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupQuotaLimitList }
type RequestState ¶
type RequestState string
const ( RequestStateAccepted RequestState = "Accepted" RequestStateCanceled RequestState = "Canceled" RequestStateCreated RequestState = "Created" RequestStateFailed RequestState = "Failed" RequestStateInProgress RequestState = "InProgress" RequestStateInvalid RequestState = "Invalid" RequestStateSucceeded RequestState = "Succeeded" )
func (*RequestState) UnmarshalJSON ¶
func (s *RequestState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_groupquotalimit.go
- method_list.go
- method_requestupdate.go
- model_allocatedquotatosubscriptionlist.go
- model_allocatedtosubscription.go
- model_groupquotadetails.go
- model_groupquotadetailsname.go
- model_groupquotalimit.go
- model_groupquotalimitlist.go
- model_groupquotalimitlistproperties.go
- version.go