Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForStatus() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- type Account
- type AccountClient
- func (c AccountClient) Create(ctx context.Context, id AccountId, input Account) (result CreateOperationResponse, err error)
- func (c AccountClient) CreateThenPoll(ctx context.Context, id AccountId, input Account) error
- func (c AccountClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
- func (c AccountClient) DeleteThenPoll(ctx context.Context, id AccountId) error
- func (c AccountClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
- func (c AccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c AccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c AccountClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c AccountClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AccountClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c AccountClient) Update(ctx context.Context, id AccountId, input AccountUpdateParameters) (result UpdateOperationResponse, err error)
- type AccountId
- type AccountOperationPredicate
- type AccountProperties
- type AccountUpdateParameters
- type CreateOperationResponse
- type DataShareErrorInfo
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type OperationResponse
- type ProvisioningState
- type Status
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
Types ¶
type Account ¶
type Account struct { Id *string `json:"id,omitempty"` Identity identity.SystemAssigned `json:"identity"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AccountProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AccountClient ¶
func NewAccountClientWithBaseURI ¶
func NewAccountClientWithBaseURI(endpoint string) AccountClient
func (AccountClient) Create ¶
func (c AccountClient) Create(ctx context.Context, id AccountId, input Account) (result CreateOperationResponse, err error)
Create ...
func (AccountClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (AccountClient) Delete ¶
func (c AccountClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
Delete ...
func (AccountClient) DeleteThenPoll ¶
func (c AccountClient) DeleteThenPoll(ctx context.Context, id AccountId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AccountClient) Get ¶
func (c AccountClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
Get ...
func (AccountClient) ListByResourceGroup ¶
func (c AccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AccountClient) ListByResourceGroupComplete ¶
func (c AccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (AccountClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AccountOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AccountClient) ListBySubscription ¶
func (c AccountClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AccountClient) ListBySubscriptionComplete ¶
func (c AccountClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (AccountClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AccountClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AccountClient) Update ¶
func (c AccountClient) Update(ctx context.Context, id AccountId, input AccountUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type AccountOperationPredicate ¶
func (AccountOperationPredicate) Matches ¶
func (p AccountOperationPredicate) Matches(input Account) bool
type AccountProperties ¶
type AccountProperties struct { CreatedAt *string `json:"createdAt,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` UserEmail *string `json:"userEmail,omitempty"` UserName *string `json:"userName,omitempty"` }
func (*AccountProperties) GetCreatedAtAsTime ¶
func (o *AccountProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*AccountProperties) SetCreatedAtAsTime ¶
func (o *AccountProperties) SetCreatedAtAsTime(input time.Time)
type AccountUpdateParameters ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataShareErrorInfo ¶
type DataShareErrorInfo struct {}
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Account
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Account // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Account
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Account // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type OperationResponse ¶
type OperationResponse struct { EndTime *string `json:"endTime,omitempty"` Error *DataShareErrorInfo `json:"error,omitempty"` StartTime *string `json:"startTime,omitempty"` Status Status `json:"status"` }
func (*OperationResponse) GetEndTimeAsTime ¶
func (o *OperationResponse) GetEndTimeAsTime() (*time.Time, error)
func (*OperationResponse) GetStartTimeAsTime ¶
func (o *OperationResponse) GetStartTimeAsTime() (*time.Time, error)
func (*OperationResponse) SetEndTimeAsTime ¶
func (o *OperationResponse) SetEndTimeAsTime(input time.Time)
func (*OperationResponse) SetStartTimeAsTime ¶
func (o *OperationResponse) SetStartTimeAsTime(input time.Time)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_account.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_account.go
- model_accountproperties.go
- model_accountupdateparameters.go
- model_datashareerrorinfo.go
- model_operationresponse.go
- predicates.go
- version.go