Documentation ¶
Index ¶
- func PossibleValuesForGeoRedundantBackup() []string
- func PossibleValuesForMinimalTlsVersionEnum() []string
- func PossibleValuesForPrivateEndpointProvisioningState() []string
- func PossibleValuesForPrivateLinkServiceConnectionStateActionsRequire() []string
- func PossibleValuesForPrivateLinkServiceConnectionStateStatus() []string
- func PossibleValuesForPublicNetworkAccessEnum() []string
- func PossibleValuesForServerState() []string
- func PossibleValuesForServerVersion() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForSslEnforcementEnum() []string
- func PossibleValuesForStorageAutogrow() []string
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type GeoRedundantBackup
- type ListByServerOperationResponse
- type MinimalTlsVersionEnum
- type PrivateEndpointProperty
- type PrivateEndpointProvisioningState
- type PrivateLinkServiceConnectionStateActionsRequire
- type PrivateLinkServiceConnectionStateStatus
- type PublicNetworkAccessEnum
- type ReplicasClient
- type Server
- type ServerId
- type ServerListResult
- type ServerPrivateEndpointConnection
- type ServerPrivateEndpointConnectionProperties
- type ServerPrivateLinkServiceConnectionStateProperty
- type ServerProperties
- type ServerState
- type ServerVersion
- type Sku
- type SkuTier
- type SslEnforcementEnum
- type StorageAutogrow
- type StorageProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGeoRedundantBackup ¶
func PossibleValuesForGeoRedundantBackup() []string
func PossibleValuesForMinimalTlsVersionEnum ¶
func PossibleValuesForMinimalTlsVersionEnum() []string
func PossibleValuesForPrivateEndpointProvisioningState ¶
func PossibleValuesForPrivateEndpointProvisioningState() []string
func PossibleValuesForPrivateLinkServiceConnectionStateActionsRequire ¶
func PossibleValuesForPrivateLinkServiceConnectionStateActionsRequire() []string
func PossibleValuesForPrivateLinkServiceConnectionStateStatus ¶
func PossibleValuesForPrivateLinkServiceConnectionStateStatus() []string
func PossibleValuesForPublicNetworkAccessEnum ¶
func PossibleValuesForPublicNetworkAccessEnum() []string
func PossibleValuesForServerState ¶
func PossibleValuesForServerState() []string
func PossibleValuesForServerVersion ¶
func PossibleValuesForServerVersion() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForSslEnforcementEnum ¶
func PossibleValuesForSslEnforcementEnum() []string
func PossibleValuesForStorageAutogrow ¶
func PossibleValuesForStorageAutogrow() []string
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type GeoRedundantBackup ¶
type GeoRedundantBackup string
const ( GeoRedundantBackupDisabled GeoRedundantBackup = "Disabled" GeoRedundantBackupEnabled GeoRedundantBackup = "Enabled" )
func (*GeoRedundantBackup) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *GeoRedundantBackup) UnmarshalJSON(bytes []byte) error
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerListResult }
type MinimalTlsVersionEnum ¶
type MinimalTlsVersionEnum string
const ( MinimalTlsVersionEnumTLSEnforcementDisabled MinimalTlsVersionEnum = "TLSEnforcementDisabled" MinimalTlsVersionEnumTLSOneOne MinimalTlsVersionEnum = "TLS1_1" MinimalTlsVersionEnumTLSOneTwo MinimalTlsVersionEnum = "TLS1_2" MinimalTlsVersionEnumTLSOneZero MinimalTlsVersionEnum = "TLS1_0" )
func (*MinimalTlsVersionEnum) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *MinimalTlsVersionEnum) UnmarshalJSON(bytes []byte) error
type PrivateEndpointProperty ¶
type PrivateEndpointProperty struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointProvisioningState ¶
type PrivateEndpointProvisioningState string
const ( PrivateEndpointProvisioningStateApproving PrivateEndpointProvisioningState = "Approving" PrivateEndpointProvisioningStateDropping PrivateEndpointProvisioningState = "Dropping" PrivateEndpointProvisioningStateFailed PrivateEndpointProvisioningState = "Failed" PrivateEndpointProvisioningStateReady PrivateEndpointProvisioningState = "Ready" PrivateEndpointProvisioningStateRejecting PrivateEndpointProvisioningState = "Rejecting" )
func (*PrivateEndpointProvisioningState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *PrivateEndpointProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionStateActionsRequire ¶
type PrivateLinkServiceConnectionStateActionsRequire string
const (
PrivateLinkServiceConnectionStateActionsRequireNone PrivateLinkServiceConnectionStateActionsRequire = "None"
)
func (*PrivateLinkServiceConnectionStateActionsRequire) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *PrivateLinkServiceConnectionStateActionsRequire) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionStateStatus ¶
type PrivateLinkServiceConnectionStateStatus string
const ( PrivateLinkServiceConnectionStateStatusApproved PrivateLinkServiceConnectionStateStatus = "Approved" PrivateLinkServiceConnectionStateStatusDisconnected PrivateLinkServiceConnectionStateStatus = "Disconnected" PrivateLinkServiceConnectionStateStatusPending PrivateLinkServiceConnectionStateStatus = "Pending" PrivateLinkServiceConnectionStateStatusRejected PrivateLinkServiceConnectionStateStatus = "Rejected" )
func (*PrivateLinkServiceConnectionStateStatus) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *PrivateLinkServiceConnectionStateStatus) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccessEnum ¶
type PublicNetworkAccessEnum string
const ( PublicNetworkAccessEnumDisabled PublicNetworkAccessEnum = "Disabled" PublicNetworkAccessEnumEnabled PublicNetworkAccessEnum = "Enabled" )
func (*PublicNetworkAccessEnum) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *PublicNetworkAccessEnum) UnmarshalJSON(bytes []byte) error
type ReplicasClient ¶
type ReplicasClient struct {
Client *resourcemanager.Client
}
func NewReplicasClientWithBaseURI ¶
func NewReplicasClientWithBaseURI(api environments.Api) (*ReplicasClient, error)
func (ReplicasClient) ListByServer ¶
func (c ReplicasClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
type Server ¶
type Server struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ServerProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
type ServerListResult ¶
type ServerListResult struct {
Value *[]Server `json:"value,omitempty"`
}
type ServerPrivateEndpointConnection ¶
type ServerPrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Properties *ServerPrivateEndpointConnectionProperties `json:"properties,omitempty"` }
type ServerPrivateEndpointConnectionProperties ¶
type ServerPrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *ServerPrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *PrivateEndpointProvisioningState `json:"provisioningState,omitempty"` }
type ServerPrivateLinkServiceConnectionStateProperty ¶
type ServerPrivateLinkServiceConnectionStateProperty struct { ActionsRequired *PrivateLinkServiceConnectionStateActionsRequire `json:"actionsRequired,omitempty"` Description string `json:"description"` Status PrivateLinkServiceConnectionStateStatus `json:"status"` }
type ServerProperties ¶
type ServerProperties struct { AdministratorLogin *string `json:"administratorLogin,omitempty"` EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` MasterServerId *string `json:"masterServerId,omitempty"` MinimalTlsVersion *MinimalTlsVersionEnum `json:"minimalTlsVersion,omitempty"` PrivateEndpointConnections *[]ServerPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` PublicNetworkAccess *PublicNetworkAccessEnum `json:"publicNetworkAccess,omitempty"` ReplicaCapacity *int64 `json:"replicaCapacity,omitempty"` ReplicationRole *string `json:"replicationRole,omitempty"` SslEnforcement *SslEnforcementEnum `json:"sslEnforcement,omitempty"` StorageProfile *StorageProfile `json:"storageProfile,omitempty"` UserVisibleState *ServerState `json:"userVisibleState,omitempty"` Version *ServerVersion `json:"version,omitempty"` }
func (*ServerProperties) GetEarliestRestoreDateAsTime ¶
func (o *ServerProperties) GetEarliestRestoreDateAsTime() (*time.Time, error)
func (*ServerProperties) SetEarliestRestoreDateAsTime ¶
func (o *ServerProperties) SetEarliestRestoreDateAsTime(input time.Time)
type ServerState ¶
type ServerState string
const ( ServerStateDisabled ServerState = "Disabled" ServerStateDropping ServerState = "Dropping" ServerStateReady ServerState = "Ready" )
func (*ServerState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ServerState) UnmarshalJSON(bytes []byte) error
type ServerVersion ¶
type ServerVersion string
const ( ServerVersionOneZeroPointThree ServerVersion = "10.3" ServerVersionOneZeroPointTwo ServerVersion = "10.2" )
func (*ServerVersion) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ServerVersion) UnmarshalJSON(bytes []byte) error
type SslEnforcementEnum ¶
type SslEnforcementEnum string
const ( SslEnforcementEnumDisabled SslEnforcementEnum = "Disabled" SslEnforcementEnumEnabled SslEnforcementEnum = "Enabled" )
func (*SslEnforcementEnum) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *SslEnforcementEnum) UnmarshalJSON(bytes []byte) error
type StorageAutogrow ¶
type StorageAutogrow string
const ( StorageAutogrowDisabled StorageAutogrow = "Disabled" StorageAutogrowEnabled StorageAutogrow = "Enabled" )
func (*StorageAutogrow) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *StorageAutogrow) UnmarshalJSON(bytes []byte) error
type StorageProfile ¶
type StorageProfile struct { BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty"` GeoRedundantBackup *GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` StorageAutogrow *StorageAutogrow `json:"storageAutogrow,omitempty"` StorageMB *int64 `json:"storageMB,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_server.go
- method_listbyserver.go
- model_privateendpointproperty.go
- model_server.go
- model_serverlistresult.go
- model_serverprivateendpointconnection.go
- model_serverprivateendpointconnectionproperties.go
- model_serverprivatelinkserviceconnectionstateproperty.go
- model_serverproperties.go
- model_sku.go
- model_storageprofile.go
- version.go
Click to show internal directories.
Click to hide internal directories.