Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAdministratorType() []string + func PossibleValuesForAggregationFunctionType() []string + func PossibleValuesForAuthMetadataLookupModes() []string + func PossibleValuesForBackupStorageRedundancy() []string + func PossibleValuesForExternalGovernanceStatus() []string + func PossibleValuesForFreemiumType() []string + func PossibleValuesForHybridSecondaryUsage() []string + func PossibleValuesForHybridSecondaryUsageDetected() []string + func PossibleValuesForManagedInstanceDatabaseFormat() []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 PossibleValuesForServicePrincipalType() []string + func ValidateInstancePoolID(input interface{}, key string) (warnings []string, errors []error) + type AdministratorType string + const AdministratorTypeActiveDirectory + func (s *AdministratorType) UnmarshalJSON(bytes []byte) error + type AggregationFunctionType string + const AggregationFunctionTypeAvg + const AggregationFunctionTypeMax + const AggregationFunctionTypeMin + const AggregationFunctionTypeStdev + const AggregationFunctionTypeSum + func (s *AggregationFunctionType) UnmarshalJSON(bytes []byte) error + type AuthMetadataLookupModes string + const AuthMetadataLookupModesAzureAD + const AuthMetadataLookupModesPaired + const AuthMetadataLookupModesWindows + func (s *AuthMetadataLookupModes) UnmarshalJSON(bytes []byte) error + type BackupStorageRedundancy string + const BackupStorageRedundancyGeo + const BackupStorageRedundancyGeoZone + const BackupStorageRedundancyLocal + const BackupStorageRedundancyZone + func (s *BackupStorageRedundancy) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstance + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type EndpointDependency struct + DomainName *string + EndpointDetails *[]EndpointDetail + type EndpointDetail struct + Port *int64 + type ExternalGovernanceStatus string + const ExternalGovernanceStatusDisabled + const ExternalGovernanceStatusEnabled + func (s *ExternalGovernanceStatus) UnmarshalJSON(bytes []byte) error + type FailoverOperationOptions struct + ReplicaType *ReplicaType + func DefaultFailoverOperationOptions() FailoverOperationOptions + func (o FailoverOperationOptions) ToHeaders() *client.Headers + func (o FailoverOperationOptions) ToOData() *odata.Query + func (o FailoverOperationOptions) ToQuery() *client.QueryParams + type FailoverOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type FreemiumType string + const FreemiumTypeFreemium + const FreemiumTypeRegular + func (s *FreemiumType) UnmarshalJSON(bytes []byte) error + type GetOperationOptions struct + Expand *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstance + OData *odata.OData + type HybridSecondaryUsage string + const HybridSecondaryUsageActive + const HybridSecondaryUsagePassive + func (s *HybridSecondaryUsage) UnmarshalJSON(bytes []byte) error + type HybridSecondaryUsageDetected string + const HybridSecondaryUsageDetectedActive + const HybridSecondaryUsageDetectedPassive + func (s *HybridSecondaryUsageDetected) UnmarshalJSON(bytes []byte) error + type InstancePoolId struct + InstancePoolName string + ResourceGroupName string + SubscriptionId string + func NewInstancePoolID(subscriptionId string, resourceGroupName string, instancePoolName string) InstancePoolId + func ParseInstancePoolID(input string) (*InstancePoolId, error) + func ParseInstancePoolIDInsensitively(input string) (*InstancePoolId, error) + func (id *InstancePoolId) FromParseResult(input resourceids.ParseResult) error + func (id InstancePoolId) ID() string + func (id InstancePoolId) Segments() []resourceids.Segment + func (id InstancePoolId) String() string + type ListByInstancePoolCompleteResult struct + Items []ManagedInstance + LatestHttpResponse *http.Response + type ListByInstancePoolCustomPager struct + NextLink *odata.Link + func (p *ListByInstancePoolCustomPager) NextPageLink() *odata.Link + type ListByInstancePoolOperationOptions struct + Expand *string + func DefaultListByInstancePoolOperationOptions() ListByInstancePoolOperationOptions + func (o ListByInstancePoolOperationOptions) ToHeaders() *client.Headers + func (o ListByInstancePoolOperationOptions) ToOData() *odata.Query + func (o ListByInstancePoolOperationOptions) ToQuery() *client.QueryParams + type ListByInstancePoolOperationResponse struct + HttpResponse *http.Response + Model *[]ManagedInstance + OData *odata.OData + type ListByManagedInstanceCompleteResult struct + Items []TopQueries + LatestHttpResponse *http.Response + type ListByManagedInstanceCustomPager struct + NextLink *odata.Link + func (p *ListByManagedInstanceCustomPager) NextPageLink() *odata.Link + type ListByManagedInstanceOperationOptions struct + AggregationFunction *AggregationFunctionType + Databases *string + EndTime *string + Interval *QueryTimeGrainType + NumberOfQueries *int64 + ObservationMetric *MetricType + StartTime *string + func DefaultListByManagedInstanceOperationOptions() ListByManagedInstanceOperationOptions + func (o ListByManagedInstanceOperationOptions) ToHeaders() *client.Headers + func (o ListByManagedInstanceOperationOptions) ToOData() *odata.Query + func (o ListByManagedInstanceOperationOptions) ToQuery() *client.QueryParams + type ListByManagedInstanceOperationResponse struct + HttpResponse *http.Response + Model *[]TopQueries + OData *odata.OData + type ListByResourceGroupCompleteResult struct + Items []ManagedInstance + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationOptions struct + Expand *string + func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions + func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers + func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query + func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]ManagedInstance + OData *odata.OData + type ListCompleteResult struct + Items []ManagedInstance + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Expand *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ManagedInstance + OData *odata.OData + type ListOutboundNetworkDependenciesByManagedInstanceCompleteResult struct + Items []OutboundEnvironmentEndpoint + LatestHttpResponse *http.Response + type ListOutboundNetworkDependenciesByManagedInstanceCustomPager struct + NextLink *odata.Link + func (p *ListOutboundNetworkDependenciesByManagedInstanceCustomPager) NextPageLink() *odata.Link + type ListOutboundNetworkDependenciesByManagedInstanceOperationResponse struct + HttpResponse *http.Response + Model *[]OutboundEnvironmentEndpoint + OData *odata.OData + type ManagedInstance struct + Id *string + Identity *identity.LegacySystemAndUserAssignedMap + Location string + Name *string + Properties *ManagedInstanceProperties + Sku *Sku + Tags *map[string]string + Type *string + type ManagedInstanceDatabaseFormat string + const ManagedInstanceDatabaseFormatAlwaysUpToDate + const ManagedInstanceDatabaseFormatSQLServerTwoZeroTwoTwo + func (s *ManagedInstanceDatabaseFormat) UnmarshalJSON(bytes []byte) error + type ManagedInstanceExternalAdministrator struct + AdministratorType *AdministratorType + AzureADOnlyAuthentication *bool + Login *string + PrincipalType *PrincipalType + Sid *string + TenantId *string + type ManagedInstanceLicenseType string + const ManagedInstanceLicenseTypeBasePrice + const ManagedInstanceLicenseTypeLicenseIncluded + func (s *ManagedInstanceLicenseType) UnmarshalJSON(bytes []byte) error + type ManagedInstanceOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p ManagedInstanceOperationPredicate) Matches(input ManagedInstance) bool + type ManagedInstancePecProperty struct + Id *string + Properties *ManagedInstancePrivateEndpointConnectionProperties + type ManagedInstancePrivateEndpointConnectionProperties struct + PrivateEndpoint *ManagedInstancePrivateEndpointProperty + PrivateLinkServiceConnectionState *ManagedInstancePrivateLinkServiceConnectionStateProperty + ProvisioningState *string + type ManagedInstancePrivateEndpointProperty struct + Id *string + type ManagedInstancePrivateLinkServiceConnectionStateProperty struct + ActionsRequired *string + Description string + Status string + type ManagedInstanceProperties struct + AdministratorLogin *string + AdministratorLoginPassword *string + Administrators *ManagedInstanceExternalAdministrator + AuthenticationMetadata *AuthMetadataLookupModes + Collation *string + CreateTime *string + CurrentBackupStorageRedundancy *BackupStorageRedundancy + DatabaseFormat *ManagedInstanceDatabaseFormat + DnsZone *string + DnsZonePartner *string + ExternalGovernanceStatus *ExternalGovernanceStatus + FullyQualifiedDomainName *string + HybridSecondaryUsage *HybridSecondaryUsage + HybridSecondaryUsageDetected *HybridSecondaryUsageDetected + InstancePoolId *string + IsGeneralPurposeV2 *bool + KeyId *string + LicenseType *ManagedInstanceLicenseType + MaintenanceConfigurationId *string + ManagedInstanceCreateMode *ManagedServerCreateMode + MinimalTlsVersion *string + PricingModel *FreemiumType + PrimaryUserAssignedIdentityId *string + PrivateEndpointConnections *[]ManagedInstancePecProperty + ProvisioningState *ProvisioningState + ProxyOverride *ManagedInstanceProxyOverride + PublicDataEndpointEnabled *bool + RequestedBackupStorageRedundancy *BackupStorageRedundancy + RestorePointInTime *string + ServicePrincipal *ServicePrincipal + SourceManagedInstanceId *string + State *string + StorageIOps *int64 + StorageSizeInGB *int64 + StorageThroughputMBps *int64 + SubnetId *string + TimezoneId *string + TotalMemoryMB *int64 + VCores *int64 + VirtualClusterId *string + ZoneRedundant *bool + func (o *ManagedInstanceProperties) GetCreateTimeAsTime() (*time.Time, error) + func (o *ManagedInstanceProperties) GetRestorePointInTimeAsTime() (*time.Time, error) + func (o *ManagedInstanceProperties) SetCreateTimeAsTime(input time.Time) + func (o *ManagedInstanceProperties) SetRestorePointInTimeAsTime(input time.Time) + type ManagedInstanceProxyOverride string + const ManagedInstanceProxyOverrideDefault + const ManagedInstanceProxyOverrideProxy + const ManagedInstanceProxyOverrideRedirect + func (s *ManagedInstanceProxyOverride) UnmarshalJSON(bytes []byte) error + type ManagedInstanceUpdate struct + Identity *identity.LegacySystemAndUserAssignedMap + Properties *ManagedInstanceProperties + Sku *Sku + Tags *map[string]string + type ManagedInstancesClient struct + Client *resourcemanager.Client + func NewManagedInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedInstancesClient, error) + func (c ManagedInstancesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlManagedInstanceId, input ManagedInstance) (result CreateOrUpdateOperationResponse, err error) + func (c ManagedInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlManagedInstanceId, input ManagedInstance) error + func (c ManagedInstancesClient) Delete(ctx context.Context, id commonids.SqlManagedInstanceId) (result DeleteOperationResponse, err error) + func (c ManagedInstancesClient) DeleteThenPoll(ctx context.Context, id commonids.SqlManagedInstanceId) error + func (c ManagedInstancesClient) Failover(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (result FailoverOperationResponse, err error) + func (c ManagedInstancesClient) FailoverThenPoll(ctx context.Context, id commonids.SqlManagedInstanceId, ...) error + func (c ManagedInstancesClient) Get(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (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 commonids.SqlManagedInstanceId, ...) (result ListByManagedInstanceOperationResponse, err error) + func (c ManagedInstancesClient) ListByManagedInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (ListByManagedInstanceCompleteResult, error) + func (c ManagedInstancesClient) ListByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (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) ListOutboundNetworkDependenciesByManagedInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListOutboundNetworkDependenciesByManagedInstanceOperationResponse, ...) + func (c ManagedInstancesClient) ListOutboundNetworkDependenciesByManagedInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListOutboundNetworkDependenciesByManagedInstanceCompleteResult, error) + func (c ManagedInstancesClient) ListOutboundNetworkDependenciesByManagedInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (result ListOutboundNetworkDependenciesByManagedInstanceCompleteResult, ...) + func (c ManagedInstancesClient) RefreshStatus(ctx context.Context, id commonids.SqlManagedInstanceId) (result RefreshStatusOperationResponse, err error) + func (c ManagedInstancesClient) RefreshStatusThenPoll(ctx context.Context, id commonids.SqlManagedInstanceId) error + func (c ManagedInstancesClient) Start(ctx context.Context, id commonids.SqlManagedInstanceId) (result StartOperationResponse, err error) + func (c ManagedInstancesClient) StartThenPoll(ctx context.Context, id commonids.SqlManagedInstanceId) error + func (c ManagedInstancesClient) Stop(ctx context.Context, id commonids.SqlManagedInstanceId) (result StopOperationResponse, err error) + func (c ManagedInstancesClient) StopThenPoll(ctx context.Context, id commonids.SqlManagedInstanceId) error + func (c ManagedInstancesClient) Update(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (result UpdateOperationResponse, err error) + func (c ManagedInstancesClient) UpdateThenPoll(ctx context.Context, id commonids.SqlManagedInstanceId, ...) error + type ManagedServerCreateMode string + const ManagedServerCreateModeDefault + const ManagedServerCreateModePointInTimeRestore + func (s *ManagedServerCreateMode) UnmarshalJSON(bytes []byte) error + type MetricType string + const MetricTypeCpu + const MetricTypeDtu + const MetricTypeDuration + const MetricTypeIo + const MetricTypeLogIo + func (s *MetricType) UnmarshalJSON(bytes []byte) error + type OutboundEnvironmentEndpoint struct + Category *string + Endpoints *[]EndpointDependency + type OutboundEnvironmentEndpointOperationPredicate struct + Category *string + func (p OutboundEnvironmentEndpointOperationPredicate) Matches(input OutboundEnvironmentEndpoint) bool + type PrincipalType string + const PrincipalTypeApplication + const PrincipalTypeGroup + const PrincipalTypeUser + func (s *PrincipalType) UnmarshalJSON(bytes []byte) error + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreated + const ProvisioningStateFailed + const ProvisioningStateInProgress + const ProvisioningStateSucceeded + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type QueryMetricInterval struct + ExecutionCount *int64 + IntervalStartTime *string + IntervalType *QueryTimeGrainType + Metrics *[]QueryMetricProperties + type QueryMetricProperties struct + Avg *float64 + DisplayName *string + Max *float64 + Min *float64 + Name *string + Stdev *float64 + Sum *float64 + Unit *QueryMetricUnitType + Value *float64 + type QueryMetricUnitType string + const QueryMetricUnitTypeCount + const QueryMetricUnitTypeKB + const QueryMetricUnitTypeMicroseconds + const QueryMetricUnitTypePercentage + func (s *QueryMetricUnitType) UnmarshalJSON(bytes []byte) error + type QueryStatisticsProperties struct + DatabaseName *string + EndTime *string + Intervals *[]QueryMetricInterval + QueryId *string + StartTime *string + type QueryTimeGrainType string + const QueryTimeGrainTypePOneD + const QueryTimeGrainTypePTOneH + func (s *QueryTimeGrainType) UnmarshalJSON(bytes []byte) error + type RefreshExternalGovernanceStatusOperationResultMI struct + Id *string + Name *string + Properties *RefreshExternalGovernanceStatusOperationResultPropertiesMI + Type *string + type RefreshExternalGovernanceStatusOperationResultPropertiesMI struct + ErrorMessage *string + ManagedInstanceName *string + QueuedTime *string + RequestId *string + RequestType *string + Status *string + type RefreshStatusOperationResponse struct + HttpResponse *http.Response + Model *RefreshExternalGovernanceStatusOperationResultMI + OData *odata.OData + Poller pollers.Poller + type ReplicaType string + const ReplicaTypePrimary + const ReplicaTypeReadableSecondary + func (s *ReplicaType) UnmarshalJSON(bytes []byte) error + type ServicePrincipal struct + ClientId *string + PrincipalId *string + TenantId *string + Type *ServicePrincipalType + type ServicePrincipalType string + const ServicePrincipalTypeNone + const ServicePrincipalTypeSystemAssigned + func (s *ServicePrincipalType) UnmarshalJSON(bytes []byte) error + type Sku struct + Capacity *int64 + Family *string + Name string + Size *string + Tier *string + type StartOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstance + OData *odata.OData + Poller pollers.Poller + type StopOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstance + OData *odata.OData + Poller pollers.Poller + type TopQueries struct + AggregationFunction *string + EndTime *string + IntervalType *QueryTimeGrainType + NumberOfQueries *int64 + ObservationMetric *string + Queries *[]QueryStatisticsProperties + StartTime *string + type TopQueriesOperationPredicate struct + AggregationFunction *string + EndTime *string + NumberOfQueries *int64 + ObservationMetric *string + StartTime *string + func (p TopQueriesOperationPredicate) Matches(input TopQueries) bool + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *ManagedInstance + OData *odata.OData + Poller pollers.Poller