Documentation ¶
Index ¶
- func PossibleValuesForRequestState() []string
- func ValidateGroupQuotaID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GroupQuotaId
- type GroupQuotasClient
- func (c GroupQuotasClient) CreateOrUpdate(ctx context.Context, id GroupQuotaId, input GroupQuotasEntity) (result CreateOrUpdateOperationResponse, err error)
- func (c GroupQuotasClient) CreateOrUpdateThenPoll(ctx context.Context, id GroupQuotaId, input GroupQuotasEntity) error
- func (c GroupQuotasClient) Delete(ctx context.Context, id GroupQuotaId) (result DeleteOperationResponse, err error)
- func (c GroupQuotasClient) DeleteThenPoll(ctx context.Context, id GroupQuotaId) error
- func (c GroupQuotasClient) Get(ctx context.Context, id GroupQuotaId) (result GetOperationResponse, err error)
- func (c GroupQuotasClient) List(ctx context.Context, id commonids.ManagementGroupId) (result ListOperationResponse, err error)
- func (c GroupQuotasClient) ListComplete(ctx context.Context, id commonids.ManagementGroupId) (ListCompleteResult, error)
- func (c GroupQuotasClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, ...) (result ListCompleteResult, err error)
- func (c GroupQuotasClient) Update(ctx context.Context, id GroupQuotaId, input GroupQuotasEntityPatch) (result UpdateOperationResponse, err error)
- func (c GroupQuotasClient) UpdateThenPoll(ctx context.Context, id GroupQuotaId, input GroupQuotasEntityPatch) error
- type GroupQuotasEntity
- type GroupQuotasEntityBase
- type GroupQuotasEntityBasePatch
- type GroupQuotasEntityOperationPredicate
- type GroupQuotasEntityPatch
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type RequestState
- type UpdateOperationResponse
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
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupQuotasEntity }
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 GroupQuotasClient ¶
type GroupQuotasClient struct {
Client *resourcemanager.Client
}
func NewGroupQuotasClientWithBaseURI ¶
func NewGroupQuotasClientWithBaseURI(sdkApi sdkEnv.Api) (*GroupQuotasClient, error)
func (GroupQuotasClient) CreateOrUpdate ¶
func (c GroupQuotasClient) CreateOrUpdate(ctx context.Context, id GroupQuotaId, input GroupQuotasEntity) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GroupQuotasClient) CreateOrUpdateThenPoll ¶
func (c GroupQuotasClient) CreateOrUpdateThenPoll(ctx context.Context, id GroupQuotaId, input GroupQuotasEntity) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GroupQuotasClient) Delete ¶
func (c GroupQuotasClient) Delete(ctx context.Context, id GroupQuotaId) (result DeleteOperationResponse, err error)
Delete ...
func (GroupQuotasClient) DeleteThenPoll ¶
func (c GroupQuotasClient) DeleteThenPoll(ctx context.Context, id GroupQuotaId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GroupQuotasClient) Get ¶
func (c GroupQuotasClient) Get(ctx context.Context, id GroupQuotaId) (result GetOperationResponse, err error)
Get ...
func (GroupQuotasClient) List ¶
func (c GroupQuotasClient) List(ctx context.Context, id commonids.ManagementGroupId) (result ListOperationResponse, err error)
List ...
func (GroupQuotasClient) ListComplete ¶
func (c GroupQuotasClient) ListComplete(ctx context.Context, id commonids.ManagementGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GroupQuotasClient) ListCompleteMatchingPredicate ¶
func (c GroupQuotasClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, predicate GroupQuotasEntityOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GroupQuotasClient) Update ¶
func (c GroupQuotasClient) Update(ctx context.Context, id GroupQuotaId, input GroupQuotasEntityPatch) (result UpdateOperationResponse, err error)
Update ...
func (GroupQuotasClient) UpdateThenPoll ¶
func (c GroupQuotasClient) UpdateThenPoll(ctx context.Context, id GroupQuotaId, input GroupQuotasEntityPatch) error
UpdateThenPoll performs Update then polls until it's completed
type GroupQuotasEntity ¶
type GroupQuotasEntity struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupQuotasEntityBase `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type GroupQuotasEntityBase ¶
type GroupQuotasEntityBase struct { DisplayName *string `json:"displayName,omitempty"` ProvisioningState *RequestState `json:"provisioningState,omitempty"` }
type GroupQuotasEntityBasePatch ¶
type GroupQuotasEntityBasePatch struct { DisplayName *string `json:"displayName,omitempty"` ProvisioningState *RequestState `json:"provisioningState,omitempty"` }
type GroupQuotasEntityOperationPredicate ¶
func (GroupQuotasEntityOperationPredicate) Matches ¶
func (p GroupQuotasEntityOperationPredicate) Matches(input GroupQuotasEntity) bool
type GroupQuotasEntityPatch ¶
type GroupQuotasEntityPatch struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupQuotasEntityBasePatch `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GroupQuotasEntity }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GroupQuotasEntity }
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