Documentation ¶
Index ¶
- type CheckExistenceOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorResponse
- type ExportTemplateOperationResponse
- type ExportTemplateRequest
- type GenericResourceExpanded
- type GenericResourceExpandedOperationPredicate
- type GetOperationResponse
- type ListCompleteResult
- 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) (resp 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, ...) (resp ListCompleteResult, err error)
- func (c ResourceGroupsClient) ResourcesListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (resp 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, ...) (resp ResourcesListByResourceGroupCompleteResult, err error)
- func (c ResourceGroupsClient) Update(ctx context.Context, id commonids.ResourceGroupId, ...) (result UpdateOperationResponse, err error)
- type ResourcesListByResourceGroupCompleteResult
- 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 Model *ResourceGroup }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 ExportTemplateOperationResponse ¶
type ExportTemplateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ExportTemplateRequest ¶
type GenericResourceExpanded ¶
type GenericResourceExpanded struct { ChangedTime *string `json:"changedTime,omitempty"` CreatedTime *string `json:"createdTime,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 Model *ResourceGroup }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ResourceGroup
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ResourceGroup // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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 autorest.Client // contains filtered or unexported fields }
func NewResourceGroupsClientWithBaseURI ¶
func NewResourceGroupsClientWithBaseURI(endpoint string) ResourceGroupsClient
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) 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) (resp ListOperationResponse, err error)
List ...
func (ResourceGroupsClient) ListComplete ¶
func (c ResourceGroupsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ResourceGroupsClient) ListCompleteMatchingPredicate ¶
func (c ResourceGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ResourceGroupOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ResourceGroupsClient) ResourcesListByResourceGroup ¶
func (c ResourceGroupsClient) ResourcesListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ResourcesListByResourceGroupOperationOptions) (resp ResourcesListByResourceGroupOperationResponse, err error)
ResourcesListByResourceGroup ...
func (ResourceGroupsClient) ResourcesListByResourceGroupComplete ¶
func (c ResourceGroupsClient) ResourcesListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ResourcesListByResourceGroupOperationOptions) (ResourcesListByResourceGroupCompleteResult, error)
ResourcesListByResourceGroupComplete retrieves all of the results into a single object
func (ResourceGroupsClient) ResourcesListByResourceGroupCompleteMatchingPredicate ¶
func (c ResourceGroupsClient) ResourcesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ResourcesListByResourceGroupOperationOptions, predicate GenericResourceExpandedOperationPredicate) (resp ResourcesListByResourceGroupCompleteResult, err error)
ResourcesListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied 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 {
Items []GenericResourceExpanded
}
type ResourcesListByResourceGroupOperationOptions ¶
type ResourcesListByResourceGroupOperationOptions struct { Expand *string Filter *string Top *int64 }
func DefaultResourcesListByResourceGroupOperationOptions ¶
func DefaultResourcesListByResourceGroupOperationOptions() ResourcesListByResourceGroupOperationOptions
type ResourcesListByResourceGroupOperationResponse ¶
type ResourcesListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]GenericResourceExpanded // contains filtered or unexported fields }
func (ResourcesListByResourceGroupOperationResponse) HasMore ¶
func (r ResourcesListByResourceGroupOperationResponse) HasMore() bool
func (ResourcesListByResourceGroupOperationResponse) LoadMore ¶
func (r ResourcesListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ResourcesListByResourceGroupOperationResponse, err error)
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *ResourceGroup }
Source Files ¶
- client.go
- method_checkexistence_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_exporttemplate_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_resourceslistbyresourcegroup_autorest.go
- method_update_autorest.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.