Documentation ¶
Index ¶
- func PossibleValuesForAdministratorType() []string
- func PossibleValuesForCheckNameAvailabilityReason() []string
- func PossibleValuesForCheckNameAvailabilityResourceType() []string
- func PossibleValuesForExternalGovernanceStatus() []string
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForPrivateEndpointProvisioningState() []string
- func PossibleValuesForPrivateLinkServiceConnectionStateActionsRequire() []string
- func PossibleValuesForPrivateLinkServiceConnectionStateStatus() []string
- func PossibleValuesForServerNetworkAccessFlag() []string
- func PossibleValuesForServerPublicNetworkAccessFlag() []string
- func PossibleValuesForServerWorkspaceFeature() []string
- func PossibleValuesForStorageKeyType() []string
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type AdministratorType
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResourceType
- type CheckNameAvailabilityResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExternalGovernanceStatus
- type GetOperationOptions
- type GetOperationResponse
- type ImportDatabaseOperationResponse
- type ImportExportOperationResult
- type ImportExportOperationResultProperties
- type ImportNewDatabaseDefinition
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NetworkIsolationSettings
- type PrincipalType
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionRequestStatus
- type PrivateEndpointProperty
- type PrivateEndpointProvisioningState
- type PrivateLinkServiceConnectionStateActionsRequire
- type PrivateLinkServiceConnectionStateProperty
- type PrivateLinkServiceConnectionStateStatus
- type RefreshExternalGovernanceStatusOperationResult
- type RefreshExternalGovernanceStatusOperationResultProperties
- type RefreshStatusOperationResponse
- type Server
- type ServerExternalAdministrator
- type ServerId
- type ServerNetworkAccessFlag
- type ServerOperationPredicate
- type ServerPrivateEndpointConnection
- type ServerProperties
- type ServerPublicNetworkAccessFlag
- type ServerUpdate
- type ServerWorkspaceFeature
- type ServersClient
- func (c ServersClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c ServersClient) CreateOrUpdate(ctx context.Context, id ServerId, input Server) (result CreateOrUpdateOperationResponse, err error)
- func (c ServersClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerId, input Server) error
- func (c ServersClient) Delete(ctx context.Context, id ServerId) (result DeleteOperationResponse, err error)
- func (c ServersClient) DeleteThenPoll(ctx context.Context, id ServerId) error
- func (c ServersClient) Get(ctx context.Context, id ServerId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ServersClient) ImportDatabase(ctx context.Context, id ServerId, input ImportNewDatabaseDefinition) (result ImportDatabaseOperationResponse, err error)
- func (c ServersClient) ImportDatabaseThenPoll(ctx context.Context, id ServerId, input ImportNewDatabaseDefinition) error
- func (c ServersClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ServersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c ServersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c ServersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ServersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ServersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ServersClient) RefreshStatus(ctx context.Context, id ServerId) (result RefreshStatusOperationResponse, err error)
- func (c ServersClient) RefreshStatusThenPoll(ctx context.Context, id ServerId) error
- func (c ServersClient) Update(ctx context.Context, id ServerId, input ServerUpdate) (result UpdateOperationResponse, err error)
- func (c ServersClient) UpdateThenPoll(ctx context.Context, id ServerId, input ServerUpdate) error
- type StorageKeyType
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAdministratorType ¶
func PossibleValuesForAdministratorType() []string
func PossibleValuesForCheckNameAvailabilityReason ¶
func PossibleValuesForCheckNameAvailabilityReason() []string
func PossibleValuesForCheckNameAvailabilityResourceType ¶
func PossibleValuesForCheckNameAvailabilityResourceType() []string
func PossibleValuesForExternalGovernanceStatus ¶
func PossibleValuesForExternalGovernanceStatus() []string
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func PossibleValuesForPrivateEndpointProvisioningState ¶
func PossibleValuesForPrivateEndpointProvisioningState() []string
func PossibleValuesForPrivateLinkServiceConnectionStateActionsRequire ¶
func PossibleValuesForPrivateLinkServiceConnectionStateActionsRequire() []string
func PossibleValuesForPrivateLinkServiceConnectionStateStatus ¶
func PossibleValuesForPrivateLinkServiceConnectionStateStatus() []string
func PossibleValuesForServerNetworkAccessFlag ¶
func PossibleValuesForServerNetworkAccessFlag() []string
func PossibleValuesForServerPublicNetworkAccessFlag ¶
func PossibleValuesForServerPublicNetworkAccessFlag() []string
func PossibleValuesForServerWorkspaceFeature ¶
func PossibleValuesForServerWorkspaceFeature() []string
func PossibleValuesForStorageKeyType ¶
func PossibleValuesForStorageKeyType() []string
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type AdministratorType ¶
type AdministratorType string
const (
AdministratorTypeActiveDirectory AdministratorType = "ActiveDirectory"
)
func (*AdministratorType) UnmarshalJSON ¶
func (s *AdministratorType) UnmarshalJSON(bytes []byte) error
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResponse }
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
const ( CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists" CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid" )
func (*CheckNameAvailabilityReason) UnmarshalJSON ¶
func (s *CheckNameAvailabilityReason) UnmarshalJSON(bytes []byte) error
type CheckNameAvailabilityRequest ¶
type CheckNameAvailabilityRequest struct { Name string `json:"name"` Type CheckNameAvailabilityResourceType `json:"type"` }
type CheckNameAvailabilityResourceType ¶
type CheckNameAvailabilityResourceType string
const (
CheckNameAvailabilityResourceTypeMicrosoftPointSqlServers CheckNameAvailabilityResourceType = "Microsoft.Sql/servers"
)
func (*CheckNameAvailabilityResourceType) UnmarshalJSON ¶
func (s *CheckNameAvailabilityResourceType) UnmarshalJSON(bytes []byte) error
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { Available *bool `json:"available,omitempty"` Message *string `json:"message,omitempty"` Name *string `json:"name,omitempty"` Reason *CheckNameAvailabilityReason `json:"reason,omitempty"` }
type DeleteOperationResponse ¶
type ExternalGovernanceStatus ¶
type ExternalGovernanceStatus string
const ( ExternalGovernanceStatusDisabled ExternalGovernanceStatus = "Disabled" ExternalGovernanceStatusEnabled ExternalGovernanceStatus = "Enabled" )
func (*ExternalGovernanceStatus) UnmarshalJSON ¶
func (s *ExternalGovernanceStatus) UnmarshalJSON(bytes []byte) error
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type ImportExportOperationResult ¶
type ImportExportOperationResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ImportExportOperationResultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ImportExportOperationResultProperties ¶
type ImportExportOperationResultProperties struct { BlobUri *string `json:"blobUri,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnectionRequestStatus `json:"privateEndpointConnections,omitempty"` QueuedTime *string `json:"queuedTime,omitempty"` RequestId *string `json:"requestId,omitempty"` RequestType *string `json:"requestType,omitempty"` ServerName *string `json:"serverName,omitempty"` Status *string `json:"status,omitempty"` }
type ImportNewDatabaseDefinition ¶
type ImportNewDatabaseDefinition struct { AdministratorLogin string `json:"administratorLogin"` AdministratorLoginPassword string `json:"administratorLoginPassword"` AuthenticationType *string `json:"authenticationType,omitempty"` DatabaseName *string `json:"databaseName,omitempty"` Edition *string `json:"edition,omitempty"` MaxSizeBytes *string `json:"maxSizeBytes,omitempty"` NetworkIsolation *NetworkIsolationSettings `json:"networkIsolation,omitempty"` ServiceObjectiveName *string `json:"serviceObjectiveName,omitempty"` StorageKey string `json:"storageKey"` StorageKeyType StorageKeyType `json:"storageKeyType"` StorageUri string `json:"storageUri"` }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Server
}
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Expand *string
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Server
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeApplication PrincipalType = "Application" PrincipalTypeGroup PrincipalType = "Group" PrincipalTypeUser PrincipalType = "User" )
func (*PrincipalType) UnmarshalJSON ¶
func (s *PrincipalType) UnmarshalJSON(bytes []byte) error
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *PrivateEndpointProvisioningState `json:"provisioningState,omitempty"` }
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 ¶
func (s *PrivateEndpointProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionStateActionsRequire ¶
type PrivateLinkServiceConnectionStateActionsRequire string
const (
PrivateLinkServiceConnectionStateActionsRequireNone PrivateLinkServiceConnectionStateActionsRequire = "None"
)
func (*PrivateLinkServiceConnectionStateActionsRequire) UnmarshalJSON ¶
func (s *PrivateLinkServiceConnectionStateActionsRequire) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionStateProperty ¶
type PrivateLinkServiceConnectionStateProperty struct { ActionsRequired *PrivateLinkServiceConnectionStateActionsRequire `json:"actionsRequired,omitempty"` Description string `json:"description"` Status PrivateLinkServiceConnectionStateStatus `json:"status"` }
type PrivateLinkServiceConnectionStateStatus ¶
type PrivateLinkServiceConnectionStateStatus string
const ( PrivateLinkServiceConnectionStateStatusApproved PrivateLinkServiceConnectionStateStatus = "Approved" PrivateLinkServiceConnectionStateStatusDisconnected PrivateLinkServiceConnectionStateStatus = "Disconnected" PrivateLinkServiceConnectionStateStatusPending PrivateLinkServiceConnectionStateStatus = "Pending" PrivateLinkServiceConnectionStateStatusRejected PrivateLinkServiceConnectionStateStatus = "Rejected" )
func (*PrivateLinkServiceConnectionStateStatus) UnmarshalJSON ¶
func (s *PrivateLinkServiceConnectionStateStatus) UnmarshalJSON(bytes []byte) error
type RefreshExternalGovernanceStatusOperationResult ¶
type RefreshExternalGovernanceStatusOperationResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RefreshExternalGovernanceStatusOperationResultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RefreshExternalGovernanceStatusOperationResultProperties ¶
type RefreshExternalGovernanceStatusOperationResultProperties struct { ErrorMessage *string `json:"errorMessage,omitempty"` QueuedTime *string `json:"queuedTime,omitempty"` RequestId *string `json:"requestId,omitempty"` RequestType *string `json:"requestType,omitempty"` ServerName *string `json:"serverName,omitempty"` Status *string `json:"status,omitempty"` }
type Server ¶
type Server struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ServerProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ServerExternalAdministrator ¶
type ServerExternalAdministrator struct { AdministratorType *AdministratorType `json:"administratorType,omitempty"` AzureADOnlyAuthentication *bool `json:"azureADOnlyAuthentication,omitempty"` Login *string `json:"login,omitempty"` PrincipalType *PrincipalType `json:"principalType,omitempty"` Sid *string `json:"sid,omitempty"` TenantId *string `json:"tenantId,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 ServerNetworkAccessFlag ¶
type ServerNetworkAccessFlag string
const ( ServerNetworkAccessFlagDisabled ServerNetworkAccessFlag = "Disabled" ServerNetworkAccessFlagEnabled ServerNetworkAccessFlag = "Enabled" )
func (*ServerNetworkAccessFlag) UnmarshalJSON ¶
func (s *ServerNetworkAccessFlag) UnmarshalJSON(bytes []byte) error
type ServerOperationPredicate ¶
type ServerOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (ServerOperationPredicate) Matches ¶
func (p ServerOperationPredicate) Matches(input Server) bool
type ServerPrivateEndpointConnection ¶
type ServerPrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` }
type ServerProperties ¶
type ServerProperties struct { AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` Administrators *ServerExternalAdministrator `json:"administrators,omitempty"` ExternalGovernanceStatus *ExternalGovernanceStatus `json:"externalGovernanceStatus,omitempty"` FederatedClientId *string `json:"federatedClientId,omitempty"` FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` IsIPv6Enabled *ServerNetworkAccessFlag `json:"isIPv6Enabled,omitempty"` KeyId *string `json:"keyId,omitempty"` MinimalTlsVersion *string `json:"minimalTlsVersion,omitempty"` PrimaryUserAssignedIdentityId *string `json:"primaryUserAssignedIdentityId,omitempty"` PrivateEndpointConnections *[]ServerPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` PublicNetworkAccess *ServerPublicNetworkAccessFlag `json:"publicNetworkAccess,omitempty"` RestrictOutboundNetworkAccess *ServerNetworkAccessFlag `json:"restrictOutboundNetworkAccess,omitempty"` State *string `json:"state,omitempty"` Version *string `json:"version,omitempty"` WorkspaceFeature *ServerWorkspaceFeature `json:"workspaceFeature,omitempty"` }
type ServerPublicNetworkAccessFlag ¶
type ServerPublicNetworkAccessFlag string
const ( ServerPublicNetworkAccessFlagDisabled ServerPublicNetworkAccessFlag = "Disabled" ServerPublicNetworkAccessFlagEnabled ServerPublicNetworkAccessFlag = "Enabled" ServerPublicNetworkAccessFlagSecuredByPerimeter ServerPublicNetworkAccessFlag = "SecuredByPerimeter" )
func (*ServerPublicNetworkAccessFlag) UnmarshalJSON ¶
func (s *ServerPublicNetworkAccessFlag) UnmarshalJSON(bytes []byte) error
type ServerUpdate ¶
type ServerUpdate struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Properties *ServerProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ServerWorkspaceFeature ¶
type ServerWorkspaceFeature string
const ( ServerWorkspaceFeatureConnected ServerWorkspaceFeature = "Connected" ServerWorkspaceFeatureDisconnected ServerWorkspaceFeature = "Disconnected" )
func (*ServerWorkspaceFeature) UnmarshalJSON ¶
func (s *ServerWorkspaceFeature) UnmarshalJSON(bytes []byte) error
type ServersClient ¶
type ServersClient struct {
Client *resourcemanager.Client
}
func NewServersClientWithBaseURI ¶
func NewServersClientWithBaseURI(sdkApi sdkEnv.Api) (*ServersClient, error)
func (ServersClient) CheckNameAvailability ¶
func (c ServersClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (ServersClient) CreateOrUpdate ¶
func (c ServersClient) CreateOrUpdate(ctx context.Context, id ServerId, input Server) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServersClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServersClient) Delete ¶
func (c ServersClient) Delete(ctx context.Context, id ServerId) (result DeleteOperationResponse, err error)
Delete ...
func (ServersClient) DeleteThenPoll ¶
func (c ServersClient) DeleteThenPoll(ctx context.Context, id ServerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ServersClient) Get ¶
func (c ServersClient) Get(ctx context.Context, id ServerId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ServersClient) ImportDatabase ¶
func (c ServersClient) ImportDatabase(ctx context.Context, id ServerId, input ImportNewDatabaseDefinition) (result ImportDatabaseOperationResponse, err error)
ImportDatabase ...
func (ServersClient) ImportDatabaseThenPoll ¶
func (c ServersClient) ImportDatabaseThenPoll(ctx context.Context, id ServerId, input ImportNewDatabaseDefinition) error
ImportDatabaseThenPoll performs ImportDatabase then polls until it's completed
func (ServersClient) List ¶
func (c ServersClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ServersClient) ListByResourceGroup ¶
func (c ServersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ServersClient) ListByResourceGroupComplete ¶
func (c ServersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ServersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ServersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate ServerOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServersClient) ListComplete ¶
func (c ServersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ServersClient) ListCompleteMatchingPredicate ¶
func (c ServersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ServerOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServersClient) RefreshStatus ¶
func (c ServersClient) RefreshStatus(ctx context.Context, id ServerId) (result RefreshStatusOperationResponse, err error)
RefreshStatus ...
func (ServersClient) RefreshStatusThenPoll ¶
func (c ServersClient) RefreshStatusThenPoll(ctx context.Context, id ServerId) error
RefreshStatusThenPoll performs RefreshStatus then polls until it's completed
func (ServersClient) Update ¶
func (c ServersClient) Update(ctx context.Context, id ServerId, input ServerUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ServersClient) UpdateThenPoll ¶
func (c ServersClient) UpdateThenPoll(ctx context.Context, id ServerId, input ServerUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type StorageKeyType ¶
type StorageKeyType string
const ( StorageKeyTypeStorageAccessKey StorageKeyType = "StorageAccessKey" )
func (*StorageKeyType) UnmarshalJSON ¶
func (s *StorageKeyType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_server.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_importdatabase.go
- method_list.go
- method_listbyresourcegroup.go
- method_refreshstatus.go
- method_update.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresponse.go
- model_importexportoperationresult.go
- model_importexportoperationresultproperties.go
- model_importnewdatabasedefinition.go
- model_networkisolationsettings.go
- model_privateendpointconnectionproperties.go
- model_privateendpointconnectionrequeststatus.go
- model_privateendpointproperty.go
- model_privatelinkserviceconnectionstateproperty.go
- model_refreshexternalgovernancestatusoperationresult.go
- model_refreshexternalgovernancestatusoperationresultproperties.go
- model_server.go
- model_serverexternaladministrator.go
- model_serverprivateendpointconnection.go
- model_serverproperties.go
- model_serverupdate.go
- predicates.go
- version.go