Documentation ¶
Index ¶
- func PossibleValuesForKeyType() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForName() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type AccountsClient
- func (c AccountsClient) CreateOrUpdate(ctx context.Context, id AccountId, input MapsAccount) (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) 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) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c AccountsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AccountsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c AccountsClient) ListKeys(ctx context.Context, id AccountId) (result ListKeysOperationResponse, err error)
- func (c AccountsClient) RegenerateKeys(ctx context.Context, id AccountId, input MapsKeySpecification) (result RegenerateKeysOperationResponse, err error)
- func (c AccountsClient) Update(ctx context.Context, id AccountId, input MapsAccountUpdateParameters) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyType
- type Kind
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListKeysOperationResponse
- type MapsAccount
- type MapsAccountKeys
- type MapsAccountOperationPredicate
- type MapsAccountProperties
- type MapsAccountUpdateParameters
- type MapsKeySpecification
- type Name
- type RegenerateKeysOperationResponse
- type Sku
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForName ¶
func PossibleValuesForName() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
Types ¶
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 AccountsClient ¶
type AccountsClient struct {
Client *resourcemanager.Client
}
func NewAccountsClientWithBaseURI ¶
func NewAccountsClientWithBaseURI(api environments.Api) (*AccountsClient, error)
func (AccountsClient) CreateOrUpdate ¶
func (c AccountsClient) CreateOrUpdate(ctx context.Context, id AccountId, input MapsAccount) (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) 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 MapsAccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountsClient) ListBySubscription ¶
func (c AccountsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AccountsClient) ListBySubscriptionComplete ¶
func (c AccountsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AccountsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AccountsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate MapsAccountOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountsClient) ListKeys ¶
func (c AccountsClient) ListKeys(ctx context.Context, id AccountId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (AccountsClient) RegenerateKeys ¶
func (c AccountsClient) RegenerateKeys(ctx context.Context, id AccountId, input MapsKeySpecification) (result RegenerateKeysOperationResponse, err error)
RegenerateKeys ...
func (AccountsClient) Update ¶
func (c AccountsClient) Update(ctx context.Context, id AccountId, input MapsAccountUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MapsAccount }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MapsAccount }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []MapsAccount
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MapsAccount }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []MapsAccount
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MapsAccount }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MapsAccountKeys }
type MapsAccount ¶
type MapsAccount struct { Id *string `json:"id,omitempty"` Kind *Kind `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MapsAccountProperties `json:"properties,omitempty"` Sku Sku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MapsAccountKeys ¶
type MapsAccountOperationPredicate ¶
func (MapsAccountOperationPredicate) Matches ¶
func (p MapsAccountOperationPredicate) Matches(input MapsAccount) bool
type MapsAccountProperties ¶
type MapsAccountUpdateParameters ¶
type MapsAccountUpdateParameters struct { Kind *Kind `json:"kind,omitempty"` Properties *MapsAccountProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type MapsKeySpecification ¶
type MapsKeySpecification struct {
KeyType KeyType `json:"keyType"`
}
type RegenerateKeysOperationResponse ¶
type RegenerateKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MapsAccountKeys }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MapsAccount }
Source Files ¶
- client.go
- constants.go
- id_account.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listkeys.go
- method_regeneratekeys.go
- method_update.go
- model_mapsaccount.go
- model_mapsaccountkeys.go
- model_mapsaccountproperties.go
- model_mapsaccountupdateparameters.go
- model_mapskeyspecification.go
- model_sku.go
- predicates.go
- version.go