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 ListCustomPager
- 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) (result 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, ...) (result 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 DeleteOperationResponse ¶
type GenericResource ¶
type GenericResource struct { 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"` 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"` 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 GetByIdOperationResponse ¶
type GetByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GenericResource }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GenericResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GenericResourceExpanded }
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 *[]GenericResourceExpanded }
type ResourcesClient ¶
type ResourcesClient struct {
Client *resourcemanager.Client
}
func NewResourcesClientWithBaseURI ¶
func NewResourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*ResourcesClient, error)
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) (result ListOperationResponse, err error)
List ...
func (ResourcesClient) ListComplete ¶
func (c ResourcesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ResourcesClient) ListCompleteMatchingPredicate ¶
func (c ResourcesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate GenericResourceExpandedOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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 UpdateOperationResponse ¶
Source Files ¶
- client.go
- method_checkexistence.go
- method_checkexistencebyid.go
- method_createorupdate.go
- method_createorupdatebyid.go
- method_delete.go
- method_deletebyid.go
- method_get.go
- method_getbyid.go
- method_list.go
- method_moveresources.go
- method_update.go
- method_updatebyid.go
- method_validatemoveresources.go
- model_genericresource.go
- model_genericresourceexpanded.go
- model_plan.go
- model_resourcesmoveinfo.go
- model_sku.go
- predicates.go
- version.go