Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- type Account
- type AccountId
- type AccountOperationPredicate
- type AccountPatch
- type AccountPropertiesForPatchRequest
- type AccountPropertiesForPutRequest
- type AccountsClient
- func (c AccountsClient) CreateOrUpdate(ctx context.Context, id AccountId, input Account) (result CreateOrUpdateOperationResponse, err error)
- func (c AccountsClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
- func (c AccountsClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
- func (c AccountsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c AccountsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c AccountsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c AccountsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c AccountsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c AccountsClient) Update(ctx context.Context, id AccountId, input AccountPatch) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningState
- type StorageServicesForPatchRequest
- type StorageServicesForPutRequest
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []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.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AccountPropertiesForPutRequest `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 AccountPatch ¶
type AccountPatch struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Properties *AccountPropertiesForPatchRequest `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AccountPropertiesForPatchRequest ¶
type AccountPropertiesForPatchRequest struct { AccountId *string `json:"accountId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` StorageServices *StorageServicesForPatchRequest `json:"storageServices,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type AccountPropertiesForPutRequest ¶
type AccountPropertiesForPutRequest struct { AccountId *string `json:"accountId,omitempty"` AccountName *string `json:"accountName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` StorageServices *StorageServicesForPutRequest `json:"storageServices,omitempty"` TenantId *string `json:"tenantId,omitempty"` TotalSecondsIndexed *int64 `json:"totalSecondsIndexed,omitempty"` }
type AccountsClient ¶
type AccountsClient struct {
Client *resourcemanager.Client
}
func NewAccountsClientWithBaseURI ¶
func NewAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*AccountsClient, error)
func (AccountsClient) CreateOrUpdate ¶
func (c AccountsClient) CreateOrUpdate(ctx context.Context, id AccountId, input Account) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AccountsClient) Delete ¶
func (c AccountsClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
Delete ...
func (AccountsClient) Get ¶
func (c AccountsClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
Get ...
func (AccountsClient) List ¶
func (c AccountsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (AccountsClient) ListByResourceGroup ¶
func (c AccountsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AccountsClient) ListByResourceGroupComplete ¶
func (c AccountsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AccountsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountsClient) ListComplete ¶
func (c AccountsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AccountsClient) ListCompleteMatchingPredicate ¶
func (c AccountsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountsClient) Update ¶
func (c AccountsClient) Update(ctx context.Context, id AccountId, input AccountPatch) (result UpdateOperationResponse, err error)
Update ...
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type StorageServicesForPatchRequest ¶
type StorageServicesForPatchRequest struct {
UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_account.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_account.go
- model_accountpatch.go
- model_accountpropertiesforpatchrequest.go
- model_accountpropertiesforputrequest.go
- model_storageservicesforpatchrequest.go
- model_storageservicesforputrequest.go
- predicates.go
- version.go