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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c AccountClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AccountClient ¶
type AccountClient struct {
Client *resourcemanager.Client
}
func NewAccountClientWithBaseURI ¶
func NewAccountClientWithBaseURI(sdkApi sdkEnv.Api) (*AccountClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AccountClient) ListByResourceGroupComplete ¶
func (c AccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AccountClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountClient) ListBySubscription ¶
func (c AccountClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AccountClient) ListBySubscriptionComplete ¶
func (c AccountClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AccountClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AccountClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
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 DataShareErrorInfo ¶
type DataShareErrorInfo struct {}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
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" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_account.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_account.go
- model_accountproperties.go
- model_accountupdateparameters.go
- model_datashareerrorinfo.go
- model_operationresponse.go
- predicates.go
- version.go