Documentation ¶
Index ¶
- type CheckExistenceOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorResponse
- type ExportTemplateOperationResponse
- type ExportTemplateRequest
- type GenericResourceExpanded
- type GenericResourceExpandedOperationPredicate
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type Plan
- type ResourceGroup
- type ResourceGroupExportResult
- type ResourceGroupOperationPredicate
- type ResourceGroupPatchable
- 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) ExportTemplate(ctx context.Context, id commonids.ResourceGroupId, input ExportTemplateRequest) (result ExportTemplateOperationResponse, err error)
- func (c ResourceGroupsClient) ExportTemplateThenPoll(ctx context.Context, id commonids.ResourceGroupId, input ExportTemplateRequest) 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) ResourcesListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ResourcesListByResourceGroupOperationResponse, err error)
- func (c ResourceGroupsClient) ResourcesListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ResourcesListByResourceGroupCompleteResult, error)
- func (c ResourceGroupsClient) ResourcesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ResourcesListByResourceGroupCompleteResult, err error)
- func (c ResourceGroupsClient) Update(ctx context.Context, id commonids.ResourceGroupId, ...) (result UpdateOperationResponse, err error)
- type ResourcesListByResourceGroupCompleteResult
- type ResourcesListByResourceGroupCustomPager
- type ResourcesListByResourceGroupOperationOptions
- type ResourcesListByResourceGroupOperationResponse
- type Sku
- type UpdateOperationResponse
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 DeleteOperationOptions ¶
type DeleteOperationOptions struct {
ForceDeletionTypes *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorResponse ¶
type ErrorResponse struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorResponse `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type ExportTemplateRequest ¶
type GenericResourceExpanded ¶
type GenericResourceExpanded struct { ChangedTime *string `json:"changedTime,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *interface{} `json:"properties,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Sku *Sku `json:"sku,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 Kind *string Location *string ManagedBy *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 ¶
func (*ListCustomPager) NextPageLink ¶
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 ResourceGroup ¶
type ResourceGroup struct { Id *string `json:"id,omitempty"` Location string `json:"location"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Properties *ResourceGroupProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ResourceGroupExportResult ¶
type ResourceGroupExportResult struct { Error *ErrorResponse `json:"error,omitempty"` Template *interface{} `json:"template,omitempty"` }
type ResourceGroupOperationPredicate ¶
type ResourceGroupOperationPredicate struct { Id *string Location *string ManagedBy *string Name *string Type *string }
func (ResourceGroupOperationPredicate) Matches ¶
func (p ResourceGroupOperationPredicate) Matches(input ResourceGroup) bool
type ResourceGroupPatchable ¶
type ResourceGroupPatchable struct { ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Properties *ResourceGroupProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
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, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ResourceGroupsClient) DeleteThenPoll ¶
func (c ResourceGroupsClient) DeleteThenPoll(ctx context.Context, id commonids.ResourceGroupId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (ResourceGroupsClient) ExportTemplate ¶
func (c ResourceGroupsClient) ExportTemplate(ctx context.Context, id commonids.ResourceGroupId, input ExportTemplateRequest) (result ExportTemplateOperationResponse, err error)
ExportTemplate ...
func (ResourceGroupsClient) ExportTemplateThenPoll ¶
func (c ResourceGroupsClient) ExportTemplateThenPoll(ctx context.Context, id commonids.ResourceGroupId, input ExportTemplateRequest) error
ExportTemplateThenPoll performs ExportTemplate 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) ResourcesListByResourceGroup ¶
func (c ResourceGroupsClient) ResourcesListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ResourcesListByResourceGroupOperationOptions) (result ResourcesListByResourceGroupOperationResponse, err error)
ResourcesListByResourceGroup ...
func (ResourceGroupsClient) ResourcesListByResourceGroupComplete ¶
func (c ResourceGroupsClient) ResourcesListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ResourcesListByResourceGroupOperationOptions) (ResourcesListByResourceGroupCompleteResult, error)
ResourcesListByResourceGroupComplete retrieves all the results into a single object
func (ResourceGroupsClient) ResourcesListByResourceGroupCompleteMatchingPredicate ¶
func (c ResourceGroupsClient) ResourcesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ResourcesListByResourceGroupOperationOptions, predicate GenericResourceExpandedOperationPredicate) (result ResourcesListByResourceGroupCompleteResult, err error)
ResourcesListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGroupsClient) Update ¶
func (c ResourceGroupsClient) Update(ctx context.Context, id commonids.ResourceGroupId, input ResourceGroupPatchable) (result UpdateOperationResponse, err error)
Update ...
type ResourcesListByResourceGroupCompleteResult ¶
type ResourcesListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []GenericResourceExpanded }
type ResourcesListByResourceGroupCustomPager ¶
func (*ResourcesListByResourceGroupCustomPager) NextPageLink ¶
func (p *ResourcesListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ResourcesListByResourceGroupOperationOptions ¶
type ResourcesListByResourceGroupOperationOptions struct { Expand *string Filter *string Top *int64 }
func DefaultResourcesListByResourceGroupOperationOptions ¶
func DefaultResourcesListByResourceGroupOperationOptions() ResourcesListByResourceGroupOperationOptions
func (ResourcesListByResourceGroupOperationOptions) ToHeaders ¶
func (o ResourcesListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ResourcesListByResourceGroupOperationOptions) ToOData ¶
func (o ResourcesListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ResourcesListByResourceGroupOperationOptions) ToQuery ¶
func (o ResourcesListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ResourcesListByResourceGroupOperationResponse ¶
type ResourcesListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GenericResourceExpanded }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceGroup }
Source Files ¶
- client.go
- method_checkexistence.go
- method_createorupdate.go
- method_delete.go
- method_exporttemplate.go
- method_get.go
- method_list.go
- method_resourceslistbyresourcegroup.go
- method_update.go
- model_erroradditionalinfo.go
- model_errorresponse.go
- model_exporttemplaterequest.go
- model_genericresourceexpanded.go
- model_plan.go
- model_resourcegroup.go
- model_resourcegroupexportresult.go
- model_resourcegrouppatchable.go
- model_resourcegroupproperties.go
- model_sku.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.