Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationType() []string
- func PossibleValuesForProjectProvisioningState() []string
- func PossibleValuesForProjectSourcePlatform() []string
- func PossibleValuesForProjectTargetPlatform() []string
- func PossibleValuesForSqlSourcePlatform() []string
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AuthenticationType
- type BaseConnectionInfoImpl
- type ConnectionInfo
- type DatabaseInfo
- type MiSqlConnectionInfo
- type MySqlConnectionInfo
- type PostgreSqlConnectionInfo
- type Project
- type ProjectId
- type ProjectOperationPredicate
- type ProjectProperties
- type ProjectProvisioningState
- type ProjectResourceClient
- func (c ProjectResourceClient) ProjectsCreateOrUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsCreateOrUpdateOperationResponse, err error)
- func (c ProjectResourceClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, err error)
- func (c ProjectResourceClient) ProjectsGet(ctx context.Context, id ProjectId) (result ProjectsGetOperationResponse, err error)
- func (c ProjectResourceClient) ProjectsListByResourceGroup(ctx context.Context, id ServiceId) (result ProjectsListByResourceGroupOperationResponse, err error)
- func (c ProjectResourceClient) ProjectsListByResourceGroupComplete(ctx context.Context, id ServiceId) (ProjectsListByResourceGroupCompleteResult, error)
- func (c ProjectResourceClient) ProjectsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (result ProjectsListByResourceGroupCompleteResult, err error)
- func (c ProjectResourceClient) ProjectsUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsUpdateOperationResponse, err error)
- type ProjectSourcePlatform
- type ProjectTargetPlatform
- type ProjectsCreateOrUpdateOperationResponse
- type ProjectsDeleteOperationOptions
- type ProjectsDeleteOperationResponse
- type ProjectsGetOperationResponse
- type ProjectsListByResourceGroupCompleteResult
- type ProjectsListByResourceGroupCustomPager
- type ProjectsListByResourceGroupOperationResponse
- type ProjectsUpdateOperationResponse
- type RawConnectionInfoImpl
- type ServiceId
- type SqlConnectionInfo
- type SqlSourcePlatform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationType ¶ added in v0.20241009.1142232
func PossibleValuesForAuthenticationType() []string
func PossibleValuesForProjectProvisioningState ¶
func PossibleValuesForProjectProvisioningState() []string
func PossibleValuesForProjectSourcePlatform ¶
func PossibleValuesForProjectSourcePlatform() []string
func PossibleValuesForProjectTargetPlatform ¶
func PossibleValuesForProjectTargetPlatform() []string
func PossibleValuesForSqlSourcePlatform ¶ added in v0.20241009.1142232
func PossibleValuesForSqlSourcePlatform() []string
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AuthenticationType ¶ added in v0.20241009.1142232
type AuthenticationType string
const ( AuthenticationTypeActiveDirectoryIntegrated AuthenticationType = "ActiveDirectoryIntegrated" AuthenticationTypeActiveDirectoryPassword AuthenticationType = "ActiveDirectoryPassword" AuthenticationTypeNone AuthenticationType = "None" AuthenticationTypeSqlAuthentication AuthenticationType = "SqlAuthentication" AuthenticationTypeWindowsAuthentication AuthenticationType = "WindowsAuthentication" )
func (*AuthenticationType) UnmarshalJSON ¶ added in v0.20241009.1142232
func (s *AuthenticationType) UnmarshalJSON(bytes []byte) error
type BaseConnectionInfoImpl ¶ added in v0.20241009.1142232
type BaseConnectionInfoImpl struct { Password *string `json:"password,omitempty"` Type string `json:"type"` UserName *string `json:"userName,omitempty"` }
func (BaseConnectionInfoImpl) ConnectionInfo ¶ added in v0.20241009.1142232
func (s BaseConnectionInfoImpl) ConnectionInfo() BaseConnectionInfoImpl
type ConnectionInfo ¶
type ConnectionInfo interface {
ConnectionInfo() BaseConnectionInfoImpl
}
func UnmarshalConnectionInfoImplementation ¶ added in v0.20241009.1142232
func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error)
type DatabaseInfo ¶
type DatabaseInfo struct {
SourceDatabaseName string `json:"sourceDatabaseName"`
}
type MiSqlConnectionInfo ¶ added in v0.20241009.1142232
type MiSqlConnectionInfo struct { ManagedInstanceResourceId string `json:"managedInstanceResourceId"` Password *string `json:"password,omitempty"` Type string `json:"type"` UserName *string `json:"userName,omitempty"` }
func (MiSqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232
func (s MiSqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl
func (MiSqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232
func (s MiSqlConnectionInfo) MarshalJSON() ([]byte, error)
type MySqlConnectionInfo ¶ added in v0.20241009.1142232
type MySqlConnectionInfo struct { Port int64 `json:"port"` ServerName string `json:"serverName"` Password *string `json:"password,omitempty"` Type string `json:"type"` UserName *string `json:"userName,omitempty"` }
func (MySqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232
func (s MySqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl
func (MySqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232
func (s MySqlConnectionInfo) MarshalJSON() ([]byte, error)
type PostgreSqlConnectionInfo ¶ added in v0.20241009.1142232
type PostgreSqlConnectionInfo struct { DatabaseName *string `json:"databaseName,omitempty"` Port int64 `json:"port"` ServerName string `json:"serverName"` Password *string `json:"password,omitempty"` Type string `json:"type"` UserName *string `json:"userName,omitempty"` }
func (PostgreSqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232
func (s PostgreSqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl
func (PostgreSqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232
func (s PostgreSqlConnectionInfo) MarshalJSON() ([]byte, error)
type ProjectId ¶
type ProjectId struct { SubscriptionId string ResourceGroupName string ServiceName string ProjectName string }
ProjectId is a struct representing the Resource ID for a Project
func NewProjectID ¶
func NewProjectID(subscriptionId string, resourceGroupName string, serviceName string, projectName string) ProjectId
NewProjectID returns a new ProjectId struct
func ParseProjectID ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input
func (*ProjectId) FromParseResult ¶
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProjectOperationPredicate ¶
func (ProjectOperationPredicate) Matches ¶
func (p ProjectOperationPredicate) Matches(input Project) bool
type ProjectProperties ¶
type ProjectProperties struct { CreationTime *string `json:"creationTime,omitempty"` DatabasesInfo *[]DatabaseInfo `json:"databasesInfo,omitempty"` ProvisioningState *ProjectProvisioningState `json:"provisioningState,omitempty"` SourceConnectionInfo ConnectionInfo `json:"sourceConnectionInfo"` SourcePlatform ProjectSourcePlatform `json:"sourcePlatform"` TargetConnectionInfo ConnectionInfo `json:"targetConnectionInfo"` TargetPlatform ProjectTargetPlatform `json:"targetPlatform"` }
func (*ProjectProperties) GetCreationTimeAsTime ¶
func (o *ProjectProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ProjectProperties) SetCreationTimeAsTime ¶
func (o *ProjectProperties) SetCreationTimeAsTime(input time.Time)
func (*ProjectProperties) UnmarshalJSON ¶ added in v0.20241009.1142232
func (s *ProjectProperties) UnmarshalJSON(bytes []byte) error
type ProjectProvisioningState ¶
type ProjectProvisioningState string
const ( ProjectProvisioningStateDeleting ProjectProvisioningState = "Deleting" ProjectProvisioningStateSucceeded ProjectProvisioningState = "Succeeded" )
func (*ProjectProvisioningState) UnmarshalJSON ¶
func (s *ProjectProvisioningState) UnmarshalJSON(bytes []byte) error
type ProjectResourceClient ¶
type ProjectResourceClient struct {
Client *resourcemanager.Client
}
func NewProjectResourceClientWithBaseURI ¶
func NewProjectResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*ProjectResourceClient, error)
func (ProjectResourceClient) ProjectsCreateOrUpdate ¶
func (c ProjectResourceClient) ProjectsCreateOrUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsCreateOrUpdateOperationResponse, err error)
ProjectsCreateOrUpdate ...
func (ProjectResourceClient) ProjectsDelete ¶
func (c ProjectResourceClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, err error)
ProjectsDelete ...
func (ProjectResourceClient) ProjectsGet ¶
func (c ProjectResourceClient) ProjectsGet(ctx context.Context, id ProjectId) (result ProjectsGetOperationResponse, err error)
ProjectsGet ...
func (ProjectResourceClient) ProjectsListByResourceGroup ¶
func (c ProjectResourceClient) ProjectsListByResourceGroup(ctx context.Context, id ServiceId) (result ProjectsListByResourceGroupOperationResponse, err error)
ProjectsListByResourceGroup ...
func (ProjectResourceClient) ProjectsListByResourceGroupComplete ¶
func (c ProjectResourceClient) ProjectsListByResourceGroupComplete(ctx context.Context, id ServiceId) (ProjectsListByResourceGroupCompleteResult, error)
ProjectsListByResourceGroupComplete retrieves all the results into a single object
func (ProjectResourceClient) ProjectsListByResourceGroupCompleteMatchingPredicate ¶
func (c ProjectResourceClient) ProjectsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (result ProjectsListByResourceGroupCompleteResult, err error)
ProjectsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProjectResourceClient) ProjectsUpdate ¶
func (c ProjectResourceClient) ProjectsUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsUpdateOperationResponse, err error)
ProjectsUpdate ...
type ProjectSourcePlatform ¶
type ProjectSourcePlatform string
const ( ProjectSourcePlatformSQL ProjectSourcePlatform = "SQL" ProjectSourcePlatformUnknown ProjectSourcePlatform = "Unknown" )
func (*ProjectSourcePlatform) UnmarshalJSON ¶
func (s *ProjectSourcePlatform) UnmarshalJSON(bytes []byte) error
type ProjectTargetPlatform ¶
type ProjectTargetPlatform string
const ( ProjectTargetPlatformSQLDB ProjectTargetPlatform = "SQLDB" ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown" )
func (*ProjectTargetPlatform) UnmarshalJSON ¶
func (s *ProjectTargetPlatform) UnmarshalJSON(bytes []byte) error
type ProjectsDeleteOperationOptions ¶
type ProjectsDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultProjectsDeleteOperationOptions ¶
func DefaultProjectsDeleteOperationOptions() ProjectsDeleteOperationOptions
func (ProjectsDeleteOperationOptions) ToHeaders ¶
func (o ProjectsDeleteOperationOptions) ToHeaders() *client.Headers
func (ProjectsDeleteOperationOptions) ToOData ¶
func (o ProjectsDeleteOperationOptions) ToOData() *odata.Query
func (ProjectsDeleteOperationOptions) ToQuery ¶
func (o ProjectsDeleteOperationOptions) ToQuery() *client.QueryParams
type ProjectsListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ProjectsListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ProjectsListByResourceGroupCustomPager) NextPageLink() *odata.Link
type RawConnectionInfoImpl ¶ added in v0.20241009.1142232
type RawConnectionInfoImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawConnectionInfoImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawConnectionInfoImpl) ConnectionInfo ¶ added in v0.20241009.1142232
func (s RawConnectionInfoImpl) ConnectionInfo() BaseConnectionInfoImpl
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type SqlConnectionInfo ¶ added in v0.20241009.1142232
type SqlConnectionInfo struct { AdditionalSettings *string `json:"additionalSettings,omitempty"` Authentication *AuthenticationType `json:"authentication,omitempty"` DataSource string `json:"dataSource"` EncryptConnection *bool `json:"encryptConnection,omitempty"` Platform *SqlSourcePlatform `json:"platform,omitempty"` TrustServerCertificate *bool `json:"trustServerCertificate,omitempty"` Password *string `json:"password,omitempty"` Type string `json:"type"` UserName *string `json:"userName,omitempty"` }
func (SqlConnectionInfo) ConnectionInfo ¶ added in v0.20241009.1142232
func (s SqlConnectionInfo) ConnectionInfo() BaseConnectionInfoImpl
func (SqlConnectionInfo) MarshalJSON ¶ added in v0.20241009.1142232
func (s SqlConnectionInfo) MarshalJSON() ([]byte, error)
type SqlSourcePlatform ¶ added in v0.20241009.1142232
type SqlSourcePlatform string
const (
SqlSourcePlatformSqlOnPrem SqlSourcePlatform = "SqlOnPrem"
)
func (*SqlSourcePlatform) UnmarshalJSON ¶ added in v0.20241009.1142232
func (s *SqlSourcePlatform) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_project.go
- id_service.go
- method_projectscreateorupdate.go
- method_projectsdelete.go
- method_projectsget.go
- method_projectslistbyresourcegroup.go
- method_projectsupdate.go
- model_connectioninfo.go
- model_databaseinfo.go
- model_misqlconnectioninfo.go
- model_mysqlconnectioninfo.go
- model_postgresqlconnectioninfo.go
- model_project.go
- model_projectproperties.go
- model_sqlconnectioninfo.go
- predicates.go
- version.go