Documentation ¶
Index ¶
- func PossibleValuesForState() []string
- func ValidateManagedInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type GetOperationResponse
- type ManagedInstanceId
- type SqlAgentClient
- type SqlAgentConfiguration
- type SqlAgentConfigurationProperties
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func ValidateManagedInstanceID ¶
ValidateManagedInstanceID checks that 'input' can be parsed as a Managed Instance ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlAgentConfiguration }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlAgentConfiguration }
type ManagedInstanceId ¶
type ManagedInstanceId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string }
ManagedInstanceId is a struct representing the Resource ID for a Managed Instance
func NewManagedInstanceID ¶
func NewManagedInstanceID(subscriptionId string, resourceGroupName string, managedInstanceName string) ManagedInstanceId
NewManagedInstanceID returns a new ManagedInstanceId struct
func ParseManagedInstanceID ¶
func ParseManagedInstanceID(input string) (*ManagedInstanceId, error)
ParseManagedInstanceID parses 'input' into a ManagedInstanceId
func ParseManagedInstanceIDInsensitively ¶
func ParseManagedInstanceIDInsensitively(input string) (*ManagedInstanceId, error)
ParseManagedInstanceIDInsensitively parses 'input' case-insensitively into a ManagedInstanceId note: this method should only be used for API response data and not user input
func (ManagedInstanceId) ID ¶
func (id ManagedInstanceId) ID() string
ID returns the formatted Managed Instance ID
func (ManagedInstanceId) Segments ¶
func (id ManagedInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance ID
func (ManagedInstanceId) String ¶
func (id ManagedInstanceId) String() string
String returns a human-readable description of this Managed Instance ID
type SqlAgentClient ¶
type SqlAgentClient struct {
Client *resourcemanager.Client
}
func NewSqlAgentClientWithBaseURI ¶
func NewSqlAgentClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlAgentClient, error)
func (SqlAgentClient) CreateOrUpdate ¶
func (c SqlAgentClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceId, input SqlAgentConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SqlAgentClient) Get ¶
func (c SqlAgentClient) Get(ctx context.Context, id ManagedInstanceId) (result GetOperationResponse, err error)
Get ...
type SqlAgentConfiguration ¶
type SqlAgentConfiguration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlAgentConfigurationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SqlAgentConfigurationProperties ¶
type SqlAgentConfigurationProperties struct {
State *State `json:"state,omitempty"`
}