Documentation ¶
Index ¶
- func PossibleValuesForLimitType() []string
- func PossibleValuesForQuotaLimitTypes() []string
- func PossibleValuesForQuotaRequestState() []string
- func ValidateScopedQuotaRequestID(input interface{}, key string) (warnings []string, errors []error)
- type LimitJsonObject
- type LimitObject
- type LimitType
- type QuotaLimitTypes
- type QuotaRequestDetails
- type QuotaRequestDetailsOperationPredicate
- type QuotaRequestProperties
- type QuotaRequestState
- type QuotaRequestsClient
- func (c QuotaRequestsClient) TatusGet(ctx context.Context, id ScopedQuotaRequestId) (result TatusGetOperationResponse, err error)
- func (c QuotaRequestsClient) TatusList(ctx context.Context, id commonids.ScopeId, options TatusListOperationOptions) (result TatusListOperationResponse, err error)
- func (c QuotaRequestsClient) TatusListComplete(ctx context.Context, id commonids.ScopeId, options TatusListOperationOptions) (TatusListCompleteResult, error)
- func (c QuotaRequestsClient) TatusListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options TatusListOperationOptions, ...) (result TatusListCompleteResult, err error)
- type RawLimitJsonObjectImpl
- type ResourceName
- type ScopedQuotaRequestId
- type ServiceErrorDetail
- type SubRequest
- type TatusGetOperationResponse
- type TatusListCompleteResult
- type TatusListOperationOptions
- type TatusListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLimitType ¶
func PossibleValuesForLimitType() []string
func PossibleValuesForQuotaLimitTypes ¶
func PossibleValuesForQuotaLimitTypes() []string
func PossibleValuesForQuotaRequestState ¶
func PossibleValuesForQuotaRequestState() []string
func ValidateScopedQuotaRequestID ¶
func ValidateScopedQuotaRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedQuotaRequestID checks that 'input' can be parsed as a Scoped Quota Request ID
Types ¶
type LimitJsonObject ¶
type LimitJsonObject interface { }
type LimitObject ¶
type LimitObject struct { LimitType *QuotaLimitTypes `json:"limitType,omitempty"` Value int64 `json:"value"` }
func (LimitObject) MarshalJSON ¶
func (s LimitObject) MarshalJSON() ([]byte, error)
type LimitType ¶
type LimitType string
const (
LimitTypeLimitValue LimitType = "LimitValue"
)
func (*LimitType) UnmarshalJSON ¶
type QuotaLimitTypes ¶
type QuotaLimitTypes string
const ( QuotaLimitTypesIndependent QuotaLimitTypes = "Independent" )
func (*QuotaLimitTypes) UnmarshalJSON ¶
func (s *QuotaLimitTypes) UnmarshalJSON(bytes []byte) error
type QuotaRequestDetails ¶
type QuotaRequestDetails struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *QuotaRequestProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type QuotaRequestDetailsOperationPredicate ¶
func (QuotaRequestDetailsOperationPredicate) Matches ¶
func (p QuotaRequestDetailsOperationPredicate) Matches(input QuotaRequestDetails) bool
type QuotaRequestProperties ¶
type QuotaRequestProperties struct { Error *ServiceErrorDetail `json:"error,omitempty"` Message *string `json:"message,omitempty"` ProvisioningState *QuotaRequestState `json:"provisioningState,omitempty"` RequestSubmitTime *string `json:"requestSubmitTime,omitempty"` Value *[]SubRequest `json:"value,omitempty"` }
func (*QuotaRequestProperties) GetRequestSubmitTimeAsTime ¶
func (o *QuotaRequestProperties) GetRequestSubmitTimeAsTime() (*time.Time, error)
func (*QuotaRequestProperties) SetRequestSubmitTimeAsTime ¶
func (o *QuotaRequestProperties) SetRequestSubmitTimeAsTime(input time.Time)
type QuotaRequestState ¶
type QuotaRequestState string
const ( QuotaRequestStateAccepted QuotaRequestState = "Accepted" QuotaRequestStateFailed QuotaRequestState = "Failed" QuotaRequestStateInProgress QuotaRequestState = "InProgress" QuotaRequestStateInvalid QuotaRequestState = "Invalid" QuotaRequestStateSucceeded QuotaRequestState = "Succeeded" )
func (*QuotaRequestState) UnmarshalJSON ¶
func (s *QuotaRequestState) UnmarshalJSON(bytes []byte) error
type QuotaRequestsClient ¶
type QuotaRequestsClient struct {
Client *resourcemanager.Client
}
func NewQuotaRequestsClientWithBaseURI ¶
func NewQuotaRequestsClientWithBaseURI(sdkApi sdkEnv.Api) (*QuotaRequestsClient, error)
func (QuotaRequestsClient) TatusGet ¶
func (c QuotaRequestsClient) TatusGet(ctx context.Context, id ScopedQuotaRequestId) (result TatusGetOperationResponse, err error)
TatusGet ...
func (QuotaRequestsClient) TatusList ¶
func (c QuotaRequestsClient) TatusList(ctx context.Context, id commonids.ScopeId, options TatusListOperationOptions) (result TatusListOperationResponse, err error)
TatusList ...
func (QuotaRequestsClient) TatusListComplete ¶
func (c QuotaRequestsClient) TatusListComplete(ctx context.Context, id commonids.ScopeId, options TatusListOperationOptions) (TatusListCompleteResult, error)
TatusListComplete retrieves all the results into a single object
func (QuotaRequestsClient) TatusListCompleteMatchingPredicate ¶
func (c QuotaRequestsClient) TatusListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options TatusListOperationOptions, predicate QuotaRequestDetailsOperationPredicate) (result TatusListCompleteResult, err error)
TatusListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type RawLimitJsonObjectImpl ¶
RawLimitJsonObjectImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type ResourceName ¶
type ScopedQuotaRequestId ¶
ScopedQuotaRequestId is a struct representing the Resource ID for a Scoped Quota Request
func NewScopedQuotaRequestID ¶
func NewScopedQuotaRequestID(scope string, quotaRequestName string) ScopedQuotaRequestId
NewScopedQuotaRequestID returns a new ScopedQuotaRequestId struct
func ParseScopedQuotaRequestID ¶
func ParseScopedQuotaRequestID(input string) (*ScopedQuotaRequestId, error)
ParseScopedQuotaRequestID parses 'input' into a ScopedQuotaRequestId
func ParseScopedQuotaRequestIDInsensitively ¶
func ParseScopedQuotaRequestIDInsensitively(input string) (*ScopedQuotaRequestId, error)
ParseScopedQuotaRequestIDInsensitively parses 'input' case-insensitively into a ScopedQuotaRequestId note: this method should only be used for API response data and not user input
func (*ScopedQuotaRequestId) FromParseResult ¶
func (id *ScopedQuotaRequestId) FromParseResult(input resourceids.ParseResult) error
func (ScopedQuotaRequestId) ID ¶
func (id ScopedQuotaRequestId) ID() string
ID returns the formatted Scoped Quota Request ID
func (ScopedQuotaRequestId) Segments ¶
func (id ScopedQuotaRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Quota Request ID
func (ScopedQuotaRequestId) String ¶
func (id ScopedQuotaRequestId) String() string
String returns a human-readable description of this Scoped Quota Request ID
type ServiceErrorDetail ¶
type SubRequest ¶
type SubRequest struct { Limit LimitJsonObject `json:"limit"` Message *string `json:"message,omitempty"` Name *ResourceName `json:"name,omitempty"` ProvisioningState *QuotaRequestState `json:"provisioningState,omitempty"` ResourceType *string `json:"resourceType,omitempty"` SubRequestId *string `json:"subRequestId,omitempty"` Unit *string `json:"unit,omitempty"` }
func (*SubRequest) UnmarshalJSON ¶
func (s *SubRequest) UnmarshalJSON(bytes []byte) error
type TatusGetOperationResponse ¶
type TatusGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *QuotaRequestDetails }
type TatusListCompleteResult ¶
type TatusListCompleteResult struct { LatestHttpResponse *http.Response Items []QuotaRequestDetails }
type TatusListOperationOptions ¶
func DefaultTatusListOperationOptions ¶
func DefaultTatusListOperationOptions() TatusListOperationOptions
func (TatusListOperationOptions) ToHeaders ¶
func (o TatusListOperationOptions) ToHeaders() *client.Headers
func (TatusListOperationOptions) ToOData ¶
func (o TatusListOperationOptions) ToOData() *odata.Query
func (TatusListOperationOptions) ToQuery ¶
func (o TatusListOperationOptions) ToQuery() *client.QueryParams
type TatusListOperationResponse ¶
type TatusListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]QuotaRequestDetails }