Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
Types ¶
type DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ClusterName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, clusterName string, databaseName string) DatabaseId
NewDatabaseID returns a new DatabaseId struct
func ParseDatabaseID ¶
func ParseDatabaseID(input string) (*DatabaseId, error)
ParseDatabaseID parses 'input' into a DatabaseId
func ParseDatabaseIDInsensitively ¶
func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)
ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input
func (DatabaseId) Segments ¶
func (id DatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database ID
func (DatabaseId) String ¶
func (id DatabaseId) String() string
String returns a human-readable description of this Database ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type Script ¶
type Script struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScriptProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScriptListResult ¶
type ScriptListResult struct {
Value *[]Script `json:"value,omitempty"`
}
type ScriptProperties ¶
type ScriptProperties struct { ContinueOnErrors *bool `json:"continueOnErrors,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ScriptContent *string `json:"scriptContent,omitempty"` ScriptUrl *string `json:"scriptUrl,omitempty"` ScriptUrlSasToken *string `json:"scriptUrlSasToken,omitempty"` }
type ScriptsClient ¶
func NewScriptsClientWithBaseURI ¶
func NewScriptsClientWithBaseURI(endpoint string) ScriptsClient
func (ScriptsClient) ScriptsListByDatabase ¶
func (c ScriptsClient) ScriptsListByDatabase(ctx context.Context, id DatabaseId) (result ScriptsListByDatabaseOperationResponse, err error)
ScriptsListByDatabase ...
type ScriptsListByDatabaseOperationResponse ¶
type ScriptsListByDatabaseOperationResponse struct { HttpResponse *http.Response Model *ScriptListResult }
Click to show internal directories.
Click to hide internal directories.