Documentation ¶
Index ¶
- func PossibleValuesForCreatedByType() []string
- func PossibleValuesForKeyType() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForName() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type AccountsClient
- func (c AccountsClient) CreateOrUpdate(ctx context.Context, id AccountId, input MapsAccount) (result CreateOrUpdateResponse, err error)
- func (c AccountsClient) Delete(ctx context.Context, id AccountId) (result DeleteResponse, err error)
- func (c AccountsClient) Get(ctx context.Context, id AccountId) (result GetResponse, err error)
- func (c AccountsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
- func (c AccountsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate MapsAccountPredicate) (resp ListByResourceGroupCompleteResult, err error)
- func (c AccountsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
- func (c AccountsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AccountsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate MapsAccountPredicate) (resp ListBySubscriptionCompleteResult, err error)
- func (c AccountsClient) ListKeys(ctx context.Context, id AccountId) (result ListKeysResponse, err error)
- func (c AccountsClient) RegenerateKeys(ctx context.Context, id AccountId, input MapsKeySpecification) (result RegenerateKeysResponse, err error)
- func (c AccountsClient) Update(ctx context.Context, id AccountId, input MapsAccountUpdateParameters) (result UpdateResponse, err error)
- type CreateOrUpdateResponse
- type CreatedByType
- type DeleteResponse
- type GetResponse
- type KeyType
- type Kind
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionResponse
- type ListKeysResponse
- type MapsAccount
- type MapsAccountKeys
- type MapsAccountPredicate
- type MapsAccountProperties
- type MapsAccountUpdateParameters
- type MapsKeySpecification
- type Name
- type RegenerateKeysResponse
- type ResourceGroupId
- type Sku
- type SubscriptionId
- type SystemData
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreatedByType ¶
func PossibleValuesForCreatedByType() []string
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
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription 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 ¶
func NewAccountsClientWithBaseURI ¶
func NewAccountsClientWithBaseURI(endpoint string) AccountsClient
func (AccountsClient) CreateOrUpdate ¶
func (c AccountsClient) CreateOrUpdate(ctx context.Context, id AccountId, input MapsAccount) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (AccountsClient) Delete ¶
func (c AccountsClient) Delete(ctx context.Context, id AccountId) (result DeleteResponse, err error)
Delete ...
func (AccountsClient) Get ¶
func (c AccountsClient) Get(ctx context.Context, id AccountId) (result GetResponse, err error)
Get ...
func (AccountsClient) ListByResourceGroup ¶
func (c AccountsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (AccountsClient) ListByResourceGroupComplete ¶
func (c AccountsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (AccountsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate MapsAccountPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AccountsClient) ListBySubscription ¶
func (c AccountsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
ListBySubscription ...
func (AccountsClient) ListBySubscriptionComplete ¶
func (c AccountsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (AccountsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AccountsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate MapsAccountPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AccountsClient) ListKeys ¶
func (c AccountsClient) ListKeys(ctx context.Context, id AccountId) (result ListKeysResponse, err error)
ListKeys ...
func (AccountsClient) RegenerateKeys ¶
func (c AccountsClient) RegenerateKeys(ctx context.Context, id AccountId, input MapsKeySpecification) (result RegenerateKeysResponse, err error)
RegenerateKeys ...
func (AccountsClient) Update ¶
func (c AccountsClient) Update(ctx context.Context, id AccountId, input MapsAccountUpdateParameters) (result UpdateResponse, err error)
Update ...
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { HttpResponse *http.Response Model *MapsAccount }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
type DeleteResponse ¶
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *MapsAccount }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []MapsAccount
}
type ListByResourceGroupResponse ¶
type ListByResourceGroupResponse struct { HttpResponse *http.Response Model *[]MapsAccount // contains filtered or unexported fields }
func (ListByResourceGroupResponse) HasMore ¶
func (r ListByResourceGroupResponse) HasMore() bool
func (ListByResourceGroupResponse) LoadMore ¶
func (r ListByResourceGroupResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []MapsAccount
}
type ListBySubscriptionResponse ¶
type ListBySubscriptionResponse struct { HttpResponse *http.Response Model *[]MapsAccount // contains filtered or unexported fields }
func (ListBySubscriptionResponse) HasMore ¶
func (r ListBySubscriptionResponse) HasMore() bool
func (ListBySubscriptionResponse) LoadMore ¶
func (r ListBySubscriptionResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionResponse, err error)
type ListKeysResponse ¶
type ListKeysResponse struct { HttpResponse *http.Response 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 `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MapsAccountKeys ¶
type MapsAccountPredicate ¶
func (MapsAccountPredicate) Matches ¶
func (p MapsAccountPredicate) 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 RegenerateKeysResponse ¶
type RegenerateKeysResponse struct { HttpResponse *http.Response Model *MapsAccountKeys }
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type SystemData ¶
type SystemData struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByType *CreatedByType `json:"createdByType,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` }
type UpdateResponse ¶
type UpdateResponse struct { HttpResponse *http.Response Model *MapsAccount }
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_resourcegroup.go
- id_subscription.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listkeys_autorest.go
- method_regeneratekeys_autorest.go
- method_update_autorest.go
- model_mapsaccount.go
- model_mapsaccountkeys.go
- model_mapsaccountproperties.go
- model_mapsaccountupdateparameters.go
- model_mapskeyspecification.go
- model_sku.go
- model_systemdata.go
- predicates.go
- version.go