Documentation
¶
Index ¶
- func PossibleValuesForRequestState() []string
- func ValidateGroupQuotaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionRequestID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type GroupQuotaId
- type GroupQuotaSubscriptionRequestStatus
- type GroupQuotaSubscriptionRequestStatusOperationPredicate
- type GroupQuotaSubscriptionRequestStatusProperties
- type GroupQuotaSubscriptionRequestsClient
- func (c GroupQuotaSubscriptionRequestsClient) Get(ctx context.Context, id SubscriptionRequestId) (result GetOperationResponse, err error)
- func (c GroupQuotaSubscriptionRequestsClient) List(ctx context.Context, id GroupQuotaId) (result ListOperationResponse, err error)
- func (c GroupQuotaSubscriptionRequestsClient) ListComplete(ctx context.Context, id GroupQuotaId) (ListCompleteResult, error)
- func (c GroupQuotaSubscriptionRequestsClient) ListCompleteMatchingPredicate(ctx context.Context, id GroupQuotaId, ...) (result ListCompleteResult, err error)
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type RequestState
- type SubscriptionRequestId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRequestState ¶
func PossibleValuesForRequestState() []string
func ValidateGroupQuotaID ¶
ValidateGroupQuotaID checks that 'input' can be parsed as a Group Quota ID
func ValidateSubscriptionRequestID ¶
func ValidateSubscriptionRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateSubscriptionRequestID checks that 'input' can be parsed as a Subscription Request ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupQuotaSubscriptionRequestStatus }
type GroupQuotaId ¶
GroupQuotaId is a struct representing the Resource ID for a Group Quota
func NewGroupQuotaID ¶
func NewGroupQuotaID(managementGroupId string, groupQuotaName string) GroupQuotaId
NewGroupQuotaID returns a new GroupQuotaId struct
func ParseGroupQuotaID ¶
func ParseGroupQuotaID(input string) (*GroupQuotaId, error)
ParseGroupQuotaID parses 'input' into a GroupQuotaId
func ParseGroupQuotaIDInsensitively ¶
func ParseGroupQuotaIDInsensitively(input string) (*GroupQuotaId, error)
ParseGroupQuotaIDInsensitively parses 'input' case-insensitively into a GroupQuotaId note: this method should only be used for API response data and not user input
func (*GroupQuotaId) FromParseResult ¶
func (id *GroupQuotaId) FromParseResult(input resourceids.ParseResult) error
func (GroupQuotaId) Segments ¶
func (id GroupQuotaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group Quota ID
func (GroupQuotaId) String ¶
func (id GroupQuotaId) String() string
String returns a human-readable description of this Group Quota ID
type GroupQuotaSubscriptionRequestStatus ¶
type GroupQuotaSubscriptionRequestStatus struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupQuotaSubscriptionRequestStatusProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type GroupQuotaSubscriptionRequestStatusOperationPredicate ¶
type GroupQuotaSubscriptionRequestStatusOperationPredicate struct { Id *string Name *string Type *string }
func (GroupQuotaSubscriptionRequestStatusOperationPredicate) Matches ¶
func (p GroupQuotaSubscriptionRequestStatusOperationPredicate) Matches(input GroupQuotaSubscriptionRequestStatus) bool
type GroupQuotaSubscriptionRequestStatusProperties ¶
type GroupQuotaSubscriptionRequestStatusProperties struct { ProvisioningState *RequestState `json:"provisioningState,omitempty"` RequestSubmitTime *string `json:"requestSubmitTime,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` }
func (*GroupQuotaSubscriptionRequestStatusProperties) GetRequestSubmitTimeAsTime ¶
func (o *GroupQuotaSubscriptionRequestStatusProperties) GetRequestSubmitTimeAsTime() (*time.Time, error)
func (*GroupQuotaSubscriptionRequestStatusProperties) SetRequestSubmitTimeAsTime ¶
func (o *GroupQuotaSubscriptionRequestStatusProperties) SetRequestSubmitTimeAsTime(input time.Time)
type GroupQuotaSubscriptionRequestsClient ¶
type GroupQuotaSubscriptionRequestsClient struct {
Client *resourcemanager.Client
}
func NewGroupQuotaSubscriptionRequestsClientWithBaseURI ¶
func NewGroupQuotaSubscriptionRequestsClientWithBaseURI(sdkApi sdkEnv.Api) (*GroupQuotaSubscriptionRequestsClient, error)
func (GroupQuotaSubscriptionRequestsClient) Get ¶
func (c GroupQuotaSubscriptionRequestsClient) Get(ctx context.Context, id SubscriptionRequestId) (result GetOperationResponse, err error)
Get ...
func (GroupQuotaSubscriptionRequestsClient) List ¶
func (c GroupQuotaSubscriptionRequestsClient) List(ctx context.Context, id GroupQuotaId) (result ListOperationResponse, err error)
List ...
func (GroupQuotaSubscriptionRequestsClient) ListComplete ¶
func (c GroupQuotaSubscriptionRequestsClient) ListComplete(ctx context.Context, id GroupQuotaId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GroupQuotaSubscriptionRequestsClient) ListCompleteMatchingPredicate ¶
func (c GroupQuotaSubscriptionRequestsClient) ListCompleteMatchingPredicate(ctx context.Context, id GroupQuotaId, predicate GroupQuotaSubscriptionRequestStatusOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GroupQuotaSubscriptionRequestStatus }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GroupQuotaSubscriptionRequestStatus }
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
type SubscriptionRequestId ¶
type SubscriptionRequestId struct { ManagementGroupId string GroupQuotaName string RequestId string }
SubscriptionRequestId is a struct representing the Resource ID for a Subscription Request
func NewSubscriptionRequestID ¶
func NewSubscriptionRequestID(managementGroupId string, groupQuotaName string, requestId string) SubscriptionRequestId
NewSubscriptionRequestID returns a new SubscriptionRequestId struct
func ParseSubscriptionRequestID ¶
func ParseSubscriptionRequestID(input string) (*SubscriptionRequestId, error)
ParseSubscriptionRequestID parses 'input' into a SubscriptionRequestId
func ParseSubscriptionRequestIDInsensitively ¶
func ParseSubscriptionRequestIDInsensitively(input string) (*SubscriptionRequestId, error)
ParseSubscriptionRequestIDInsensitively parses 'input' case-insensitively into a SubscriptionRequestId note: this method should only be used for API response data and not user input
func (*SubscriptionRequestId) FromParseResult ¶
func (id *SubscriptionRequestId) FromParseResult(input resourceids.ParseResult) error
func (SubscriptionRequestId) ID ¶
func (id SubscriptionRequestId) ID() string
ID returns the formatted Subscription Request ID
func (SubscriptionRequestId) Segments ¶
func (id SubscriptionRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription Request ID
func (SubscriptionRequestId) String ¶
func (id SubscriptionRequestId) String() string
String returns a human-readable description of this Subscription Request ID