Documentation ¶
Index ¶
- func PossibleValuesForProjectProvisioningState() []string
- func PossibleValuesForProjectSourcePlatform() []string
- func PossibleValuesForProjectTargetPlatform() []string
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ConnectionInfo
- type DatabaseInfo
- 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) ProjectsList(ctx context.Context, id ServiceId) (resp ProjectsListOperationResponse, err error)
- func (c ProjectResourceClient) ProjectsListComplete(ctx context.Context, id ServiceId) (ProjectsListCompleteResult, error)
- func (c ProjectResourceClient) ProjectsListCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (resp ProjectsListCompleteResult, 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 ProjectsListCompleteResult
- type ProjectsListOperationResponse
- type ProjectsUpdateOperationResponse
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProjectProvisioningState ¶
func PossibleValuesForProjectProvisioningState() []string
func PossibleValuesForProjectSourcePlatform ¶
func PossibleValuesForProjectSourcePlatform() []string
func PossibleValuesForProjectTargetPlatform ¶
func PossibleValuesForProjectTargetPlatform() []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 ConnectionInfo ¶
type DatabaseInfo ¶
type DatabaseInfo struct {
SourceDatabaseName string `json:"sourceDatabaseName"`
}
type Project ¶
type Project struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ProjectProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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) 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,omitempty"` SourcePlatform ProjectSourcePlatform `json:"sourcePlatform"` TargetConnectionInfo *ConnectionInfo `json:"targetConnectionInfo,omitempty"` TargetPlatform ProjectTargetPlatform `json:"targetPlatform"` }
func (*ProjectProperties) GetCreationTimeAsTime ¶
func (o *ProjectProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ProjectProperties) SetCreationTimeAsTime ¶
func (o *ProjectProperties) SetCreationTimeAsTime(input time.Time)
type ProjectProvisioningState ¶
type ProjectProvisioningState string
const ( ProjectProvisioningStateDeleting ProjectProvisioningState = "Deleting" ProjectProvisioningStateSucceeded ProjectProvisioningState = "Succeeded" )
type ProjectResourceClient ¶
type ProjectResourceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewProjectResourceClientWithBaseURI ¶
func NewProjectResourceClientWithBaseURI(endpoint string) ProjectResourceClient
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) ProjectsList ¶
func (c ProjectResourceClient) ProjectsList(ctx context.Context, id ServiceId) (resp ProjectsListOperationResponse, err error)
ProjectsList ...
func (ProjectResourceClient) ProjectsListComplete ¶
func (c ProjectResourceClient) ProjectsListComplete(ctx context.Context, id ServiceId) (ProjectsListCompleteResult, error)
ProjectsListComplete retrieves all of the results into a single object
func (ProjectResourceClient) ProjectsListCompleteMatchingPredicate ¶
func (c ProjectResourceClient) ProjectsListCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (resp ProjectsListCompleteResult, err error)
ProjectsListCompleteMatchingPredicate retrieves all of the results and then applied 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 ( ProjectSourcePlatformMongoDb ProjectSourcePlatform = "MongoDb" ProjectSourcePlatformMySQL ProjectSourcePlatform = "MySQL" ProjectSourcePlatformPostgreSql ProjectSourcePlatform = "PostgreSql" ProjectSourcePlatformSQL ProjectSourcePlatform = "SQL" ProjectSourcePlatformUnknown ProjectSourcePlatform = "Unknown" )
type ProjectTargetPlatform ¶
type ProjectTargetPlatform string
const ( ProjectTargetPlatformAzureDbForMySql ProjectTargetPlatform = "AzureDbForMySql" ProjectTargetPlatformAzureDbForPostgreSql ProjectTargetPlatform = "AzureDbForPostgreSql" ProjectTargetPlatformMongoDb ProjectTargetPlatform = "MongoDb" ProjectTargetPlatformSQLDB ProjectTargetPlatform = "SQLDB" ProjectTargetPlatformSQLMI ProjectTargetPlatform = "SQLMI" ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown" )
type ProjectsDeleteOperationOptions ¶
type ProjectsDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultProjectsDeleteOperationOptions ¶
func DefaultProjectsDeleteOperationOptions() ProjectsDeleteOperationOptions
type ProjectsListCompleteResult ¶
type ProjectsListCompleteResult struct {
Items []Project
}
type ProjectsListOperationResponse ¶
type ProjectsListOperationResponse struct { HttpResponse *http.Response Model *[]Project // contains filtered or unexported fields }
func (ProjectsListOperationResponse) HasMore ¶
func (r ProjectsListOperationResponse) HasMore() bool
func (ProjectsListOperationResponse) LoadMore ¶
func (r ProjectsListOperationResponse) LoadMore(ctx context.Context) (resp ProjectsListOperationResponse, err error)
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) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
Source Files ¶
- client.go
- constants.go
- id_project.go
- id_service.go
- method_projectscreateorupdate_autorest.go
- method_projectsdelete_autorest.go
- method_projectsget_autorest.go
- method_projectslist_autorest.go
- method_projectsupdate_autorest.go
- model_connectioninfo.go
- model_databaseinfo.go
- model_project.go
- model_projectproperties.go
- predicates.go
- version.go