Documentation ¶
Index ¶
- type CheckExistenceOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GenericResourceExpanded
- type GenericResourceExpandedOperationPredicate
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ListResourcesCompleteResult
- type ListResourcesCustomPager
- type ListResourcesOperationOptions
- type ListResourcesOperationResponse
- type PatchOperationResponse
- type Plan
- type ResourceGroup
- type ResourceGroupOperationPredicate
- type ResourceGroupProperties
- type ResourceGroupsClient
- func (c ResourceGroupsClient) CheckExistence(ctx context.Context, id commonids.ResourceGroupId) (result CheckExistenceOperationResponse, err error)
- func (c ResourceGroupsClient) CreateOrUpdate(ctx context.Context, id commonids.ResourceGroupId, input ResourceGroup) (result CreateOrUpdateOperationResponse, err error)
- func (c ResourceGroupsClient) Delete(ctx context.Context, id commonids.ResourceGroupId) (result DeleteOperationResponse, err error)
- func (c ResourceGroupsClient) DeleteThenPoll(ctx context.Context, id commonids.ResourceGroupId) error
- func (c ResourceGroupsClient) Get(ctx context.Context, id commonids.ResourceGroupId) (result GetOperationResponse, err error)
- func (c ResourceGroupsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ResourceGroupsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ResourceGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ResourceGroupsClient) ListResources(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListResourcesOperationResponse, err error)
- func (c ResourceGroupsClient) ListResourcesComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListResourcesCompleteResult, error)
- func (c ResourceGroupsClient) ListResourcesCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListResourcesCompleteResult, err error)
- func (c ResourceGroupsClient) Patch(ctx context.Context, id commonids.ResourceGroupId, input ResourceGroup) (result PatchOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceGroup }
type DeleteOperationResponse ¶
type GenericResourceExpanded ¶
type GenericResourceExpanded struct { ChangedTime *string `json:"changedTime,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *interface{} `json:"properties,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*GenericResourceExpanded) GetChangedTimeAsTime ¶
func (o *GenericResourceExpanded) GetChangedTimeAsTime() (*time.Time, error)
func (*GenericResourceExpanded) GetCreatedTimeAsTime ¶
func (o *GenericResourceExpanded) GetCreatedTimeAsTime() (*time.Time, error)
func (*GenericResourceExpanded) SetChangedTimeAsTime ¶
func (o *GenericResourceExpanded) SetChangedTimeAsTime(input time.Time)
func (*GenericResourceExpanded) SetCreatedTimeAsTime ¶
func (o *GenericResourceExpanded) SetCreatedTimeAsTime(input time.Time)
type GenericResourceExpandedOperationPredicate ¶
type GenericResourceExpandedOperationPredicate struct { ChangedTime *string CreatedTime *string Id *string Location *string Name *string Properties *interface{} ProvisioningState *string Type *string }
func (GenericResourceExpandedOperationPredicate) Matches ¶
func (p GenericResourceExpandedOperationPredicate) Matches(input GenericResourceExpanded) bool
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceGroup }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceGroup }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
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 *[]ResourceGroup }
type ListResourcesCompleteResult ¶
type ListResourcesCompleteResult struct { LatestHttpResponse *http.Response Items []GenericResourceExpanded }
type ListResourcesCustomPager ¶ added in v0.20240628.1153531
func (*ListResourcesCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListResourcesCustomPager) NextPageLink() *odata.Link
type ListResourcesOperationOptions ¶
func DefaultListResourcesOperationOptions ¶
func DefaultListResourcesOperationOptions() ListResourcesOperationOptions
func (ListResourcesOperationOptions) ToHeaders ¶
func (o ListResourcesOperationOptions) ToHeaders() *client.Headers
func (ListResourcesOperationOptions) ToOData ¶
func (o ListResourcesOperationOptions) ToOData() *odata.Query
func (ListResourcesOperationOptions) ToQuery ¶
func (o ListResourcesOperationOptions) ToQuery() *client.QueryParams
type ListResourcesOperationResponse ¶
type ListResourcesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GenericResourceExpanded }
type PatchOperationResponse ¶
type PatchOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceGroup }
type ResourceGroup ¶
type ResourceGroupOperationPredicate ¶
func (ResourceGroupOperationPredicate) Matches ¶
func (p ResourceGroupOperationPredicate) Matches(input ResourceGroup) bool
type ResourceGroupProperties ¶
type ResourceGroupProperties struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
type ResourceGroupsClient ¶
type ResourceGroupsClient struct {
Client *resourcemanager.Client
}
func NewResourceGroupsClientWithBaseURI ¶
func NewResourceGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*ResourceGroupsClient, error)
func (ResourceGroupsClient) CheckExistence ¶
func (c ResourceGroupsClient) CheckExistence(ctx context.Context, id commonids.ResourceGroupId) (result CheckExistenceOperationResponse, err error)
CheckExistence ...
func (ResourceGroupsClient) CreateOrUpdate ¶
func (c ResourceGroupsClient) CreateOrUpdate(ctx context.Context, id commonids.ResourceGroupId, input ResourceGroup) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ResourceGroupsClient) Delete ¶
func (c ResourceGroupsClient) Delete(ctx context.Context, id commonids.ResourceGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (ResourceGroupsClient) DeleteThenPoll ¶
func (c ResourceGroupsClient) DeleteThenPoll(ctx context.Context, id commonids.ResourceGroupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ResourceGroupsClient) Get ¶
func (c ResourceGroupsClient) Get(ctx context.Context, id commonids.ResourceGroupId) (result GetOperationResponse, err error)
Get ...
func (ResourceGroupsClient) List ¶
func (c ResourceGroupsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ResourceGroupsClient) ListComplete ¶
func (c ResourceGroupsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ResourceGroupsClient) ListCompleteMatchingPredicate ¶
func (c ResourceGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ResourceGroupOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGroupsClient) ListResources ¶
func (c ResourceGroupsClient) ListResources(ctx context.Context, id commonids.ResourceGroupId, options ListResourcesOperationOptions) (result ListResourcesOperationResponse, err error)
ListResources ...
func (ResourceGroupsClient) ListResourcesComplete ¶
func (c ResourceGroupsClient) ListResourcesComplete(ctx context.Context, id commonids.ResourceGroupId, options ListResourcesOperationOptions) (ListResourcesCompleteResult, error)
ListResourcesComplete retrieves all the results into a single object
func (ResourceGroupsClient) ListResourcesCompleteMatchingPredicate ¶
func (c ResourceGroupsClient) ListResourcesCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListResourcesOperationOptions, predicate GenericResourceExpandedOperationPredicate) (result ListResourcesCompleteResult, err error)
ListResourcesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGroupsClient) Patch ¶
func (c ResourceGroupsClient) Patch(ctx context.Context, id commonids.ResourceGroupId, input ResourceGroup) (result PatchOperationResponse, err error)
Patch ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.