Documentation ¶
Index ¶
- type CheckExistenceByIdOperationResponse
- type CheckExistenceOperationResponse
- type CreateOrUpdateByIdOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteByIdOperationResponse
- type DeleteOperationResponse
- type GenericResource
- type GenericResourceExpanded
- type GenericResourceExpandedOperationPredicate
- type GetByIdOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MoveResourcesOperationResponse
- type Plan
- type ResourcesClient
- func (c ResourcesClient) CheckExistence(ctx context.Context, id commonids.ScopeId) (result CheckExistenceOperationResponse, err error)
- func (c ResourcesClient) CheckExistenceById(ctx context.Context, id commonids.ScopeId) (result CheckExistenceByIdOperationResponse, err error)
- func (c ResourcesClient) CreateOrUpdate(ctx context.Context, id commonids.ScopeId, input GenericResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ResourcesClient) CreateOrUpdateById(ctx context.Context, id commonids.ScopeId, input GenericResource) (result CreateOrUpdateByIdOperationResponse, err error)
- func (c ResourcesClient) CreateOrUpdateByIdThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
- func (c ResourcesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
- func (c ResourcesClient) Delete(ctx context.Context, id commonids.ScopeId) (result DeleteOperationResponse, err error)
- func (c ResourcesClient) DeleteById(ctx context.Context, id commonids.ScopeId) (result DeleteByIdOperationResponse, err error)
- func (c ResourcesClient) DeleteByIdThenPoll(ctx context.Context, id commonids.ScopeId) error
- func (c ResourcesClient) DeleteThenPoll(ctx context.Context, id commonids.ScopeId) error
- func (c ResourcesClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
- func (c ResourcesClient) GetById(ctx context.Context, id commonids.ScopeId) (result GetByIdOperationResponse, err error)
- func (c ResourcesClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ResourcesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ResourcesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c ResourcesClient) MoveResources(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) (result MoveResourcesOperationResponse, err error)
- func (c ResourcesClient) MoveResourcesThenPoll(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) error
- func (c ResourcesClient) Update(ctx context.Context, id commonids.ScopeId, input GenericResource) (result UpdateOperationResponse, err error)
- func (c ResourcesClient) UpdateById(ctx context.Context, id commonids.ScopeId, input GenericResource) (result UpdateByIdOperationResponse, err error)
- func (c ResourcesClient) UpdateByIdThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
- func (c ResourcesClient) UpdateThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
- func (c ResourcesClient) ValidateMoveResources(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) (result ValidateMoveResourcesOperationResponse, err error)
- func (c ResourcesClient) ValidateMoveResourcesThenPoll(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) error
- type ResourcesMoveInfo
- type Sku
- type UpdateByIdOperationResponse
- type UpdateOperationResponse
- type ValidateMoveResourcesOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrUpdateByIdOperationResponse ¶
type CreateOrUpdateByIdOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteByIdOperationResponse ¶
type DeleteByIdOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GenericResource ¶
type GenericResource struct { 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"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 GetByIdOperationResponse ¶
type GetByIdOperationResponse struct { HttpResponse *http.Response Model *GenericResource }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *GenericResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []GenericResourceExpanded
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]GenericResourceExpanded // 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 MoveResourcesOperationResponse ¶
type MoveResourcesOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ResourcesClient ¶
func NewResourcesClientWithBaseURI ¶
func NewResourcesClientWithBaseURI(endpoint string) ResourcesClient
func (ResourcesClient) CheckExistence ¶
func (c ResourcesClient) CheckExistence(ctx context.Context, id commonids.ScopeId) (result CheckExistenceOperationResponse, err error)
CheckExistence ...
func (ResourcesClient) CheckExistenceById ¶
func (c ResourcesClient) CheckExistenceById(ctx context.Context, id commonids.ScopeId) (result CheckExistenceByIdOperationResponse, err error)
CheckExistenceById ...
func (ResourcesClient) CreateOrUpdate ¶
func (c ResourcesClient) CreateOrUpdate(ctx context.Context, id commonids.ScopeId, input GenericResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ResourcesClient) CreateOrUpdateById ¶
func (c ResourcesClient) CreateOrUpdateById(ctx context.Context, id commonids.ScopeId, input GenericResource) (result CreateOrUpdateByIdOperationResponse, err error)
CreateOrUpdateById ...
func (ResourcesClient) CreateOrUpdateByIdThenPoll ¶
func (c ResourcesClient) CreateOrUpdateByIdThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
CreateOrUpdateByIdThenPoll performs CreateOrUpdateById then polls until it's completed
func (ResourcesClient) CreateOrUpdateThenPoll ¶
func (c ResourcesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ResourcesClient) Delete ¶
func (c ResourcesClient) Delete(ctx context.Context, id commonids.ScopeId) (result DeleteOperationResponse, err error)
Delete ...
func (ResourcesClient) DeleteById ¶
func (c ResourcesClient) DeleteById(ctx context.Context, id commonids.ScopeId) (result DeleteByIdOperationResponse, err error)
DeleteById ...
func (ResourcesClient) DeleteByIdThenPoll ¶
DeleteByIdThenPoll performs DeleteById then polls until it's completed
func (ResourcesClient) DeleteThenPoll ¶
DeleteThenPoll performs Delete then polls until it's completed
func (ResourcesClient) Get ¶
func (c ResourcesClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
Get ...
func (ResourcesClient) GetById ¶
func (c ResourcesClient) GetById(ctx context.Context, id commonids.ScopeId) (result GetByIdOperationResponse, err error)
GetById ...
func (ResourcesClient) List ¶
func (c ResourcesClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ResourcesClient) ListComplete ¶
func (c ResourcesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ResourcesClient) ListCompleteMatchingPredicate ¶
func (c ResourcesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate GenericResourceExpandedOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ResourcesClient) MoveResources ¶
func (c ResourcesClient) MoveResources(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) (result MoveResourcesOperationResponse, err error)
MoveResources ...
func (ResourcesClient) MoveResourcesThenPoll ¶
func (c ResourcesClient) MoveResourcesThenPoll(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) error
MoveResourcesThenPoll performs MoveResources then polls until it's completed
func (ResourcesClient) Update ¶
func (c ResourcesClient) Update(ctx context.Context, id commonids.ScopeId, input GenericResource) (result UpdateOperationResponse, err error)
Update ...
func (ResourcesClient) UpdateById ¶
func (c ResourcesClient) UpdateById(ctx context.Context, id commonids.ScopeId, input GenericResource) (result UpdateByIdOperationResponse, err error)
UpdateById ...
func (ResourcesClient) UpdateByIdThenPoll ¶
func (c ResourcesClient) UpdateByIdThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
UpdateByIdThenPoll performs UpdateById then polls until it's completed
func (ResourcesClient) UpdateThenPoll ¶
func (c ResourcesClient) UpdateThenPoll(ctx context.Context, id commonids.ScopeId, input GenericResource) error
UpdateThenPoll performs Update then polls until it's completed
func (ResourcesClient) ValidateMoveResources ¶
func (c ResourcesClient) ValidateMoveResources(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) (result ValidateMoveResourcesOperationResponse, err error)
ValidateMoveResources ...
func (ResourcesClient) ValidateMoveResourcesThenPoll ¶
func (c ResourcesClient) ValidateMoveResourcesThenPoll(ctx context.Context, id commonids.ResourceGroupId, input ResourcesMoveInfo) error
ValidateMoveResourcesThenPoll performs ValidateMoveResources then polls until it's completed
type ResourcesMoveInfo ¶
type UpdateByIdOperationResponse ¶
type UpdateByIdOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ValidateMoveResourcesOperationResponse ¶
type ValidateMoveResourcesOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- method_checkexistence_autorest.go
- method_checkexistencebyid_autorest.go
- method_createorupdate_autorest.go
- method_createorupdatebyid_autorest.go
- method_delete_autorest.go
- method_deletebyid_autorest.go
- method_get_autorest.go
- method_getbyid_autorest.go
- method_list_autorest.go
- method_moveresources_autorest.go
- method_update_autorest.go
- method_updatebyid_autorest.go
- method_validatemoveresources_autorest.go
- model_genericresource.go
- model_genericresourceexpanded.go
- model_plan.go
- model_resourcesmoveinfo.go
- model_sku.go
- predicates.go
- version.go