Documentation ¶
Index ¶
- func PossibleValuesForAdministratorType() []string
- func PossibleValuesForAggregationFunctionType() []string
- func PossibleValuesForManagedInstanceLicenseType() []string
- func PossibleValuesForManagedInstanceProxyOverride() []string
- func PossibleValuesForManagedServerCreateMode() []string
- func PossibleValuesForMetricType() []string
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForQueryMetricUnitType() []string
- func PossibleValuesForQueryTimeGrainType() []string
- func PossibleValuesForReplicaType() []string
- func PossibleValuesForStorageAccountType() []string
- func ValidateInstancePoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type AdministratorType
- type AggregationFunctionType
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FailoverOperationOptions
- type FailoverOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type InstancePoolId
- type ListByInstancePoolCompleteResult
- type ListByInstancePoolOperationOptions
- type ListByInstancePoolOperationResponse
- type ListByManagedInstanceCompleteResult
- type ListByManagedInstanceOperationOptions
- type ListByManagedInstanceOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ManagedInstance
- type ManagedInstanceExternalAdministrator
- type ManagedInstanceId
- type ManagedInstanceLicenseType
- type ManagedInstanceOperationPredicate
- type ManagedInstancePecProperty
- type ManagedInstancePrivateEndpointConnectionProperties
- type ManagedInstancePrivateEndpointProperty
- type ManagedInstancePrivateLinkServiceConnectionStateProperty
- type ManagedInstanceProperties
- type ManagedInstanceProxyOverride
- type ManagedInstanceUpdate
- type ManagedInstancesClient
- func (c ManagedInstancesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceId, input ManagedInstance) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceId, input ManagedInstance) error
- func (c ManagedInstancesClient) Delete(ctx context.Context, id ManagedInstanceId) (result DeleteOperationResponse, err error)
- func (c ManagedInstancesClient) DeleteThenPoll(ctx context.Context, id ManagedInstanceId) error
- func (c ManagedInstancesClient) Failover(ctx context.Context, id ManagedInstanceId, options FailoverOperationOptions) (result FailoverOperationResponse, err error)
- func (c ManagedInstancesClient) FailoverThenPoll(ctx context.Context, id ManagedInstanceId, options FailoverOperationOptions) error
- func (c ManagedInstancesClient) Get(ctx context.Context, id ManagedInstanceId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ManagedInstancesClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ManagedInstancesClient) ListByInstancePool(ctx context.Context, id InstancePoolId, ...) (result ListByInstancePoolOperationResponse, err error)
- func (c ManagedInstancesClient) ListByInstancePoolComplete(ctx context.Context, id InstancePoolId, ...) (ListByInstancePoolCompleteResult, error)
- func (c ManagedInstancesClient) ListByInstancePoolCompleteMatchingPredicate(ctx context.Context, id InstancePoolId, ...) (result ListByInstancePoolCompleteResult, err error)
- func (c ManagedInstancesClient) ListByManagedInstance(ctx context.Context, id ManagedInstanceId, ...) (result ListByManagedInstanceOperationResponse, err error)
- func (c ManagedInstancesClient) ListByManagedInstanceComplete(ctx context.Context, id ManagedInstanceId, ...) (ListByManagedInstanceCompleteResult, error)
- func (c ManagedInstancesClient) ListByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, ...) (result ListByManagedInstanceCompleteResult, err error)
- func (c ManagedInstancesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c ManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c ManagedInstancesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ManagedInstancesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ManagedInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ManagedInstancesClient) Update(ctx context.Context, id ManagedInstanceId, input ManagedInstanceUpdate) (result UpdateOperationResponse, err error)
- func (c ManagedInstancesClient) UpdateThenPoll(ctx context.Context, id ManagedInstanceId, input ManagedInstanceUpdate) error
- type ManagedServerCreateMode
- type MetricType
- type PrincipalType
- type ProvisioningState
- type QueryMetricInterval
- type QueryMetricProperties
- type QueryMetricUnitType
- type QueryStatisticsProperties
- type QueryTimeGrainType
- type ReplicaType
- type Sku
- type StorageAccountType
- type TopQueries
- type TopQueriesOperationPredicate
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAdministratorType ¶
func PossibleValuesForAdministratorType() []string
func PossibleValuesForAggregationFunctionType ¶
func PossibleValuesForAggregationFunctionType() []string
func PossibleValuesForManagedInstanceLicenseType ¶
func PossibleValuesForManagedInstanceLicenseType() []string
func PossibleValuesForManagedInstanceProxyOverride ¶
func PossibleValuesForManagedInstanceProxyOverride() []string
func PossibleValuesForManagedServerCreateMode ¶
func PossibleValuesForManagedServerCreateMode() []string
func PossibleValuesForMetricType ¶
func PossibleValuesForMetricType() []string
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForQueryMetricUnitType ¶
func PossibleValuesForQueryMetricUnitType() []string
func PossibleValuesForQueryTimeGrainType ¶
func PossibleValuesForQueryTimeGrainType() []string
func PossibleValuesForReplicaType ¶
func PossibleValuesForReplicaType() []string
func PossibleValuesForStorageAccountType ¶
func PossibleValuesForStorageAccountType() []string
func ValidateInstancePoolID ¶
ValidateInstancePoolID checks that 'input' can be parsed as a Instance Pool ID
func ValidateManagedInstanceID ¶
ValidateManagedInstanceID checks that 'input' can be parsed as a Managed Instance ID
Types ¶
type AdministratorType ¶
type AdministratorType string
const (
AdministratorTypeActiveDirectory AdministratorType = "ActiveDirectory"
)
func (*AdministratorType) UnmarshalJSON ¶
func (s *AdministratorType) UnmarshalJSON(bytes []byte) error
type AggregationFunctionType ¶
type AggregationFunctionType string
const ( AggregationFunctionTypeAvg AggregationFunctionType = "avg" AggregationFunctionTypeMax AggregationFunctionType = "max" AggregationFunctionTypeMin AggregationFunctionType = "min" AggregationFunctionTypeStdev AggregationFunctionType = "stdev" AggregationFunctionTypeSum AggregationFunctionType = "sum" )
func (*AggregationFunctionType) UnmarshalJSON ¶
func (s *AggregationFunctionType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type FailoverOperationOptions ¶
type FailoverOperationOptions struct {
ReplicaType *ReplicaType
}
func DefaultFailoverOperationOptions ¶
func DefaultFailoverOperationOptions() FailoverOperationOptions
func (FailoverOperationOptions) ToHeaders ¶
func (o FailoverOperationOptions) ToHeaders() *client.Headers
func (FailoverOperationOptions) ToOData ¶
func (o FailoverOperationOptions) ToOData() *odata.Query
func (FailoverOperationOptions) ToQuery ¶
func (o FailoverOperationOptions) ToQuery() *client.QueryParams
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 GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedInstance }
type InstancePoolId ¶
type InstancePoolId struct { SubscriptionId string ResourceGroupName string InstancePoolName string }
InstancePoolId is a struct representing the Resource ID for a Instance Pool
func NewInstancePoolID ¶
func NewInstancePoolID(subscriptionId string, resourceGroupName string, instancePoolName string) InstancePoolId
NewInstancePoolID returns a new InstancePoolId struct
func ParseInstancePoolID ¶
func ParseInstancePoolID(input string) (*InstancePoolId, error)
ParseInstancePoolID parses 'input' into a InstancePoolId
func ParseInstancePoolIDInsensitively ¶
func ParseInstancePoolIDInsensitively(input string) (*InstancePoolId, error)
ParseInstancePoolIDInsensitively parses 'input' case-insensitively into a InstancePoolId note: this method should only be used for API response data and not user input
func (InstancePoolId) ID ¶
func (id InstancePoolId) ID() string
ID returns the formatted Instance Pool ID
func (InstancePoolId) Segments ¶
func (id InstancePoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Instance Pool ID
func (InstancePoolId) String ¶
func (id InstancePoolId) String() string
String returns a human-readable description of this Instance Pool ID
type ListByInstancePoolCompleteResult ¶
type ListByInstancePoolCompleteResult struct {
Items []ManagedInstance
}
type ListByInstancePoolOperationOptions ¶
type ListByInstancePoolOperationOptions struct {
Expand *string
}
func DefaultListByInstancePoolOperationOptions ¶
func DefaultListByInstancePoolOperationOptions() ListByInstancePoolOperationOptions
func (ListByInstancePoolOperationOptions) ToHeaders ¶
func (o ListByInstancePoolOperationOptions) ToHeaders() *client.Headers
func (ListByInstancePoolOperationOptions) ToOData ¶
func (o ListByInstancePoolOperationOptions) ToOData() *odata.Query
func (ListByInstancePoolOperationOptions) ToQuery ¶
func (o ListByInstancePoolOperationOptions) ToQuery() *client.QueryParams
type ListByInstancePoolOperationResponse ¶
type ListByInstancePoolOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedInstance }
type ListByManagedInstanceCompleteResult ¶
type ListByManagedInstanceCompleteResult struct {
Items []TopQueries
}
type ListByManagedInstanceOperationOptions ¶
type ListByManagedInstanceOperationOptions struct { AggregationFunction *AggregationFunctionType Databases *string EndTime *string Interval *QueryTimeGrainType NumberOfQueries *int64 ObservationMetric *MetricType StartTime *string }
func DefaultListByManagedInstanceOperationOptions ¶
func DefaultListByManagedInstanceOperationOptions() ListByManagedInstanceOperationOptions
func (ListByManagedInstanceOperationOptions) ToHeaders ¶
func (o ListByManagedInstanceOperationOptions) ToHeaders() *client.Headers
func (ListByManagedInstanceOperationOptions) ToOData ¶
func (o ListByManagedInstanceOperationOptions) ToOData() *odata.Query
func (ListByManagedInstanceOperationOptions) ToQuery ¶
func (o ListByManagedInstanceOperationOptions) ToQuery() *client.QueryParams
type ListByManagedInstanceOperationResponse ¶
type ListByManagedInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TopQueries }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []ManagedInstance
}
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 ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedInstance }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ManagedInstance
}
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 ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedInstance }
type ManagedInstance ¶
type ManagedInstance struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ManagedInstanceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedInstanceExternalAdministrator ¶
type ManagedInstanceExternalAdministrator 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 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 ManagedInstanceLicenseType ¶
type ManagedInstanceLicenseType string
const ( ManagedInstanceLicenseTypeBasePrice ManagedInstanceLicenseType = "BasePrice" ManagedInstanceLicenseTypeLicenseIncluded ManagedInstanceLicenseType = "LicenseIncluded" )
func (*ManagedInstanceLicenseType) UnmarshalJSON ¶
func (s *ManagedInstanceLicenseType) UnmarshalJSON(bytes []byte) error
type ManagedInstanceOperationPredicate ¶
type ManagedInstanceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ManagedInstanceOperationPredicate) Matches ¶
func (p ManagedInstanceOperationPredicate) Matches(input ManagedInstance) bool
type ManagedInstancePecProperty ¶
type ManagedInstancePecProperty struct { Id *string `json:"id,omitempty"` Properties *ManagedInstancePrivateEndpointConnectionProperties `json:"properties,omitempty"` }
type ManagedInstancePrivateEndpointConnectionProperties ¶
type ManagedInstancePrivateEndpointConnectionProperties struct { PrivateEndpoint *ManagedInstancePrivateEndpointProperty `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *ManagedInstancePrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
type ManagedInstancePrivateEndpointProperty ¶
type ManagedInstancePrivateEndpointProperty struct {
Id *string `json:"id,omitempty"`
}
type ManagedInstanceProperties ¶
type ManagedInstanceProperties struct { AdministratorLogin *string `json:"administratorLogin,omitempty"` AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` Administrators *ManagedInstanceExternalAdministrator `json:"administrators,omitempty"` Collation *string `json:"collation,omitempty"` DnsZone *string `json:"dnsZone,omitempty"` DnsZonePartner *string `json:"dnsZonePartner,omitempty"` FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` InstancePoolId *string `json:"instancePoolId,omitempty"` KeyId *string `json:"keyId,omitempty"` LicenseType *ManagedInstanceLicenseType `json:"licenseType,omitempty"` MaintenanceConfigurationId *string `json:"maintenanceConfigurationId,omitempty"` ManagedInstanceCreateMode *ManagedServerCreateMode `json:"managedInstanceCreateMode,omitempty"` MinimalTlsVersion *string `json:"minimalTlsVersion,omitempty"` PrimaryUserAssignedIdentityId *string `json:"primaryUserAssignedIdentityId,omitempty"` PrivateEndpointConnections *[]ManagedInstancePecProperty `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ProxyOverride *ManagedInstanceProxyOverride `json:"proxyOverride,omitempty"` PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty"` RestorePointInTime *string `json:"restorePointInTime,omitempty"` SourceManagedInstanceId *string `json:"sourceManagedInstanceId,omitempty"` State *string `json:"state,omitempty"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` StorageSizeInGB *int64 `json:"storageSizeInGB,omitempty"` SubnetId *string `json:"subnetId,omitempty"` TimezoneId *string `json:"timezoneId,omitempty"` VCores *int64 `json:"vCores,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
func (*ManagedInstanceProperties) GetRestorePointInTimeAsTime ¶
func (o *ManagedInstanceProperties) GetRestorePointInTimeAsTime() (*time.Time, error)
func (*ManagedInstanceProperties) SetRestorePointInTimeAsTime ¶
func (o *ManagedInstanceProperties) SetRestorePointInTimeAsTime(input time.Time)
type ManagedInstanceProxyOverride ¶
type ManagedInstanceProxyOverride string
const ( ManagedInstanceProxyOverrideDefault ManagedInstanceProxyOverride = "Default" ManagedInstanceProxyOverrideProxy ManagedInstanceProxyOverride = "Proxy" ManagedInstanceProxyOverrideRedirect ManagedInstanceProxyOverride = "Redirect" )
func (*ManagedInstanceProxyOverride) UnmarshalJSON ¶
func (s *ManagedInstanceProxyOverride) UnmarshalJSON(bytes []byte) error
type ManagedInstanceUpdate ¶
type ManagedInstanceUpdate struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Properties *ManagedInstanceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ManagedInstancesClient ¶
type ManagedInstancesClient struct {
Client *resourcemanager.Client
}
func NewManagedInstancesClientWithBaseURI ¶
func NewManagedInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedInstancesClient, error)
func (ManagedInstancesClient) CreateOrUpdate ¶
func (c ManagedInstancesClient) CreateOrUpdate(ctx context.Context, id ManagedInstanceId, input ManagedInstance) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedInstancesClient) CreateOrUpdateThenPoll ¶
func (c ManagedInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedInstanceId, input ManagedInstance) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagedInstancesClient) Delete ¶
func (c ManagedInstancesClient) Delete(ctx context.Context, id ManagedInstanceId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedInstancesClient) DeleteThenPoll ¶
func (c ManagedInstancesClient) DeleteThenPoll(ctx context.Context, id ManagedInstanceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ManagedInstancesClient) Failover ¶
func (c ManagedInstancesClient) Failover(ctx context.Context, id ManagedInstanceId, options FailoverOperationOptions) (result FailoverOperationResponse, err error)
Failover ...
func (ManagedInstancesClient) FailoverThenPoll ¶
func (c ManagedInstancesClient) FailoverThenPoll(ctx context.Context, id ManagedInstanceId, options FailoverOperationOptions) error
FailoverThenPoll performs Failover then polls until it's completed
func (ManagedInstancesClient) Get ¶
func (c ManagedInstancesClient) Get(ctx context.Context, id ManagedInstanceId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ManagedInstancesClient) List ¶
func (c ManagedInstancesClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ManagedInstancesClient) ListByInstancePool ¶
func (c ManagedInstancesClient) ListByInstancePool(ctx context.Context, id InstancePoolId, options ListByInstancePoolOperationOptions) (result ListByInstancePoolOperationResponse, err error)
ListByInstancePool ...
func (ManagedInstancesClient) ListByInstancePoolComplete ¶
func (c ManagedInstancesClient) ListByInstancePoolComplete(ctx context.Context, id InstancePoolId, options ListByInstancePoolOperationOptions) (ListByInstancePoolCompleteResult, error)
ListByInstancePoolComplete retrieves all the results into a single object
func (ManagedInstancesClient) ListByInstancePoolCompleteMatchingPredicate ¶
func (c ManagedInstancesClient) ListByInstancePoolCompleteMatchingPredicate(ctx context.Context, id InstancePoolId, options ListByInstancePoolOperationOptions, predicate ManagedInstanceOperationPredicate) (result ListByInstancePoolCompleteResult, err error)
ListByInstancePoolCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedInstancesClient) ListByManagedInstance ¶
func (c ManagedInstancesClient) ListByManagedInstance(ctx context.Context, id ManagedInstanceId, options ListByManagedInstanceOperationOptions) (result ListByManagedInstanceOperationResponse, err error)
ListByManagedInstance ...
func (ManagedInstancesClient) ListByManagedInstanceComplete ¶
func (c ManagedInstancesClient) ListByManagedInstanceComplete(ctx context.Context, id ManagedInstanceId, options ListByManagedInstanceOperationOptions) (ListByManagedInstanceCompleteResult, error)
ListByManagedInstanceComplete retrieves all the results into a single object
func (ManagedInstancesClient) ListByManagedInstanceCompleteMatchingPredicate ¶
func (c ManagedInstancesClient) ListByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceId, options ListByManagedInstanceOperationOptions, predicate TopQueriesOperationPredicate) (result ListByManagedInstanceCompleteResult, err error)
ListByManagedInstanceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedInstancesClient) ListByResourceGroup ¶
func (c ManagedInstancesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ManagedInstancesClient) ListByResourceGroupComplete ¶
func (c ManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ManagedInstancesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ManagedInstancesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate ManagedInstanceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedInstancesClient) ListComplete ¶
func (c ManagedInstancesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ManagedInstancesClient) ListCompleteMatchingPredicate ¶
func (c ManagedInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ManagedInstanceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedInstancesClient) Update ¶
func (c ManagedInstancesClient) Update(ctx context.Context, id ManagedInstanceId, input ManagedInstanceUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ManagedInstancesClient) UpdateThenPoll ¶
func (c ManagedInstancesClient) UpdateThenPoll(ctx context.Context, id ManagedInstanceId, input ManagedInstanceUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ManagedServerCreateMode ¶
type ManagedServerCreateMode string
const ( ManagedServerCreateModeDefault ManagedServerCreateMode = "Default" ManagedServerCreateModePointInTimeRestore ManagedServerCreateMode = "PointInTimeRestore" )
func (*ManagedServerCreateMode) UnmarshalJSON ¶
func (s *ManagedServerCreateMode) UnmarshalJSON(bytes []byte) error
type MetricType ¶
type MetricType string
const ( MetricTypeCpu MetricType = "cpu" MetricTypeDtu MetricType = "dtu" MetricTypeDuration MetricType = "duration" MetricTypeIo MetricType = "io" MetricTypeLogIo MetricType = "logIo" )
func (*MetricType) UnmarshalJSON ¶
func (s *MetricType) UnmarshalJSON(bytes []byte) error
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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateRegistering ProvisioningState = "Registering" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateTimedOut ProvisioningState = "TimedOut" ProvisioningStateUnknown ProvisioningState = "Unknown" ProvisioningStateUnrecognized ProvisioningState = "Unrecognized" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type QueryMetricInterval ¶
type QueryMetricInterval struct { ExecutionCount *int64 `json:"executionCount,omitempty"` IntervalStartTime *string `json:"intervalStartTime,omitempty"` IntervalType *QueryTimeGrainType `json:"intervalType,omitempty"` Metrics *[]QueryMetricProperties `json:"metrics,omitempty"` }
type QueryMetricProperties ¶
type QueryMetricProperties struct { Avg *float64 `json:"avg,omitempty"` DisplayName *string `json:"displayName,omitempty"` Max *float64 `json:"max,omitempty"` Min *float64 `json:"min,omitempty"` Name *string `json:"name,omitempty"` Stdev *float64 `json:"stdev,omitempty"` Sum *float64 `json:"sum,omitempty"` Unit *QueryMetricUnitType `json:"unit,omitempty"` Value *float64 `json:"value,omitempty"` }
type QueryMetricUnitType ¶
type QueryMetricUnitType string
const ( QueryMetricUnitTypeCount QueryMetricUnitType = "count" QueryMetricUnitTypeKB QueryMetricUnitType = "KB" QueryMetricUnitTypeMicroseconds QueryMetricUnitType = "microseconds" QueryMetricUnitTypePercentage QueryMetricUnitType = "percentage" )
func (*QueryMetricUnitType) UnmarshalJSON ¶
func (s *QueryMetricUnitType) UnmarshalJSON(bytes []byte) error
type QueryStatisticsProperties ¶
type QueryStatisticsProperties struct { DatabaseName *string `json:"databaseName,omitempty"` EndTime *string `json:"endTime,omitempty"` Intervals *[]QueryMetricInterval `json:"intervals,omitempty"` QueryId *string `json:"queryId,omitempty"` StartTime *string `json:"startTime,omitempty"` }
type QueryTimeGrainType ¶
type QueryTimeGrainType string
const ( QueryTimeGrainTypePOneD QueryTimeGrainType = "P1D" QueryTimeGrainTypePTOneH QueryTimeGrainType = "PT1H" )
func (*QueryTimeGrainType) UnmarshalJSON ¶
func (s *QueryTimeGrainType) UnmarshalJSON(bytes []byte) error
type ReplicaType ¶
type ReplicaType string
const ( ReplicaTypePrimary ReplicaType = "Primary" ReplicaTypeReadableSecondary ReplicaType = "ReadableSecondary" )
func (*ReplicaType) UnmarshalJSON ¶
func (s *ReplicaType) UnmarshalJSON(bytes []byte) error
type StorageAccountType ¶
type StorageAccountType string
const ( StorageAccountTypeGRS StorageAccountType = "GRS" StorageAccountTypeLRS StorageAccountType = "LRS" StorageAccountTypeZRS StorageAccountType = "ZRS" )
func (*StorageAccountType) UnmarshalJSON ¶
func (s *StorageAccountType) UnmarshalJSON(bytes []byte) error
type TopQueries ¶
type TopQueries struct { AggregationFunction *string `json:"aggregationFunction,omitempty"` EndTime *string `json:"endTime,omitempty"` IntervalType *QueryTimeGrainType `json:"intervalType,omitempty"` NumberOfQueries *int64 `json:"numberOfQueries,omitempty"` ObservationMetric *string `json:"observationMetric,omitempty"` Queries *[]QueryStatisticsProperties `json:"queries,omitempty"` StartTime *string `json:"startTime,omitempty"` }
type TopQueriesOperationPredicate ¶
type TopQueriesOperationPredicate struct { AggregationFunction *string EndTime *string NumberOfQueries *int64 ObservationMetric *string StartTime *string }
func (TopQueriesOperationPredicate) Matches ¶
func (p TopQueriesOperationPredicate) Matches(input TopQueries) bool
Source Files ¶
- client.go
- constants.go
- id_instancepool.go
- id_managedinstance.go
- method_createorupdate.go
- method_delete.go
- method_failover.go
- method_get.go
- method_list.go
- method_listbyinstancepool.go
- method_listbymanagedinstance.go
- method_listbyresourcegroup.go
- method_update.go
- model_managedinstance.go
- model_managedinstanceexternaladministrator.go
- model_managedinstancepecproperty.go
- model_managedinstanceprivateendpointconnectionproperties.go
- model_managedinstanceprivateendpointproperty.go
- model_managedinstanceprivatelinkserviceconnectionstateproperty.go
- model_managedinstanceproperties.go
- model_managedinstanceupdate.go
- model_querymetricinterval.go
- model_querymetricproperties.go
- model_querystatisticsproperties.go
- model_sku.go
- model_topqueries.go
- predicates.go
- version.go