Documentation ¶
Index ¶
- func PossibleValuesForIdentityType() []string
- func PossibleValuesForInfrastructureEncryption() []string
- func PossibleValuesForKeyType() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForName() []string
- func PossibleValuesForSigningKey() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type AccountSasParameters
- 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) ListSas(ctx context.Context, id AccountId, input AccountSasParameters) (result ListSasOperationResponse, 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 CorsRule
- type CorsRules
- type CreateOrUpdateOperationResponse
- type CustomerManagedKeyEncryption
- type CustomerManagedKeyEncryptionKeyEncryptionKeyIdentity
- type DeleteOperationResponse
- type Encryption
- type GetOperationResponse
- type IdentityType
- type InfrastructureEncryption
- type KeyType
- type Kind
- type LinkedResource
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListKeysOperationResponse
- type ListSasOperationResponse
- type MapsAccount
- type MapsAccountKeys
- type MapsAccountOperationPredicate
- type MapsAccountProperties
- type MapsAccountSasToken
- type MapsAccountUpdateParameters
- type MapsKeySpecification
- type Name
- type RegenerateKeysOperationResponse
- type SigningKey
- type Sku
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIdentityType ¶
func PossibleValuesForIdentityType() []string
func PossibleValuesForInfrastructureEncryption ¶
func PossibleValuesForInfrastructureEncryption() []string
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForName ¶
func PossibleValuesForName() []string
func PossibleValuesForSigningKey ¶
func PossibleValuesForSigningKey() []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) 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 AccountSasParameters ¶
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 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) ListSas ¶
func (c AccountsClient) ListSas(ctx context.Context, id AccountId, input AccountSasParameters) (result ListSasOperationResponse, err error)
ListSas ...
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 CustomerManagedKeyEncryption ¶
type CustomerManagedKeyEncryption struct { KeyEncryptionKeyIdentity *CustomerManagedKeyEncryptionKeyEncryptionKeyIdentity `json:"keyEncryptionKeyIdentity,omitempty"` KeyEncryptionKeyURL *string `json:"keyEncryptionKeyUrl,omitempty"` }
type CustomerManagedKeyEncryptionKeyEncryptionKeyIdentity ¶
type CustomerManagedKeyEncryptionKeyEncryptionKeyIdentity struct { DelegatedIdentityClientId *string `json:"delegatedIdentityClientId,omitempty"` IdentityType *IdentityType `json:"identityType,omitempty"` UserAssignedIdentityResourceId *string `json:"userAssignedIdentityResourceId,omitempty"` }
type DeleteOperationResponse ¶
type Encryption ¶
type Encryption struct { CustomerManagedKeyEncryption *CustomerManagedKeyEncryption `json:"customerManagedKeyEncryption,omitempty"` InfrastructureEncryption *InfrastructureEncryption `json:"infrastructureEncryption,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MapsAccount }
type IdentityType ¶
type IdentityType string
const ( IdentityTypeDelegatedResourceIdentity IdentityType = "delegatedResourceIdentity" IdentityTypeSystemAssignedIdentity IdentityType = "systemAssignedIdentity" IdentityTypeUserAssignedIdentity IdentityType = "userAssignedIdentity" )
func (*IdentityType) UnmarshalJSON ¶
func (s *IdentityType) UnmarshalJSON(bytes []byte) error
type InfrastructureEncryption ¶
type InfrastructureEncryption string
const ( InfrastructureEncryptionDisabled InfrastructureEncryption = "disabled" InfrastructureEncryptionEnabled InfrastructureEncryption = "enabled" )
func (*InfrastructureEncryption) UnmarshalJSON ¶
func (s *InfrastructureEncryption) UnmarshalJSON(bytes []byte) error
type LinkedResource ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []MapsAccount }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MapsAccount }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []MapsAccount }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
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 ListSasOperationResponse ¶
type ListSasOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MapsAccountSasToken }
type MapsAccount ¶
type MapsAccount struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,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 MapsAccountProperties struct { Cors *CorsRules `json:"cors,omitempty"` DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` LinkedResources *[]LinkedResource `json:"linkedResources,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` UniqueId *string `json:"uniqueId,omitempty"` }
type MapsAccountSasToken ¶
type MapsAccountSasToken struct {
AccountSasToken *string `json:"accountSasToken,omitempty"`
}
type MapsAccountUpdateParameters ¶
type MapsAccountUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` 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 SigningKey ¶
type SigningKey string
const ( SigningKeyManagedIdentity SigningKey = "managedIdentity" SigningKeyPrimaryKey SigningKey = "primaryKey" SigningKeySecondaryKey SigningKey = "secondaryKey" )
func (*SigningKey) UnmarshalJSON ¶
func (s *SigningKey) UnmarshalJSON(bytes []byte) error
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_listsas.go
- method_regeneratekeys.go
- method_update.go
- model_accountsasparameters.go
- model_corsrule.go
- model_corsrules.go
- model_customermanagedkeyencryption.go
- model_customermanagedkeyencryptionkeyencryptionkeyidentity.go
- model_encryption.go
- model_linkedresource.go
- model_mapsaccount.go
- model_mapsaccountkeys.go
- model_mapsaccountproperties.go
- model_mapsaccountsastoken.go
- model_mapsaccountupdateparameters.go
- model_mapskeyspecification.go
- model_sku.go
- predicates.go
- version.go