Documentation ¶
Index ¶
- func PossibleValuesForDomainJoinedType() []string
- func PossibleValuesForFirmwareStatusType() []string
- func PossibleValuesForHealthStateType() []string
- func PossibleValuesForNfsAccessRuleAccess() []string
- func PossibleValuesForNfsAccessRuleScope() []string
- func PossibleValuesForProvisioningStateType() []string
- func PossibleValuesForUsernameDownloadedType() []string
- func PossibleValuesForUsernameSource() []string
- func ValidateCacheID(input interface{}, key string) (warnings []string, errors []error)
- type Cache
- type CacheActiveDirectorySettings
- type CacheActiveDirectorySettingsCredentials
- type CacheDirectorySettings
- type CacheEncryptionSettings
- type CacheHealth
- type CacheId
- type CacheNetworkSettings
- type CacheOperationPredicate
- type CacheProperties
- type CacheSecuritySettings
- type CacheSku
- type CacheUpgradeStatus
- func (o *CacheUpgradeStatus) GetFirmwareUpdateDeadlineAsTime() (*time.Time, error)
- func (o *CacheUpgradeStatus) GetLastFirmwareUpdateAsTime() (*time.Time, error)
- func (o *CacheUpgradeStatus) SetFirmwareUpdateDeadlineAsTime(input time.Time)
- func (o *CacheUpgradeStatus) SetLastFirmwareUpdateAsTime(input time.Time)
- type CacheUsernameDownloadSettings
- type CacheUsernameDownloadSettingsCredentials
- type CachesClient
- func (c CachesClient) CreateOrUpdate(ctx context.Context, id CacheId, input Cache) (result CreateOrUpdateOperationResponse, err error)
- func (c CachesClient) CreateOrUpdateThenPoll(ctx context.Context, id CacheId, input Cache) error
- func (c CachesClient) DebugInfo(ctx context.Context, id CacheId) (result DebugInfoOperationResponse, err error)
- func (c CachesClient) DebugInfoThenPoll(ctx context.Context, id CacheId) error
- func (c CachesClient) Delete(ctx context.Context, id CacheId) (result DeleteOperationResponse, err error)
- func (c CachesClient) DeleteThenPoll(ctx context.Context, id CacheId) error
- func (c CachesClient) Flush(ctx context.Context, id CacheId) (result FlushOperationResponse, err error)
- func (c CachesClient) FlushThenPoll(ctx context.Context, id CacheId) error
- func (c CachesClient) Get(ctx context.Context, id CacheId) (result GetOperationResponse, err error)
- func (c CachesClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c CachesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c CachesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c CachesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c CachesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c CachesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c CachesClient) Start(ctx context.Context, id CacheId) (result StartOperationResponse, err error)
- func (c CachesClient) StartThenPoll(ctx context.Context, id CacheId) error
- func (c CachesClient) Stop(ctx context.Context, id CacheId) (result StopOperationResponse, err error)
- func (c CachesClient) StopThenPoll(ctx context.Context, id CacheId) error
- func (c CachesClient) Update(ctx context.Context, id CacheId, input Cache) (result UpdateOperationResponse, err error)
- func (c CachesClient) UpgradeFirmware(ctx context.Context, id CacheId) (result UpgradeFirmwareOperationResponse, err error)
- func (c CachesClient) UpgradeFirmwareThenPoll(ctx context.Context, id CacheId) error
- type Condition
- type CreateOrUpdateOperationResponse
- type DebugInfoOperationResponse
- type DeleteOperationResponse
- type DomainJoinedType
- type FirmwareStatusType
- type FlushOperationResponse
- type GetOperationResponse
- type HealthStateType
- type KeyVaultKeyReference
- type KeyVaultKeyReferenceSourceVault
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type NfsAccessPolicy
- type NfsAccessRule
- type NfsAccessRuleAccess
- type NfsAccessRuleScope
- type ProvisioningStateType
- type StartOperationResponse
- type StopOperationResponse
- type UpdateOperationResponse
- type UpgradeFirmwareOperationResponse
- type UsernameDownloadedType
- type UsernameSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDomainJoinedType ¶
func PossibleValuesForDomainJoinedType() []string
func PossibleValuesForFirmwareStatusType ¶
func PossibleValuesForFirmwareStatusType() []string
func PossibleValuesForHealthStateType ¶
func PossibleValuesForHealthStateType() []string
func PossibleValuesForNfsAccessRuleAccess ¶
func PossibleValuesForNfsAccessRuleAccess() []string
func PossibleValuesForNfsAccessRuleScope ¶
func PossibleValuesForNfsAccessRuleScope() []string
func PossibleValuesForProvisioningStateType ¶
func PossibleValuesForProvisioningStateType() []string
func PossibleValuesForUsernameDownloadedType ¶
func PossibleValuesForUsernameDownloadedType() []string
func PossibleValuesForUsernameSource ¶
func PossibleValuesForUsernameSource() []string
func ValidateCacheID ¶
ValidateCacheID checks that 'input' can be parsed as a Cache ID
Types ¶
type Cache ¶
type Cache struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *CacheProperties `json:"properties,omitempty"` Sku *CacheSku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CacheActiveDirectorySettings ¶
type CacheActiveDirectorySettings struct { CacheNetBiosName string `json:"cacheNetBiosName"` Credentials *CacheActiveDirectorySettingsCredentials `json:"credentials,omitempty"` DomainJoined *DomainJoinedType `json:"domainJoined,omitempty"` DomainName string `json:"domainName"` DomainNetBiosName string `json:"domainNetBiosName"` PrimaryDnsIPAddress string `json:"primaryDnsIpAddress"` SecondaryDnsIPAddress *string `json:"secondaryDnsIpAddress,omitempty"` }
type CacheDirectorySettings ¶
type CacheDirectorySettings struct { ActiveDirectory *CacheActiveDirectorySettings `json:"activeDirectory,omitempty"` UsernameDownload *CacheUsernameDownloadSettings `json:"usernameDownload,omitempty"` }
type CacheEncryptionSettings ¶
type CacheEncryptionSettings struct { KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"` RotationToLatestKeyVersionEnabled *bool `json:"rotationToLatestKeyVersionEnabled,omitempty"` }
type CacheHealth ¶
type CacheHealth struct { Conditions *[]Condition `json:"conditions,omitempty"` State *HealthStateType `json:"state,omitempty"` StatusDescription *string `json:"statusDescription,omitempty"` }
type CacheId ¶
CacheId is a struct representing the Resource ID for a Cache
func NewCacheID ¶
NewCacheID returns a new CacheId struct
func ParseCacheID ¶
ParseCacheID parses 'input' into a CacheId
func ParseCacheIDInsensitively ¶
ParseCacheIDInsensitively parses 'input' case-insensitively into a CacheId note: this method should only be used for API response data and not user input
func (CacheId) Segments ¶
func (id CacheId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cache ID
type CacheNetworkSettings ¶
type CacheOperationPredicate ¶
func (CacheOperationPredicate) Matches ¶
func (p CacheOperationPredicate) Matches(input Cache) bool
type CacheProperties ¶
type CacheProperties struct { CacheSizeGB *int64 `json:"cacheSizeGB,omitempty"` DirectoryServicesSettings *CacheDirectorySettings `json:"directoryServicesSettings,omitempty"` EncryptionSettings *CacheEncryptionSettings `json:"encryptionSettings,omitempty"` Health *CacheHealth `json:"health,omitempty"` MountAddresses *[]string `json:"mountAddresses,omitempty"` NetworkSettings *CacheNetworkSettings `json:"networkSettings,omitempty"` ProvisioningState *ProvisioningStateType `json:"provisioningState,omitempty"` SecuritySettings *CacheSecuritySettings `json:"securitySettings,omitempty"` Subnet *string `json:"subnet,omitempty"` UpgradeStatus *CacheUpgradeStatus `json:"upgradeStatus,omitempty"` }
type CacheSecuritySettings ¶
type CacheSecuritySettings struct {
AccessPolicies *[]NfsAccessPolicy `json:"accessPolicies,omitempty"`
}
type CacheUpgradeStatus ¶
type CacheUpgradeStatus struct { CurrentFirmwareVersion *string `json:"currentFirmwareVersion,omitempty"` FirmwareUpdateDeadline *string `json:"firmwareUpdateDeadline,omitempty"` FirmwareUpdateStatus *FirmwareStatusType `json:"firmwareUpdateStatus,omitempty"` LastFirmwareUpdate *string `json:"lastFirmwareUpdate,omitempty"` PendingFirmwareVersion *string `json:"pendingFirmwareVersion,omitempty"` }
func (*CacheUpgradeStatus) GetFirmwareUpdateDeadlineAsTime ¶
func (o *CacheUpgradeStatus) GetFirmwareUpdateDeadlineAsTime() (*time.Time, error)
func (*CacheUpgradeStatus) GetLastFirmwareUpdateAsTime ¶
func (o *CacheUpgradeStatus) GetLastFirmwareUpdateAsTime() (*time.Time, error)
func (*CacheUpgradeStatus) SetFirmwareUpdateDeadlineAsTime ¶
func (o *CacheUpgradeStatus) SetFirmwareUpdateDeadlineAsTime(input time.Time)
func (*CacheUpgradeStatus) SetLastFirmwareUpdateAsTime ¶
func (o *CacheUpgradeStatus) SetLastFirmwareUpdateAsTime(input time.Time)
type CacheUsernameDownloadSettings ¶
type CacheUsernameDownloadSettings struct { AutoDownloadCertificate *bool `json:"autoDownloadCertificate,omitempty"` CaCertificateURI *string `json:"caCertificateURI,omitempty"` Credentials *CacheUsernameDownloadSettingsCredentials `json:"credentials,omitempty"` EncryptLdapConnection *bool `json:"encryptLdapConnection,omitempty"` ExtendedGroups *bool `json:"extendedGroups,omitempty"` GroupFileURI *string `json:"groupFileURI,omitempty"` LdapBaseDN *string `json:"ldapBaseDN,omitempty"` LdapServer *string `json:"ldapServer,omitempty"` RequireValidCertificate *bool `json:"requireValidCertificate,omitempty"` UserFileURI *string `json:"userFileURI,omitempty"` UsernameDownloaded *UsernameDownloadedType `json:"usernameDownloaded,omitempty"` UsernameSource *UsernameSource `json:"usernameSource,omitempty"` }
type CachesClient ¶
func NewCachesClientWithBaseURI ¶
func NewCachesClientWithBaseURI(endpoint string) CachesClient
func (CachesClient) CreateOrUpdate ¶
func (c CachesClient) CreateOrUpdate(ctx context.Context, id CacheId, input Cache) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CachesClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CachesClient) DebugInfo ¶
func (c CachesClient) DebugInfo(ctx context.Context, id CacheId) (result DebugInfoOperationResponse, err error)
DebugInfo ...
func (CachesClient) DebugInfoThenPoll ¶
func (c CachesClient) DebugInfoThenPoll(ctx context.Context, id CacheId) error
DebugInfoThenPoll performs DebugInfo then polls until it's completed
func (CachesClient) Delete ¶
func (c CachesClient) Delete(ctx context.Context, id CacheId) (result DeleteOperationResponse, err error)
Delete ...
func (CachesClient) DeleteThenPoll ¶
func (c CachesClient) DeleteThenPoll(ctx context.Context, id CacheId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CachesClient) Flush ¶
func (c CachesClient) Flush(ctx context.Context, id CacheId) (result FlushOperationResponse, err error)
Flush ...
func (CachesClient) FlushThenPoll ¶
func (c CachesClient) FlushThenPoll(ctx context.Context, id CacheId) error
FlushThenPoll performs Flush then polls until it's completed
func (CachesClient) Get ¶
func (c CachesClient) Get(ctx context.Context, id CacheId) (result GetOperationResponse, err error)
Get ...
func (CachesClient) List ¶
func (c CachesClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (CachesClient) ListByResourceGroup ¶
func (c CachesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CachesClient) ListByResourceGroupComplete ¶
func (c CachesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (CachesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CachesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CacheOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CachesClient) ListComplete ¶
func (c CachesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (CachesClient) ListCompleteMatchingPredicate ¶
func (c CachesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CacheOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CachesClient) Start ¶
func (c CachesClient) Start(ctx context.Context, id CacheId) (result StartOperationResponse, err error)
Start ...
func (CachesClient) StartThenPoll ¶
func (c CachesClient) StartThenPoll(ctx context.Context, id CacheId) error
StartThenPoll performs Start then polls until it's completed
func (CachesClient) Stop ¶
func (c CachesClient) Stop(ctx context.Context, id CacheId) (result StopOperationResponse, err error)
Stop ...
func (CachesClient) StopThenPoll ¶
func (c CachesClient) StopThenPoll(ctx context.Context, id CacheId) error
StopThenPoll performs Stop then polls until it's completed
func (CachesClient) Update ¶
func (c CachesClient) Update(ctx context.Context, id CacheId, input Cache) (result UpdateOperationResponse, err error)
Update ...
func (CachesClient) UpgradeFirmware ¶
func (c CachesClient) UpgradeFirmware(ctx context.Context, id CacheId) (result UpgradeFirmwareOperationResponse, err error)
UpgradeFirmware ...
func (CachesClient) UpgradeFirmwareThenPoll ¶
func (c CachesClient) UpgradeFirmwareThenPoll(ctx context.Context, id CacheId) error
UpgradeFirmwareThenPoll performs UpgradeFirmware then polls until it's completed
type Condition ¶
type Condition struct { Message *string `json:"message,omitempty"` Timestamp *string `json:"timestamp,omitempty"` }
func (*Condition) SetTimestampAsTime ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DebugInfoOperationResponse ¶
type DebugInfoOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DomainJoinedType ¶
type DomainJoinedType string
const ( DomainJoinedTypeError DomainJoinedType = "Error" DomainJoinedTypeNo DomainJoinedType = "No" DomainJoinedTypeYes DomainJoinedType = "Yes" )
type FirmwareStatusType ¶
type FirmwareStatusType string
const ( FirmwareStatusTypeAvailable FirmwareStatusType = "available" )
type FlushOperationResponse ¶
type FlushOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type HealthStateType ¶
type HealthStateType string
const ( HealthStateTypeDegraded HealthStateType = "Degraded" HealthStateTypeDown HealthStateType = "Down" HealthStateTypeFlushing HealthStateType = "Flushing" HealthStateTypeHealthy HealthStateType = "Healthy" HealthStateTypeStopped HealthStateType = "Stopped" HealthStateTypeStopping HealthStateType = "Stopping" HealthStateTypeTransitioning HealthStateType = "Transitioning" HealthStateTypeUnknown HealthStateType = "Unknown" HealthStateTypeUpgrading HealthStateType = "Upgrading" )
type KeyVaultKeyReference ¶
type KeyVaultKeyReference struct { KeyUrl string `json:"keyUrl"` SourceVault KeyVaultKeyReferenceSourceVault `json:"sourceVault"` }
type KeyVaultKeyReferenceSourceVault ¶
type KeyVaultKeyReferenceSourceVault struct {
Id *string `json:"id,omitempty"`
}
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Cache
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Cache // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Cache
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Cache // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type NfsAccessPolicy ¶
type NfsAccessPolicy struct { AccessRules []NfsAccessRule `json:"accessRules"` Name string `json:"name"` }
type NfsAccessRule ¶
type NfsAccessRule struct { Access NfsAccessRuleAccess `json:"access"` AnonymousGID *string `json:"anonymousGID,omitempty"` AnonymousUID *string `json:"anonymousUID,omitempty"` Filter *string `json:"filter,omitempty"` RootSquash *bool `json:"rootSquash,omitempty"` Scope NfsAccessRuleScope `json:"scope"` SubmountAccess *bool `json:"submountAccess,omitempty"` Suid *bool `json:"suid,omitempty"` }
type NfsAccessRuleAccess ¶
type NfsAccessRuleAccess string
const ( NfsAccessRuleAccessNo NfsAccessRuleAccess = "no" NfsAccessRuleAccessRo NfsAccessRuleAccess = "ro" NfsAccessRuleAccessRw NfsAccessRuleAccess = "rw" )
type NfsAccessRuleScope ¶
type NfsAccessRuleScope string
const ( NfsAccessRuleScopeDefault NfsAccessRuleScope = "default" NfsAccessRuleScopeHost NfsAccessRuleScope = "host" NfsAccessRuleScopeNetwork NfsAccessRuleScope = "network" )
type ProvisioningStateType ¶
type ProvisioningStateType string
const ( ProvisioningStateTypeCancelled ProvisioningStateType = "Cancelled" ProvisioningStateTypeCreating ProvisioningStateType = "Creating" ProvisioningStateTypeDeleting ProvisioningStateType = "Deleting" ProvisioningStateTypeFailed ProvisioningStateType = "Failed" ProvisioningStateTypeSucceeded ProvisioningStateType = "Succeeded" ProvisioningStateTypeUpdating ProvisioningStateType = "Updating" )
type StartOperationResponse ¶
type StartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StopOperationResponse ¶
type StopOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpdateOperationResponse ¶
type UpgradeFirmwareOperationResponse ¶
type UpgradeFirmwareOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UsernameDownloadedType ¶
type UsernameDownloadedType string
const ( UsernameDownloadedTypeError UsernameDownloadedType = "Error" UsernameDownloadedTypeNo UsernameDownloadedType = "No" UsernameDownloadedTypeYes UsernameDownloadedType = "Yes" )
type UsernameSource ¶
type UsernameSource string
const ( UsernameSourceAD UsernameSource = "AD" UsernameSourceFile UsernameSource = "File" UsernameSourceLDAP UsernameSource = "LDAP" UsernameSourceNone UsernameSource = "None" )
Source Files ¶
- client.go
- constants.go
- id_cache.go
- method_createorupdate_autorest.go
- method_debuginfo_autorest.go
- method_delete_autorest.go
- method_flush_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_start_autorest.go
- method_stop_autorest.go
- method_update_autorest.go
- method_upgradefirmware_autorest.go
- model_cache.go
- model_cacheactivedirectorysettings.go
- model_cacheactivedirectorysettingscredentials.go
- model_cachedirectorysettings.go
- model_cacheencryptionsettings.go
- model_cachehealth.go
- model_cachenetworksettings.go
- model_cacheproperties.go
- model_cachesecuritysettings.go
- model_cachesku.go
- model_cacheupgradestatus.go
- model_cacheusernamedownloadsettings.go
- model_cacheusernamedownloadsettingscredentials.go
- model_condition.go
- model_keyvaultkeyreference.go
- model_keyvaultkeyreferencesourcevault.go
- model_nfsaccesspolicy.go
- model_nfsaccessrule.go
- predicates.go
- version.go