Documentation ¶
Index ¶
- func ValidateResourceID(input interface{}, key string) (warnings []string, errors []error)
- 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 ResourceId
- type ResourcesClient
- func (c ResourcesClient) CheckExistence(ctx context.Context, id ResourceId) (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 ResourceId, 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 ResourceId, input GenericResource) error
- func (c ResourcesClient) Delete(ctx context.Context, id ResourceId) (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 ResourceId) error
- func (c ResourcesClient) Get(ctx context.Context, id ResourceId) (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 ResourceId, 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 ResourceId, 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 ¶
func ValidateResourceID ¶
ValidateResourceID checks that 'input' can be parsed as a Resource ID
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 ResourceId ¶
type ResourceId struct { SubscriptionId string ResourceGroupName string ProviderName string ParentResourcePath string ResourceType string ResourceName string }
ResourceId is a struct representing the Resource ID for a Resource
func NewResourceID ¶
func NewResourceID(subscriptionId string, resourceGroupName string, providerName string, parentResourcePath string, resourceType string, resourceName string) ResourceId
NewResourceID returns a new ResourceId struct
func ParseResourceID ¶
func ParseResourceID(input string) (*ResourceId, error)
ParseResourceID parses 'input' into a ResourceId
func ParseResourceIDInsensitively ¶
func ParseResourceIDInsensitively(input string) (*ResourceId, error)
ParseResourceIDInsensitively parses 'input' case-insensitively into a ResourceId note: this method should only be used for API response data and not user input
func (ResourceId) Segments ¶
func (id ResourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource ID
func (ResourceId) String ¶
func (id ResourceId) String() string
String returns a human-readable description of this Resource ID
type ResourcesClient ¶
func NewResourcesClientWithBaseURI ¶
func NewResourcesClientWithBaseURI(endpoint string) ResourcesClient
func (ResourcesClient) CheckExistence ¶
func (c ResourcesClient) CheckExistence(ctx context.Context, id ResourceId) (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 ResourceId, 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 ResourceId, input GenericResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ResourcesClient) Delete ¶
func (c ResourcesClient) Delete(ctx context.Context, id ResourceId) (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 ¶
func (c ResourcesClient) DeleteThenPoll(ctx context.Context, id ResourceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ResourcesClient) Get ¶
func (c ResourcesClient) Get(ctx context.Context, id ResourceId) (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 ResourceId, 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 ResourceId, 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
- id_resource.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