Documentation ¶
Index ¶
- type Database
- type DatabaseArgs
- type DatabaseState
- type DisasterRecoveryConfiguration
- type DisasterRecoveryConfigurationArgs
- type DisasterRecoveryConfigurationState
- type ElasticPool
- type ElasticPoolArgs
- type ElasticPoolState
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleState
- type LookupDatabaseArgs
- type LookupDatabaseResult
- type LookupDisasterRecoveryConfigurationArgs
- type LookupDisasterRecoveryConfigurationResult
- type LookupElasticPoolArgs
- type LookupElasticPoolResult
- type LookupFirewallRuleArgs
- type LookupFirewallRuleResult
- type LookupServerArgs
- type LookupServerAzureADAdministratorArgs
- type LookupServerAzureADAdministratorResult
- type LookupServerCommunicationLinkArgs
- type LookupServerCommunicationLinkResult
- type LookupServerResult
- type OperationImpactResponse
- type OperationImpactResponseArgs
- type OperationImpactResponseArray
- func (OperationImpactResponseArray) ElementType() reflect.Type
- func (i OperationImpactResponseArray) ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput
- func (i OperationImpactResponseArray) ToOperationImpactResponseArrayOutputWithContext(ctx context.Context) OperationImpactResponseArrayOutput
- type OperationImpactResponseArrayInput
- type OperationImpactResponseArrayOutput
- func (OperationImpactResponseArrayOutput) ElementType() reflect.Type
- func (o OperationImpactResponseArrayOutput) Index(i pulumi.IntInput) OperationImpactResponseOutput
- func (o OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput
- func (o OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutputWithContext(ctx context.Context) OperationImpactResponseArrayOutput
- type OperationImpactResponseInput
- type OperationImpactResponseOutput
- func (o OperationImpactResponseOutput) ChangeValueAbsolute() pulumi.Float64Output
- func (o OperationImpactResponseOutput) ChangeValueRelative() pulumi.Float64Output
- func (OperationImpactResponseOutput) ElementType() reflect.Type
- func (o OperationImpactResponseOutput) Name() pulumi.StringOutput
- func (o OperationImpactResponseOutput) ToOperationImpactResponseOutput() OperationImpactResponseOutput
- func (o OperationImpactResponseOutput) ToOperationImpactResponseOutputWithContext(ctx context.Context) OperationImpactResponseOutput
- func (o OperationImpactResponseOutput) Unit() pulumi.StringOutput
- type RecommendedIndexResponse
- type RecommendedIndexResponseArgs
- func (RecommendedIndexResponseArgs) ElementType() reflect.Type
- func (i RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput
- func (i RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutputWithContext(ctx context.Context) RecommendedIndexResponseOutput
- type RecommendedIndexResponseArray
- func (RecommendedIndexResponseArray) ElementType() reflect.Type
- func (i RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput
- func (i RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutputWithContext(ctx context.Context) RecommendedIndexResponseArrayOutput
- type RecommendedIndexResponseArrayInput
- type RecommendedIndexResponseArrayOutput
- func (RecommendedIndexResponseArrayOutput) ElementType() reflect.Type
- func (o RecommendedIndexResponseArrayOutput) Index(i pulumi.IntInput) RecommendedIndexResponseOutput
- func (o RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput
- func (o RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutputWithContext(ctx context.Context) RecommendedIndexResponseArrayOutput
- type RecommendedIndexResponseInput
- type RecommendedIndexResponseOutput
- func (o RecommendedIndexResponseOutput) Action() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) Columns() pulumi.StringArrayOutput
- func (o RecommendedIndexResponseOutput) Created() pulumi.StringOutput
- func (RecommendedIndexResponseOutput) ElementType() reflect.Type
- func (o RecommendedIndexResponseOutput) EstimatedImpact() OperationImpactResponseArrayOutput
- func (o RecommendedIndexResponseOutput) Id() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) IncludedColumns() pulumi.StringArrayOutput
- func (o RecommendedIndexResponseOutput) IndexScript() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) IndexType() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) LastModified() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) Name() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) ReportedImpact() OperationImpactResponseArrayOutput
- func (o RecommendedIndexResponseOutput) Schema() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) State() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) Table() pulumi.StringOutput
- func (o RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput
- func (o RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutputWithContext(ctx context.Context) RecommendedIndexResponseOutput
- func (o RecommendedIndexResponseOutput) Type() pulumi.StringOutput
- type Server
- type ServerArgs
- type ServerAzureADAdministrator
- type ServerAzureADAdministratorArgs
- type ServerAzureADAdministratorState
- type ServerCommunicationLink
- type ServerCommunicationLinkArgs
- type ServerCommunicationLinkState
- type ServerState
- type ServiceTierAdvisorResponse
- type ServiceTierAdvisorResponseArgs
- func (ServiceTierAdvisorResponseArgs) ElementType() reflect.Type
- func (i ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput
- func (i ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseOutput
- type ServiceTierAdvisorResponseArray
- func (ServiceTierAdvisorResponseArray) ElementType() reflect.Type
- func (i ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput
- func (i ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseArrayOutput
- type ServiceTierAdvisorResponseArrayInput
- type ServiceTierAdvisorResponseArrayOutput
- func (ServiceTierAdvisorResponseArrayOutput) ElementType() reflect.Type
- func (o ServiceTierAdvisorResponseArrayOutput) Index(i pulumi.IntInput) ServiceTierAdvisorResponseOutput
- func (o ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput
- func (o ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseArrayOutput
- type ServiceTierAdvisorResponseInput
- type ServiceTierAdvisorResponseOutput
- func (o ServiceTierAdvisorResponseOutput) ActiveTimeRatio() pulumi.Float64Output
- func (o ServiceTierAdvisorResponseOutput) AvgDtu() pulumi.Float64Output
- func (o ServiceTierAdvisorResponseOutput) Confidence() pulumi.Float64Output
- func (o ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjective() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjectiveId() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjective() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjective() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput
- func (ServiceTierAdvisorResponseOutput) ElementType() reflect.Type
- func (o ServiceTierAdvisorResponseOutput) Id() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) MaxDtu() pulumi.Float64Output
- func (o ServiceTierAdvisorResponseOutput) MaxSizeInGB() pulumi.Float64Output
- func (o ServiceTierAdvisorResponseOutput) MinDtu() pulumi.Float64Output
- func (o ServiceTierAdvisorResponseOutput) Name() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) ObservationPeriodEnd() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) ObservationPeriodStart() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjective() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjectiveId() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) ServiceLevelObjectiveUsageMetrics() SloUsageMetricResponseArrayOutput
- func (o ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput
- func (o ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseOutput
- func (o ServiceTierAdvisorResponseOutput) Type() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjective() pulumi.StringOutput
- func (o ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput
- type SloUsageMetricResponse
- type SloUsageMetricResponseArgs
- type SloUsageMetricResponseArray
- func (SloUsageMetricResponseArray) ElementType() reflect.Type
- func (i SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput
- func (i SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutputWithContext(ctx context.Context) SloUsageMetricResponseArrayOutput
- type SloUsageMetricResponseArrayInput
- type SloUsageMetricResponseArrayOutput
- func (SloUsageMetricResponseArrayOutput) ElementType() reflect.Type
- func (o SloUsageMetricResponseArrayOutput) Index(i pulumi.IntInput) SloUsageMetricResponseOutput
- func (o SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput
- func (o SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutputWithContext(ctx context.Context) SloUsageMetricResponseArrayOutput
- type SloUsageMetricResponseInput
- type SloUsageMetricResponseOutput
- func (SloUsageMetricResponseOutput) ElementType() reflect.Type
- func (o SloUsageMetricResponseOutput) InRangeTimeRatio() pulumi.Float64Output
- func (o SloUsageMetricResponseOutput) ServiceLevelObjective() pulumi.StringOutput
- func (o SloUsageMetricResponseOutput) ServiceLevelObjectiveId() pulumi.StringOutput
- func (o SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutput() SloUsageMetricResponseOutput
- func (o SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutputWithContext(ctx context.Context) SloUsageMetricResponseOutput
- type TransparentDataEncryptionResponse
- type TransparentDataEncryptionResponseArgs
- func (TransparentDataEncryptionResponseArgs) ElementType() reflect.Type
- func (i TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput
- func (i TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseOutput
- type TransparentDataEncryptionResponseArray
- func (TransparentDataEncryptionResponseArray) ElementType() reflect.Type
- func (i TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput
- func (i TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseArrayOutput
- type TransparentDataEncryptionResponseArrayInput
- type TransparentDataEncryptionResponseArrayOutput
- func (TransparentDataEncryptionResponseArrayOutput) ElementType() reflect.Type
- func (o TransparentDataEncryptionResponseArrayOutput) Index(i pulumi.IntInput) TransparentDataEncryptionResponseOutput
- func (o TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput
- func (o TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseArrayOutput
- type TransparentDataEncryptionResponseInput
- type TransparentDataEncryptionResponseOutput
- func (TransparentDataEncryptionResponseOutput) ElementType() reflect.Type
- func (o TransparentDataEncryptionResponseOutput) Id() pulumi.StringOutput
- func (o TransparentDataEncryptionResponseOutput) Location() pulumi.StringOutput
- func (o TransparentDataEncryptionResponseOutput) Name() pulumi.StringOutput
- func (o TransparentDataEncryptionResponseOutput) Status() pulumi.StringPtrOutput
- func (o TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput
- func (o TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseOutput
- func (o TransparentDataEncryptionResponseOutput) Type() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { pulumi.CustomResourceState // The collation of the database. If createMode is not Default, this value is ignored. Collation pulumi.StringPtrOutput `pulumi:"collation"` // The containment state of the database. ContainmentState pulumi.IntOutput `pulumi:"containmentState"` // Specifies the mode of database creation. // // Default: regular database creation. // // Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. // // OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. // // PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. // // Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. // // Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. // // RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. // // Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. CreateMode pulumi.StringPtrOutput `pulumi:"createMode"` // The creation date of the database (ISO8601 format). CreationDate pulumi.StringOutput `pulumi:"creationDate"` // The current service level objective ID of the database. This is the ID of the service level objective that is currently active. CurrentServiceObjectiveId pulumi.StringOutput `pulumi:"currentServiceObjectiveId"` // The ID of the database. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` // The default secondary region for this database. DefaultSecondaryLocation pulumi.StringOutput `pulumi:"defaultSecondaryLocation"` // This records the earliest start date and time that restore is available for this database (ISO8601 format). EarliestRestoreDate pulumi.StringOutput `pulumi:"earliestRestoreDate"` // The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Edition pulumi.StringPtrOutput `pulumi:"edition"` // The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition. ElasticPoolName pulumi.StringPtrOutput `pulumi:"elasticPoolName"` // The resource identifier of the failover group containing this database. FailoverGroupId pulumi.StringOutput `pulumi:"failoverGroupId"` // Kind of database. This is metadata used for the Azure portal experience. Kind pulumi.StringOutput `pulumi:"kind"` // Resource location. Location pulumi.StringOutput `pulumi:"location"` // The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." MaxSizeBytes pulumi.StringPtrOutput `pulumi:"maxSizeBytes"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition. ReadScale pulumi.StringPtrOutput `pulumi:"readScale"` // The recommended indices for this database. RecommendedIndex RecommendedIndexResponseArrayOutput `pulumi:"recommendedIndex"` // Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from. RecoveryServicesRecoveryPointResourceId pulumi.StringPtrOutput `pulumi:"recoveryServicesRecoveryPointResourceId"` // The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName. // // The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API. RequestedServiceObjectiveId pulumi.StringPtrOutput `pulumi:"requestedServiceObjectiveId"` // The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: RequestedServiceObjectiveName pulumi.StringPtrOutput `pulumi:"requestedServiceObjectiveName"` // Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value. RestorePointInTime pulumi.StringPtrOutput `pulumi:"restorePointInTime"` // Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition. SampleName pulumi.StringPtrOutput `pulumi:"sampleName"` // The current service level objective of the database. ServiceLevelObjective pulumi.StringOutput `pulumi:"serviceLevelObjective"` // The list of service tier advisors for this database. Expanded property ServiceTierAdvisors ServiceTierAdvisorResponseArrayOutput `pulumi:"serviceTierAdvisors"` // Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted. SourceDatabaseDeletionDate pulumi.StringPtrOutput `pulumi:"sourceDatabaseDeletionDate"` // Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created. SourceDatabaseId pulumi.StringPtrOutput `pulumi:"sourceDatabaseId"` // The status of the database. Status pulumi.StringOutput `pulumi:"status"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // The transparent data encryption info for this database. TransparentDataEncryption TransparentDataEncryptionResponseArrayOutput `pulumi:"transparentDataEncryption"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` // Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrOutput `pulumi:"zoneRedundant"` }
Represents a database.
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)
GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatabase ¶
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
type DatabaseArgs ¶
type DatabaseArgs struct { // The collation of the database. If createMode is not Default, this value is ignored. Collation pulumi.StringPtrInput // Specifies the mode of database creation. // // Default: regular database creation. // // Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. // // OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. // // PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. // // Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. // // Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. // // RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. // // Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. CreateMode pulumi.StringPtrInput // The name of the database to be operated on (updated or created). DatabaseName pulumi.StringInput // The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Edition pulumi.StringPtrInput // The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition. ElasticPoolName pulumi.StringPtrInput // Resource location. Location pulumi.StringInput // The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." MaxSizeBytes pulumi.StringPtrInput // Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition. ReadScale pulumi.StringPtrInput // Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from. RecoveryServicesRecoveryPointResourceId pulumi.StringPtrInput // The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName. // // The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API. RequestedServiceObjectiveId pulumi.StringPtrInput // The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: RequestedServiceObjectiveName pulumi.StringPtrInput // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput // Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value. RestorePointInTime pulumi.StringPtrInput // Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition. SampleName pulumi.StringPtrInput // The name of the server. ServerName pulumi.StringInput // Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted. SourceDatabaseDeletionDate pulumi.StringPtrInput // Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created. SourceDatabaseId pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput // Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseState ¶
type DatabaseState struct { // The collation of the database. If createMode is not Default, this value is ignored. Collation pulumi.StringPtrInput // The containment state of the database. ContainmentState pulumi.IntPtrInput // Specifies the mode of database creation. // // Default: regular database creation. // // Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. // // OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. // // PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. // // Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. // // Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. // // RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. // // Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. CreateMode pulumi.StringPtrInput // The creation date of the database (ISO8601 format). CreationDate pulumi.StringPtrInput // The current service level objective ID of the database. This is the ID of the service level objective that is currently active. CurrentServiceObjectiveId pulumi.StringPtrInput // The ID of the database. DatabaseId pulumi.StringPtrInput // The default secondary region for this database. DefaultSecondaryLocation pulumi.StringPtrInput // This records the earliest start date and time that restore is available for this database (ISO8601 format). EarliestRestoreDate pulumi.StringPtrInput // The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Edition pulumi.StringPtrInput // The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition. ElasticPoolName pulumi.StringPtrInput // The resource identifier of the failover group containing this database. FailoverGroupId pulumi.StringPtrInput // Kind of database. This is metadata used for the Azure portal experience. Kind pulumi.StringPtrInput // Resource location. Location pulumi.StringPtrInput // The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." MaxSizeBytes pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition. ReadScale pulumi.StringPtrInput // The recommended indices for this database. RecommendedIndex RecommendedIndexResponseArrayInput // Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from. RecoveryServicesRecoveryPointResourceId pulumi.StringPtrInput // The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName. // // The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API. RequestedServiceObjectiveId pulumi.StringPtrInput // The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: RequestedServiceObjectiveName pulumi.StringPtrInput // Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value. RestorePointInTime pulumi.StringPtrInput // Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition. SampleName pulumi.StringPtrInput // The current service level objective of the database. ServiceLevelObjective pulumi.StringPtrInput // The list of service tier advisors for this database. Expanded property ServiceTierAdvisors ServiceTierAdvisorResponseArrayInput // Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted. SourceDatabaseDeletionDate pulumi.StringPtrInput // Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created. SourceDatabaseId pulumi.StringPtrInput // The status of the database. Status pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput // The transparent data encryption info for this database. TransparentDataEncryption TransparentDataEncryptionResponseArrayInput // Resource type. Type pulumi.StringPtrInput // Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrInput }
func (DatabaseState) ElementType ¶
func (DatabaseState) ElementType() reflect.Type
type DisasterRecoveryConfiguration ¶
type DisasterRecoveryConfiguration struct { pulumi.CustomResourceState // Whether or not failover can be done automatically. AutoFailover pulumi.StringOutput `pulumi:"autoFailover"` // How aggressive the automatic failover should be. FailoverPolicy pulumi.StringOutput `pulumi:"failoverPolicy"` // Location of the server that contains this disaster recovery configuration. Location pulumi.StringOutput `pulumi:"location"` // Logical name of the server. LogicalServerName pulumi.StringOutput `pulumi:"logicalServerName"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // Logical name of the partner server. PartnerLogicalServerName pulumi.StringOutput `pulumi:"partnerLogicalServerName"` // Id of the partner server. PartnerServerId pulumi.StringOutput `pulumi:"partnerServerId"` // The role of the current server in the disaster recovery configuration. Role pulumi.StringOutput `pulumi:"role"` // The status of the disaster recovery configuration. Status pulumi.StringOutput `pulumi:"status"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` }
Represents a disaster recovery configuration.
func GetDisasterRecoveryConfiguration ¶
func GetDisasterRecoveryConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DisasterRecoveryConfigurationState, opts ...pulumi.ResourceOption) (*DisasterRecoveryConfiguration, error)
GetDisasterRecoveryConfiguration gets an existing DisasterRecoveryConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDisasterRecoveryConfiguration ¶
func NewDisasterRecoveryConfiguration(ctx *pulumi.Context, name string, args *DisasterRecoveryConfigurationArgs, opts ...pulumi.ResourceOption) (*DisasterRecoveryConfiguration, error)
NewDisasterRecoveryConfiguration registers a new resource with the given unique name, arguments, and options.
type DisasterRecoveryConfigurationArgs ¶
type DisasterRecoveryConfigurationArgs struct { // The name of the disaster recovery configuration to be created/updated. DisasterRecoveryConfigurationName pulumi.StringInput // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput // The name of the server. ServerName pulumi.StringInput }
The set of arguments for constructing a DisasterRecoveryConfiguration resource.
func (DisasterRecoveryConfigurationArgs) ElementType ¶
func (DisasterRecoveryConfigurationArgs) ElementType() reflect.Type
type DisasterRecoveryConfigurationState ¶
type DisasterRecoveryConfigurationState struct { // Whether or not failover can be done automatically. AutoFailover pulumi.StringPtrInput // How aggressive the automatic failover should be. FailoverPolicy pulumi.StringPtrInput // Location of the server that contains this disaster recovery configuration. Location pulumi.StringPtrInput // Logical name of the server. LogicalServerName pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // Logical name of the partner server. PartnerLogicalServerName pulumi.StringPtrInput // Id of the partner server. PartnerServerId pulumi.StringPtrInput // The role of the current server in the disaster recovery configuration. Role pulumi.StringPtrInput // The status of the disaster recovery configuration. Status pulumi.StringPtrInput // Resource type. Type pulumi.StringPtrInput }
func (DisasterRecoveryConfigurationState) ElementType ¶
func (DisasterRecoveryConfigurationState) ElementType() reflect.Type
type ElasticPool ¶
type ElasticPool struct { pulumi.CustomResourceState // The creation date of the elastic pool (ISO8601 format). CreationDate pulumi.StringOutput `pulumi:"creationDate"` // The maximum DTU any one database can consume. DatabaseDtuMax pulumi.IntPtrOutput `pulumi:"databaseDtuMax"` // The minimum DTU all databases are guaranteed. DatabaseDtuMin pulumi.IntPtrOutput `pulumi:"databaseDtuMin"` // The total shared DTU for the database elastic pool. Dtu pulumi.IntPtrOutput `pulumi:"dtu"` // The edition of the elastic pool. Edition pulumi.StringPtrOutput `pulumi:"edition"` // Kind of elastic pool. This is metadata used for the Azure portal experience. Kind pulumi.StringOutput `pulumi:"kind"` // Resource location. Location pulumi.StringOutput `pulumi:"location"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The state of the elastic pool. State pulumi.StringOutput `pulumi:"state"` // Gets storage limit for the database elastic pool in MB. StorageMB pulumi.IntPtrOutput `pulumi:"storageMB"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` // Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrOutput `pulumi:"zoneRedundant"` }
Represents a database elastic pool.
func GetElasticPool ¶
func GetElasticPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ElasticPoolState, opts ...pulumi.ResourceOption) (*ElasticPool, error)
GetElasticPool gets an existing ElasticPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewElasticPool ¶
func NewElasticPool(ctx *pulumi.Context, name string, args *ElasticPoolArgs, opts ...pulumi.ResourceOption) (*ElasticPool, error)
NewElasticPool registers a new resource with the given unique name, arguments, and options.
type ElasticPoolArgs ¶
type ElasticPoolArgs struct { // The maximum DTU any one database can consume. DatabaseDtuMax pulumi.IntPtrInput // The minimum DTU all databases are guaranteed. DatabaseDtuMin pulumi.IntPtrInput // The total shared DTU for the database elastic pool. Dtu pulumi.IntPtrInput // The edition of the elastic pool. Edition pulumi.StringPtrInput // The name of the elastic pool to be operated on (updated or created). ElasticPoolName pulumi.StringInput // Resource location. Location pulumi.StringInput // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput // The name of the server. ServerName pulumi.StringInput // Gets storage limit for the database elastic pool in MB. StorageMB pulumi.IntPtrInput // Resource tags. Tags pulumi.StringMapInput // Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrInput }
The set of arguments for constructing a ElasticPool resource.
func (ElasticPoolArgs) ElementType ¶
func (ElasticPoolArgs) ElementType() reflect.Type
type ElasticPoolState ¶
type ElasticPoolState struct { // The creation date of the elastic pool (ISO8601 format). CreationDate pulumi.StringPtrInput // The maximum DTU any one database can consume. DatabaseDtuMax pulumi.IntPtrInput // The minimum DTU all databases are guaranteed. DatabaseDtuMin pulumi.IntPtrInput // The total shared DTU for the database elastic pool. Dtu pulumi.IntPtrInput // The edition of the elastic pool. Edition pulumi.StringPtrInput // Kind of elastic pool. This is metadata used for the Azure portal experience. Kind pulumi.StringPtrInput // Resource location. Location pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // The state of the elastic pool. State pulumi.StringPtrInput // Gets storage limit for the database elastic pool in MB. StorageMB pulumi.IntPtrInput // Resource tags. Tags pulumi.StringMapInput // Resource type. Type pulumi.StringPtrInput // Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant pulumi.BoolPtrInput }
func (ElasticPoolState) ElementType ¶
func (ElasticPoolState) ElementType() reflect.Type
type FirewallRule ¶
type FirewallRule struct { pulumi.CustomResourceState // The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses. EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"` // Kind of server that contains this firewall rule. Kind pulumi.StringOutput `pulumi:"kind"` // Location of the server that contains this firewall rule. Location pulumi.StringOutput `pulumi:"location"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` }
Represents a server firewall rule.
func GetFirewallRule ¶
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)
GetFirewallRule gets an existing FirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFirewallRule ¶
func NewFirewallRule(ctx *pulumi.Context, name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
type FirewallRuleArgs ¶
type FirewallRuleArgs struct { // The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses. EndIpAddress pulumi.StringInput // The name of the firewall rule. FirewallRuleName pulumi.StringInput // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput // The name of the server. ServerName pulumi.StringInput // The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. StartIpAddress pulumi.StringInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleState ¶
type FirewallRuleState struct { // The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses. EndIpAddress pulumi.StringPtrInput // Kind of server that contains this firewall rule. Kind pulumi.StringPtrInput // Location of the server that contains this firewall rule. Location pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. StartIpAddress pulumi.StringPtrInput // Resource type. Type pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶
func (FirewallRuleState) ElementType() reflect.Type
type LookupDatabaseArgs ¶
type LookupDatabaseArgs struct { // The name of the database to be retrieved. DatabaseName string `pulumi:"databaseName"` // A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption. Expand *string `pulumi:"expand"` // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the server. ServerName string `pulumi:"serverName"` }
type LookupDatabaseResult ¶
type LookupDatabaseResult struct { // The collation of the database. If createMode is not Default, this value is ignored. Collation *string `pulumi:"collation"` // The containment state of the database. ContainmentState int `pulumi:"containmentState"` // Specifies the mode of database creation. // // Default: regular database creation. // // Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. // // OnlineSecondary/NonReadableSecondary: creates a database as a (readable or nonreadable) secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. // // PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. // // Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. // // Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. // // RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. // // Copy, NonReadableSecondary, OnlineSecondary and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. CreateMode *string `pulumi:"createMode"` // The creation date of the database (ISO8601 format). CreationDate string `pulumi:"creationDate"` // The current service level objective ID of the database. This is the ID of the service level objective that is currently active. CurrentServiceObjectiveId string `pulumi:"currentServiceObjectiveId"` // The ID of the database. DatabaseId string `pulumi:"databaseId"` // The default secondary region for this database. DefaultSecondaryLocation string `pulumi:"defaultSecondaryLocation"` // This records the earliest start date and time that restore is available for this database (ISO8601 format). EarliestRestoreDate string `pulumi:"earliestRestoreDate"` // The edition of the database. The DatabaseEditions enumeration contains all the valid editions. If createMode is NonReadableSecondary or OnlineSecondary, this value is ignored. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: Edition *string `pulumi:"edition"` // The name of the elastic pool the database is in. If elasticPoolName and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveName is ignored. Not supported for DataWarehouse edition. ElasticPoolName *string `pulumi:"elasticPoolName"` // The resource identifier of the failover group containing this database. FailoverGroupId string `pulumi:"failoverGroupId"` // Kind of database. This is metadata used for the Azure portal experience. Kind string `pulumi:"kind"` // Resource location. Location string `pulumi:"location"` // The max size of the database expressed in bytes. If createMode is not Default, this value is ignored. To see possible values, query the capabilities API (/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationID}/capabilities) referred to by operationId: "Capabilities_ListByLocation." MaxSizeBytes *string `pulumi:"maxSizeBytes"` // Resource name. Name string `pulumi:"name"` // Conditional. If the database is a geo-secondary, readScale indicates whether read-only connections are allowed to this database or not. Not supported for DataWarehouse edition. ReadScale *string `pulumi:"readScale"` // The recommended indices for this database. RecommendedIndex []RecommendedIndexResponse `pulumi:"recommendedIndex"` // Conditional. If createMode is RestoreLongTermRetentionBackup, then this value is required. Specifies the resource ID of the recovery point to restore from. RecoveryServicesRecoveryPointResourceId *string `pulumi:"recoveryServicesRecoveryPointResourceId"` // The configured service level objective ID of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of currentServiceObjectiveId property. If requestedServiceObjectiveId and requestedServiceObjectiveName are both updated, the value of requestedServiceObjectiveId overrides the value of requestedServiceObjectiveName. // // The list of SKUs may vary by region and support offer. To determine the service objective ids that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API. RequestedServiceObjectiveId *string `pulumi:"requestedServiceObjectiveId"` // The name of the configured service level objective of the database. This is the service level objective that is in the process of being applied to the database. Once successfully updated, it will match the value of serviceLevelObjective property. // // The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: RequestedServiceObjectiveName *string `pulumi:"requestedServiceObjectiveName"` // Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value. RestorePointInTime *string `pulumi:"restorePointInTime"` // Indicates the name of the sample schema to apply when creating this database. If createMode is not Default, this value is ignored. Not supported for DataWarehouse edition. SampleName *string `pulumi:"sampleName"` // The current service level objective of the database. ServiceLevelObjective string `pulumi:"serviceLevelObjective"` // The list of service tier advisors for this database. Expanded property ServiceTierAdvisors []ServiceTierAdvisorResponse `pulumi:"serviceTierAdvisors"` // Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted. SourceDatabaseDeletionDate *string `pulumi:"sourceDatabaseDeletionDate"` // Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created. SourceDatabaseId *string `pulumi:"sourceDatabaseId"` // The status of the database. Status string `pulumi:"status"` // Resource tags. Tags map[string]string `pulumi:"tags"` // The transparent data encryption info for this database. TransparentDataEncryption []TransparentDataEncryptionResponse `pulumi:"transparentDataEncryption"` // Resource type. Type string `pulumi:"type"` // Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant *bool `pulumi:"zoneRedundant"` }
Represents a database.
func LookupDatabase ¶
func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)
type LookupDisasterRecoveryConfigurationArgs ¶
type LookupDisasterRecoveryConfigurationArgs struct { // The name of the disaster recovery configuration. DisasterRecoveryConfigurationName string `pulumi:"disasterRecoveryConfigurationName"` // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the server. ServerName string `pulumi:"serverName"` }
type LookupDisasterRecoveryConfigurationResult ¶
type LookupDisasterRecoveryConfigurationResult struct { // Whether or not failover can be done automatically. AutoFailover string `pulumi:"autoFailover"` // How aggressive the automatic failover should be. FailoverPolicy string `pulumi:"failoverPolicy"` // Location of the server that contains this disaster recovery configuration. Location string `pulumi:"location"` // Logical name of the server. LogicalServerName string `pulumi:"logicalServerName"` // Resource name. Name string `pulumi:"name"` // Logical name of the partner server. PartnerLogicalServerName string `pulumi:"partnerLogicalServerName"` // Id of the partner server. PartnerServerId string `pulumi:"partnerServerId"` // The role of the current server in the disaster recovery configuration. Role string `pulumi:"role"` // The status of the disaster recovery configuration. Status string `pulumi:"status"` // Resource type. Type string `pulumi:"type"` }
Represents a disaster recovery configuration.
func LookupDisasterRecoveryConfiguration ¶
func LookupDisasterRecoveryConfiguration(ctx *pulumi.Context, args *LookupDisasterRecoveryConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupDisasterRecoveryConfigurationResult, error)
type LookupElasticPoolArgs ¶
type LookupElasticPoolArgs struct { // The name of the elastic pool to be retrieved. ElasticPoolName string `pulumi:"elasticPoolName"` // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the server. ServerName string `pulumi:"serverName"` }
type LookupElasticPoolResult ¶
type LookupElasticPoolResult struct { // The creation date of the elastic pool (ISO8601 format). CreationDate string `pulumi:"creationDate"` // The maximum DTU any one database can consume. DatabaseDtuMax *int `pulumi:"databaseDtuMax"` // The minimum DTU all databases are guaranteed. DatabaseDtuMin *int `pulumi:"databaseDtuMin"` // The total shared DTU for the database elastic pool. Dtu *int `pulumi:"dtu"` // The edition of the elastic pool. Edition *string `pulumi:"edition"` // Kind of elastic pool. This is metadata used for the Azure portal experience. Kind string `pulumi:"kind"` // Resource location. Location string `pulumi:"location"` // Resource name. Name string `pulumi:"name"` // The state of the elastic pool. State string `pulumi:"state"` // Gets storage limit for the database elastic pool in MB. StorageMB *int `pulumi:"storageMB"` // Resource tags. Tags map[string]string `pulumi:"tags"` // Resource type. Type string `pulumi:"type"` // Whether or not this database elastic pool is zone redundant, which means the replicas of this database will be spread across multiple availability zones. ZoneRedundant *bool `pulumi:"zoneRedundant"` }
Represents a database elastic pool.
func LookupElasticPool ¶
func LookupElasticPool(ctx *pulumi.Context, args *LookupElasticPoolArgs, opts ...pulumi.InvokeOption) (*LookupElasticPoolResult, error)
type LookupFirewallRuleArgs ¶
type LookupFirewallRuleArgs struct { // The name of the firewall rule. FirewallRuleName string `pulumi:"firewallRuleName"` // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the server. ServerName string `pulumi:"serverName"` }
type LookupFirewallRuleResult ¶
type LookupFirewallRuleResult struct { // The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' to represent all Azure-internal IP addresses. EndIpAddress string `pulumi:"endIpAddress"` // Kind of server that contains this firewall rule. Kind string `pulumi:"kind"` // Location of the server that contains this firewall rule. Location string `pulumi:"location"` // Resource name. Name string `pulumi:"name"` // The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. StartIpAddress string `pulumi:"startIpAddress"` // Resource type. Type string `pulumi:"type"` }
Represents a server firewall rule.
func LookupFirewallRule ¶
func LookupFirewallRule(ctx *pulumi.Context, args *LookupFirewallRuleArgs, opts ...pulumi.InvokeOption) (*LookupFirewallRuleResult, error)
type LookupServerArgs ¶
type LookupServerAzureADAdministratorArgs ¶
type LookupServerAzureADAdministratorArgs struct { // Name of the server administrator resource. AdministratorName string `pulumi:"administratorName"` // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the server. ServerName string `pulumi:"serverName"` }
type LookupServerAzureADAdministratorResult ¶
type LookupServerAzureADAdministratorResult struct { // The type of administrator. AdministratorType string `pulumi:"administratorType"` // The server administrator login value. Login string `pulumi:"login"` // Resource name. Name string `pulumi:"name"` // The server administrator Sid (Secure ID). Sid string `pulumi:"sid"` // The server Active Directory Administrator tenant id. TenantId string `pulumi:"tenantId"` // Resource type. Type string `pulumi:"type"` }
An server Active Directory Administrator.
func LookupServerAzureADAdministrator ¶
func LookupServerAzureADAdministrator(ctx *pulumi.Context, args *LookupServerAzureADAdministratorArgs, opts ...pulumi.InvokeOption) (*LookupServerAzureADAdministratorResult, error)
type LookupServerCommunicationLinkArgs ¶
type LookupServerCommunicationLinkArgs struct { // The name of the server communication link. CommunicationLinkName string `pulumi:"communicationLinkName"` // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the server. ServerName string `pulumi:"serverName"` }
type LookupServerCommunicationLinkResult ¶
type LookupServerCommunicationLinkResult struct { // Communication link kind. This property is used for Azure Portal metadata. Kind string `pulumi:"kind"` // Communication link location. Location string `pulumi:"location"` // Resource name. Name string `pulumi:"name"` // The name of the partner server. PartnerServer string `pulumi:"partnerServer"` // The state. State string `pulumi:"state"` // Resource type. Type string `pulumi:"type"` }
Server communication link.
func LookupServerCommunicationLink ¶
func LookupServerCommunicationLink(ctx *pulumi.Context, args *LookupServerCommunicationLinkArgs, opts ...pulumi.InvokeOption) (*LookupServerCommunicationLinkResult, error)
type LookupServerResult ¶
type LookupServerResult struct { // Administrator username for the server. Can only be specified when the server is being created (and is required for creation). AdministratorLogin *string `pulumi:"administratorLogin"` // The administrator login password (required for server creation). AdministratorLoginPassword *string `pulumi:"administratorLoginPassword"` // The display name of the Azure Active Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators ExternalAdministratorLogin string `pulumi:"externalAdministratorLogin"` // The ID of the Active Azure Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators. ExternalAdministratorSid string `pulumi:"externalAdministratorSid"` // The fully qualified domain name of the server. FullyQualifiedDomainName string `pulumi:"fullyQualifiedDomainName"` // Kind of sql server. This is metadata used for the Azure portal experience. Kind string `pulumi:"kind"` // Resource location. Location string `pulumi:"location"` // Resource name. Name string `pulumi:"name"` // The state of the server. State string `pulumi:"state"` // Resource tags. Tags map[string]string `pulumi:"tags"` // Resource type. Type string `pulumi:"type"` // The version of the server. Version *string `pulumi:"version"` }
Represents a server.
func LookupServer ¶
func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error)
type OperationImpactResponse ¶
type OperationImpactResponse struct { // The absolute impact to dimension. ChangeValueAbsolute float64 `pulumi:"changeValueAbsolute"` // The relative impact to dimension (null if not applicable) ChangeValueRelative float64 `pulumi:"changeValueRelative"` // The name of the impact dimension. Name string `pulumi:"name"` // The unit in which estimated impact to dimension is measured. Unit string `pulumi:"unit"` }
The impact of an operation, both in absolute and relative terms.
type OperationImpactResponseArgs ¶
type OperationImpactResponseArgs struct { // The absolute impact to dimension. ChangeValueAbsolute pulumi.Float64Input `pulumi:"changeValueAbsolute"` // The relative impact to dimension (null if not applicable) ChangeValueRelative pulumi.Float64Input `pulumi:"changeValueRelative"` // The name of the impact dimension. Name pulumi.StringInput `pulumi:"name"` // The unit in which estimated impact to dimension is measured. Unit pulumi.StringInput `pulumi:"unit"` }
The impact of an operation, both in absolute and relative terms.
func (OperationImpactResponseArgs) ElementType ¶
func (OperationImpactResponseArgs) ElementType() reflect.Type
func (OperationImpactResponseArgs) ToOperationImpactResponseOutput ¶
func (i OperationImpactResponseArgs) ToOperationImpactResponseOutput() OperationImpactResponseOutput
func (OperationImpactResponseArgs) ToOperationImpactResponseOutputWithContext ¶
func (i OperationImpactResponseArgs) ToOperationImpactResponseOutputWithContext(ctx context.Context) OperationImpactResponseOutput
type OperationImpactResponseArray ¶
type OperationImpactResponseArray []OperationImpactResponseInput
func (OperationImpactResponseArray) ElementType ¶
func (OperationImpactResponseArray) ElementType() reflect.Type
func (OperationImpactResponseArray) ToOperationImpactResponseArrayOutput ¶
func (i OperationImpactResponseArray) ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput
func (OperationImpactResponseArray) ToOperationImpactResponseArrayOutputWithContext ¶
func (i OperationImpactResponseArray) ToOperationImpactResponseArrayOutputWithContext(ctx context.Context) OperationImpactResponseArrayOutput
type OperationImpactResponseArrayInput ¶
type OperationImpactResponseArrayInput interface { pulumi.Input ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput ToOperationImpactResponseArrayOutputWithContext(context.Context) OperationImpactResponseArrayOutput }
OperationImpactResponseArrayInput is an input type that accepts OperationImpactResponseArray and OperationImpactResponseArrayOutput values. You can construct a concrete instance of `OperationImpactResponseArrayInput` via:
OperationImpactResponseArray{ OperationImpactResponseArgs{...} }
type OperationImpactResponseArrayOutput ¶
type OperationImpactResponseArrayOutput struct{ *pulumi.OutputState }
func (OperationImpactResponseArrayOutput) ElementType ¶
func (OperationImpactResponseArrayOutput) ElementType() reflect.Type
func (OperationImpactResponseArrayOutput) Index ¶
func (o OperationImpactResponseArrayOutput) Index(i pulumi.IntInput) OperationImpactResponseOutput
func (OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutput ¶
func (o OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutput() OperationImpactResponseArrayOutput
func (OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutputWithContext ¶
func (o OperationImpactResponseArrayOutput) ToOperationImpactResponseArrayOutputWithContext(ctx context.Context) OperationImpactResponseArrayOutput
type OperationImpactResponseInput ¶
type OperationImpactResponseInput interface { pulumi.Input ToOperationImpactResponseOutput() OperationImpactResponseOutput ToOperationImpactResponseOutputWithContext(context.Context) OperationImpactResponseOutput }
OperationImpactResponseInput is an input type that accepts OperationImpactResponseArgs and OperationImpactResponseOutput values. You can construct a concrete instance of `OperationImpactResponseInput` via:
OperationImpactResponseArgs{...}
type OperationImpactResponseOutput ¶
type OperationImpactResponseOutput struct{ *pulumi.OutputState }
The impact of an operation, both in absolute and relative terms.
func (OperationImpactResponseOutput) ChangeValueAbsolute ¶
func (o OperationImpactResponseOutput) ChangeValueAbsolute() pulumi.Float64Output
The absolute impact to dimension.
func (OperationImpactResponseOutput) ChangeValueRelative ¶
func (o OperationImpactResponseOutput) ChangeValueRelative() pulumi.Float64Output
The relative impact to dimension (null if not applicable)
func (OperationImpactResponseOutput) ElementType ¶
func (OperationImpactResponseOutput) ElementType() reflect.Type
func (OperationImpactResponseOutput) Name ¶
func (o OperationImpactResponseOutput) Name() pulumi.StringOutput
The name of the impact dimension.
func (OperationImpactResponseOutput) ToOperationImpactResponseOutput ¶
func (o OperationImpactResponseOutput) ToOperationImpactResponseOutput() OperationImpactResponseOutput
func (OperationImpactResponseOutput) ToOperationImpactResponseOutputWithContext ¶
func (o OperationImpactResponseOutput) ToOperationImpactResponseOutputWithContext(ctx context.Context) OperationImpactResponseOutput
func (OperationImpactResponseOutput) Unit ¶
func (o OperationImpactResponseOutput) Unit() pulumi.StringOutput
The unit in which estimated impact to dimension is measured.
type RecommendedIndexResponse ¶
type RecommendedIndexResponse struct { // The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance. Action string `pulumi:"action"` // Columns over which to build index Columns []string `pulumi:"columns"` // The UTC datetime showing when this resource was created (ISO8601 format). Created string `pulumi:"created"` // The estimated impact of doing recommended index action. EstimatedImpact []OperationImpactResponse `pulumi:"estimatedImpact"` // Resource ID. Id string `pulumi:"id"` // The list of column names to be included in the index IncludedColumns []string `pulumi:"includedColumns"` // The full build index script IndexScript string `pulumi:"indexScript"` // The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE) IndexType string `pulumi:"indexType"` // The UTC datetime of when was this resource last changed (ISO8601 format). LastModified string `pulumi:"lastModified"` // Resource name. Name string `pulumi:"name"` // The values reported after index action is complete. ReportedImpact []OperationImpactResponse `pulumi:"reportedImpact"` // The schema where table to build index over resides Schema string `pulumi:"schema"` // The current recommendation state. State string `pulumi:"state"` // The table on which to build index. Table string `pulumi:"table"` // Resource type. Type string `pulumi:"type"` }
Represents a database recommended index.
type RecommendedIndexResponseArgs ¶
type RecommendedIndexResponseArgs struct { // The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance. Action pulumi.StringInput `pulumi:"action"` // Columns over which to build index Columns pulumi.StringArrayInput `pulumi:"columns"` // The UTC datetime showing when this resource was created (ISO8601 format). Created pulumi.StringInput `pulumi:"created"` // The estimated impact of doing recommended index action. EstimatedImpact OperationImpactResponseArrayInput `pulumi:"estimatedImpact"` // Resource ID. Id pulumi.StringInput `pulumi:"id"` // The list of column names to be included in the index IncludedColumns pulumi.StringArrayInput `pulumi:"includedColumns"` // The full build index script IndexScript pulumi.StringInput `pulumi:"indexScript"` // The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE) IndexType pulumi.StringInput `pulumi:"indexType"` // The UTC datetime of when was this resource last changed (ISO8601 format). LastModified pulumi.StringInput `pulumi:"lastModified"` // Resource name. Name pulumi.StringInput `pulumi:"name"` // The values reported after index action is complete. ReportedImpact OperationImpactResponseArrayInput `pulumi:"reportedImpact"` // The schema where table to build index over resides Schema pulumi.StringInput `pulumi:"schema"` // The current recommendation state. State pulumi.StringInput `pulumi:"state"` // The table on which to build index. Table pulumi.StringInput `pulumi:"table"` // Resource type. Type pulumi.StringInput `pulumi:"type"` }
Represents a database recommended index.
func (RecommendedIndexResponseArgs) ElementType ¶
func (RecommendedIndexResponseArgs) ElementType() reflect.Type
func (RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutput ¶
func (i RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput
func (RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutputWithContext ¶
func (i RecommendedIndexResponseArgs) ToRecommendedIndexResponseOutputWithContext(ctx context.Context) RecommendedIndexResponseOutput
type RecommendedIndexResponseArray ¶
type RecommendedIndexResponseArray []RecommendedIndexResponseInput
func (RecommendedIndexResponseArray) ElementType ¶
func (RecommendedIndexResponseArray) ElementType() reflect.Type
func (RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutput ¶
func (i RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput
func (RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutputWithContext ¶
func (i RecommendedIndexResponseArray) ToRecommendedIndexResponseArrayOutputWithContext(ctx context.Context) RecommendedIndexResponseArrayOutput
type RecommendedIndexResponseArrayInput ¶
type RecommendedIndexResponseArrayInput interface { pulumi.Input ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput ToRecommendedIndexResponseArrayOutputWithContext(context.Context) RecommendedIndexResponseArrayOutput }
RecommendedIndexResponseArrayInput is an input type that accepts RecommendedIndexResponseArray and RecommendedIndexResponseArrayOutput values. You can construct a concrete instance of `RecommendedIndexResponseArrayInput` via:
RecommendedIndexResponseArray{ RecommendedIndexResponseArgs{...} }
type RecommendedIndexResponseArrayOutput ¶
type RecommendedIndexResponseArrayOutput struct{ *pulumi.OutputState }
func (RecommendedIndexResponseArrayOutput) ElementType ¶
func (RecommendedIndexResponseArrayOutput) ElementType() reflect.Type
func (RecommendedIndexResponseArrayOutput) Index ¶
func (o RecommendedIndexResponseArrayOutput) Index(i pulumi.IntInput) RecommendedIndexResponseOutput
func (RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutput ¶
func (o RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutput() RecommendedIndexResponseArrayOutput
func (RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutputWithContext ¶
func (o RecommendedIndexResponseArrayOutput) ToRecommendedIndexResponseArrayOutputWithContext(ctx context.Context) RecommendedIndexResponseArrayOutput
type RecommendedIndexResponseInput ¶
type RecommendedIndexResponseInput interface { pulumi.Input ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput ToRecommendedIndexResponseOutputWithContext(context.Context) RecommendedIndexResponseOutput }
RecommendedIndexResponseInput is an input type that accepts RecommendedIndexResponseArgs and RecommendedIndexResponseOutput values. You can construct a concrete instance of `RecommendedIndexResponseInput` via:
RecommendedIndexResponseArgs{...}
type RecommendedIndexResponseOutput ¶
type RecommendedIndexResponseOutput struct{ *pulumi.OutputState }
Represents a database recommended index.
func (RecommendedIndexResponseOutput) Action ¶
func (o RecommendedIndexResponseOutput) Action() pulumi.StringOutput
The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance.
func (RecommendedIndexResponseOutput) Columns ¶
func (o RecommendedIndexResponseOutput) Columns() pulumi.StringArrayOutput
Columns over which to build index
func (RecommendedIndexResponseOutput) Created ¶
func (o RecommendedIndexResponseOutput) Created() pulumi.StringOutput
The UTC datetime showing when this resource was created (ISO8601 format).
func (RecommendedIndexResponseOutput) ElementType ¶
func (RecommendedIndexResponseOutput) ElementType() reflect.Type
func (RecommendedIndexResponseOutput) EstimatedImpact ¶
func (o RecommendedIndexResponseOutput) EstimatedImpact() OperationImpactResponseArrayOutput
The estimated impact of doing recommended index action.
func (RecommendedIndexResponseOutput) Id ¶
func (o RecommendedIndexResponseOutput) Id() pulumi.StringOutput
Resource ID.
func (RecommendedIndexResponseOutput) IncludedColumns ¶
func (o RecommendedIndexResponseOutput) IncludedColumns() pulumi.StringArrayOutput
The list of column names to be included in the index
func (RecommendedIndexResponseOutput) IndexScript ¶
func (o RecommendedIndexResponseOutput) IndexScript() pulumi.StringOutput
The full build index script
func (RecommendedIndexResponseOutput) IndexType ¶
func (o RecommendedIndexResponseOutput) IndexType() pulumi.StringOutput
The type of index (CLUSTERED, NONCLUSTERED, COLUMNSTORE, CLUSTERED COLUMNSTORE)
func (RecommendedIndexResponseOutput) LastModified ¶
func (o RecommendedIndexResponseOutput) LastModified() pulumi.StringOutput
The UTC datetime of when was this resource last changed (ISO8601 format).
func (RecommendedIndexResponseOutput) Name ¶
func (o RecommendedIndexResponseOutput) Name() pulumi.StringOutput
Resource name.
func (RecommendedIndexResponseOutput) ReportedImpact ¶
func (o RecommendedIndexResponseOutput) ReportedImpact() OperationImpactResponseArrayOutput
The values reported after index action is complete.
func (RecommendedIndexResponseOutput) Schema ¶
func (o RecommendedIndexResponseOutput) Schema() pulumi.StringOutput
The schema where table to build index over resides
func (RecommendedIndexResponseOutput) State ¶
func (o RecommendedIndexResponseOutput) State() pulumi.StringOutput
The current recommendation state.
func (RecommendedIndexResponseOutput) Table ¶
func (o RecommendedIndexResponseOutput) Table() pulumi.StringOutput
The table on which to build index.
func (RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutput ¶
func (o RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutput() RecommendedIndexResponseOutput
func (RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutputWithContext ¶
func (o RecommendedIndexResponseOutput) ToRecommendedIndexResponseOutputWithContext(ctx context.Context) RecommendedIndexResponseOutput
func (RecommendedIndexResponseOutput) Type ¶
func (o RecommendedIndexResponseOutput) Type() pulumi.StringOutput
Resource type.
type Server ¶
type Server struct { pulumi.CustomResourceState // Administrator username for the server. Can only be specified when the server is being created (and is required for creation). AdministratorLogin pulumi.StringPtrOutput `pulumi:"administratorLogin"` // The administrator login password (required for server creation). AdministratorLoginPassword pulumi.StringPtrOutput `pulumi:"administratorLoginPassword"` // The display name of the Azure Active Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators ExternalAdministratorLogin pulumi.StringOutput `pulumi:"externalAdministratorLogin"` // The ID of the Active Azure Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators. ExternalAdministratorSid pulumi.StringOutput `pulumi:"externalAdministratorSid"` // The fully qualified domain name of the server. FullyQualifiedDomainName pulumi.StringOutput `pulumi:"fullyQualifiedDomainName"` // Kind of sql server. This is metadata used for the Azure portal experience. Kind pulumi.StringOutput `pulumi:"kind"` // Resource location. Location pulumi.StringOutput `pulumi:"location"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The state of the server. State pulumi.StringOutput `pulumi:"state"` // Resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` // The version of the server. Version pulumi.StringPtrOutput `pulumi:"version"` }
Represents a server.
func GetServer ¶
func GetServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)
GetServer gets an existing Server resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServer ¶
func NewServer(ctx *pulumi.Context, name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)
NewServer registers a new resource with the given unique name, arguments, and options.
type ServerArgs ¶
type ServerArgs struct { // Administrator username for the server. Can only be specified when the server is being created (and is required for creation). AdministratorLogin pulumi.StringPtrInput // The administrator login password (required for server creation). AdministratorLoginPassword pulumi.StringPtrInput // Resource location. Location pulumi.StringInput // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput // The name of the server. ServerName pulumi.StringInput // Resource tags. Tags pulumi.StringMapInput // The version of the server. Version pulumi.StringPtrInput }
The set of arguments for constructing a Server resource.
func (ServerArgs) ElementType ¶
func (ServerArgs) ElementType() reflect.Type
type ServerAzureADAdministrator ¶
type ServerAzureADAdministrator struct { pulumi.CustomResourceState // The type of administrator. AdministratorType pulumi.StringOutput `pulumi:"administratorType"` // The server administrator login value. Login pulumi.StringOutput `pulumi:"login"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The server administrator Sid (Secure ID). Sid pulumi.StringOutput `pulumi:"sid"` // The server Active Directory Administrator tenant id. TenantId pulumi.StringOutput `pulumi:"tenantId"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` }
An server Active Directory Administrator.
func GetServerAzureADAdministrator ¶
func GetServerAzureADAdministrator(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerAzureADAdministratorState, opts ...pulumi.ResourceOption) (*ServerAzureADAdministrator, error)
GetServerAzureADAdministrator gets an existing ServerAzureADAdministrator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServerAzureADAdministrator ¶
func NewServerAzureADAdministrator(ctx *pulumi.Context, name string, args *ServerAzureADAdministratorArgs, opts ...pulumi.ResourceOption) (*ServerAzureADAdministrator, error)
NewServerAzureADAdministrator registers a new resource with the given unique name, arguments, and options.
type ServerAzureADAdministratorArgs ¶
type ServerAzureADAdministratorArgs struct { // Name of the server administrator resource. AdministratorName pulumi.StringInput // The type of administrator. AdministratorType pulumi.StringInput // The server administrator login value. Login pulumi.StringInput // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput // The name of the server. ServerName pulumi.StringInput // The server administrator Sid (Secure ID). Sid pulumi.StringInput // The server Active Directory Administrator tenant id. TenantId pulumi.StringInput }
The set of arguments for constructing a ServerAzureADAdministrator resource.
func (ServerAzureADAdministratorArgs) ElementType ¶
func (ServerAzureADAdministratorArgs) ElementType() reflect.Type
type ServerAzureADAdministratorState ¶
type ServerAzureADAdministratorState struct { // The type of administrator. AdministratorType pulumi.StringPtrInput // The server administrator login value. Login pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // The server administrator Sid (Secure ID). Sid pulumi.StringPtrInput // The server Active Directory Administrator tenant id. TenantId pulumi.StringPtrInput // Resource type. Type pulumi.StringPtrInput }
func (ServerAzureADAdministratorState) ElementType ¶
func (ServerAzureADAdministratorState) ElementType() reflect.Type
type ServerCommunicationLink ¶
type ServerCommunicationLink struct { pulumi.CustomResourceState // Communication link kind. This property is used for Azure Portal metadata. Kind pulumi.StringOutput `pulumi:"kind"` // Communication link location. Location pulumi.StringOutput `pulumi:"location"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // The name of the partner server. PartnerServer pulumi.StringOutput `pulumi:"partnerServer"` // The state. State pulumi.StringOutput `pulumi:"state"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` }
Server communication link.
func GetServerCommunicationLink ¶
func GetServerCommunicationLink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerCommunicationLinkState, opts ...pulumi.ResourceOption) (*ServerCommunicationLink, error)
GetServerCommunicationLink gets an existing ServerCommunicationLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServerCommunicationLink ¶
func NewServerCommunicationLink(ctx *pulumi.Context, name string, args *ServerCommunicationLinkArgs, opts ...pulumi.ResourceOption) (*ServerCommunicationLink, error)
NewServerCommunicationLink registers a new resource with the given unique name, arguments, and options.
type ServerCommunicationLinkArgs ¶
type ServerCommunicationLinkArgs struct { // The name of the server communication link. CommunicationLinkName pulumi.StringInput // The name of the partner server. PartnerServer pulumi.StringInput // The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. ResourceGroupName pulumi.StringInput // The name of the server. ServerName pulumi.StringInput }
The set of arguments for constructing a ServerCommunicationLink resource.
func (ServerCommunicationLinkArgs) ElementType ¶
func (ServerCommunicationLinkArgs) ElementType() reflect.Type
type ServerCommunicationLinkState ¶
type ServerCommunicationLinkState struct { // Communication link kind. This property is used for Azure Portal metadata. Kind pulumi.StringPtrInput // Communication link location. Location pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // The name of the partner server. PartnerServer pulumi.StringPtrInput // The state. State pulumi.StringPtrInput // Resource type. Type pulumi.StringPtrInput }
func (ServerCommunicationLinkState) ElementType ¶
func (ServerCommunicationLinkState) ElementType() reflect.Type
type ServerState ¶
type ServerState struct { // Administrator username for the server. Can only be specified when the server is being created (and is required for creation). AdministratorLogin pulumi.StringPtrInput // The administrator login password (required for server creation). AdministratorLoginPassword pulumi.StringPtrInput // The display name of the Azure Active Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators ExternalAdministratorLogin pulumi.StringPtrInput // The ID of the Active Azure Directory object with admin permissions on this server. Legacy parameter, always null. To check for Active Directory admin, query .../servers/{serverName}/administrators. ExternalAdministratorSid pulumi.StringPtrInput // The fully qualified domain name of the server. FullyQualifiedDomainName pulumi.StringPtrInput // Kind of sql server. This is metadata used for the Azure portal experience. Kind pulumi.StringPtrInput // Resource location. Location pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // The state of the server. State pulumi.StringPtrInput // Resource tags. Tags pulumi.StringMapInput // Resource type. Type pulumi.StringPtrInput // The version of the server. Version pulumi.StringPtrInput }
func (ServerState) ElementType ¶
func (ServerState) ElementType() reflect.Type
type ServiceTierAdvisorResponse ¶
type ServiceTierAdvisorResponse struct { // The activeTimeRatio for service tier advisor. ActiveTimeRatio float64 `pulumi:"activeTimeRatio"` // Gets or sets avgDtu for service tier advisor. AvgDtu float64 `pulumi:"avgDtu"` // Gets or sets confidence for service tier advisor. Confidence float64 `pulumi:"confidence"` // Gets or sets currentServiceLevelObjective for service tier advisor. CurrentServiceLevelObjective string `pulumi:"currentServiceLevelObjective"` // Gets or sets currentServiceLevelObjectiveId for service tier advisor. CurrentServiceLevelObjectiveId string `pulumi:"currentServiceLevelObjectiveId"` // Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor. DatabaseSizeBasedRecommendationServiceLevelObjective string `pulumi:"databaseSizeBasedRecommendationServiceLevelObjective"` // Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor. DatabaseSizeBasedRecommendationServiceLevelObjectiveId string `pulumi:"databaseSizeBasedRecommendationServiceLevelObjectiveId"` // Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor. DisasterPlanBasedRecommendationServiceLevelObjective string `pulumi:"disasterPlanBasedRecommendationServiceLevelObjective"` // Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor. DisasterPlanBasedRecommendationServiceLevelObjectiveId string `pulumi:"disasterPlanBasedRecommendationServiceLevelObjectiveId"` // Resource ID. Id string `pulumi:"id"` // Gets or sets maxDtu for service tier advisor. MaxDtu float64 `pulumi:"maxDtu"` // Gets or sets maxSizeInGB for service tier advisor. MaxSizeInGB float64 `pulumi:"maxSizeInGB"` // Gets or sets minDtu for service tier advisor. MinDtu float64 `pulumi:"minDtu"` // Resource name. Name string `pulumi:"name"` // The observation period start (ISO8601 format). ObservationPeriodEnd string `pulumi:"observationPeriodEnd"` // The observation period start (ISO8601 format). ObservationPeriodStart string `pulumi:"observationPeriodStart"` // Gets or sets overallRecommendationServiceLevelObjective for service tier advisor. OverallRecommendationServiceLevelObjective string `pulumi:"overallRecommendationServiceLevelObjective"` // Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor. OverallRecommendationServiceLevelObjectiveId string `pulumi:"overallRecommendationServiceLevelObjectiveId"` // Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor. ServiceLevelObjectiveUsageMetrics []SloUsageMetricResponse `pulumi:"serviceLevelObjectiveUsageMetrics"` // Resource type. Type string `pulumi:"type"` // Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor. UsageBasedRecommendationServiceLevelObjective string `pulumi:"usageBasedRecommendationServiceLevelObjective"` // Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor. UsageBasedRecommendationServiceLevelObjectiveId string `pulumi:"usageBasedRecommendationServiceLevelObjectiveId"` }
Represents a Service Tier Advisor.
type ServiceTierAdvisorResponseArgs ¶
type ServiceTierAdvisorResponseArgs struct { // The activeTimeRatio for service tier advisor. ActiveTimeRatio pulumi.Float64Input `pulumi:"activeTimeRatio"` // Gets or sets avgDtu for service tier advisor. AvgDtu pulumi.Float64Input `pulumi:"avgDtu"` // Gets or sets confidence for service tier advisor. Confidence pulumi.Float64Input `pulumi:"confidence"` // Gets or sets currentServiceLevelObjective for service tier advisor. CurrentServiceLevelObjective pulumi.StringInput `pulumi:"currentServiceLevelObjective"` // Gets or sets currentServiceLevelObjectiveId for service tier advisor. CurrentServiceLevelObjectiveId pulumi.StringInput `pulumi:"currentServiceLevelObjectiveId"` // Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor. DatabaseSizeBasedRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"databaseSizeBasedRecommendationServiceLevelObjective"` // Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor. DatabaseSizeBasedRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"databaseSizeBasedRecommendationServiceLevelObjectiveId"` // Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor. DisasterPlanBasedRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"disasterPlanBasedRecommendationServiceLevelObjective"` // Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor. DisasterPlanBasedRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"disasterPlanBasedRecommendationServiceLevelObjectiveId"` // Resource ID. Id pulumi.StringInput `pulumi:"id"` // Gets or sets maxDtu for service tier advisor. MaxDtu pulumi.Float64Input `pulumi:"maxDtu"` // Gets or sets maxSizeInGB for service tier advisor. MaxSizeInGB pulumi.Float64Input `pulumi:"maxSizeInGB"` // Gets or sets minDtu for service tier advisor. MinDtu pulumi.Float64Input `pulumi:"minDtu"` // Resource name. Name pulumi.StringInput `pulumi:"name"` // The observation period start (ISO8601 format). ObservationPeriodEnd pulumi.StringInput `pulumi:"observationPeriodEnd"` // The observation period start (ISO8601 format). ObservationPeriodStart pulumi.StringInput `pulumi:"observationPeriodStart"` // Gets or sets overallRecommendationServiceLevelObjective for service tier advisor. OverallRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"overallRecommendationServiceLevelObjective"` // Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor. OverallRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"overallRecommendationServiceLevelObjectiveId"` // Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor. ServiceLevelObjectiveUsageMetrics SloUsageMetricResponseArrayInput `pulumi:"serviceLevelObjectiveUsageMetrics"` // Resource type. Type pulumi.StringInput `pulumi:"type"` // Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor. UsageBasedRecommendationServiceLevelObjective pulumi.StringInput `pulumi:"usageBasedRecommendationServiceLevelObjective"` // Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor. UsageBasedRecommendationServiceLevelObjectiveId pulumi.StringInput `pulumi:"usageBasedRecommendationServiceLevelObjectiveId"` }
Represents a Service Tier Advisor.
func (ServiceTierAdvisorResponseArgs) ElementType ¶
func (ServiceTierAdvisorResponseArgs) ElementType() reflect.Type
func (ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutput ¶
func (i ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput
func (ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutputWithContext ¶
func (i ServiceTierAdvisorResponseArgs) ToServiceTierAdvisorResponseOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseOutput
type ServiceTierAdvisorResponseArray ¶
type ServiceTierAdvisorResponseArray []ServiceTierAdvisorResponseInput
func (ServiceTierAdvisorResponseArray) ElementType ¶
func (ServiceTierAdvisorResponseArray) ElementType() reflect.Type
func (ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutput ¶
func (i ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput
func (ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutputWithContext ¶
func (i ServiceTierAdvisorResponseArray) ToServiceTierAdvisorResponseArrayOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseArrayOutput
type ServiceTierAdvisorResponseArrayInput ¶
type ServiceTierAdvisorResponseArrayInput interface { pulumi.Input ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput ToServiceTierAdvisorResponseArrayOutputWithContext(context.Context) ServiceTierAdvisorResponseArrayOutput }
ServiceTierAdvisorResponseArrayInput is an input type that accepts ServiceTierAdvisorResponseArray and ServiceTierAdvisorResponseArrayOutput values. You can construct a concrete instance of `ServiceTierAdvisorResponseArrayInput` via:
ServiceTierAdvisorResponseArray{ ServiceTierAdvisorResponseArgs{...} }
type ServiceTierAdvisorResponseArrayOutput ¶
type ServiceTierAdvisorResponseArrayOutput struct{ *pulumi.OutputState }
func (ServiceTierAdvisorResponseArrayOutput) ElementType ¶
func (ServiceTierAdvisorResponseArrayOutput) ElementType() reflect.Type
func (ServiceTierAdvisorResponseArrayOutput) Index ¶
func (o ServiceTierAdvisorResponseArrayOutput) Index(i pulumi.IntInput) ServiceTierAdvisorResponseOutput
func (ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutput ¶
func (o ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutput() ServiceTierAdvisorResponseArrayOutput
func (ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutputWithContext ¶
func (o ServiceTierAdvisorResponseArrayOutput) ToServiceTierAdvisorResponseArrayOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseArrayOutput
type ServiceTierAdvisorResponseInput ¶
type ServiceTierAdvisorResponseInput interface { pulumi.Input ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput ToServiceTierAdvisorResponseOutputWithContext(context.Context) ServiceTierAdvisorResponseOutput }
ServiceTierAdvisorResponseInput is an input type that accepts ServiceTierAdvisorResponseArgs and ServiceTierAdvisorResponseOutput values. You can construct a concrete instance of `ServiceTierAdvisorResponseInput` via:
ServiceTierAdvisorResponseArgs{...}
type ServiceTierAdvisorResponseOutput ¶
type ServiceTierAdvisorResponseOutput struct{ *pulumi.OutputState }
Represents a Service Tier Advisor.
func (ServiceTierAdvisorResponseOutput) ActiveTimeRatio ¶
func (o ServiceTierAdvisorResponseOutput) ActiveTimeRatio() pulumi.Float64Output
The activeTimeRatio for service tier advisor.
func (ServiceTierAdvisorResponseOutput) AvgDtu ¶
func (o ServiceTierAdvisorResponseOutput) AvgDtu() pulumi.Float64Output
Gets or sets avgDtu for service tier advisor.
func (ServiceTierAdvisorResponseOutput) Confidence ¶
func (o ServiceTierAdvisorResponseOutput) Confidence() pulumi.Float64Output
Gets or sets confidence for service tier advisor.
func (ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjective ¶
func (o ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjective() pulumi.StringOutput
Gets or sets currentServiceLevelObjective for service tier advisor.
func (ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjectiveId ¶
func (o ServiceTierAdvisorResponseOutput) CurrentServiceLevelObjectiveId() pulumi.StringOutput
Gets or sets currentServiceLevelObjectiveId for service tier advisor.
func (ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjective ¶
func (o ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjective() pulumi.StringOutput
Gets or sets databaseSizeBasedRecommendationServiceLevelObjective for service tier advisor.
func (ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjectiveId ¶
func (o ServiceTierAdvisorResponseOutput) DatabaseSizeBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput
Gets or sets databaseSizeBasedRecommendationServiceLevelObjectiveId for service tier advisor.
func (ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjective ¶
func (o ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjective() pulumi.StringOutput
Gets or sets disasterPlanBasedRecommendationServiceLevelObjective for service tier advisor.
func (ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjectiveId ¶
func (o ServiceTierAdvisorResponseOutput) DisasterPlanBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput
Gets or sets disasterPlanBasedRecommendationServiceLevelObjectiveId for service tier advisor.
func (ServiceTierAdvisorResponseOutput) ElementType ¶
func (ServiceTierAdvisorResponseOutput) ElementType() reflect.Type
func (ServiceTierAdvisorResponseOutput) Id ¶
func (o ServiceTierAdvisorResponseOutput) Id() pulumi.StringOutput
Resource ID.
func (ServiceTierAdvisorResponseOutput) MaxDtu ¶
func (o ServiceTierAdvisorResponseOutput) MaxDtu() pulumi.Float64Output
Gets or sets maxDtu for service tier advisor.
func (ServiceTierAdvisorResponseOutput) MaxSizeInGB ¶
func (o ServiceTierAdvisorResponseOutput) MaxSizeInGB() pulumi.Float64Output
Gets or sets maxSizeInGB for service tier advisor.
func (ServiceTierAdvisorResponseOutput) MinDtu ¶
func (o ServiceTierAdvisorResponseOutput) MinDtu() pulumi.Float64Output
Gets or sets minDtu for service tier advisor.
func (ServiceTierAdvisorResponseOutput) Name ¶
func (o ServiceTierAdvisorResponseOutput) Name() pulumi.StringOutput
Resource name.
func (ServiceTierAdvisorResponseOutput) ObservationPeriodEnd ¶
func (o ServiceTierAdvisorResponseOutput) ObservationPeriodEnd() pulumi.StringOutput
The observation period start (ISO8601 format).
func (ServiceTierAdvisorResponseOutput) ObservationPeriodStart ¶
func (o ServiceTierAdvisorResponseOutput) ObservationPeriodStart() pulumi.StringOutput
The observation period start (ISO8601 format).
func (ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjective ¶
func (o ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjective() pulumi.StringOutput
Gets or sets overallRecommendationServiceLevelObjective for service tier advisor.
func (ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjectiveId ¶
func (o ServiceTierAdvisorResponseOutput) OverallRecommendationServiceLevelObjectiveId() pulumi.StringOutput
Gets or sets overallRecommendationServiceLevelObjectiveId for service tier advisor.
func (ServiceTierAdvisorResponseOutput) ServiceLevelObjectiveUsageMetrics ¶
func (o ServiceTierAdvisorResponseOutput) ServiceLevelObjectiveUsageMetrics() SloUsageMetricResponseArrayOutput
Gets or sets serviceLevelObjectiveUsageMetrics for the service tier advisor.
func (ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutput ¶
func (o ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutput() ServiceTierAdvisorResponseOutput
func (ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutputWithContext ¶
func (o ServiceTierAdvisorResponseOutput) ToServiceTierAdvisorResponseOutputWithContext(ctx context.Context) ServiceTierAdvisorResponseOutput
func (ServiceTierAdvisorResponseOutput) Type ¶
func (o ServiceTierAdvisorResponseOutput) Type() pulumi.StringOutput
Resource type.
func (ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjective ¶
func (o ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjective() pulumi.StringOutput
Gets or sets usageBasedRecommendationServiceLevelObjective for service tier advisor.
func (ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjectiveId ¶
func (o ServiceTierAdvisorResponseOutput) UsageBasedRecommendationServiceLevelObjectiveId() pulumi.StringOutput
Gets or sets usageBasedRecommendationServiceLevelObjectiveId for service tier advisor.
type SloUsageMetricResponse ¶
type SloUsageMetricResponse struct { // Gets or sets inRangeTimeRatio for SLO usage metric. InRangeTimeRatio float64 `pulumi:"inRangeTimeRatio"` // The serviceLevelObjective for SLO usage metric. ServiceLevelObjective string `pulumi:"serviceLevelObjective"` // The serviceLevelObjectiveId for SLO usage metric. ServiceLevelObjectiveId string `pulumi:"serviceLevelObjectiveId"` }
A Slo Usage Metric.
type SloUsageMetricResponseArgs ¶
type SloUsageMetricResponseArgs struct { // Gets or sets inRangeTimeRatio for SLO usage metric. InRangeTimeRatio pulumi.Float64Input `pulumi:"inRangeTimeRatio"` // The serviceLevelObjective for SLO usage metric. ServiceLevelObjective pulumi.StringInput `pulumi:"serviceLevelObjective"` // The serviceLevelObjectiveId for SLO usage metric. ServiceLevelObjectiveId pulumi.StringInput `pulumi:"serviceLevelObjectiveId"` }
A Slo Usage Metric.
func (SloUsageMetricResponseArgs) ElementType ¶
func (SloUsageMetricResponseArgs) ElementType() reflect.Type
func (SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutput ¶
func (i SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutput() SloUsageMetricResponseOutput
func (SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutputWithContext ¶
func (i SloUsageMetricResponseArgs) ToSloUsageMetricResponseOutputWithContext(ctx context.Context) SloUsageMetricResponseOutput
type SloUsageMetricResponseArray ¶
type SloUsageMetricResponseArray []SloUsageMetricResponseInput
func (SloUsageMetricResponseArray) ElementType ¶
func (SloUsageMetricResponseArray) ElementType() reflect.Type
func (SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutput ¶
func (i SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput
func (SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutputWithContext ¶
func (i SloUsageMetricResponseArray) ToSloUsageMetricResponseArrayOutputWithContext(ctx context.Context) SloUsageMetricResponseArrayOutput
type SloUsageMetricResponseArrayInput ¶
type SloUsageMetricResponseArrayInput interface { pulumi.Input ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput ToSloUsageMetricResponseArrayOutputWithContext(context.Context) SloUsageMetricResponseArrayOutput }
SloUsageMetricResponseArrayInput is an input type that accepts SloUsageMetricResponseArray and SloUsageMetricResponseArrayOutput values. You can construct a concrete instance of `SloUsageMetricResponseArrayInput` via:
SloUsageMetricResponseArray{ SloUsageMetricResponseArgs{...} }
type SloUsageMetricResponseArrayOutput ¶
type SloUsageMetricResponseArrayOutput struct{ *pulumi.OutputState }
func (SloUsageMetricResponseArrayOutput) ElementType ¶
func (SloUsageMetricResponseArrayOutput) ElementType() reflect.Type
func (SloUsageMetricResponseArrayOutput) Index ¶
func (o SloUsageMetricResponseArrayOutput) Index(i pulumi.IntInput) SloUsageMetricResponseOutput
func (SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutput ¶
func (o SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutput() SloUsageMetricResponseArrayOutput
func (SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutputWithContext ¶
func (o SloUsageMetricResponseArrayOutput) ToSloUsageMetricResponseArrayOutputWithContext(ctx context.Context) SloUsageMetricResponseArrayOutput
type SloUsageMetricResponseInput ¶
type SloUsageMetricResponseInput interface { pulumi.Input ToSloUsageMetricResponseOutput() SloUsageMetricResponseOutput ToSloUsageMetricResponseOutputWithContext(context.Context) SloUsageMetricResponseOutput }
SloUsageMetricResponseInput is an input type that accepts SloUsageMetricResponseArgs and SloUsageMetricResponseOutput values. You can construct a concrete instance of `SloUsageMetricResponseInput` via:
SloUsageMetricResponseArgs{...}
type SloUsageMetricResponseOutput ¶
type SloUsageMetricResponseOutput struct{ *pulumi.OutputState }
A Slo Usage Metric.
func (SloUsageMetricResponseOutput) ElementType ¶
func (SloUsageMetricResponseOutput) ElementType() reflect.Type
func (SloUsageMetricResponseOutput) InRangeTimeRatio ¶
func (o SloUsageMetricResponseOutput) InRangeTimeRatio() pulumi.Float64Output
Gets or sets inRangeTimeRatio for SLO usage metric.
func (SloUsageMetricResponseOutput) ServiceLevelObjective ¶
func (o SloUsageMetricResponseOutput) ServiceLevelObjective() pulumi.StringOutput
The serviceLevelObjective for SLO usage metric.
func (SloUsageMetricResponseOutput) ServiceLevelObjectiveId ¶
func (o SloUsageMetricResponseOutput) ServiceLevelObjectiveId() pulumi.StringOutput
The serviceLevelObjectiveId for SLO usage metric.
func (SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutput ¶
func (o SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutput() SloUsageMetricResponseOutput
func (SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutputWithContext ¶
func (o SloUsageMetricResponseOutput) ToSloUsageMetricResponseOutputWithContext(ctx context.Context) SloUsageMetricResponseOutput
type TransparentDataEncryptionResponse ¶
type TransparentDataEncryptionResponse struct { // Resource ID. Id string `pulumi:"id"` // Resource location. Location string `pulumi:"location"` // Resource name. Name string `pulumi:"name"` // The status of the database transparent data encryption. Status *string `pulumi:"status"` // Resource type. Type string `pulumi:"type"` }
Represents a database transparent data encryption configuration.
type TransparentDataEncryptionResponseArgs ¶
type TransparentDataEncryptionResponseArgs struct { // Resource ID. Id pulumi.StringInput `pulumi:"id"` // Resource location. Location pulumi.StringInput `pulumi:"location"` // Resource name. Name pulumi.StringInput `pulumi:"name"` // The status of the database transparent data encryption. Status pulumi.StringPtrInput `pulumi:"status"` // Resource type. Type pulumi.StringInput `pulumi:"type"` }
Represents a database transparent data encryption configuration.
func (TransparentDataEncryptionResponseArgs) ElementType ¶
func (TransparentDataEncryptionResponseArgs) ElementType() reflect.Type
func (TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutput ¶
func (i TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput
func (TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutputWithContext ¶
func (i TransparentDataEncryptionResponseArgs) ToTransparentDataEncryptionResponseOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseOutput
type TransparentDataEncryptionResponseArray ¶
type TransparentDataEncryptionResponseArray []TransparentDataEncryptionResponseInput
func (TransparentDataEncryptionResponseArray) ElementType ¶
func (TransparentDataEncryptionResponseArray) ElementType() reflect.Type
func (TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutput ¶
func (i TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput
func (TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutputWithContext ¶
func (i TransparentDataEncryptionResponseArray) ToTransparentDataEncryptionResponseArrayOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseArrayOutput
type TransparentDataEncryptionResponseArrayInput ¶
type TransparentDataEncryptionResponseArrayInput interface { pulumi.Input ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput ToTransparentDataEncryptionResponseArrayOutputWithContext(context.Context) TransparentDataEncryptionResponseArrayOutput }
TransparentDataEncryptionResponseArrayInput is an input type that accepts TransparentDataEncryptionResponseArray and TransparentDataEncryptionResponseArrayOutput values. You can construct a concrete instance of `TransparentDataEncryptionResponseArrayInput` via:
TransparentDataEncryptionResponseArray{ TransparentDataEncryptionResponseArgs{...} }
type TransparentDataEncryptionResponseArrayOutput ¶
type TransparentDataEncryptionResponseArrayOutput struct{ *pulumi.OutputState }
func (TransparentDataEncryptionResponseArrayOutput) ElementType ¶
func (TransparentDataEncryptionResponseArrayOutput) ElementType() reflect.Type
func (TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutput ¶
func (o TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutput() TransparentDataEncryptionResponseArrayOutput
func (TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutputWithContext ¶
func (o TransparentDataEncryptionResponseArrayOutput) ToTransparentDataEncryptionResponseArrayOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseArrayOutput
type TransparentDataEncryptionResponseInput ¶
type TransparentDataEncryptionResponseInput interface { pulumi.Input ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput ToTransparentDataEncryptionResponseOutputWithContext(context.Context) TransparentDataEncryptionResponseOutput }
TransparentDataEncryptionResponseInput is an input type that accepts TransparentDataEncryptionResponseArgs and TransparentDataEncryptionResponseOutput values. You can construct a concrete instance of `TransparentDataEncryptionResponseInput` via:
TransparentDataEncryptionResponseArgs{...}
type TransparentDataEncryptionResponseOutput ¶
type TransparentDataEncryptionResponseOutput struct{ *pulumi.OutputState }
Represents a database transparent data encryption configuration.
func (TransparentDataEncryptionResponseOutput) ElementType ¶
func (TransparentDataEncryptionResponseOutput) ElementType() reflect.Type
func (TransparentDataEncryptionResponseOutput) Id ¶
func (o TransparentDataEncryptionResponseOutput) Id() pulumi.StringOutput
Resource ID.
func (TransparentDataEncryptionResponseOutput) Location ¶
func (o TransparentDataEncryptionResponseOutput) Location() pulumi.StringOutput
Resource location.
func (TransparentDataEncryptionResponseOutput) Name ¶
func (o TransparentDataEncryptionResponseOutput) Name() pulumi.StringOutput
Resource name.
func (TransparentDataEncryptionResponseOutput) Status ¶
func (o TransparentDataEncryptionResponseOutput) Status() pulumi.StringPtrOutput
The status of the database transparent data encryption.
func (TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutput ¶
func (o TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutput() TransparentDataEncryptionResponseOutput
func (TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutputWithContext ¶
func (o TransparentDataEncryptionResponseOutput) ToTransparentDataEncryptionResponseOutputWithContext(ctx context.Context) TransparentDataEncryptionResponseOutput
func (TransparentDataEncryptionResponseOutput) Type ¶
func (o TransparentDataEncryptionResponseOutput) Type() pulumi.StringOutput
Resource type.
Source Files ¶
- database.go
- disasterRecoveryConfiguration.go
- elasticPool.go
- firewallRule.go
- getDatabase.go
- getDisasterRecoveryConfiguration.go
- getElasticPool.go
- getFirewallRule.go
- getServer.go
- getServerAzureADAdministrator.go
- getServerCommunicationLink.go
- pulumiTypes.go
- server.go
- serverAzureADAdministrator.go
- serverCommunicationLink.go