Documentation ¶
Index ¶
- type Database
- func (*Database) ElementType() reflect.Type
- func (i *Database) ToDatabaseOutput() DatabaseOutput
- func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (i *Database) ToDatabasePtrOutput() DatabasePtrOutput
- func (i *Database) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
- type DatabaseArgs
- type DatabaseArray
- type DatabaseArrayInput
- type DatabaseArrayOutput
- type DatabaseExtendedAuditingPolicy
- func (*DatabaseExtendedAuditingPolicy) ElementType() reflect.Type
- func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput
- func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput
- func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
- func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
- type DatabaseExtendedAuditingPolicyArgs
- type DatabaseExtendedAuditingPolicyArray
- func (DatabaseExtendedAuditingPolicyArray) ElementType() reflect.Type
- func (i DatabaseExtendedAuditingPolicyArray) ToDatabaseExtendedAuditingPolicyArrayOutput() DatabaseExtendedAuditingPolicyArrayOutput
- func (i DatabaseExtendedAuditingPolicyArray) ToDatabaseExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyArrayOutput
- type DatabaseExtendedAuditingPolicyArrayInput
- type DatabaseExtendedAuditingPolicyArrayOutput
- func (DatabaseExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyArrayOutput) Index(i pulumi.IntInput) DatabaseExtendedAuditingPolicyOutput
- func (o DatabaseExtendedAuditingPolicyArrayOutput) ToDatabaseExtendedAuditingPolicyArrayOutput() DatabaseExtendedAuditingPolicyArrayOutput
- func (o DatabaseExtendedAuditingPolicyArrayOutput) ToDatabaseExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyArrayOutput
- type DatabaseExtendedAuditingPolicyInput
- type DatabaseExtendedAuditingPolicyMap
- func (DatabaseExtendedAuditingPolicyMap) ElementType() reflect.Type
- func (i DatabaseExtendedAuditingPolicyMap) ToDatabaseExtendedAuditingPolicyMapOutput() DatabaseExtendedAuditingPolicyMapOutput
- func (i DatabaseExtendedAuditingPolicyMap) ToDatabaseExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyMapOutput
- type DatabaseExtendedAuditingPolicyMapInput
- type DatabaseExtendedAuditingPolicyMapOutput
- func (DatabaseExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) DatabaseExtendedAuditingPolicyOutput
- func (o DatabaseExtendedAuditingPolicyMapOutput) ToDatabaseExtendedAuditingPolicyMapOutput() DatabaseExtendedAuditingPolicyMapOutput
- func (o DatabaseExtendedAuditingPolicyMapOutput) ToDatabaseExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyMapOutput
- type DatabaseExtendedAuditingPolicyOutput
- func (DatabaseExtendedAuditingPolicyOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput
- func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput
- func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
- func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
- type DatabaseExtendedAuditingPolicyPtrInput
- type DatabaseExtendedAuditingPolicyPtrOutput
- func (DatabaseExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
- func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
- type DatabaseExtendedAuditingPolicyState
- type DatabaseExtendedAuditingPolicyType
- type DatabaseExtendedAuditingPolicyTypeArgs
- func (DatabaseExtendedAuditingPolicyTypeArgs) ElementType() reflect.Type
- func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypeOutput() DatabaseExtendedAuditingPolicyTypeOutput
- func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypeOutput
- func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypePtrOutput() DatabaseExtendedAuditingPolicyTypePtrOutput
- func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypePtrOutput
- type DatabaseExtendedAuditingPolicyTypeInput
- type DatabaseExtendedAuditingPolicyTypeOutput
- func (DatabaseExtendedAuditingPolicyTypeOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyTypeOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypeOutput() DatabaseExtendedAuditingPolicyTypeOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypeOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutput() DatabaseExtendedAuditingPolicyTypePtrOutput
- func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypePtrOutput
- type DatabaseExtendedAuditingPolicyTypePtrInput
- type DatabaseExtendedAuditingPolicyTypePtrOutput
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) Elem() DatabaseExtendedAuditingPolicyTypeOutput
- func (DatabaseExtendedAuditingPolicyTypePtrOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutput() DatabaseExtendedAuditingPolicyTypePtrOutput
- func (o DatabaseExtendedAuditingPolicyTypePtrOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypePtrOutput
- type DatabaseInput
- type DatabaseLongTermRetentionPolicy
- type DatabaseLongTermRetentionPolicyArgs
- func (DatabaseLongTermRetentionPolicyArgs) ElementType() reflect.Type
- func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyOutput() DatabaseLongTermRetentionPolicyOutput
- func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyOutput
- func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyPtrOutput() DatabaseLongTermRetentionPolicyPtrOutput
- func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyPtrOutput
- type DatabaseLongTermRetentionPolicyInput
- type DatabaseLongTermRetentionPolicyOutput
- func (DatabaseLongTermRetentionPolicyOutput) ElementType() reflect.Type
- func (o DatabaseLongTermRetentionPolicyOutput) MonthlyRetention() pulumi.StringPtrOutput
- func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyOutput() DatabaseLongTermRetentionPolicyOutput
- func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyOutput
- func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyPtrOutput() DatabaseLongTermRetentionPolicyPtrOutput
- func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyPtrOutput
- func (o DatabaseLongTermRetentionPolicyOutput) WeekOfYear() pulumi.IntPtrOutput
- func (o DatabaseLongTermRetentionPolicyOutput) WeeklyRetention() pulumi.StringPtrOutput
- func (o DatabaseLongTermRetentionPolicyOutput) YearlyRetention() pulumi.StringPtrOutput
- type DatabaseLongTermRetentionPolicyPtrInput
- type DatabaseLongTermRetentionPolicyPtrOutput
- func (o DatabaseLongTermRetentionPolicyPtrOutput) Elem() DatabaseLongTermRetentionPolicyOutput
- func (DatabaseLongTermRetentionPolicyPtrOutput) ElementType() reflect.Type
- func (o DatabaseLongTermRetentionPolicyPtrOutput) MonthlyRetention() pulumi.StringPtrOutput
- func (o DatabaseLongTermRetentionPolicyPtrOutput) ToDatabaseLongTermRetentionPolicyPtrOutput() DatabaseLongTermRetentionPolicyPtrOutput
- func (o DatabaseLongTermRetentionPolicyPtrOutput) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyPtrOutput
- func (o DatabaseLongTermRetentionPolicyPtrOutput) WeekOfYear() pulumi.IntPtrOutput
- func (o DatabaseLongTermRetentionPolicyPtrOutput) WeeklyRetention() pulumi.StringPtrOutput
- func (o DatabaseLongTermRetentionPolicyPtrOutput) YearlyRetention() pulumi.StringPtrOutput
- type DatabaseMap
- type DatabaseMapInput
- type DatabaseMapOutput
- type DatabaseOutput
- func (DatabaseOutput) ElementType() reflect.Type
- func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
- func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (o DatabaseOutput) ToDatabasePtrOutput() DatabasePtrOutput
- func (o DatabaseOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
- type DatabasePtrInput
- type DatabasePtrOutput
- type DatabaseShortTermRetentionPolicy
- type DatabaseShortTermRetentionPolicyArgs
- func (DatabaseShortTermRetentionPolicyArgs) ElementType() reflect.Type
- func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyOutput() DatabaseShortTermRetentionPolicyOutput
- func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyOutput
- func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyPtrOutput() DatabaseShortTermRetentionPolicyPtrOutput
- func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyPtrOutput
- type DatabaseShortTermRetentionPolicyInput
- type DatabaseShortTermRetentionPolicyOutput
- func (DatabaseShortTermRetentionPolicyOutput) ElementType() reflect.Type
- func (o DatabaseShortTermRetentionPolicyOutput) RetentionDays() pulumi.IntOutput
- func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyOutput() DatabaseShortTermRetentionPolicyOutput
- func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyOutput
- func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyPtrOutput() DatabaseShortTermRetentionPolicyPtrOutput
- func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyPtrOutput
- type DatabaseShortTermRetentionPolicyPtrInput
- type DatabaseShortTermRetentionPolicyPtrOutput
- func (o DatabaseShortTermRetentionPolicyPtrOutput) Elem() DatabaseShortTermRetentionPolicyOutput
- func (DatabaseShortTermRetentionPolicyPtrOutput) ElementType() reflect.Type
- func (o DatabaseShortTermRetentionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
- func (o DatabaseShortTermRetentionPolicyPtrOutput) ToDatabaseShortTermRetentionPolicyPtrOutput() DatabaseShortTermRetentionPolicyPtrOutput
- func (o DatabaseShortTermRetentionPolicyPtrOutput) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyPtrOutput
- type DatabaseState
- type DatabaseThreatDetectionPolicy
- type DatabaseThreatDetectionPolicyArgs
- func (DatabaseThreatDetectionPolicyArgs) ElementType() reflect.Type
- func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput
- func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput
- func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
- func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
- type DatabaseThreatDetectionPolicyInput
- type DatabaseThreatDetectionPolicyOutput
- func (o DatabaseThreatDetectionPolicyOutput) DisabledAlerts() pulumi.StringArrayOutput
- func (DatabaseThreatDetectionPolicyOutput) ElementType() reflect.Type
- func (o DatabaseThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
- func (o DatabaseThreatDetectionPolicyOutput) RetentionDays() pulumi.IntPtrOutput
- func (o DatabaseThreatDetectionPolicyOutput) State() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput
- func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput
- func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
- func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
- func (o DatabaseThreatDetectionPolicyOutput) UseServerDefault() pulumi.StringPtrOutput
- type DatabaseThreatDetectionPolicyPtrInput
- type DatabaseThreatDetectionPolicyPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) DisabledAlerts() pulumi.StringArrayOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) Elem() DatabaseThreatDetectionPolicyOutput
- func (DatabaseThreatDetectionPolicyPtrOutput) ElementType() reflect.Type
- func (o DatabaseThreatDetectionPolicyPtrOutput) EmailAccountAdmins() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) EmailAddresses() pulumi.StringArrayOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) State() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
- func (o DatabaseThreatDetectionPolicyPtrOutput) UseServerDefault() pulumi.StringPtrOutput
- type DatabaseVulnerabilityAssessmentRuleBaseline
- func GetDatabaseVulnerabilityAssessmentRuleBaseline(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*DatabaseVulnerabilityAssessmentRuleBaseline, error)
- func NewDatabaseVulnerabilityAssessmentRuleBaseline(ctx *pulumi.Context, name string, ...) (*DatabaseVulnerabilityAssessmentRuleBaseline, error)
- func (*DatabaseVulnerabilityAssessmentRuleBaseline) ElementType() reflect.Type
- func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselineOutput() DatabaseVulnerabilityAssessmentRuleBaselineOutput
- func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselineOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineOutput
- func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput() DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
- func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineArgs
- type DatabaseVulnerabilityAssessmentRuleBaselineArray
- func (DatabaseVulnerabilityAssessmentRuleBaselineArray) ElementType() reflect.Type
- func (i DatabaseVulnerabilityAssessmentRuleBaselineArray) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
- func (i DatabaseVulnerabilityAssessmentRuleBaselineArray) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineArrayInput
- type DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
- func (DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ElementType() reflect.Type
- func (o DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) Index(i pulumi.IntInput) DatabaseVulnerabilityAssessmentRuleBaselineOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResult
- type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs
- func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ElementType() reflect.Type
- func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
- func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray
- func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ElementType() reflect.Type
- func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
- func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayInput
- type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
- func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ElementType() reflect.Type
- func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) Index(i pulumi.IntInput) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultInput
- type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
- func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ElementType() reflect.Type
- func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) Results() pulumi.StringArrayOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineInput
- type DatabaseVulnerabilityAssessmentRuleBaselineMap
- func (DatabaseVulnerabilityAssessmentRuleBaselineMap) ElementType() reflect.Type
- func (i DatabaseVulnerabilityAssessmentRuleBaselineMap) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutput() DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
- func (i DatabaseVulnerabilityAssessmentRuleBaselineMap) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineMapInput
- type DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
- func (DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ElementType() reflect.Type
- func (o DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) MapIndex(k pulumi.StringInput) DatabaseVulnerabilityAssessmentRuleBaselineOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutput() DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineOutput
- func (DatabaseVulnerabilityAssessmentRuleBaselineOutput) ElementType() reflect.Type
- func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineOutput() DatabaseVulnerabilityAssessmentRuleBaselineOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput() DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
- type DatabaseVulnerabilityAssessmentRuleBaselinePtrInput
- type DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
- func (DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ElementType() reflect.Type
- func (o DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput() DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
- func (o DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
- type DatabaseVulnerabilityAssessmentRuleBaselineState
- type ElasticPool
- func (*ElasticPool) ElementType() reflect.Type
- func (i *ElasticPool) ToElasticPoolOutput() ElasticPoolOutput
- func (i *ElasticPool) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput
- func (i *ElasticPool) ToElasticPoolPtrOutput() ElasticPoolPtrOutput
- func (i *ElasticPool) ToElasticPoolPtrOutputWithContext(ctx context.Context) ElasticPoolPtrOutput
- type ElasticPoolArgs
- type ElasticPoolArray
- type ElasticPoolArrayInput
- type ElasticPoolArrayOutput
- func (ElasticPoolArrayOutput) ElementType() reflect.Type
- func (o ElasticPoolArrayOutput) Index(i pulumi.IntInput) ElasticPoolOutput
- func (o ElasticPoolArrayOutput) ToElasticPoolArrayOutput() ElasticPoolArrayOutput
- func (o ElasticPoolArrayOutput) ToElasticPoolArrayOutputWithContext(ctx context.Context) ElasticPoolArrayOutput
- type ElasticPoolInput
- type ElasticPoolMap
- type ElasticPoolMapInput
- type ElasticPoolMapOutput
- func (ElasticPoolMapOutput) ElementType() reflect.Type
- func (o ElasticPoolMapOutput) MapIndex(k pulumi.StringInput) ElasticPoolOutput
- func (o ElasticPoolMapOutput) ToElasticPoolMapOutput() ElasticPoolMapOutput
- func (o ElasticPoolMapOutput) ToElasticPoolMapOutputWithContext(ctx context.Context) ElasticPoolMapOutput
- type ElasticPoolOutput
- func (ElasticPoolOutput) ElementType() reflect.Type
- func (o ElasticPoolOutput) ToElasticPoolOutput() ElasticPoolOutput
- func (o ElasticPoolOutput) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput
- func (o ElasticPoolOutput) ToElasticPoolPtrOutput() ElasticPoolPtrOutput
- func (o ElasticPoolOutput) ToElasticPoolPtrOutputWithContext(ctx context.Context) ElasticPoolPtrOutput
- type ElasticPoolPerDatabaseSettings
- type ElasticPoolPerDatabaseSettingsArgs
- func (ElasticPoolPerDatabaseSettingsArgs) ElementType() reflect.Type
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
- func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
- type ElasticPoolPerDatabaseSettingsInput
- type ElasticPoolPerDatabaseSettingsOutput
- func (ElasticPoolPerDatabaseSettingsOutput) ElementType() reflect.Type
- func (o ElasticPoolPerDatabaseSettingsOutput) MaxCapacity() pulumi.Float64Output
- func (o ElasticPoolPerDatabaseSettingsOutput) MinCapacity() pulumi.Float64Output
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
- func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
- type ElasticPoolPerDatabaseSettingsPtrInput
- type ElasticPoolPerDatabaseSettingsPtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) Elem() ElasticPoolPerDatabaseSettingsOutput
- func (ElasticPoolPerDatabaseSettingsPtrOutput) ElementType() reflect.Type
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) MaxCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) MinCapacity() pulumi.Float64PtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
- func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
- type ElasticPoolPtrInput
- type ElasticPoolPtrOutput
- type ElasticPoolSku
- type ElasticPoolSkuArgs
- func (ElasticPoolSkuArgs) ElementType() reflect.Type
- func (i ElasticPoolSkuArgs) ToElasticPoolSkuOutput() ElasticPoolSkuOutput
- func (i ElasticPoolSkuArgs) ToElasticPoolSkuOutputWithContext(ctx context.Context) ElasticPoolSkuOutput
- func (i ElasticPoolSkuArgs) ToElasticPoolSkuPtrOutput() ElasticPoolSkuPtrOutput
- func (i ElasticPoolSkuArgs) ToElasticPoolSkuPtrOutputWithContext(ctx context.Context) ElasticPoolSkuPtrOutput
- type ElasticPoolSkuInput
- type ElasticPoolSkuOutput
- func (o ElasticPoolSkuOutput) Capacity() pulumi.IntOutput
- func (ElasticPoolSkuOutput) ElementType() reflect.Type
- func (o ElasticPoolSkuOutput) Family() pulumi.StringPtrOutput
- func (o ElasticPoolSkuOutput) Name() pulumi.StringOutput
- func (o ElasticPoolSkuOutput) Tier() pulumi.StringOutput
- func (o ElasticPoolSkuOutput) ToElasticPoolSkuOutput() ElasticPoolSkuOutput
- func (o ElasticPoolSkuOutput) ToElasticPoolSkuOutputWithContext(ctx context.Context) ElasticPoolSkuOutput
- func (o ElasticPoolSkuOutput) ToElasticPoolSkuPtrOutput() ElasticPoolSkuPtrOutput
- func (o ElasticPoolSkuOutput) ToElasticPoolSkuPtrOutputWithContext(ctx context.Context) ElasticPoolSkuPtrOutput
- type ElasticPoolSkuPtrInput
- type ElasticPoolSkuPtrOutput
- func (o ElasticPoolSkuPtrOutput) Capacity() pulumi.IntPtrOutput
- func (o ElasticPoolSkuPtrOutput) Elem() ElasticPoolSkuOutput
- func (ElasticPoolSkuPtrOutput) ElementType() reflect.Type
- func (o ElasticPoolSkuPtrOutput) Family() pulumi.StringPtrOutput
- func (o ElasticPoolSkuPtrOutput) Name() pulumi.StringPtrOutput
- func (o ElasticPoolSkuPtrOutput) Tier() pulumi.StringPtrOutput
- func (o ElasticPoolSkuPtrOutput) ToElasticPoolSkuPtrOutput() ElasticPoolSkuPtrOutput
- func (o ElasticPoolSkuPtrOutput) ToElasticPoolSkuPtrOutputWithContext(ctx context.Context) ElasticPoolSkuPtrOutput
- type ElasticPoolState
- type FirewallRule
- func (*FirewallRule) ElementType() reflect.Type
- func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
- func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
- func (i *FirewallRule) ToFirewallRulePtrOutput() FirewallRulePtrOutput
- func (i *FirewallRule) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
- type FirewallRuleArgs
- type FirewallRuleArray
- type FirewallRuleArrayInput
- type FirewallRuleArrayOutput
- func (FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- type FirewallRuleInput
- type FirewallRuleMap
- type FirewallRuleMapInput
- type FirewallRuleMapOutput
- func (FirewallRuleMapOutput) ElementType() reflect.Type
- func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
- type FirewallRuleOutput
- func (FirewallRuleOutput) ElementType() reflect.Type
- func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
- func (o FirewallRuleOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput
- func (o FirewallRuleOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
- type FirewallRulePtrInput
- type FirewallRulePtrOutput
- type FirewallRuleState
- type GetServerIdentity
- type GetServerIdentityArgs
- type GetServerIdentityArray
- type GetServerIdentityArrayInput
- type GetServerIdentityArrayOutput
- func (GetServerIdentityArrayOutput) ElementType() reflect.Type
- func (o GetServerIdentityArrayOutput) Index(i pulumi.IntInput) GetServerIdentityOutput
- func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
- func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
- type GetServerIdentityInput
- type GetServerIdentityOutput
- func (GetServerIdentityOutput) ElementType() reflect.Type
- func (o GetServerIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetServerIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetServerIdentityOutput) ToGetServerIdentityOutput() GetServerIdentityOutput
- func (o GetServerIdentityOutput) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
- func (o GetServerIdentityOutput) Type() pulumi.StringOutput
- type LookupDatabaseArgs
- type LookupDatabaseResult
- type LookupElasticPoolArgs
- type LookupElasticPoolResult
- type LookupServerArgs
- type LookupServerResult
- type Server
- func (*Server) ElementType() reflect.Type
- func (i *Server) ToServerOutput() ServerOutput
- func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
- func (i *Server) ToServerPtrOutput() ServerPtrOutput
- func (i *Server) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
- type ServerArgs
- type ServerArray
- type ServerArrayInput
- type ServerArrayOutput
- type ServerAzureadAdministrator
- type ServerAzureadAdministratorArgs
- func (ServerAzureadAdministratorArgs) ElementType() reflect.Type
- func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutput() ServerAzureadAdministratorOutput
- func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutputWithContext(ctx context.Context) ServerAzureadAdministratorOutput
- func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
- func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
- type ServerAzureadAdministratorInput
- type ServerAzureadAdministratorOutput
- func (ServerAzureadAdministratorOutput) ElementType() reflect.Type
- func (o ServerAzureadAdministratorOutput) LoginUsername() pulumi.StringOutput
- func (o ServerAzureadAdministratorOutput) ObjectId() pulumi.StringOutput
- func (o ServerAzureadAdministratorOutput) TenantId() pulumi.StringPtrOutput
- func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutput() ServerAzureadAdministratorOutput
- func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutputWithContext(ctx context.Context) ServerAzureadAdministratorOutput
- func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
- func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
- type ServerAzureadAdministratorPtrInput
- type ServerAzureadAdministratorPtrOutput
- func (o ServerAzureadAdministratorPtrOutput) Elem() ServerAzureadAdministratorOutput
- func (ServerAzureadAdministratorPtrOutput) ElementType() reflect.Type
- func (o ServerAzureadAdministratorPtrOutput) LoginUsername() pulumi.StringPtrOutput
- func (o ServerAzureadAdministratorPtrOutput) ObjectId() pulumi.StringPtrOutput
- func (o ServerAzureadAdministratorPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
- func (o ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
- type ServerExtendedAuditingPolicy
- func (*ServerExtendedAuditingPolicy) ElementType() reflect.Type
- func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput
- func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput
- func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
- func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
- type ServerExtendedAuditingPolicyArgs
- type ServerExtendedAuditingPolicyArray
- func (ServerExtendedAuditingPolicyArray) ElementType() reflect.Type
- func (i ServerExtendedAuditingPolicyArray) ToServerExtendedAuditingPolicyArrayOutput() ServerExtendedAuditingPolicyArrayOutput
- func (i ServerExtendedAuditingPolicyArray) ToServerExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyArrayOutput
- type ServerExtendedAuditingPolicyArrayInput
- type ServerExtendedAuditingPolicyArrayOutput
- func (ServerExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyArrayOutput) Index(i pulumi.IntInput) ServerExtendedAuditingPolicyOutput
- func (o ServerExtendedAuditingPolicyArrayOutput) ToServerExtendedAuditingPolicyArrayOutput() ServerExtendedAuditingPolicyArrayOutput
- func (o ServerExtendedAuditingPolicyArrayOutput) ToServerExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyArrayOutput
- type ServerExtendedAuditingPolicyInput
- type ServerExtendedAuditingPolicyMap
- func (ServerExtendedAuditingPolicyMap) ElementType() reflect.Type
- func (i ServerExtendedAuditingPolicyMap) ToServerExtendedAuditingPolicyMapOutput() ServerExtendedAuditingPolicyMapOutput
- func (i ServerExtendedAuditingPolicyMap) ToServerExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyMapOutput
- type ServerExtendedAuditingPolicyMapInput
- type ServerExtendedAuditingPolicyMapOutput
- func (ServerExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) ServerExtendedAuditingPolicyOutput
- func (o ServerExtendedAuditingPolicyMapOutput) ToServerExtendedAuditingPolicyMapOutput() ServerExtendedAuditingPolicyMapOutput
- func (o ServerExtendedAuditingPolicyMapOutput) ToServerExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyMapOutput
- type ServerExtendedAuditingPolicyOutput
- func (ServerExtendedAuditingPolicyOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput
- func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput
- func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
- func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
- type ServerExtendedAuditingPolicyPtrInput
- type ServerExtendedAuditingPolicyPtrOutput
- func (ServerExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
- func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
- type ServerExtendedAuditingPolicyState
- type ServerExtendedAuditingPolicyType
- type ServerExtendedAuditingPolicyTypeArgs
- func (ServerExtendedAuditingPolicyTypeArgs) ElementType() reflect.Type
- func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypeOutput() ServerExtendedAuditingPolicyTypeOutput
- func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypeOutput
- func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypePtrOutput() ServerExtendedAuditingPolicyTypePtrOutput
- func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypePtrOutput
- type ServerExtendedAuditingPolicyTypeInput
- type ServerExtendedAuditingPolicyTypeOutput
- func (ServerExtendedAuditingPolicyTypeOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyTypeOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypeOutput() ServerExtendedAuditingPolicyTypeOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypeOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypePtrOutput() ServerExtendedAuditingPolicyTypePtrOutput
- func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypePtrOutput
- type ServerExtendedAuditingPolicyTypePtrInput
- type ServerExtendedAuditingPolicyTypePtrOutput
- func (o ServerExtendedAuditingPolicyTypePtrOutput) Elem() ServerExtendedAuditingPolicyTypeOutput
- func (ServerExtendedAuditingPolicyTypePtrOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyTypePtrOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
- func (o ServerExtendedAuditingPolicyTypePtrOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o ServerExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o ServerExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o ServerExtendedAuditingPolicyTypePtrOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o ServerExtendedAuditingPolicyTypePtrOutput) ToServerExtendedAuditingPolicyTypePtrOutput() ServerExtendedAuditingPolicyTypePtrOutput
- func (o ServerExtendedAuditingPolicyTypePtrOutput) ToServerExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypePtrOutput
- type ServerIdentity
- type ServerIdentityArgs
- func (ServerIdentityArgs) ElementType() reflect.Type
- func (i ServerIdentityArgs) ToServerIdentityOutput() ServerIdentityOutput
- func (i ServerIdentityArgs) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
- func (i ServerIdentityArgs) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
- func (i ServerIdentityArgs) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
- type ServerIdentityInput
- type ServerIdentityOutput
- func (ServerIdentityOutput) ElementType() reflect.Type
- func (o ServerIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServerIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o ServerIdentityOutput) ToServerIdentityOutput() ServerIdentityOutput
- func (o ServerIdentityOutput) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
- func (o ServerIdentityOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
- func (o ServerIdentityOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
- func (o ServerIdentityOutput) Type() pulumi.StringOutput
- type ServerIdentityPtrInput
- type ServerIdentityPtrOutput
- func (o ServerIdentityPtrOutput) Elem() ServerIdentityOutput
- func (ServerIdentityPtrOutput) ElementType() reflect.Type
- func (o ServerIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServerIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
- func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
- func (o ServerIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ServerInput
- type ServerMap
- type ServerMapInput
- type ServerMapOutput
- type ServerOutput
- func (ServerOutput) ElementType() reflect.Type
- func (o ServerOutput) ToServerOutput() ServerOutput
- func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
- func (o ServerOutput) ToServerPtrOutput() ServerPtrOutput
- func (o ServerOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
- type ServerPtrInput
- type ServerPtrOutput
- type ServerSecurityAlertPolicy
- func (*ServerSecurityAlertPolicy) ElementType() reflect.Type
- func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyOutput() ServerSecurityAlertPolicyOutput
- func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyOutput
- func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyPtrOutput() ServerSecurityAlertPolicyPtrOutput
- func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyPtrOutput
- type ServerSecurityAlertPolicyArgs
- type ServerSecurityAlertPolicyArray
- func (ServerSecurityAlertPolicyArray) ElementType() reflect.Type
- func (i ServerSecurityAlertPolicyArray) ToServerSecurityAlertPolicyArrayOutput() ServerSecurityAlertPolicyArrayOutput
- func (i ServerSecurityAlertPolicyArray) ToServerSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyArrayOutput
- type ServerSecurityAlertPolicyArrayInput
- type ServerSecurityAlertPolicyArrayOutput
- func (ServerSecurityAlertPolicyArrayOutput) ElementType() reflect.Type
- func (o ServerSecurityAlertPolicyArrayOutput) Index(i pulumi.IntInput) ServerSecurityAlertPolicyOutput
- func (o ServerSecurityAlertPolicyArrayOutput) ToServerSecurityAlertPolicyArrayOutput() ServerSecurityAlertPolicyArrayOutput
- func (o ServerSecurityAlertPolicyArrayOutput) ToServerSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyArrayOutput
- type ServerSecurityAlertPolicyInput
- type ServerSecurityAlertPolicyMap
- func (ServerSecurityAlertPolicyMap) ElementType() reflect.Type
- func (i ServerSecurityAlertPolicyMap) ToServerSecurityAlertPolicyMapOutput() ServerSecurityAlertPolicyMapOutput
- func (i ServerSecurityAlertPolicyMap) ToServerSecurityAlertPolicyMapOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyMapOutput
- type ServerSecurityAlertPolicyMapInput
- type ServerSecurityAlertPolicyMapOutput
- func (ServerSecurityAlertPolicyMapOutput) ElementType() reflect.Type
- func (o ServerSecurityAlertPolicyMapOutput) MapIndex(k pulumi.StringInput) ServerSecurityAlertPolicyOutput
- func (o ServerSecurityAlertPolicyMapOutput) ToServerSecurityAlertPolicyMapOutput() ServerSecurityAlertPolicyMapOutput
- func (o ServerSecurityAlertPolicyMapOutput) ToServerSecurityAlertPolicyMapOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyMapOutput
- type ServerSecurityAlertPolicyOutput
- func (ServerSecurityAlertPolicyOutput) ElementType() reflect.Type
- func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyOutput() ServerSecurityAlertPolicyOutput
- func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyOutput
- func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyPtrOutput() ServerSecurityAlertPolicyPtrOutput
- func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyPtrOutput
- type ServerSecurityAlertPolicyPtrInput
- type ServerSecurityAlertPolicyPtrOutput
- func (ServerSecurityAlertPolicyPtrOutput) ElementType() reflect.Type
- func (o ServerSecurityAlertPolicyPtrOutput) ToServerSecurityAlertPolicyPtrOutput() ServerSecurityAlertPolicyPtrOutput
- func (o ServerSecurityAlertPolicyPtrOutput) ToServerSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyPtrOutput
- type ServerSecurityAlertPolicyState
- type ServerState
- type ServerVulnerabilityAssessment
- func (*ServerVulnerabilityAssessment) ElementType() reflect.Type
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
- func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
- type ServerVulnerabilityAssessmentArgs
- type ServerVulnerabilityAssessmentArray
- func (ServerVulnerabilityAssessmentArray) ElementType() reflect.Type
- func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
- func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
- type ServerVulnerabilityAssessmentArrayInput
- type ServerVulnerabilityAssessmentArrayOutput
- func (ServerVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentArrayOutput) Index(i pulumi.IntInput) ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
- func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
- type ServerVulnerabilityAssessmentInput
- type ServerVulnerabilityAssessmentMap
- func (ServerVulnerabilityAssessmentMap) ElementType() reflect.Type
- func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
- func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
- type ServerVulnerabilityAssessmentMapInput
- type ServerVulnerabilityAssessmentMapOutput
- func (ServerVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
- func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
- type ServerVulnerabilityAssessmentOutput
- func (ServerVulnerabilityAssessmentOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
- func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
- type ServerVulnerabilityAssessmentPtrInput
- type ServerVulnerabilityAssessmentPtrOutput
- func (ServerVulnerabilityAssessmentPtrOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
- func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
- type ServerVulnerabilityAssessmentRecurringScans
- type ServerVulnerabilityAssessmentRecurringScansArgs
- func (ServerVulnerabilityAssessmentRecurringScansArgs) ElementType() reflect.Type
- func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansOutput() ServerVulnerabilityAssessmentRecurringScansOutput
- func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansOutput
- func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansPtrOutput() ServerVulnerabilityAssessmentRecurringScansPtrOutput
- func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansPtrOutput
- type ServerVulnerabilityAssessmentRecurringScansInput
- type ServerVulnerabilityAssessmentRecurringScansOutput
- func (ServerVulnerabilityAssessmentRecurringScansOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdmins() pulumi.BoolPtrOutput
- func (o ServerVulnerabilityAssessmentRecurringScansOutput) Emails() pulumi.StringArrayOutput
- func (o ServerVulnerabilityAssessmentRecurringScansOutput) Enabled() pulumi.BoolPtrOutput
- func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansOutput() ServerVulnerabilityAssessmentRecurringScansOutput
- func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansOutput
- func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutput() ServerVulnerabilityAssessmentRecurringScansPtrOutput
- func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansPtrOutput
- type ServerVulnerabilityAssessmentRecurringScansPtrInput
- type ServerVulnerabilityAssessmentRecurringScansPtrOutput
- func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) Elem() ServerVulnerabilityAssessmentRecurringScansOutput
- func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) ElementType() reflect.Type
- func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdmins() pulumi.BoolPtrOutput
- func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) Emails() pulumi.StringArrayOutput
- func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutput() ServerVulnerabilityAssessmentRecurringScansPtrOutput
- func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansPtrOutput
- type ServerVulnerabilityAssessmentState
- type VirtualMachine
- func (*VirtualMachine) ElementType() reflect.Type
- func (i *VirtualMachine) ToVirtualMachineOutput() VirtualMachineOutput
- func (i *VirtualMachine) ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
- func (i *VirtualMachine) ToVirtualMachinePtrOutput() VirtualMachinePtrOutput
- func (i *VirtualMachine) ToVirtualMachinePtrOutputWithContext(ctx context.Context) VirtualMachinePtrOutput
- type VirtualMachineArgs
- type VirtualMachineArray
- type VirtualMachineArrayInput
- type VirtualMachineArrayOutput
- func (VirtualMachineArrayOutput) ElementType() reflect.Type
- func (o VirtualMachineArrayOutput) Index(i pulumi.IntInput) VirtualMachineOutput
- func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutput() VirtualMachineArrayOutput
- func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutputWithContext(ctx context.Context) VirtualMachineArrayOutput
- type VirtualMachineAutoBackup
- type VirtualMachineAutoBackupArgs
- func (VirtualMachineAutoBackupArgs) ElementType() reflect.Type
- func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupOutput() VirtualMachineAutoBackupOutput
- func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupOutputWithContext(ctx context.Context) VirtualMachineAutoBackupOutput
- func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupPtrOutput() VirtualMachineAutoBackupPtrOutput
- func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupPtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupPtrOutput
- type VirtualMachineAutoBackupInput
- type VirtualMachineAutoBackupManualSchedule
- type VirtualMachineAutoBackupManualScheduleArgs
- func (VirtualMachineAutoBackupManualScheduleArgs) ElementType() reflect.Type
- func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualScheduleOutput() VirtualMachineAutoBackupManualScheduleOutput
- func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualScheduleOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualScheduleOutput
- func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualSchedulePtrOutput() VirtualMachineAutoBackupManualSchedulePtrOutput
- func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualSchedulePtrOutput
- type VirtualMachineAutoBackupManualScheduleInput
- type VirtualMachineAutoBackupManualScheduleOutput
- func (VirtualMachineAutoBackupManualScheduleOutput) ElementType() reflect.Type
- func (o VirtualMachineAutoBackupManualScheduleOutput) FullBackupFrequency() pulumi.StringOutput
- func (o VirtualMachineAutoBackupManualScheduleOutput) FullBackupStartHour() pulumi.IntOutput
- func (o VirtualMachineAutoBackupManualScheduleOutput) FullBackupWindowInHours() pulumi.IntOutput
- func (o VirtualMachineAutoBackupManualScheduleOutput) LogBackupFrequencyInMinutes() pulumi.IntOutput
- func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualScheduleOutput() VirtualMachineAutoBackupManualScheduleOutput
- func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualScheduleOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualScheduleOutput
- func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutput() VirtualMachineAutoBackupManualSchedulePtrOutput
- func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualSchedulePtrOutput
- type VirtualMachineAutoBackupManualSchedulePtrInput
- type VirtualMachineAutoBackupManualSchedulePtrOutput
- func (o VirtualMachineAutoBackupManualSchedulePtrOutput) Elem() VirtualMachineAutoBackupManualScheduleOutput
- func (VirtualMachineAutoBackupManualSchedulePtrOutput) ElementType() reflect.Type
- func (o VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupFrequency() pulumi.StringPtrOutput
- func (o VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupStartHour() pulumi.IntPtrOutput
- func (o VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupWindowInHours() pulumi.IntPtrOutput
- func (o VirtualMachineAutoBackupManualSchedulePtrOutput) LogBackupFrequencyInMinutes() pulumi.IntPtrOutput
- func (o VirtualMachineAutoBackupManualSchedulePtrOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutput() VirtualMachineAutoBackupManualSchedulePtrOutput
- func (o VirtualMachineAutoBackupManualSchedulePtrOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualSchedulePtrOutput
- type VirtualMachineAutoBackupOutput
- func (VirtualMachineAutoBackupOutput) ElementType() reflect.Type
- func (o VirtualMachineAutoBackupOutput) EncryptionEnabled() pulumi.BoolPtrOutput
- func (o VirtualMachineAutoBackupOutput) EncryptionPassword() pulumi.StringPtrOutput
- func (o VirtualMachineAutoBackupOutput) ManualSchedule() VirtualMachineAutoBackupManualSchedulePtrOutput
- func (o VirtualMachineAutoBackupOutput) RetentionPeriodInDays() pulumi.IntOutput
- func (o VirtualMachineAutoBackupOutput) StorageAccountAccessKey() pulumi.StringOutput
- func (o VirtualMachineAutoBackupOutput) StorageBlobEndpoint() pulumi.StringOutput
- func (o VirtualMachineAutoBackupOutput) SystemDatabasesBackupEnabled() pulumi.BoolPtrOutput
- func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupOutput() VirtualMachineAutoBackupOutput
- func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupOutputWithContext(ctx context.Context) VirtualMachineAutoBackupOutput
- func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupPtrOutput() VirtualMachineAutoBackupPtrOutput
- func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupPtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupPtrOutput
- type VirtualMachineAutoBackupPtrInput
- type VirtualMachineAutoBackupPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) Elem() VirtualMachineAutoBackupOutput
- func (VirtualMachineAutoBackupPtrOutput) ElementType() reflect.Type
- func (o VirtualMachineAutoBackupPtrOutput) EncryptionEnabled() pulumi.BoolPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) EncryptionPassword() pulumi.StringPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) ManualSchedule() VirtualMachineAutoBackupManualSchedulePtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) RetentionPeriodInDays() pulumi.IntPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) StorageBlobEndpoint() pulumi.StringPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) SystemDatabasesBackupEnabled() pulumi.BoolPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) ToVirtualMachineAutoBackupPtrOutput() VirtualMachineAutoBackupPtrOutput
- func (o VirtualMachineAutoBackupPtrOutput) ToVirtualMachineAutoBackupPtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupPtrOutput
- type VirtualMachineAutoPatching
- type VirtualMachineAutoPatchingArgs
- func (VirtualMachineAutoPatchingArgs) ElementType() reflect.Type
- func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingOutput() VirtualMachineAutoPatchingOutput
- func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingOutput
- func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingPtrOutput() VirtualMachineAutoPatchingPtrOutput
- func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingPtrOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingPtrOutput
- type VirtualMachineAutoPatchingInput
- type VirtualMachineAutoPatchingOutput
- func (o VirtualMachineAutoPatchingOutput) DayOfWeek() pulumi.StringOutput
- func (VirtualMachineAutoPatchingOutput) ElementType() reflect.Type
- func (o VirtualMachineAutoPatchingOutput) MaintenanceWindowDurationInMinutes() pulumi.IntOutput
- func (o VirtualMachineAutoPatchingOutput) MaintenanceWindowStartingHour() pulumi.IntOutput
- func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingOutput() VirtualMachineAutoPatchingOutput
- func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingOutput
- func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingPtrOutput() VirtualMachineAutoPatchingPtrOutput
- func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingPtrOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingPtrOutput
- type VirtualMachineAutoPatchingPtrInput
- type VirtualMachineAutoPatchingPtrOutput
- func (o VirtualMachineAutoPatchingPtrOutput) DayOfWeek() pulumi.StringPtrOutput
- func (o VirtualMachineAutoPatchingPtrOutput) Elem() VirtualMachineAutoPatchingOutput
- func (VirtualMachineAutoPatchingPtrOutput) ElementType() reflect.Type
- func (o VirtualMachineAutoPatchingPtrOutput) MaintenanceWindowDurationInMinutes() pulumi.IntPtrOutput
- func (o VirtualMachineAutoPatchingPtrOutput) MaintenanceWindowStartingHour() pulumi.IntPtrOutput
- func (o VirtualMachineAutoPatchingPtrOutput) ToVirtualMachineAutoPatchingPtrOutput() VirtualMachineAutoPatchingPtrOutput
- func (o VirtualMachineAutoPatchingPtrOutput) ToVirtualMachineAutoPatchingPtrOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingPtrOutput
- type VirtualMachineInput
- type VirtualMachineKeyVaultCredential
- type VirtualMachineKeyVaultCredentialArgs
- func (VirtualMachineKeyVaultCredentialArgs) ElementType() reflect.Type
- func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialOutput() VirtualMachineKeyVaultCredentialOutput
- func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialOutput
- func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialPtrOutput() VirtualMachineKeyVaultCredentialPtrOutput
- func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialPtrOutput
- type VirtualMachineKeyVaultCredentialInput
- type VirtualMachineKeyVaultCredentialOutput
- func (VirtualMachineKeyVaultCredentialOutput) ElementType() reflect.Type
- func (o VirtualMachineKeyVaultCredentialOutput) KeyVaultUrl() pulumi.StringOutput
- func (o VirtualMachineKeyVaultCredentialOutput) Name() pulumi.StringOutput
- func (o VirtualMachineKeyVaultCredentialOutput) ServicePrincipalName() pulumi.StringOutput
- func (o VirtualMachineKeyVaultCredentialOutput) ServicePrincipalSecret() pulumi.StringOutput
- func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialOutput() VirtualMachineKeyVaultCredentialOutput
- func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialOutput
- func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialPtrOutput() VirtualMachineKeyVaultCredentialPtrOutput
- func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialPtrOutput
- type VirtualMachineKeyVaultCredentialPtrInput
- type VirtualMachineKeyVaultCredentialPtrOutput
- func (o VirtualMachineKeyVaultCredentialPtrOutput) Elem() VirtualMachineKeyVaultCredentialOutput
- func (VirtualMachineKeyVaultCredentialPtrOutput) ElementType() reflect.Type
- func (o VirtualMachineKeyVaultCredentialPtrOutput) KeyVaultUrl() pulumi.StringPtrOutput
- func (o VirtualMachineKeyVaultCredentialPtrOutput) Name() pulumi.StringPtrOutput
- func (o VirtualMachineKeyVaultCredentialPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput
- func (o VirtualMachineKeyVaultCredentialPtrOutput) ServicePrincipalSecret() pulumi.StringPtrOutput
- func (o VirtualMachineKeyVaultCredentialPtrOutput) ToVirtualMachineKeyVaultCredentialPtrOutput() VirtualMachineKeyVaultCredentialPtrOutput
- func (o VirtualMachineKeyVaultCredentialPtrOutput) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialPtrOutput
- type VirtualMachineMap
- type VirtualMachineMapInput
- type VirtualMachineMapOutput
- func (VirtualMachineMapOutput) ElementType() reflect.Type
- func (o VirtualMachineMapOutput) MapIndex(k pulumi.StringInput) VirtualMachineOutput
- func (o VirtualMachineMapOutput) ToVirtualMachineMapOutput() VirtualMachineMapOutput
- func (o VirtualMachineMapOutput) ToVirtualMachineMapOutputWithContext(ctx context.Context) VirtualMachineMapOutput
- type VirtualMachineOutput
- func (VirtualMachineOutput) ElementType() reflect.Type
- func (o VirtualMachineOutput) ToVirtualMachineOutput() VirtualMachineOutput
- func (o VirtualMachineOutput) ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
- func (o VirtualMachineOutput) ToVirtualMachinePtrOutput() VirtualMachinePtrOutput
- func (o VirtualMachineOutput) ToVirtualMachinePtrOutputWithContext(ctx context.Context) VirtualMachinePtrOutput
- type VirtualMachinePtrInput
- type VirtualMachinePtrOutput
- type VirtualMachineState
- type VirtualMachineStorageConfiguration
- type VirtualMachineStorageConfigurationArgs
- func (VirtualMachineStorageConfigurationArgs) ElementType() reflect.Type
- func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationOutput() VirtualMachineStorageConfigurationOutput
- func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationOutput
- func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationPtrOutput() VirtualMachineStorageConfigurationPtrOutput
- func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationPtrOutput
- type VirtualMachineStorageConfigurationDataSettings
- type VirtualMachineStorageConfigurationDataSettingsArgs
- func (VirtualMachineStorageConfigurationDataSettingsArgs) ElementType() reflect.Type
- func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsOutput() VirtualMachineStorageConfigurationDataSettingsOutput
- func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsOutput
- func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput() VirtualMachineStorageConfigurationDataSettingsPtrOutput
- func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsPtrOutput
- type VirtualMachineStorageConfigurationDataSettingsInput
- type VirtualMachineStorageConfigurationDataSettingsOutput
- func (o VirtualMachineStorageConfigurationDataSettingsOutput) DefaultFilePath() pulumi.StringOutput
- func (VirtualMachineStorageConfigurationDataSettingsOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationDataSettingsOutput) Luns() pulumi.IntArrayOutput
- func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsOutput() VirtualMachineStorageConfigurationDataSettingsOutput
- func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsOutput
- func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput() VirtualMachineStorageConfigurationDataSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsPtrOutput
- type VirtualMachineStorageConfigurationDataSettingsPtrInput
- type VirtualMachineStorageConfigurationDataSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) DefaultFilePath() pulumi.StringPtrOutput
- func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) Elem() VirtualMachineStorageConfigurationDataSettingsOutput
- func (VirtualMachineStorageConfigurationDataSettingsPtrOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) Luns() pulumi.IntArrayOutput
- func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput() VirtualMachineStorageConfigurationDataSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsPtrOutput
- type VirtualMachineStorageConfigurationInput
- type VirtualMachineStorageConfigurationLogSettings
- type VirtualMachineStorageConfigurationLogSettingsArgs
- func (VirtualMachineStorageConfigurationLogSettingsArgs) ElementType() reflect.Type
- func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsOutput() VirtualMachineStorageConfigurationLogSettingsOutput
- func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsOutput
- func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput() VirtualMachineStorageConfigurationLogSettingsPtrOutput
- func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsPtrOutput
- type VirtualMachineStorageConfigurationLogSettingsInput
- type VirtualMachineStorageConfigurationLogSettingsOutput
- func (o VirtualMachineStorageConfigurationLogSettingsOutput) DefaultFilePath() pulumi.StringOutput
- func (VirtualMachineStorageConfigurationLogSettingsOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationLogSettingsOutput) Luns() pulumi.IntArrayOutput
- func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsOutput() VirtualMachineStorageConfigurationLogSettingsOutput
- func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsOutput
- func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput() VirtualMachineStorageConfigurationLogSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsPtrOutput
- type VirtualMachineStorageConfigurationLogSettingsPtrInput
- type VirtualMachineStorageConfigurationLogSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) DefaultFilePath() pulumi.StringPtrOutput
- func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) Elem() VirtualMachineStorageConfigurationLogSettingsOutput
- func (VirtualMachineStorageConfigurationLogSettingsPtrOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) Luns() pulumi.IntArrayOutput
- func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput() VirtualMachineStorageConfigurationLogSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsPtrOutput
- type VirtualMachineStorageConfigurationOutput
- func (o VirtualMachineStorageConfigurationOutput) DataSettings() VirtualMachineStorageConfigurationDataSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationOutput) DiskType() pulumi.StringOutput
- func (VirtualMachineStorageConfigurationOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationOutput) LogSettings() VirtualMachineStorageConfigurationLogSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationOutput) StorageWorkloadType() pulumi.StringOutput
- func (o VirtualMachineStorageConfigurationOutput) TempDbSettings() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationOutput() VirtualMachineStorageConfigurationOutput
- func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationOutput
- func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationPtrOutput() VirtualMachineStorageConfigurationPtrOutput
- func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationPtrOutput
- type VirtualMachineStorageConfigurationPtrInput
- type VirtualMachineStorageConfigurationPtrOutput
- func (o VirtualMachineStorageConfigurationPtrOutput) DataSettings() VirtualMachineStorageConfigurationDataSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationPtrOutput) DiskType() pulumi.StringPtrOutput
- func (o VirtualMachineStorageConfigurationPtrOutput) Elem() VirtualMachineStorageConfigurationOutput
- func (VirtualMachineStorageConfigurationPtrOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationPtrOutput) LogSettings() VirtualMachineStorageConfigurationLogSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationPtrOutput) StorageWorkloadType() pulumi.StringPtrOutput
- func (o VirtualMachineStorageConfigurationPtrOutput) TempDbSettings() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationPtrOutput) ToVirtualMachineStorageConfigurationPtrOutput() VirtualMachineStorageConfigurationPtrOutput
- func (o VirtualMachineStorageConfigurationPtrOutput) ToVirtualMachineStorageConfigurationPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationPtrOutput
- type VirtualMachineStorageConfigurationTempDbSettings
- type VirtualMachineStorageConfigurationTempDbSettingsArgs
- func (VirtualMachineStorageConfigurationTempDbSettingsArgs) ElementType() reflect.Type
- func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsOutput() VirtualMachineStorageConfigurationTempDbSettingsOutput
- func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsOutput
- func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- type VirtualMachineStorageConfigurationTempDbSettingsInput
- type VirtualMachineStorageConfigurationTempDbSettingsOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) DefaultFilePath() pulumi.StringOutput
- func (VirtualMachineStorageConfigurationTempDbSettingsOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) Luns() pulumi.IntArrayOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsOutput() VirtualMachineStorageConfigurationTempDbSettingsOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- type VirtualMachineStorageConfigurationTempDbSettingsPtrInput
- type VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) DefaultFilePath() pulumi.StringPtrOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) Elem() VirtualMachineStorageConfigurationTempDbSettingsOutput
- func (VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ElementType() reflect.Type
- func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) Luns() pulumi.IntArrayOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
- type VirtualNetworkRule
- func (*VirtualNetworkRule) ElementType() reflect.Type
- func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
- func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
- func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
- func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
- type VirtualNetworkRuleArgs
- type VirtualNetworkRuleArray
- type VirtualNetworkRuleArrayInput
- type VirtualNetworkRuleArrayOutput
- func (VirtualNetworkRuleArrayOutput) ElementType() reflect.Type
- func (o VirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
- func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
- type VirtualNetworkRuleInput
- type VirtualNetworkRuleMap
- type VirtualNetworkRuleMapInput
- type VirtualNetworkRuleMapOutput
- func (VirtualNetworkRuleMapOutput) ElementType() reflect.Type
- func (o VirtualNetworkRuleMapOutput) MapIndex(k pulumi.StringInput) VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
- func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
- type VirtualNetworkRuleOutput
- func (VirtualNetworkRuleOutput) ElementType() reflect.Type
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
- type VirtualNetworkRulePtrInput
- type VirtualNetworkRulePtrOutput
- type VirtualNetworkRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { pulumi.CustomResourceState // Time in minutes after which database is automatically paused. A value of `-1` means that automatic pause is disabled. This property is only settable for General Purpose Serverless databases. AutoPauseDelayInMinutes pulumi.IntOutput `pulumi:"autoPauseDelayInMinutes"` // Specifies the collation of the database. Changing this forces a new resource to be created. Collation pulumi.StringOutput `pulumi:"collation"` // The create mode of the database. Possible values are `Copy`, `Default`, `OnlineSecondary`, `PointInTimeRestore`, `Recovery`, `Restore`, `RestoreExternalBackup`, `RestoreExternalBackupSecondary`, `RestoreLongTermRetentionBackup` and `Secondary`. CreateMode pulumi.StringOutput `pulumi:"createMode"` // The id of the source database to be referred to create the new database. This should only be used for databases with `createMode` values that use another database as reference. Changing this forces a new resource to be created. CreationSourceDatabaseId pulumi.StringOutput `pulumi:"creationSourceDatabaseId"` // Specifies the ID of the elastic pool containing this database. ElasticPoolId pulumi.StringPtrOutput `pulumi:"elasticPoolId"` // A `extendedAuditingPolicy` block as defined below. // // Deprecated: the `extended_auditing_policy` block has been moved to `azurerm_mssql_server_extended_auditing_policy` and `azurerm_mssql_database_extended_auditing_policy`. This block will be removed in version 3.0 of the provider. ExtendedAuditingPolicy DatabaseExtendedAuditingPolicyTypeOutput `pulumi:"extendedAuditingPolicy"` // A boolean that specifies if the Geo Backup Policy is enabled. GeoBackupEnabled pulumi.BoolPtrOutput `pulumi:"geoBackupEnabled"` // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringOutput `pulumi:"licenseType"` // A `longTermRetentionPolicy` block as defined below. LongTermRetentionPolicy DatabaseLongTermRetentionPolicyOutput `pulumi:"longTermRetentionPolicy"` // The max size of the database in gigabytes. MaxSizeGb pulumi.IntOutput `pulumi:"maxSizeGb"` // Minimal capacity that database will always have allocated, if not paused. This property is only settable for General Purpose Serverless databases. MinCapacity pulumi.Float64Output `pulumi:"minCapacity"` // The name of the Ms SQL Database. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases. ReadReplicaCount pulumi.IntOutput `pulumi:"readReplicaCount"` // If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases. ReadScale pulumi.BoolOutput `pulumi:"readScale"` // The ID of the database to be recovered. This property is only applicable when the `createMode` is `Recovery`. RecoverDatabaseId pulumi.StringPtrOutput `pulumi:"recoverDatabaseId"` // The ID of the database to be restored. This property is only applicable when the `createMode` is `Restore`. RestoreDroppedDatabaseId pulumi.StringPtrOutput `pulumi:"restoreDroppedDatabaseId"` // Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for `createMode`= `PointInTimeRestore` databases. RestorePointInTime pulumi.StringOutput `pulumi:"restorePointInTime"` // Specifies the name of the sample schema to apply when creating this database. Possible value is `AdventureWorksLT`. SampleName pulumi.StringOutput `pulumi:"sampleName"` // The id of the Ms SQL Server on which to create the database. Changing this forces a new resource to be created. ServerId pulumi.StringOutput `pulumi:"serverId"` // A `shortTermRetentionPolicy` block as defined below. ShortTermRetentionPolicy DatabaseShortTermRetentionPolicyOutput `pulumi:"shortTermRetentionPolicy"` // Specifies the name of the sku used by the database. Changing this forces a new resource to be created. For example, `GP_S_Gen5_2`,`HS_Gen4_1`,`BC_Gen5_2`, `ElasticPool`, `Basic`,`S0`, `P2` ,`DW100c`, `DS100`. SkuName pulumi.StringOutput `pulumi:"skuName"` // Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `LRS` and `ZRS`. The default value is `GRS`. StorageAccountType pulumi.StringPtrOutput `pulumi:"storageAccountType"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Threat detection policy configuration. The `threatDetectionPolicy` block supports fields documented below. ThreatDetectionPolicy DatabaseThreatDetectionPolicyOutput `pulumi:"threatDetectionPolicy"` // Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases. ZoneRedundant pulumi.BoolOutput `pulumi:"zoneRedundant"` }
Manages a MS SQL Database.
> **NOTE:** The Database Extended Auditing Policy Can be set inline here as well as with the mssqlDatabaseExtendedAuditingPolicy resource resource. You can only use one or the other and using both will cause a conflict.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/sql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleSqlServer, err := sql.NewSqlServer(ctx, "exampleSqlServer", &sql.SqlServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } _, err = mssql.NewDatabase(ctx, "test", &mssql.DatabaseArgs{ ServerId: exampleSqlServer.ID(), Collation: pulumi.String("SQL_Latin1_General_CP1_CI_AS"), LicenseType: pulumi.String("LicenseIncluded"), MaxSizeGb: pulumi.Int(4), ReadScale: pulumi.Bool(true), SkuName: pulumi.String("BC_Gen5_2"), ZoneRedundant: pulumi.Bool(true), ExtendedAuditingPolicy: &mssql.DatabaseExtendedAuditingPolicyArgs{ StorageEndpoint: exampleAccount.PrimaryBlobEndpoint, StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, StorageAccountAccessKeyIsSecondary: pulumi.Bool(true), RetentionInDays: pulumi.Int(6), }, Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
SQL Database can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/database:Database example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/example1
```
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.
func (*Database) ElementType ¶
func (*Database) ToDatabaseOutput ¶
func (i *Database) ToDatabaseOutput() DatabaseOutput
func (*Database) ToDatabaseOutputWithContext ¶
func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (*Database) ToDatabasePtrOutput ¶
func (i *Database) ToDatabasePtrOutput() DatabasePtrOutput
func (*Database) ToDatabasePtrOutputWithContext ¶
func (i *Database) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
type DatabaseArgs ¶
type DatabaseArgs struct { // Time in minutes after which database is automatically paused. A value of `-1` means that automatic pause is disabled. This property is only settable for General Purpose Serverless databases. AutoPauseDelayInMinutes pulumi.IntPtrInput // Specifies the collation of the database. Changing this forces a new resource to be created. Collation pulumi.StringPtrInput // The create mode of the database. Possible values are `Copy`, `Default`, `OnlineSecondary`, `PointInTimeRestore`, `Recovery`, `Restore`, `RestoreExternalBackup`, `RestoreExternalBackupSecondary`, `RestoreLongTermRetentionBackup` and `Secondary`. CreateMode pulumi.StringPtrInput // The id of the source database to be referred to create the new database. This should only be used for databases with `createMode` values that use another database as reference. Changing this forces a new resource to be created. CreationSourceDatabaseId pulumi.StringPtrInput // Specifies the ID of the elastic pool containing this database. ElasticPoolId pulumi.StringPtrInput // A `extendedAuditingPolicy` block as defined below. // // Deprecated: the `extended_auditing_policy` block has been moved to `azurerm_mssql_server_extended_auditing_policy` and `azurerm_mssql_database_extended_auditing_policy`. This block will be removed in version 3.0 of the provider. ExtendedAuditingPolicy DatabaseExtendedAuditingPolicyTypePtrInput // A boolean that specifies if the Geo Backup Policy is enabled. GeoBackupEnabled pulumi.BoolPtrInput // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringPtrInput // A `longTermRetentionPolicy` block as defined below. LongTermRetentionPolicy DatabaseLongTermRetentionPolicyPtrInput // The max size of the database in gigabytes. MaxSizeGb pulumi.IntPtrInput // Minimal capacity that database will always have allocated, if not paused. This property is only settable for General Purpose Serverless databases. MinCapacity pulumi.Float64PtrInput // The name of the Ms SQL Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases. ReadReplicaCount pulumi.IntPtrInput // If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases. ReadScale pulumi.BoolPtrInput // The ID of the database to be recovered. This property is only applicable when the `createMode` is `Recovery`. RecoverDatabaseId pulumi.StringPtrInput // The ID of the database to be restored. This property is only applicable when the `createMode` is `Restore`. RestoreDroppedDatabaseId pulumi.StringPtrInput // Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for `createMode`= `PointInTimeRestore` databases. RestorePointInTime pulumi.StringPtrInput // Specifies the name of the sample schema to apply when creating this database. Possible value is `AdventureWorksLT`. SampleName pulumi.StringPtrInput // The id of the Ms SQL Server on which to create the database. Changing this forces a new resource to be created. ServerId pulumi.StringInput // A `shortTermRetentionPolicy` block as defined below. ShortTermRetentionPolicy DatabaseShortTermRetentionPolicyPtrInput // Specifies the name of the sku used by the database. Changing this forces a new resource to be created. For example, `GP_S_Gen5_2`,`HS_Gen4_1`,`BC_Gen5_2`, `ElasticPool`, `Basic`,`S0`, `P2` ,`DW100c`, `DS100`. SkuName pulumi.StringPtrInput // Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `LRS` and `ZRS`. The default value is `GRS`. StorageAccountType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Threat detection policy configuration. The `threatDetectionPolicy` block supports fields documented below. ThreatDetectionPolicy DatabaseThreatDetectionPolicyPtrInput // Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases. ZoneRedundant pulumi.BoolPtrInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseArray ¶
type DatabaseArray []DatabaseInput
func (DatabaseArray) ElementType ¶
func (DatabaseArray) ElementType() reflect.Type
func (DatabaseArray) ToDatabaseArrayOutput ¶
func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArray) ToDatabaseArrayOutputWithContext ¶
func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseArrayInput ¶
type DatabaseArrayInput interface { pulumi.Input ToDatabaseArrayOutput() DatabaseArrayOutput ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput }
DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:
DatabaseArray{ DatabaseArgs{...} }
type DatabaseArrayOutput ¶
type DatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatabaseArrayOutput) ElementType ¶
func (DatabaseArrayOutput) ElementType() reflect.Type
func (DatabaseArrayOutput) Index ¶
func (o DatabaseArrayOutput) Index(i pulumi.IntInput) DatabaseOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutput ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseExtendedAuditingPolicy ¶
type DatabaseExtendedAuditingPolicy struct { pulumi.CustomResourceState // The ID of the sql database to set the extended auditing policy. Changing this forces a new resource to be created. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"` // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"` // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrOutput `pulumi:"storageAccountAccessKeyIsSecondary"` // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"` }
Manages a Ms Sql Database Extended Auditing Policy.
> **NOTE:** The Database Extended Auditing Policy Can be set inline here as well as with the mssqlDatabaseExtendedAuditingPolicy resource resource. You can only use one or the other and using both will cause a conflict.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mssql.NewServer(ctx, "exampleServer", &mssql.ServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("missadministrator"), AdministratorLoginPassword: pulumi.String("AdminPassword123!"), }) if err != nil { return err } exampleDatabase, err := mssql.NewDatabase(ctx, "exampleDatabase", &mssql.DatabaseArgs{ ServerId: exampleServer.ID(), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = mssql.NewDatabaseExtendedAuditingPolicy(ctx, "exampleDatabaseExtendedAuditingPolicy", &mssql.DatabaseExtendedAuditingPolicyArgs{ DatabaseId: exampleDatabase.ID(), StorageEndpoint: exampleAccount.PrimaryBlobEndpoint, StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, StorageAccountAccessKeyIsSecondary: pulumi.Bool(false), RetentionInDays: pulumi.Int(6), }) if err != nil { return err } return nil }) }
```
## Import
Ms Sql Database Extended Auditing Policys can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/databaseExtendedAuditingPolicy:DatabaseExtendedAuditingPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlServer1/databases/db1/extendedAuditingSettings/default
```
func GetDatabaseExtendedAuditingPolicy ¶
func GetDatabaseExtendedAuditingPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseExtendedAuditingPolicyState, opts ...pulumi.ResourceOption) (*DatabaseExtendedAuditingPolicy, error)
GetDatabaseExtendedAuditingPolicy gets an existing DatabaseExtendedAuditingPolicy 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 NewDatabaseExtendedAuditingPolicy ¶
func NewDatabaseExtendedAuditingPolicy(ctx *pulumi.Context, name string, args *DatabaseExtendedAuditingPolicyArgs, opts ...pulumi.ResourceOption) (*DatabaseExtendedAuditingPolicy, error)
NewDatabaseExtendedAuditingPolicy registers a new resource with the given unique name, arguments, and options.
func (*DatabaseExtendedAuditingPolicy) ElementType ¶
func (*DatabaseExtendedAuditingPolicy) ElementType() reflect.Type
func (*DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyOutput ¶
func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput
func (*DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyOutputWithContext ¶
func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput
func (*DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyPtrOutput ¶
func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
func (*DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext ¶
func (i *DatabaseExtendedAuditingPolicy) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
type DatabaseExtendedAuditingPolicyArgs ¶
type DatabaseExtendedAuditingPolicyArgs struct { // The ID of the sql database to set the extended auditing policy. Changing this forces a new resource to be created. DatabaseId pulumi.StringInput LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput }
The set of arguments for constructing a DatabaseExtendedAuditingPolicy resource.
func (DatabaseExtendedAuditingPolicyArgs) ElementType ¶
func (DatabaseExtendedAuditingPolicyArgs) ElementType() reflect.Type
type DatabaseExtendedAuditingPolicyArray ¶
type DatabaseExtendedAuditingPolicyArray []DatabaseExtendedAuditingPolicyInput
func (DatabaseExtendedAuditingPolicyArray) ElementType ¶
func (DatabaseExtendedAuditingPolicyArray) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyArray) ToDatabaseExtendedAuditingPolicyArrayOutput ¶
func (i DatabaseExtendedAuditingPolicyArray) ToDatabaseExtendedAuditingPolicyArrayOutput() DatabaseExtendedAuditingPolicyArrayOutput
func (DatabaseExtendedAuditingPolicyArray) ToDatabaseExtendedAuditingPolicyArrayOutputWithContext ¶
func (i DatabaseExtendedAuditingPolicyArray) ToDatabaseExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyArrayOutput
type DatabaseExtendedAuditingPolicyArrayInput ¶
type DatabaseExtendedAuditingPolicyArrayInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyArrayOutput() DatabaseExtendedAuditingPolicyArrayOutput ToDatabaseExtendedAuditingPolicyArrayOutputWithContext(context.Context) DatabaseExtendedAuditingPolicyArrayOutput }
DatabaseExtendedAuditingPolicyArrayInput is an input type that accepts DatabaseExtendedAuditingPolicyArray and DatabaseExtendedAuditingPolicyArrayOutput values. You can construct a concrete instance of `DatabaseExtendedAuditingPolicyArrayInput` via:
DatabaseExtendedAuditingPolicyArray{ DatabaseExtendedAuditingPolicyArgs{...} }
type DatabaseExtendedAuditingPolicyArrayOutput ¶
type DatabaseExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }
func (DatabaseExtendedAuditingPolicyArrayOutput) ElementType ¶
func (DatabaseExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyArrayOutput) ToDatabaseExtendedAuditingPolicyArrayOutput ¶
func (o DatabaseExtendedAuditingPolicyArrayOutput) ToDatabaseExtendedAuditingPolicyArrayOutput() DatabaseExtendedAuditingPolicyArrayOutput
func (DatabaseExtendedAuditingPolicyArrayOutput) ToDatabaseExtendedAuditingPolicyArrayOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyArrayOutput) ToDatabaseExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyArrayOutput
type DatabaseExtendedAuditingPolicyInput ¶
type DatabaseExtendedAuditingPolicyInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput }
type DatabaseExtendedAuditingPolicyMap ¶
type DatabaseExtendedAuditingPolicyMap map[string]DatabaseExtendedAuditingPolicyInput
func (DatabaseExtendedAuditingPolicyMap) ElementType ¶
func (DatabaseExtendedAuditingPolicyMap) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyMap) ToDatabaseExtendedAuditingPolicyMapOutput ¶
func (i DatabaseExtendedAuditingPolicyMap) ToDatabaseExtendedAuditingPolicyMapOutput() DatabaseExtendedAuditingPolicyMapOutput
func (DatabaseExtendedAuditingPolicyMap) ToDatabaseExtendedAuditingPolicyMapOutputWithContext ¶
func (i DatabaseExtendedAuditingPolicyMap) ToDatabaseExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyMapOutput
type DatabaseExtendedAuditingPolicyMapInput ¶
type DatabaseExtendedAuditingPolicyMapInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyMapOutput() DatabaseExtendedAuditingPolicyMapOutput ToDatabaseExtendedAuditingPolicyMapOutputWithContext(context.Context) DatabaseExtendedAuditingPolicyMapOutput }
DatabaseExtendedAuditingPolicyMapInput is an input type that accepts DatabaseExtendedAuditingPolicyMap and DatabaseExtendedAuditingPolicyMapOutput values. You can construct a concrete instance of `DatabaseExtendedAuditingPolicyMapInput` via:
DatabaseExtendedAuditingPolicyMap{ "key": DatabaseExtendedAuditingPolicyArgs{...} }
type DatabaseExtendedAuditingPolicyMapOutput ¶
type DatabaseExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }
func (DatabaseExtendedAuditingPolicyMapOutput) ElementType ¶
func (DatabaseExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyMapOutput) MapIndex ¶
func (o DatabaseExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) DatabaseExtendedAuditingPolicyOutput
func (DatabaseExtendedAuditingPolicyMapOutput) ToDatabaseExtendedAuditingPolicyMapOutput ¶
func (o DatabaseExtendedAuditingPolicyMapOutput) ToDatabaseExtendedAuditingPolicyMapOutput() DatabaseExtendedAuditingPolicyMapOutput
func (DatabaseExtendedAuditingPolicyMapOutput) ToDatabaseExtendedAuditingPolicyMapOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyMapOutput) ToDatabaseExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyMapOutput
type DatabaseExtendedAuditingPolicyOutput ¶
type DatabaseExtendedAuditingPolicyOutput struct {
*pulumi.OutputState
}
func (DatabaseExtendedAuditingPolicyOutput) ElementType ¶
func (DatabaseExtendedAuditingPolicyOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutput ¶
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutput ¶
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
type DatabaseExtendedAuditingPolicyPtrInput ¶
type DatabaseExtendedAuditingPolicyPtrInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput }
type DatabaseExtendedAuditingPolicyPtrOutput ¶
type DatabaseExtendedAuditingPolicyPtrOutput struct {
*pulumi.OutputState
}
func (DatabaseExtendedAuditingPolicyPtrOutput) ElementType ¶
func (DatabaseExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutput ¶
func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
func (DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
type DatabaseExtendedAuditingPolicyState ¶
type DatabaseExtendedAuditingPolicyState struct { // The ID of the sql database to set the extended auditing policy. Changing this forces a new resource to be created. DatabaseId pulumi.StringPtrInput LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput }
func (DatabaseExtendedAuditingPolicyState) ElementType ¶
func (DatabaseExtendedAuditingPolicyState) ElementType() reflect.Type
type DatabaseExtendedAuditingPolicyType ¶
type DatabaseExtendedAuditingPolicyType struct { LogMonitoringEnabled *bool `pulumi:"logMonitoringEnabled"` // Specifies the number of days to retain logs for in the storage account. RetentionInDays *int `pulumi:"retentionInDays"` // Specifies the access key to use for the auditing storage account. StorageAccountAccessKey *string `pulumi:"storageAccountAccessKey"` // Specifies whether `storageAccountAccessKey` value is the storage's secondary key. StorageAccountAccessKeyIsSecondary *bool `pulumi:"storageAccountAccessKeyIsSecondary"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). StorageEndpoint *string `pulumi:"storageEndpoint"` }
type DatabaseExtendedAuditingPolicyTypeArgs ¶
type DatabaseExtendedAuditingPolicyTypeArgs struct { LogMonitoringEnabled pulumi.BoolPtrInput `pulumi:"logMonitoringEnabled"` // Specifies the number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput `pulumi:"retentionInDays"` // Specifies the access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput `pulumi:"storageAccountAccessKey"` // Specifies whether `storageAccountAccessKey` value is the storage's secondary key. StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput `pulumi:"storageAccountAccessKeyIsSecondary"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). StorageEndpoint pulumi.StringPtrInput `pulumi:"storageEndpoint"` }
func (DatabaseExtendedAuditingPolicyTypeArgs) ElementType ¶
func (DatabaseExtendedAuditingPolicyTypeArgs) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypeOutput ¶
func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypeOutput() DatabaseExtendedAuditingPolicyTypeOutput
func (DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypeOutputWithContext ¶
func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypeOutput
func (DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypePtrOutput ¶
func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypePtrOutput() DatabaseExtendedAuditingPolicyTypePtrOutput
func (DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext ¶
func (i DatabaseExtendedAuditingPolicyTypeArgs) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypePtrOutput
type DatabaseExtendedAuditingPolicyTypeInput ¶
type DatabaseExtendedAuditingPolicyTypeInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyTypeOutput() DatabaseExtendedAuditingPolicyTypeOutput ToDatabaseExtendedAuditingPolicyTypeOutputWithContext(context.Context) DatabaseExtendedAuditingPolicyTypeOutput }
DatabaseExtendedAuditingPolicyTypeInput is an input type that accepts DatabaseExtendedAuditingPolicyTypeArgs and DatabaseExtendedAuditingPolicyTypeOutput values. You can construct a concrete instance of `DatabaseExtendedAuditingPolicyTypeInput` via:
DatabaseExtendedAuditingPolicyTypeArgs{...}
type DatabaseExtendedAuditingPolicyTypeOutput ¶
type DatabaseExtendedAuditingPolicyTypeOutput struct{ *pulumi.OutputState }
func (DatabaseExtendedAuditingPolicyTypeOutput) ElementType ¶
func (DatabaseExtendedAuditingPolicyTypeOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyTypeOutput) LogMonitoringEnabled ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
func (DatabaseExtendedAuditingPolicyTypeOutput) RetentionInDays ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) RetentionInDays() pulumi.IntPtrOutput
Specifies the number of days to retain logs for in the storage account.
func (DatabaseExtendedAuditingPolicyTypeOutput) StorageAccountAccessKey ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the access key to use for the auditing storage account.
func (DatabaseExtendedAuditingPolicyTypeOutput) StorageAccountAccessKeyIsSecondary ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (DatabaseExtendedAuditingPolicyTypeOutput) StorageEndpoint ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) StorageEndpoint() pulumi.StringPtrOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypeOutput ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypeOutput() DatabaseExtendedAuditingPolicyTypeOutput
func (DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypeOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypeOutput
func (DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutput ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutput() DatabaseExtendedAuditingPolicyTypePtrOutput
func (DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyTypeOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypePtrOutput
type DatabaseExtendedAuditingPolicyTypePtrInput ¶
type DatabaseExtendedAuditingPolicyTypePtrInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyTypePtrOutput() DatabaseExtendedAuditingPolicyTypePtrOutput ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext(context.Context) DatabaseExtendedAuditingPolicyTypePtrOutput }
DatabaseExtendedAuditingPolicyTypePtrInput is an input type that accepts DatabaseExtendedAuditingPolicyTypeArgs, DatabaseExtendedAuditingPolicyTypePtr and DatabaseExtendedAuditingPolicyTypePtrOutput values. You can construct a concrete instance of `DatabaseExtendedAuditingPolicyTypePtrInput` via:
DatabaseExtendedAuditingPolicyTypeArgs{...} or: nil
func DatabaseExtendedAuditingPolicyTypePtr ¶
func DatabaseExtendedAuditingPolicyTypePtr(v *DatabaseExtendedAuditingPolicyTypeArgs) DatabaseExtendedAuditingPolicyTypePtrInput
type DatabaseExtendedAuditingPolicyTypePtrOutput ¶
type DatabaseExtendedAuditingPolicyTypePtrOutput struct{ *pulumi.OutputState }
func (DatabaseExtendedAuditingPolicyTypePtrOutput) ElementType ¶
func (DatabaseExtendedAuditingPolicyTypePtrOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyTypePtrOutput) LogMonitoringEnabled ¶
func (o DatabaseExtendedAuditingPolicyTypePtrOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
func (DatabaseExtendedAuditingPolicyTypePtrOutput) RetentionInDays ¶
func (o DatabaseExtendedAuditingPolicyTypePtrOutput) RetentionInDays() pulumi.IntPtrOutput
Specifies the number of days to retain logs for in the storage account.
func (DatabaseExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKey ¶
func (o DatabaseExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the access key to use for the auditing storage account.
func (DatabaseExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKeyIsSecondary ¶
func (o DatabaseExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (DatabaseExtendedAuditingPolicyTypePtrOutput) StorageEndpoint ¶
func (o DatabaseExtendedAuditingPolicyTypePtrOutput) StorageEndpoint() pulumi.StringPtrOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (DatabaseExtendedAuditingPolicyTypePtrOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutput ¶
func (o DatabaseExtendedAuditingPolicyTypePtrOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutput() DatabaseExtendedAuditingPolicyTypePtrOutput
func (DatabaseExtendedAuditingPolicyTypePtrOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext ¶
func (o DatabaseExtendedAuditingPolicyTypePtrOutput) ToDatabaseExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyTypePtrOutput
type DatabaseInput ¶
type DatabaseInput interface { pulumi.Input ToDatabaseOutput() DatabaseOutput ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput }
type DatabaseLongTermRetentionPolicy ¶
type DatabaseLongTermRetentionPolicy struct { // The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. `P1Y`, `P1M`, `P4W` or `P30D`. MonthlyRetention *string `pulumi:"monthlyRetention"` // The week of year to take the yearly backup in an ISO 8601 format. Value has to be between `1` and `52`. WeekOfYear *int `pulumi:"weekOfYear"` // The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. `P1Y`, `P1M`, `P1W` or `P7D`. WeeklyRetention *string `pulumi:"weeklyRetention"` // The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. `P1Y`, `P12M`, `P52W` or `P365D`. YearlyRetention *string `pulumi:"yearlyRetention"` }
type DatabaseLongTermRetentionPolicyArgs ¶
type DatabaseLongTermRetentionPolicyArgs struct { // The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. `P1Y`, `P1M`, `P4W` or `P30D`. MonthlyRetention pulumi.StringPtrInput `pulumi:"monthlyRetention"` // The week of year to take the yearly backup in an ISO 8601 format. Value has to be between `1` and `52`. WeekOfYear pulumi.IntPtrInput `pulumi:"weekOfYear"` // The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. `P1Y`, `P1M`, `P1W` or `P7D`. WeeklyRetention pulumi.StringPtrInput `pulumi:"weeklyRetention"` // The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. `P1Y`, `P12M`, `P52W` or `P365D`. YearlyRetention pulumi.StringPtrInput `pulumi:"yearlyRetention"` }
func (DatabaseLongTermRetentionPolicyArgs) ElementType ¶
func (DatabaseLongTermRetentionPolicyArgs) ElementType() reflect.Type
func (DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyOutput ¶
func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyOutput() DatabaseLongTermRetentionPolicyOutput
func (DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyOutputWithContext ¶
func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyOutput
func (DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyPtrOutput ¶
func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyPtrOutput() DatabaseLongTermRetentionPolicyPtrOutput
func (DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext ¶
func (i DatabaseLongTermRetentionPolicyArgs) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyPtrOutput
type DatabaseLongTermRetentionPolicyInput ¶
type DatabaseLongTermRetentionPolicyInput interface { pulumi.Input ToDatabaseLongTermRetentionPolicyOutput() DatabaseLongTermRetentionPolicyOutput ToDatabaseLongTermRetentionPolicyOutputWithContext(context.Context) DatabaseLongTermRetentionPolicyOutput }
DatabaseLongTermRetentionPolicyInput is an input type that accepts DatabaseLongTermRetentionPolicyArgs and DatabaseLongTermRetentionPolicyOutput values. You can construct a concrete instance of `DatabaseLongTermRetentionPolicyInput` via:
DatabaseLongTermRetentionPolicyArgs{...}
type DatabaseLongTermRetentionPolicyOutput ¶
type DatabaseLongTermRetentionPolicyOutput struct{ *pulumi.OutputState }
func (DatabaseLongTermRetentionPolicyOutput) ElementType ¶
func (DatabaseLongTermRetentionPolicyOutput) ElementType() reflect.Type
func (DatabaseLongTermRetentionPolicyOutput) MonthlyRetention ¶
func (o DatabaseLongTermRetentionPolicyOutput) MonthlyRetention() pulumi.StringPtrOutput
The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. `P1Y`, `P1M`, `P4W` or `P30D`.
func (DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyOutput ¶
func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyOutput() DatabaseLongTermRetentionPolicyOutput
func (DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyOutputWithContext ¶
func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyOutput
func (DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyPtrOutput ¶
func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyPtrOutput() DatabaseLongTermRetentionPolicyPtrOutput
func (DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext ¶
func (o DatabaseLongTermRetentionPolicyOutput) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyPtrOutput
func (DatabaseLongTermRetentionPolicyOutput) WeekOfYear ¶
func (o DatabaseLongTermRetentionPolicyOutput) WeekOfYear() pulumi.IntPtrOutput
The week of year to take the yearly backup in an ISO 8601 format. Value has to be between `1` and `52`.
func (DatabaseLongTermRetentionPolicyOutput) WeeklyRetention ¶
func (o DatabaseLongTermRetentionPolicyOutput) WeeklyRetention() pulumi.StringPtrOutput
The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. `P1Y`, `P1M`, `P1W` or `P7D`.
func (DatabaseLongTermRetentionPolicyOutput) YearlyRetention ¶
func (o DatabaseLongTermRetentionPolicyOutput) YearlyRetention() pulumi.StringPtrOutput
The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. `P1Y`, `P12M`, `P52W` or `P365D`.
type DatabaseLongTermRetentionPolicyPtrInput ¶
type DatabaseLongTermRetentionPolicyPtrInput interface { pulumi.Input ToDatabaseLongTermRetentionPolicyPtrOutput() DatabaseLongTermRetentionPolicyPtrOutput ToDatabaseLongTermRetentionPolicyPtrOutputWithContext(context.Context) DatabaseLongTermRetentionPolicyPtrOutput }
DatabaseLongTermRetentionPolicyPtrInput is an input type that accepts DatabaseLongTermRetentionPolicyArgs, DatabaseLongTermRetentionPolicyPtr and DatabaseLongTermRetentionPolicyPtrOutput values. You can construct a concrete instance of `DatabaseLongTermRetentionPolicyPtrInput` via:
DatabaseLongTermRetentionPolicyArgs{...} or: nil
func DatabaseLongTermRetentionPolicyPtr ¶
func DatabaseLongTermRetentionPolicyPtr(v *DatabaseLongTermRetentionPolicyArgs) DatabaseLongTermRetentionPolicyPtrInput
type DatabaseLongTermRetentionPolicyPtrOutput ¶
type DatabaseLongTermRetentionPolicyPtrOutput struct{ *pulumi.OutputState }
func (DatabaseLongTermRetentionPolicyPtrOutput) ElementType ¶
func (DatabaseLongTermRetentionPolicyPtrOutput) ElementType() reflect.Type
func (DatabaseLongTermRetentionPolicyPtrOutput) MonthlyRetention ¶
func (o DatabaseLongTermRetentionPolicyPtrOutput) MonthlyRetention() pulumi.StringPtrOutput
The monthly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 120 months. e.g. `P1Y`, `P1M`, `P4W` or `P30D`.
func (DatabaseLongTermRetentionPolicyPtrOutput) ToDatabaseLongTermRetentionPolicyPtrOutput ¶
func (o DatabaseLongTermRetentionPolicyPtrOutput) ToDatabaseLongTermRetentionPolicyPtrOutput() DatabaseLongTermRetentionPolicyPtrOutput
func (DatabaseLongTermRetentionPolicyPtrOutput) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext ¶
func (o DatabaseLongTermRetentionPolicyPtrOutput) ToDatabaseLongTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseLongTermRetentionPolicyPtrOutput
func (DatabaseLongTermRetentionPolicyPtrOutput) WeekOfYear ¶
func (o DatabaseLongTermRetentionPolicyPtrOutput) WeekOfYear() pulumi.IntPtrOutput
The week of year to take the yearly backup in an ISO 8601 format. Value has to be between `1` and `52`.
func (DatabaseLongTermRetentionPolicyPtrOutput) WeeklyRetention ¶
func (o DatabaseLongTermRetentionPolicyPtrOutput) WeeklyRetention() pulumi.StringPtrOutput
The weekly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 520 weeks. e.g. `P1Y`, `P1M`, `P1W` or `P7D`.
func (DatabaseLongTermRetentionPolicyPtrOutput) YearlyRetention ¶
func (o DatabaseLongTermRetentionPolicyPtrOutput) YearlyRetention() pulumi.StringPtrOutput
The yearly retention policy for an LTR backup in an ISO 8601 format. Valid value is between 1 to 10 years. e.g. `P1Y`, `P12M`, `P52W` or `P365D`.
type DatabaseMap ¶
type DatabaseMap map[string]DatabaseInput
func (DatabaseMap) ElementType ¶
func (DatabaseMap) ElementType() reflect.Type
func (DatabaseMap) ToDatabaseMapOutput ¶
func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMap) ToDatabaseMapOutputWithContext ¶
func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseMapInput ¶
type DatabaseMapInput interface { pulumi.Input ToDatabaseMapOutput() DatabaseMapOutput ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput }
DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:
DatabaseMap{ "key": DatabaseArgs{...} }
type DatabaseMapOutput ¶
type DatabaseMapOutput struct{ *pulumi.OutputState }
func (DatabaseMapOutput) ElementType ¶
func (DatabaseMapOutput) ElementType() reflect.Type
func (DatabaseMapOutput) MapIndex ¶
func (o DatabaseMapOutput) MapIndex(k pulumi.StringInput) DatabaseOutput
func (DatabaseMapOutput) ToDatabaseMapOutput ¶
func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMapOutput) ToDatabaseMapOutputWithContext ¶
func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseOutput ¶
type DatabaseOutput struct {
*pulumi.OutputState
}
func (DatabaseOutput) ElementType ¶
func (DatabaseOutput) ElementType() reflect.Type
func (DatabaseOutput) ToDatabaseOutput ¶
func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
func (DatabaseOutput) ToDatabaseOutputWithContext ¶
func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (DatabaseOutput) ToDatabasePtrOutput ¶
func (o DatabaseOutput) ToDatabasePtrOutput() DatabasePtrOutput
func (DatabaseOutput) ToDatabasePtrOutputWithContext ¶
func (o DatabaseOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
type DatabasePtrInput ¶
type DatabasePtrInput interface { pulumi.Input ToDatabasePtrOutput() DatabasePtrOutput ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput }
type DatabasePtrOutput ¶
type DatabasePtrOutput struct {
*pulumi.OutputState
}
func (DatabasePtrOutput) ElementType ¶
func (DatabasePtrOutput) ElementType() reflect.Type
func (DatabasePtrOutput) ToDatabasePtrOutput ¶
func (o DatabasePtrOutput) ToDatabasePtrOutput() DatabasePtrOutput
func (DatabasePtrOutput) ToDatabasePtrOutputWithContext ¶
func (o DatabasePtrOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
type DatabaseShortTermRetentionPolicy ¶
type DatabaseShortTermRetentionPolicy struct { // Point In Time Restore configuration. Value has to be between `7` and `35`. RetentionDays int `pulumi:"retentionDays"` }
type DatabaseShortTermRetentionPolicyArgs ¶
type DatabaseShortTermRetentionPolicyArgs struct { // Point In Time Restore configuration. Value has to be between `7` and `35`. RetentionDays pulumi.IntInput `pulumi:"retentionDays"` }
func (DatabaseShortTermRetentionPolicyArgs) ElementType ¶
func (DatabaseShortTermRetentionPolicyArgs) ElementType() reflect.Type
func (DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyOutput ¶
func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyOutput() DatabaseShortTermRetentionPolicyOutput
func (DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyOutputWithContext ¶
func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyOutput
func (DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyPtrOutput ¶
func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyPtrOutput() DatabaseShortTermRetentionPolicyPtrOutput
func (DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext ¶
func (i DatabaseShortTermRetentionPolicyArgs) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyPtrOutput
type DatabaseShortTermRetentionPolicyInput ¶
type DatabaseShortTermRetentionPolicyInput interface { pulumi.Input ToDatabaseShortTermRetentionPolicyOutput() DatabaseShortTermRetentionPolicyOutput ToDatabaseShortTermRetentionPolicyOutputWithContext(context.Context) DatabaseShortTermRetentionPolicyOutput }
DatabaseShortTermRetentionPolicyInput is an input type that accepts DatabaseShortTermRetentionPolicyArgs and DatabaseShortTermRetentionPolicyOutput values. You can construct a concrete instance of `DatabaseShortTermRetentionPolicyInput` via:
DatabaseShortTermRetentionPolicyArgs{...}
type DatabaseShortTermRetentionPolicyOutput ¶
type DatabaseShortTermRetentionPolicyOutput struct{ *pulumi.OutputState }
func (DatabaseShortTermRetentionPolicyOutput) ElementType ¶
func (DatabaseShortTermRetentionPolicyOutput) ElementType() reflect.Type
func (DatabaseShortTermRetentionPolicyOutput) RetentionDays ¶
func (o DatabaseShortTermRetentionPolicyOutput) RetentionDays() pulumi.IntOutput
Point In Time Restore configuration. Value has to be between `7` and `35`.
func (DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyOutput ¶
func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyOutput() DatabaseShortTermRetentionPolicyOutput
func (DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyOutputWithContext ¶
func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyOutput
func (DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyPtrOutput ¶
func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyPtrOutput() DatabaseShortTermRetentionPolicyPtrOutput
func (DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext ¶
func (o DatabaseShortTermRetentionPolicyOutput) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyPtrOutput
type DatabaseShortTermRetentionPolicyPtrInput ¶
type DatabaseShortTermRetentionPolicyPtrInput interface { pulumi.Input ToDatabaseShortTermRetentionPolicyPtrOutput() DatabaseShortTermRetentionPolicyPtrOutput ToDatabaseShortTermRetentionPolicyPtrOutputWithContext(context.Context) DatabaseShortTermRetentionPolicyPtrOutput }
DatabaseShortTermRetentionPolicyPtrInput is an input type that accepts DatabaseShortTermRetentionPolicyArgs, DatabaseShortTermRetentionPolicyPtr and DatabaseShortTermRetentionPolicyPtrOutput values. You can construct a concrete instance of `DatabaseShortTermRetentionPolicyPtrInput` via:
DatabaseShortTermRetentionPolicyArgs{...} or: nil
func DatabaseShortTermRetentionPolicyPtr ¶
func DatabaseShortTermRetentionPolicyPtr(v *DatabaseShortTermRetentionPolicyArgs) DatabaseShortTermRetentionPolicyPtrInput
type DatabaseShortTermRetentionPolicyPtrOutput ¶
type DatabaseShortTermRetentionPolicyPtrOutput struct{ *pulumi.OutputState }
func (DatabaseShortTermRetentionPolicyPtrOutput) ElementType ¶
func (DatabaseShortTermRetentionPolicyPtrOutput) ElementType() reflect.Type
func (DatabaseShortTermRetentionPolicyPtrOutput) RetentionDays ¶
func (o DatabaseShortTermRetentionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
Point In Time Restore configuration. Value has to be between `7` and `35`.
func (DatabaseShortTermRetentionPolicyPtrOutput) ToDatabaseShortTermRetentionPolicyPtrOutput ¶
func (o DatabaseShortTermRetentionPolicyPtrOutput) ToDatabaseShortTermRetentionPolicyPtrOutput() DatabaseShortTermRetentionPolicyPtrOutput
func (DatabaseShortTermRetentionPolicyPtrOutput) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext ¶
func (o DatabaseShortTermRetentionPolicyPtrOutput) ToDatabaseShortTermRetentionPolicyPtrOutputWithContext(ctx context.Context) DatabaseShortTermRetentionPolicyPtrOutput
type DatabaseState ¶
type DatabaseState struct { // Time in minutes after which database is automatically paused. A value of `-1` means that automatic pause is disabled. This property is only settable for General Purpose Serverless databases. AutoPauseDelayInMinutes pulumi.IntPtrInput // Specifies the collation of the database. Changing this forces a new resource to be created. Collation pulumi.StringPtrInput // The create mode of the database. Possible values are `Copy`, `Default`, `OnlineSecondary`, `PointInTimeRestore`, `Recovery`, `Restore`, `RestoreExternalBackup`, `RestoreExternalBackupSecondary`, `RestoreLongTermRetentionBackup` and `Secondary`. CreateMode pulumi.StringPtrInput // The id of the source database to be referred to create the new database. This should only be used for databases with `createMode` values that use another database as reference. Changing this forces a new resource to be created. CreationSourceDatabaseId pulumi.StringPtrInput // Specifies the ID of the elastic pool containing this database. ElasticPoolId pulumi.StringPtrInput // A `extendedAuditingPolicy` block as defined below. // // Deprecated: the `extended_auditing_policy` block has been moved to `azurerm_mssql_server_extended_auditing_policy` and `azurerm_mssql_database_extended_auditing_policy`. This block will be removed in version 3.0 of the provider. ExtendedAuditingPolicy DatabaseExtendedAuditingPolicyTypePtrInput // A boolean that specifies if the Geo Backup Policy is enabled. GeoBackupEnabled pulumi.BoolPtrInput // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringPtrInput // A `longTermRetentionPolicy` block as defined below. LongTermRetentionPolicy DatabaseLongTermRetentionPolicyPtrInput // The max size of the database in gigabytes. MaxSizeGb pulumi.IntPtrInput // Minimal capacity that database will always have allocated, if not paused. This property is only settable for General Purpose Serverless databases. MinCapacity pulumi.Float64PtrInput // The name of the Ms SQL Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. This property is only settable for Hyperscale edition databases. ReadReplicaCount pulumi.IntPtrInput // If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. This property is only settable for Premium and Business Critical databases. ReadScale pulumi.BoolPtrInput // The ID of the database to be recovered. This property is only applicable when the `createMode` is `Recovery`. RecoverDatabaseId pulumi.StringPtrInput // The ID of the database to be restored. This property is only applicable when the `createMode` is `Restore`. RestoreDroppedDatabaseId pulumi.StringPtrInput // Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. This property is only settable for `createMode`= `PointInTimeRestore` databases. RestorePointInTime pulumi.StringPtrInput // Specifies the name of the sample schema to apply when creating this database. Possible value is `AdventureWorksLT`. SampleName pulumi.StringPtrInput // The id of the Ms SQL Server on which to create the database. Changing this forces a new resource to be created. ServerId pulumi.StringPtrInput // A `shortTermRetentionPolicy` block as defined below. ShortTermRetentionPolicy DatabaseShortTermRetentionPolicyPtrInput // Specifies the name of the sku used by the database. Changing this forces a new resource to be created. For example, `GP_S_Gen5_2`,`HS_Gen4_1`,`BC_Gen5_2`, `ElasticPool`, `Basic`,`S0`, `P2` ,`DW100c`, `DS100`. SkuName pulumi.StringPtrInput // Specifies the storage account type used to store backups for this database. Changing this forces a new resource to be created. Possible values are `GRS`, `LRS` and `ZRS`. The default value is `GRS`. StorageAccountType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Threat detection policy configuration. The `threatDetectionPolicy` block supports fields documented below. ThreatDetectionPolicy DatabaseThreatDetectionPolicyPtrInput // Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. This property is only settable for Premium and Business Critical databases. ZoneRedundant pulumi.BoolPtrInput }
func (DatabaseState) ElementType ¶
func (DatabaseState) ElementType() reflect.Type
type DatabaseThreatDetectionPolicy ¶
type DatabaseThreatDetectionPolicy struct { // Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`. DisabledAlerts []string `pulumi:"disabledAlerts"` // Should the account administrators be emailed when this alert is triggered? EmailAccountAdmins *string `pulumi:"emailAccountAdmins"` // A list of email addresses which alerts should be sent to. EmailAddresses []string `pulumi:"emailAddresses"` // Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays *int `pulumi:"retentionDays"` // The State of the Policy. Possible values are `Enabled`, `Disabled` or `New`. State *string `pulumi:"state"` // Specifies the identifier key of the Threat Detection audit storage account. Required if `state` is `Enabled`. StorageAccountAccessKey *string `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if `state` is `Enabled`. StorageEndpoint *string `pulumi:"storageEndpoint"` // Should the default server policy be used? Defaults to `Disabled`. UseServerDefault *string `pulumi:"useServerDefault"` }
type DatabaseThreatDetectionPolicyArgs ¶
type DatabaseThreatDetectionPolicyArgs struct { // Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`. DisabledAlerts pulumi.StringArrayInput `pulumi:"disabledAlerts"` // Should the account administrators be emailed when this alert is triggered? EmailAccountAdmins pulumi.StringPtrInput `pulumi:"emailAccountAdmins"` // A list of email addresses which alerts should be sent to. EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` // Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays pulumi.IntPtrInput `pulumi:"retentionDays"` // The State of the Policy. Possible values are `Enabled`, `Disabled` or `New`. State pulumi.StringPtrInput `pulumi:"state"` // Specifies the identifier key of the Threat Detection audit storage account. Required if `state` is `Enabled`. StorageAccountAccessKey pulumi.StringPtrInput `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if `state` is `Enabled`. StorageEndpoint pulumi.StringPtrInput `pulumi:"storageEndpoint"` // Should the default server policy be used? Defaults to `Disabled`. UseServerDefault pulumi.StringPtrInput `pulumi:"useServerDefault"` }
func (DatabaseThreatDetectionPolicyArgs) ElementType ¶
func (DatabaseThreatDetectionPolicyArgs) ElementType() reflect.Type
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutput ¶
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutputWithContext ¶
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutput ¶
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutputWithContext ¶
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
type DatabaseThreatDetectionPolicyInput ¶
type DatabaseThreatDetectionPolicyInput interface { pulumi.Input ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput ToDatabaseThreatDetectionPolicyOutputWithContext(context.Context) DatabaseThreatDetectionPolicyOutput }
DatabaseThreatDetectionPolicyInput is an input type that accepts DatabaseThreatDetectionPolicyArgs and DatabaseThreatDetectionPolicyOutput values. You can construct a concrete instance of `DatabaseThreatDetectionPolicyInput` via:
DatabaseThreatDetectionPolicyArgs{...}
type DatabaseThreatDetectionPolicyOutput ¶
type DatabaseThreatDetectionPolicyOutput struct{ *pulumi.OutputState }
func (DatabaseThreatDetectionPolicyOutput) DisabledAlerts ¶
func (o DatabaseThreatDetectionPolicyOutput) DisabledAlerts() pulumi.StringArrayOutput
Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`.
func (DatabaseThreatDetectionPolicyOutput) ElementType ¶
func (DatabaseThreatDetectionPolicyOutput) ElementType() reflect.Type
func (DatabaseThreatDetectionPolicyOutput) EmailAccountAdmins ¶
func (o DatabaseThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.StringPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (DatabaseThreatDetectionPolicyOutput) EmailAddresses ¶
func (o DatabaseThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (DatabaseThreatDetectionPolicyOutput) RetentionDays ¶
func (o DatabaseThreatDetectionPolicyOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (DatabaseThreatDetectionPolicyOutput) State ¶
func (o DatabaseThreatDetectionPolicyOutput) State() pulumi.StringPtrOutput
The State of the Policy. Possible values are `Enabled`, `Disabled` or `New`.
func (DatabaseThreatDetectionPolicyOutput) StorageAccountAccessKey ¶
func (o DatabaseThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the identifier key of the Threat Detection audit storage account. Required if `state` is `Enabled`.
func (DatabaseThreatDetectionPolicyOutput) StorageEndpoint ¶
func (o DatabaseThreatDetectionPolicyOutput) StorageEndpoint() pulumi.StringPtrOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if `state` is `Enabled`.
func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutput ¶
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutputWithContext ¶
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutput ¶
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext ¶
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyOutput) UseServerDefault ¶
func (o DatabaseThreatDetectionPolicyOutput) UseServerDefault() pulumi.StringPtrOutput
Should the default server policy be used? Defaults to `Disabled`.
type DatabaseThreatDetectionPolicyPtrInput ¶
type DatabaseThreatDetectionPolicyPtrInput interface { pulumi.Input ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput ToDatabaseThreatDetectionPolicyPtrOutputWithContext(context.Context) DatabaseThreatDetectionPolicyPtrOutput }
DatabaseThreatDetectionPolicyPtrInput is an input type that accepts DatabaseThreatDetectionPolicyArgs, DatabaseThreatDetectionPolicyPtr and DatabaseThreatDetectionPolicyPtrOutput values. You can construct a concrete instance of `DatabaseThreatDetectionPolicyPtrInput` via:
DatabaseThreatDetectionPolicyArgs{...} or: nil
func DatabaseThreatDetectionPolicyPtr ¶
func DatabaseThreatDetectionPolicyPtr(v *DatabaseThreatDetectionPolicyArgs) DatabaseThreatDetectionPolicyPtrInput
type DatabaseThreatDetectionPolicyPtrOutput ¶
type DatabaseThreatDetectionPolicyPtrOutput struct{ *pulumi.OutputState }
func (DatabaseThreatDetectionPolicyPtrOutput) DisabledAlerts ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) DisabledAlerts() pulumi.StringArrayOutput
Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`.
func (DatabaseThreatDetectionPolicyPtrOutput) ElementType ¶
func (DatabaseThreatDetectionPolicyPtrOutput) ElementType() reflect.Type
func (DatabaseThreatDetectionPolicyPtrOutput) EmailAccountAdmins ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) EmailAccountAdmins() pulumi.StringPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (DatabaseThreatDetectionPolicyPtrOutput) EmailAddresses ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (DatabaseThreatDetectionPolicyPtrOutput) RetentionDays ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (DatabaseThreatDetectionPolicyPtrOutput) State ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) State() pulumi.StringPtrOutput
The State of the Policy. Possible values are `Enabled`, `Disabled` or `New`.
func (DatabaseThreatDetectionPolicyPtrOutput) StorageAccountAccessKey ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the identifier key of the Threat Detection audit storage account. Required if `state` is `Enabled`.
func (DatabaseThreatDetectionPolicyPtrOutput) StorageEndpoint ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. Required if `state` is `Enabled`.
func (DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutput ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyPtrOutput) UseServerDefault ¶
func (o DatabaseThreatDetectionPolicyPtrOutput) UseServerDefault() pulumi.StringPtrOutput
Should the default server policy be used? Defaults to `Disabled`.
type DatabaseVulnerabilityAssessmentRuleBaseline ¶
type DatabaseVulnerabilityAssessmentRuleBaseline struct { pulumi.CustomResourceState // The name of the vulnerability assessment rule baseline. Valid options are `default` and `master`. `default` implies a baseline on a database level rule and `master` for server level rule. Defaults to `default`. Changing this forces a new resource to be created. BaselineName pulumi.StringPtrOutput `pulumi:"baselineName"` // A `baselineResult` block as documented below. Multiple blocks can be defined. BaselineResults DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput `pulumi:"baselineResults"` // Specifies the name of the MS SQL Database. Changing this forces a new resource to be created. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The vulnerability assessment rule ID. Changing this forces a new resource to be created. RuleId pulumi.StringOutput `pulumi:"ruleId"` // The Vulnerability Assessment ID of the MS SQL Server. Changing this forces a new resource to be created. ServerVulnerabilityAssessmentId pulumi.StringOutput `pulumi:"serverVulnerabilityAssessmentId"` }
Manages a Database Vulnerability Assessment Rule Baseline.
> **NOTE** Database Vulnerability Assessment is currently only available for MS SQL databases.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/sql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleSqlServer, err := sql.NewSqlServer(ctx, "exampleSqlServer", &sql.SqlServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("GRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleServerSecurityAlertPolicy, err := mssql.NewServerSecurityAlertPolicy(ctx, "exampleServerSecurityAlertPolicy", &mssql.ServerSecurityAlertPolicyArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleSqlServer.Name, State: pulumi.String("Enabled"), }) if err != nil { return err } exampleDatabase, err := sql.NewDatabase(ctx, "exampleDatabase", &sql.DatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleSqlServer.Name, Location: exampleResourceGroup.Location, Edition: pulumi.String("Standard"), }) if err != nil { return err } exampleServerVulnerabilityAssessment, err := mssql.NewServerVulnerabilityAssessment(ctx, "exampleServerVulnerabilityAssessment", &mssql.ServerVulnerabilityAssessmentArgs{ ServerSecurityAlertPolicyId: exampleServerSecurityAlertPolicy.ID(), StorageContainerPath: pulumi.All(exampleAccount.PrimaryBlobEndpoint, exampleContainer.Name).ApplyT(func(_args []interface{}) (string, error) { primaryBlobEndpoint := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("%v%v%v", primaryBlobEndpoint, name, "/"), nil }).(pulumi.StringOutput), StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, }) if err != nil { return err } _, err = mssql.NewDatabaseVulnerabilityAssessmentRuleBaseline(ctx, "exampleDatabaseVulnerabilityAssessmentRuleBaseline", &mssql.DatabaseVulnerabilityAssessmentRuleBaselineArgs{ ServerVulnerabilityAssessmentId: exampleServerVulnerabilityAssessment.ID(), DatabaseName: exampleDatabase.Name, RuleId: pulumi.String("VA2065"), BaselineName: pulumi.String("master"), BaselineResults: mssql.DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray{ &mssql.DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs{ Results: pulumi.StringArray{ pulumi.String("allowedip1"), pulumi.String("123.123.123.123"), pulumi.String("123.123.123.123"), }, }, &mssql.DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs{ Results: pulumi.StringArray{ pulumi.String("allowedip2"), pulumi.String("255.255.255.255"), pulumi.String("255.255.255.255"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Database Vulnerability Assessment Rule Baseline can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/databaseVulnerabilityAssessmentRuleBaseline:DatabaseVulnerabilityAssessmentRuleBaseline example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acceptanceTestResourceGroup1/providers/Microsoft.Sql/servers/mssqlserver/databases/mysqldatabase/vulnerabilityAssessments/Default/rules/VA2065/baselines/master
```
func GetDatabaseVulnerabilityAssessmentRuleBaseline ¶
func GetDatabaseVulnerabilityAssessmentRuleBaseline(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseVulnerabilityAssessmentRuleBaselineState, opts ...pulumi.ResourceOption) (*DatabaseVulnerabilityAssessmentRuleBaseline, error)
GetDatabaseVulnerabilityAssessmentRuleBaseline gets an existing DatabaseVulnerabilityAssessmentRuleBaseline 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 NewDatabaseVulnerabilityAssessmentRuleBaseline ¶
func NewDatabaseVulnerabilityAssessmentRuleBaseline(ctx *pulumi.Context, name string, args *DatabaseVulnerabilityAssessmentRuleBaselineArgs, opts ...pulumi.ResourceOption) (*DatabaseVulnerabilityAssessmentRuleBaseline, error)
NewDatabaseVulnerabilityAssessmentRuleBaseline registers a new resource with the given unique name, arguments, and options.
func (*DatabaseVulnerabilityAssessmentRuleBaseline) ElementType ¶
func (*DatabaseVulnerabilityAssessmentRuleBaseline) ElementType() reflect.Type
func (*DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselineOutput ¶
func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselineOutput() DatabaseVulnerabilityAssessmentRuleBaselineOutput
func (*DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselineOutputWithContext ¶
func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselineOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineOutput
func (*DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput ¶
func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput() DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
func (*DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext ¶
func (i *DatabaseVulnerabilityAssessmentRuleBaseline) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
type DatabaseVulnerabilityAssessmentRuleBaselineArgs ¶
type DatabaseVulnerabilityAssessmentRuleBaselineArgs struct { // The name of the vulnerability assessment rule baseline. Valid options are `default` and `master`. `default` implies a baseline on a database level rule and `master` for server level rule. Defaults to `default`. Changing this forces a new resource to be created. BaselineName pulumi.StringPtrInput // A `baselineResult` block as documented below. Multiple blocks can be defined. BaselineResults DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayInput // Specifies the name of the MS SQL Database. Changing this forces a new resource to be created. DatabaseName pulumi.StringInput // The vulnerability assessment rule ID. Changing this forces a new resource to be created. RuleId pulumi.StringInput // The Vulnerability Assessment ID of the MS SQL Server. Changing this forces a new resource to be created. ServerVulnerabilityAssessmentId pulumi.StringInput }
The set of arguments for constructing a DatabaseVulnerabilityAssessmentRuleBaseline resource.
func (DatabaseVulnerabilityAssessmentRuleBaselineArgs) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineArgs) ElementType() reflect.Type
type DatabaseVulnerabilityAssessmentRuleBaselineArray ¶
type DatabaseVulnerabilityAssessmentRuleBaselineArray []DatabaseVulnerabilityAssessmentRuleBaselineInput
func (DatabaseVulnerabilityAssessmentRuleBaselineArray) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineArray) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineArray) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutput ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineArray) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineArray) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutputWithContext ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineArray) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
type DatabaseVulnerabilityAssessmentRuleBaselineArrayInput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineArrayInput interface { pulumi.Input ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutputWithContext(context.Context) DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput }
DatabaseVulnerabilityAssessmentRuleBaselineArrayInput is an input type that accepts DatabaseVulnerabilityAssessmentRuleBaselineArray and DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput values. You can construct a concrete instance of `DatabaseVulnerabilityAssessmentRuleBaselineArrayInput` via:
DatabaseVulnerabilityAssessmentRuleBaselineArray{ DatabaseVulnerabilityAssessmentRuleBaselineArgs{...} }
type DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput struct{ *pulumi.OutputState }
func (DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutput ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutputWithContext ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineArrayOutput
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResult ¶
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResult struct { // A list representing a result of the baseline. Results []string `pulumi:"results"` }
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs ¶
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs struct { // A list representing a result of the baseline. Results pulumi.StringArrayInput `pulumi:"results"` }
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutputWithContext ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray ¶
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray []DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultInput
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutputWithContext ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayInput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayInput interface { pulumi.Input ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutputWithContext(context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput }
DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayInput is an input type that accepts DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray and DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput values. You can construct a concrete instance of `DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayInput` via:
DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArray{ DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs{...} }
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput struct{ *pulumi.OutputState }
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutputWithContext ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayOutput
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultInput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultInput interface { pulumi.Input ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutputWithContext(context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput }
DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultInput is an input type that accepts DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs and DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput values. You can construct a concrete instance of `DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultInput` via:
DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArgs{...}
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput struct{ *pulumi.OutputState }
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) Results ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) Results() pulumi.StringArrayOutput
A list representing a result of the baseline.
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput() DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutputWithContext ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultOutput
type DatabaseVulnerabilityAssessmentRuleBaselineInput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineInput interface { pulumi.Input ToDatabaseVulnerabilityAssessmentRuleBaselineOutput() DatabaseVulnerabilityAssessmentRuleBaselineOutput ToDatabaseVulnerabilityAssessmentRuleBaselineOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineOutput }
type DatabaseVulnerabilityAssessmentRuleBaselineMap ¶
type DatabaseVulnerabilityAssessmentRuleBaselineMap map[string]DatabaseVulnerabilityAssessmentRuleBaselineInput
func (DatabaseVulnerabilityAssessmentRuleBaselineMap) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineMap) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineMap) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutput ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineMap) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutput() DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineMap) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutputWithContext ¶
func (i DatabaseVulnerabilityAssessmentRuleBaselineMap) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
type DatabaseVulnerabilityAssessmentRuleBaselineMapInput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineMapInput interface { pulumi.Input ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutput() DatabaseVulnerabilityAssessmentRuleBaselineMapOutput ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutputWithContext(context.Context) DatabaseVulnerabilityAssessmentRuleBaselineMapOutput }
DatabaseVulnerabilityAssessmentRuleBaselineMapInput is an input type that accepts DatabaseVulnerabilityAssessmentRuleBaselineMap and DatabaseVulnerabilityAssessmentRuleBaselineMapOutput values. You can construct a concrete instance of `DatabaseVulnerabilityAssessmentRuleBaselineMapInput` via:
DatabaseVulnerabilityAssessmentRuleBaselineMap{ "key": DatabaseVulnerabilityAssessmentRuleBaselineArgs{...} }
type DatabaseVulnerabilityAssessmentRuleBaselineMapOutput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineMapOutput struct{ *pulumi.OutputState }
func (DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutput ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutput() DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutputWithContext ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineMapOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineMapOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineMapOutput
type DatabaseVulnerabilityAssessmentRuleBaselineOutput ¶
type DatabaseVulnerabilityAssessmentRuleBaselineOutput struct {
*pulumi.OutputState
}
func (DatabaseVulnerabilityAssessmentRuleBaselineOutput) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineOutput) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineOutput ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineOutput() DatabaseVulnerabilityAssessmentRuleBaselineOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineOutputWithContext ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselineOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselineOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput() DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
func (DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselineOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
type DatabaseVulnerabilityAssessmentRuleBaselinePtrInput ¶
type DatabaseVulnerabilityAssessmentRuleBaselinePtrInput interface { pulumi.Input ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput() DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput }
type DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput ¶
type DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput struct {
*pulumi.OutputState
}
func (DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ElementType() reflect.Type
func (DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutput() DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
func (DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext ¶
func (o DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput) ToDatabaseVulnerabilityAssessmentRuleBaselinePtrOutputWithContext(ctx context.Context) DatabaseVulnerabilityAssessmentRuleBaselinePtrOutput
type DatabaseVulnerabilityAssessmentRuleBaselineState ¶
type DatabaseVulnerabilityAssessmentRuleBaselineState struct { // The name of the vulnerability assessment rule baseline. Valid options are `default` and `master`. `default` implies a baseline on a database level rule and `master` for server level rule. Defaults to `default`. Changing this forces a new resource to be created. BaselineName pulumi.StringPtrInput // A `baselineResult` block as documented below. Multiple blocks can be defined. BaselineResults DatabaseVulnerabilityAssessmentRuleBaselineBaselineResultArrayInput // Specifies the name of the MS SQL Database. Changing this forces a new resource to be created. DatabaseName pulumi.StringPtrInput // The vulnerability assessment rule ID. Changing this forces a new resource to be created. RuleId pulumi.StringPtrInput // The Vulnerability Assessment ID of the MS SQL Server. Changing this forces a new resource to be created. ServerVulnerabilityAssessmentId pulumi.StringPtrInput }
func (DatabaseVulnerabilityAssessmentRuleBaselineState) ElementType ¶
func (DatabaseVulnerabilityAssessmentRuleBaselineState) ElementType() reflect.Type
type ElasticPool ¶
type ElasticPool struct { pulumi.CustomResourceState // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringOutput `pulumi:"licenseType"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The max data size of the elastic pool in bytes. Conflicts with `maxSizeGb`. MaxSizeBytes pulumi.IntOutput `pulumi:"maxSizeBytes"` // The max data size of the elastic pool in gigabytes. Conflicts with `maxSizeBytes`. MaxSizeGb pulumi.Float64Output `pulumi:"maxSizeGb"` // The name of the elastic pool. This needs to be globally unique. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A `perDatabaseSettings` block as defined below. PerDatabaseSettings ElasticPoolPerDatabaseSettingsOutput `pulumi:"perDatabaseSettings"` // The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // A `sku` block as defined below. Sku ElasticPoolSkuOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Whether or not this elastic pool is zone redundant. `tier` needs to be `Premium` for `DTU` based or `BusinessCritical` for `vCore` based `sku`. Defaults to `false`. ZoneRedundant pulumi.BoolPtrOutput `pulumi:"zoneRedundant"` }
Allows you to manage an Azure SQL Elastic Pool via the `v3.0` API which allows for `vCore` and `DTU` based configurations.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/sql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleSqlServer, err := sql.NewSqlServer(ctx, "exampleSqlServer", &sql.SqlServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } _, err = mssql.NewElasticPool(ctx, "exampleElasticPool", &mssql.ElasticPoolArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, ServerName: exampleSqlServer.Name, LicenseType: pulumi.String("LicenseIncluded"), MaxSizeGb: pulumi.Float64(756), Sku: &mssql.ElasticPoolSkuArgs{ Name: pulumi.String("GP_Gen5"), Tier: pulumi.String("GeneralPurpose"), Family: pulumi.String("Gen5"), Capacity: pulumi.Int(4), }, PerDatabaseSettings: &mssql.ElasticPoolPerDatabaseSettingsArgs{ MinCapacity: pulumi.Float64(0.25), MaxCapacity: pulumi.Float64(4), }, }) if err != nil { return err } return nil }) }
```
## Import
SQL Elastic Pool can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/elasticPool:ElasticPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Sql/servers/myserver/elasticPools/myelasticpoolname
```
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.
func (*ElasticPool) ElementType ¶
func (*ElasticPool) ElementType() reflect.Type
func (*ElasticPool) ToElasticPoolOutput ¶
func (i *ElasticPool) ToElasticPoolOutput() ElasticPoolOutput
func (*ElasticPool) ToElasticPoolOutputWithContext ¶
func (i *ElasticPool) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput
func (*ElasticPool) ToElasticPoolPtrOutput ¶
func (i *ElasticPool) ToElasticPoolPtrOutput() ElasticPoolPtrOutput
func (*ElasticPool) ToElasticPoolPtrOutputWithContext ¶
func (i *ElasticPool) ToElasticPoolPtrOutputWithContext(ctx context.Context) ElasticPoolPtrOutput
type ElasticPoolArgs ¶
type ElasticPoolArgs struct { // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The max data size of the elastic pool in bytes. Conflicts with `maxSizeGb`. MaxSizeBytes pulumi.IntPtrInput // The max data size of the elastic pool in gigabytes. Conflicts with `maxSizeBytes`. MaxSizeGb pulumi.Float64PtrInput // The name of the elastic pool. This needs to be globally unique. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `perDatabaseSettings` block as defined below. PerDatabaseSettings ElasticPoolPerDatabaseSettingsInput // The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server. ResourceGroupName pulumi.StringInput // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. ServerName pulumi.StringInput // A `sku` block as defined below. Sku ElasticPoolSkuInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Whether or not this elastic pool is zone redundant. `tier` needs to be `Premium` for `DTU` based or `BusinessCritical` for `vCore` based `sku`. Defaults to `false`. ZoneRedundant pulumi.BoolPtrInput }
The set of arguments for constructing a ElasticPool resource.
func (ElasticPoolArgs) ElementType ¶
func (ElasticPoolArgs) ElementType() reflect.Type
type ElasticPoolArray ¶
type ElasticPoolArray []ElasticPoolInput
func (ElasticPoolArray) ElementType ¶
func (ElasticPoolArray) ElementType() reflect.Type
func (ElasticPoolArray) ToElasticPoolArrayOutput ¶
func (i ElasticPoolArray) ToElasticPoolArrayOutput() ElasticPoolArrayOutput
func (ElasticPoolArray) ToElasticPoolArrayOutputWithContext ¶
func (i ElasticPoolArray) ToElasticPoolArrayOutputWithContext(ctx context.Context) ElasticPoolArrayOutput
type ElasticPoolArrayInput ¶
type ElasticPoolArrayInput interface { pulumi.Input ToElasticPoolArrayOutput() ElasticPoolArrayOutput ToElasticPoolArrayOutputWithContext(context.Context) ElasticPoolArrayOutput }
ElasticPoolArrayInput is an input type that accepts ElasticPoolArray and ElasticPoolArrayOutput values. You can construct a concrete instance of `ElasticPoolArrayInput` via:
ElasticPoolArray{ ElasticPoolArgs{...} }
type ElasticPoolArrayOutput ¶
type ElasticPoolArrayOutput struct{ *pulumi.OutputState }
func (ElasticPoolArrayOutput) ElementType ¶
func (ElasticPoolArrayOutput) ElementType() reflect.Type
func (ElasticPoolArrayOutput) Index ¶
func (o ElasticPoolArrayOutput) Index(i pulumi.IntInput) ElasticPoolOutput
func (ElasticPoolArrayOutput) ToElasticPoolArrayOutput ¶
func (o ElasticPoolArrayOutput) ToElasticPoolArrayOutput() ElasticPoolArrayOutput
func (ElasticPoolArrayOutput) ToElasticPoolArrayOutputWithContext ¶
func (o ElasticPoolArrayOutput) ToElasticPoolArrayOutputWithContext(ctx context.Context) ElasticPoolArrayOutput
type ElasticPoolInput ¶
type ElasticPoolInput interface { pulumi.Input ToElasticPoolOutput() ElasticPoolOutput ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput }
type ElasticPoolMap ¶
type ElasticPoolMap map[string]ElasticPoolInput
func (ElasticPoolMap) ElementType ¶
func (ElasticPoolMap) ElementType() reflect.Type
func (ElasticPoolMap) ToElasticPoolMapOutput ¶
func (i ElasticPoolMap) ToElasticPoolMapOutput() ElasticPoolMapOutput
func (ElasticPoolMap) ToElasticPoolMapOutputWithContext ¶
func (i ElasticPoolMap) ToElasticPoolMapOutputWithContext(ctx context.Context) ElasticPoolMapOutput
type ElasticPoolMapInput ¶
type ElasticPoolMapInput interface { pulumi.Input ToElasticPoolMapOutput() ElasticPoolMapOutput ToElasticPoolMapOutputWithContext(context.Context) ElasticPoolMapOutput }
ElasticPoolMapInput is an input type that accepts ElasticPoolMap and ElasticPoolMapOutput values. You can construct a concrete instance of `ElasticPoolMapInput` via:
ElasticPoolMap{ "key": ElasticPoolArgs{...} }
type ElasticPoolMapOutput ¶
type ElasticPoolMapOutput struct{ *pulumi.OutputState }
func (ElasticPoolMapOutput) ElementType ¶
func (ElasticPoolMapOutput) ElementType() reflect.Type
func (ElasticPoolMapOutput) MapIndex ¶
func (o ElasticPoolMapOutput) MapIndex(k pulumi.StringInput) ElasticPoolOutput
func (ElasticPoolMapOutput) ToElasticPoolMapOutput ¶
func (o ElasticPoolMapOutput) ToElasticPoolMapOutput() ElasticPoolMapOutput
func (ElasticPoolMapOutput) ToElasticPoolMapOutputWithContext ¶
func (o ElasticPoolMapOutput) ToElasticPoolMapOutputWithContext(ctx context.Context) ElasticPoolMapOutput
type ElasticPoolOutput ¶
type ElasticPoolOutput struct {
*pulumi.OutputState
}
func (ElasticPoolOutput) ElementType ¶
func (ElasticPoolOutput) ElementType() reflect.Type
func (ElasticPoolOutput) ToElasticPoolOutput ¶
func (o ElasticPoolOutput) ToElasticPoolOutput() ElasticPoolOutput
func (ElasticPoolOutput) ToElasticPoolOutputWithContext ¶
func (o ElasticPoolOutput) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput
func (ElasticPoolOutput) ToElasticPoolPtrOutput ¶
func (o ElasticPoolOutput) ToElasticPoolPtrOutput() ElasticPoolPtrOutput
func (ElasticPoolOutput) ToElasticPoolPtrOutputWithContext ¶
func (o ElasticPoolOutput) ToElasticPoolPtrOutputWithContext(ctx context.Context) ElasticPoolPtrOutput
type ElasticPoolPerDatabaseSettingsArgs ¶
type ElasticPoolPerDatabaseSettingsArgs struct { // The maximum capacity any one database can consume. MaxCapacity pulumi.Float64Input `pulumi:"maxCapacity"` // The minimum capacity all databases are guaranteed. MinCapacity pulumi.Float64Input `pulumi:"minCapacity"` }
func (ElasticPoolPerDatabaseSettingsArgs) ElementType ¶
func (ElasticPoolPerDatabaseSettingsArgs) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutput ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutputWithContext ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutput ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
func (ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext ¶
func (i ElasticPoolPerDatabaseSettingsArgs) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
type ElasticPoolPerDatabaseSettingsInput ¶
type ElasticPoolPerDatabaseSettingsInput interface { pulumi.Input ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput ToElasticPoolPerDatabaseSettingsOutputWithContext(context.Context) ElasticPoolPerDatabaseSettingsOutput }
ElasticPoolPerDatabaseSettingsInput is an input type that accepts ElasticPoolPerDatabaseSettingsArgs and ElasticPoolPerDatabaseSettingsOutput values. You can construct a concrete instance of `ElasticPoolPerDatabaseSettingsInput` via:
ElasticPoolPerDatabaseSettingsArgs{...}
type ElasticPoolPerDatabaseSettingsOutput ¶
type ElasticPoolPerDatabaseSettingsOutput struct{ *pulumi.OutputState }
func (ElasticPoolPerDatabaseSettingsOutput) ElementType ¶
func (ElasticPoolPerDatabaseSettingsOutput) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsOutput) MaxCapacity ¶
func (o ElasticPoolPerDatabaseSettingsOutput) MaxCapacity() pulumi.Float64Output
The maximum capacity any one database can consume.
func (ElasticPoolPerDatabaseSettingsOutput) MinCapacity ¶
func (o ElasticPoolPerDatabaseSettingsOutput) MinCapacity() pulumi.Float64Output
The minimum capacity all databases are guaranteed.
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutput ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutput() ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsOutput
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutput ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
func (ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
type ElasticPoolPerDatabaseSettingsPtrInput ¶
type ElasticPoolPerDatabaseSettingsPtrInput interface { pulumi.Input ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(context.Context) ElasticPoolPerDatabaseSettingsPtrOutput }
ElasticPoolPerDatabaseSettingsPtrInput is an input type that accepts ElasticPoolPerDatabaseSettingsArgs, ElasticPoolPerDatabaseSettingsPtr and ElasticPoolPerDatabaseSettingsPtrOutput values. You can construct a concrete instance of `ElasticPoolPerDatabaseSettingsPtrInput` via:
ElasticPoolPerDatabaseSettingsArgs{...} or: nil
func ElasticPoolPerDatabaseSettingsPtr ¶
func ElasticPoolPerDatabaseSettingsPtr(v *ElasticPoolPerDatabaseSettingsArgs) ElasticPoolPerDatabaseSettingsPtrInput
type ElasticPoolPerDatabaseSettingsPtrOutput ¶
type ElasticPoolPerDatabaseSettingsPtrOutput struct{ *pulumi.OutputState }
func (ElasticPoolPerDatabaseSettingsPtrOutput) ElementType ¶
func (ElasticPoolPerDatabaseSettingsPtrOutput) ElementType() reflect.Type
func (ElasticPoolPerDatabaseSettingsPtrOutput) MaxCapacity ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) MaxCapacity() pulumi.Float64PtrOutput
The maximum capacity any one database can consume.
func (ElasticPoolPerDatabaseSettingsPtrOutput) MinCapacity ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) MinCapacity() pulumi.Float64PtrOutput
The minimum capacity all databases are guaranteed.
func (ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutput ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutput() ElasticPoolPerDatabaseSettingsPtrOutput
func (ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext ¶
func (o ElasticPoolPerDatabaseSettingsPtrOutput) ToElasticPoolPerDatabaseSettingsPtrOutputWithContext(ctx context.Context) ElasticPoolPerDatabaseSettingsPtrOutput
type ElasticPoolPtrInput ¶
type ElasticPoolPtrInput interface { pulumi.Input ToElasticPoolPtrOutput() ElasticPoolPtrOutput ToElasticPoolPtrOutputWithContext(ctx context.Context) ElasticPoolPtrOutput }
type ElasticPoolPtrOutput ¶
type ElasticPoolPtrOutput struct {
*pulumi.OutputState
}
func (ElasticPoolPtrOutput) ElementType ¶
func (ElasticPoolPtrOutput) ElementType() reflect.Type
func (ElasticPoolPtrOutput) ToElasticPoolPtrOutput ¶
func (o ElasticPoolPtrOutput) ToElasticPoolPtrOutput() ElasticPoolPtrOutput
func (ElasticPoolPtrOutput) ToElasticPoolPtrOutputWithContext ¶
func (o ElasticPoolPtrOutput) ToElasticPoolPtrOutputWithContext(ctx context.Context) ElasticPoolPtrOutput
type ElasticPoolSku ¶
type ElasticPoolSku struct { // The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools). Capacity int `pulumi:"capacity"` // The `family` of hardware `Gen4` or `Gen5`. Family *string `pulumi:"family"` // Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based `tier` + `family` pattern (e.g. GP_Gen4, BC_Gen5) or the `DTU` based `BasicPool`, `StandardPool`, or `PremiumPool` pattern. Name string `pulumi:"name"` // The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, or `Premium`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools). Tier string `pulumi:"tier"` }
type ElasticPoolSkuArgs ¶
type ElasticPoolSkuArgs struct { // The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools). Capacity pulumi.IntInput `pulumi:"capacity"` // The `family` of hardware `Gen4` or `Gen5`. Family pulumi.StringPtrInput `pulumi:"family"` // Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based `tier` + `family` pattern (e.g. GP_Gen4, BC_Gen5) or the `DTU` based `BasicPool`, `StandardPool`, or `PremiumPool` pattern. Name pulumi.StringInput `pulumi:"name"` // The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, or `Premium`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools). Tier pulumi.StringInput `pulumi:"tier"` }
func (ElasticPoolSkuArgs) ElementType ¶
func (ElasticPoolSkuArgs) ElementType() reflect.Type
func (ElasticPoolSkuArgs) ToElasticPoolSkuOutput ¶
func (i ElasticPoolSkuArgs) ToElasticPoolSkuOutput() ElasticPoolSkuOutput
func (ElasticPoolSkuArgs) ToElasticPoolSkuOutputWithContext ¶
func (i ElasticPoolSkuArgs) ToElasticPoolSkuOutputWithContext(ctx context.Context) ElasticPoolSkuOutput
func (ElasticPoolSkuArgs) ToElasticPoolSkuPtrOutput ¶
func (i ElasticPoolSkuArgs) ToElasticPoolSkuPtrOutput() ElasticPoolSkuPtrOutput
func (ElasticPoolSkuArgs) ToElasticPoolSkuPtrOutputWithContext ¶
func (i ElasticPoolSkuArgs) ToElasticPoolSkuPtrOutputWithContext(ctx context.Context) ElasticPoolSkuPtrOutput
type ElasticPoolSkuInput ¶
type ElasticPoolSkuInput interface { pulumi.Input ToElasticPoolSkuOutput() ElasticPoolSkuOutput ToElasticPoolSkuOutputWithContext(context.Context) ElasticPoolSkuOutput }
ElasticPoolSkuInput is an input type that accepts ElasticPoolSkuArgs and ElasticPoolSkuOutput values. You can construct a concrete instance of `ElasticPoolSkuInput` via:
ElasticPoolSkuArgs{...}
type ElasticPoolSkuOutput ¶
type ElasticPoolSkuOutput struct{ *pulumi.OutputState }
func (ElasticPoolSkuOutput) Capacity ¶
func (o ElasticPoolSkuOutput) Capacity() pulumi.IntOutput
The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
func (ElasticPoolSkuOutput) ElementType ¶
func (ElasticPoolSkuOutput) ElementType() reflect.Type
func (ElasticPoolSkuOutput) Family ¶
func (o ElasticPoolSkuOutput) Family() pulumi.StringPtrOutput
The `family` of hardware `Gen4` or `Gen5`.
func (ElasticPoolSkuOutput) Name ¶
func (o ElasticPoolSkuOutput) Name() pulumi.StringOutput
Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based `tier` + `family` pattern (e.g. GP_Gen4, BC_Gen5) or the `DTU` based `BasicPool`, `StandardPool`, or `PremiumPool` pattern.
func (ElasticPoolSkuOutput) Tier ¶
func (o ElasticPoolSkuOutput) Tier() pulumi.StringOutput
The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, or `Premium`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
func (ElasticPoolSkuOutput) ToElasticPoolSkuOutput ¶
func (o ElasticPoolSkuOutput) ToElasticPoolSkuOutput() ElasticPoolSkuOutput
func (ElasticPoolSkuOutput) ToElasticPoolSkuOutputWithContext ¶
func (o ElasticPoolSkuOutput) ToElasticPoolSkuOutputWithContext(ctx context.Context) ElasticPoolSkuOutput
func (ElasticPoolSkuOutput) ToElasticPoolSkuPtrOutput ¶
func (o ElasticPoolSkuOutput) ToElasticPoolSkuPtrOutput() ElasticPoolSkuPtrOutput
func (ElasticPoolSkuOutput) ToElasticPoolSkuPtrOutputWithContext ¶
func (o ElasticPoolSkuOutput) ToElasticPoolSkuPtrOutputWithContext(ctx context.Context) ElasticPoolSkuPtrOutput
type ElasticPoolSkuPtrInput ¶
type ElasticPoolSkuPtrInput interface { pulumi.Input ToElasticPoolSkuPtrOutput() ElasticPoolSkuPtrOutput ToElasticPoolSkuPtrOutputWithContext(context.Context) ElasticPoolSkuPtrOutput }
ElasticPoolSkuPtrInput is an input type that accepts ElasticPoolSkuArgs, ElasticPoolSkuPtr and ElasticPoolSkuPtrOutput values. You can construct a concrete instance of `ElasticPoolSkuPtrInput` via:
ElasticPoolSkuArgs{...} or: nil
func ElasticPoolSkuPtr ¶
func ElasticPoolSkuPtr(v *ElasticPoolSkuArgs) ElasticPoolSkuPtrInput
type ElasticPoolSkuPtrOutput ¶
type ElasticPoolSkuPtrOutput struct{ *pulumi.OutputState }
func (ElasticPoolSkuPtrOutput) Capacity ¶
func (o ElasticPoolSkuPtrOutput) Capacity() pulumi.IntPtrOutput
The scale up/out capacity, representing server's compute units. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
func (ElasticPoolSkuPtrOutput) Elem ¶
func (o ElasticPoolSkuPtrOutput) Elem() ElasticPoolSkuOutput
func (ElasticPoolSkuPtrOutput) ElementType ¶
func (ElasticPoolSkuPtrOutput) ElementType() reflect.Type
func (ElasticPoolSkuPtrOutput) Family ¶
func (o ElasticPoolSkuPtrOutput) Family() pulumi.StringPtrOutput
The `family` of hardware `Gen4` or `Gen5`.
func (ElasticPoolSkuPtrOutput) Name ¶
func (o ElasticPoolSkuPtrOutput) Name() pulumi.StringPtrOutput
Specifies the SKU Name for this Elasticpool. The name of the SKU, will be either `vCore` based `tier` + `family` pattern (e.g. GP_Gen4, BC_Gen5) or the `DTU` based `BasicPool`, `StandardPool`, or `PremiumPool` pattern.
func (ElasticPoolSkuPtrOutput) Tier ¶
func (o ElasticPoolSkuPtrOutput) Tier() pulumi.StringPtrOutput
The tier of the particular SKU. Possible values are `GeneralPurpose`, `BusinessCritical`, `Basic`, `Standard`, or `Premium`. For more information see the documentation for your Elasticpool configuration: [vCore-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-vcore-resource-limits-elastic-pools) or [DTU-based](https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-elastic-pools).
func (ElasticPoolSkuPtrOutput) ToElasticPoolSkuPtrOutput ¶
func (o ElasticPoolSkuPtrOutput) ToElasticPoolSkuPtrOutput() ElasticPoolSkuPtrOutput
func (ElasticPoolSkuPtrOutput) ToElasticPoolSkuPtrOutputWithContext ¶
func (o ElasticPoolSkuPtrOutput) ToElasticPoolSkuPtrOutputWithContext(ctx context.Context) ElasticPoolSkuPtrOutput
type ElasticPoolState ¶
type ElasticPoolState struct { // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The max data size of the elastic pool in bytes. Conflicts with `maxSizeGb`. MaxSizeBytes pulumi.IntPtrInput // The max data size of the elastic pool in gigabytes. Conflicts with `maxSizeBytes`. MaxSizeGb pulumi.Float64PtrInput // The name of the elastic pool. This needs to be globally unique. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `perDatabaseSettings` block as defined below. PerDatabaseSettings ElasticPoolPerDatabaseSettingsPtrInput // The name of the resource group in which to create the elastic pool. This must be the same as the resource group of the underlying SQL server. ResourceGroupName pulumi.StringPtrInput // The name of the SQL Server on which to create the elastic pool. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // A `sku` block as defined below. Sku ElasticPoolSkuPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Whether or not this elastic pool is zone redundant. `tier` needs to be `Premium` for `DTU` based or `BusinessCritical` for `vCore` based `sku`. Defaults to `false`. ZoneRedundant pulumi.BoolPtrInput }
func (ElasticPoolState) ElementType ¶
func (ElasticPoolState) ElementType() reflect.Type
type FirewallRule ¶
type FirewallRule struct { pulumi.CustomResourceState // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"` // The name of the firewall rule. Name pulumi.StringOutput `pulumi:"name"` // The resource ID of the SQL Server on which to create the Firewall Rule. ServerId pulumi.StringOutput `pulumi:"serverId"` // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"` }
Allows you to manage an Azure SQL Firewall Rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mssql.NewServer(ctx, "exampleServer", &mssql.ServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: pulumi.String("West US"), Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } _, err = mssql.NewFirewallRule(ctx, "exampleFirewallRule", &mssql.FirewallRuleArgs{ ServerId: exampleServer.ID(), StartIpAddress: pulumi.String("10.0.17.62"), EndIpAddress: pulumi.String("10.0.17.62"), }) if err != nil { return err } return nil }) }
```
## Import
SQL Firewall Rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/firewallRule:FirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Sql/servers/myserver/firewallRules/rule1
```
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.
func (*FirewallRule) ElementType ¶
func (*FirewallRule) ElementType() reflect.Type
func (*FirewallRule) ToFirewallRuleOutput ¶
func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
func (*FirewallRule) ToFirewallRuleOutputWithContext ¶
func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
func (*FirewallRule) ToFirewallRulePtrOutput ¶
func (i *FirewallRule) ToFirewallRulePtrOutput() FirewallRulePtrOutput
func (*FirewallRule) ToFirewallRulePtrOutputWithContext ¶
func (i *FirewallRule) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
type FirewallRuleArgs ¶
type FirewallRuleArgs struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringInput // The name of the firewall rule. Name pulumi.StringPtrInput // The resource ID of the SQL Server on which to create the Firewall Rule. ServerId pulumi.StringInput // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleArray ¶
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleArrayInput ¶
type FirewallRuleArrayInput interface { pulumi.Input ToFirewallRuleArrayOutput() FirewallRuleArrayOutput ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput }
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:
FirewallRuleArray{ FirewallRuleArgs{...} }
type FirewallRuleArrayOutput ¶
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleInput ¶
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput }
type FirewallRuleMap ¶
type FirewallRuleMap map[string]FirewallRuleInput
func (FirewallRuleMap) ElementType ¶
func (FirewallRuleMap) ElementType() reflect.Type
func (FirewallRuleMap) ToFirewallRuleMapOutput ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleMapInput ¶
type FirewallRuleMapInput interface { pulumi.Input ToFirewallRuleMapOutput() FirewallRuleMapOutput ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput }
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:
FirewallRuleMap{ "key": FirewallRuleArgs{...} }
type FirewallRuleMapOutput ¶
type FirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FirewallRuleMapOutput) ElementType ¶
func (FirewallRuleMapOutput) ElementType() reflect.Type
func (FirewallRuleMapOutput) MapIndex ¶
func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutput ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleOutput ¶
type FirewallRuleOutput struct {
*pulumi.OutputState
}
func (FirewallRuleOutput) ElementType ¶
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) ToFirewallRuleOutput ¶
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRulePtrOutput ¶
func (o FirewallRuleOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput
func (FirewallRuleOutput) ToFirewallRulePtrOutputWithContext ¶
func (o FirewallRuleOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
type FirewallRulePtrInput ¶
type FirewallRulePtrInput interface { pulumi.Input ToFirewallRulePtrOutput() FirewallRulePtrOutput ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput }
type FirewallRulePtrOutput ¶
type FirewallRulePtrOutput struct {
*pulumi.OutputState
}
func (FirewallRulePtrOutput) ElementType ¶
func (FirewallRulePtrOutput) ElementType() reflect.Type
func (FirewallRulePtrOutput) ToFirewallRulePtrOutput ¶
func (o FirewallRulePtrOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput
func (FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext ¶
func (o FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
type FirewallRuleState ¶
type FirewallRuleState struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringPtrInput // The name of the firewall rule. Name pulumi.StringPtrInput // The resource ID of the SQL Server on which to create the Firewall Rule. ServerId pulumi.StringPtrInput // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶
func (FirewallRuleState) ElementType() reflect.Type
type GetServerIdentity ¶
type GetServerIdentity struct { // The Principal ID for the Service Principal associated with the Identity of this SQL Server. PrincipalId string `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Identity of this SQL Server. TenantId string `pulumi:"tenantId"` // The identity type of the Microsoft SQL Server. Type string `pulumi:"type"` }
type GetServerIdentityArgs ¶
type GetServerIdentityArgs struct { // The Principal ID for the Service Principal associated with the Identity of this SQL Server. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Identity of this SQL Server. TenantId pulumi.StringInput `pulumi:"tenantId"` // The identity type of the Microsoft SQL Server. Type pulumi.StringInput `pulumi:"type"` }
func (GetServerIdentityArgs) ElementType ¶
func (GetServerIdentityArgs) ElementType() reflect.Type
func (GetServerIdentityArgs) ToGetServerIdentityOutput ¶
func (i GetServerIdentityArgs) ToGetServerIdentityOutput() GetServerIdentityOutput
func (GetServerIdentityArgs) ToGetServerIdentityOutputWithContext ¶
func (i GetServerIdentityArgs) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
type GetServerIdentityArray ¶
type GetServerIdentityArray []GetServerIdentityInput
func (GetServerIdentityArray) ElementType ¶
func (GetServerIdentityArray) ElementType() reflect.Type
func (GetServerIdentityArray) ToGetServerIdentityArrayOutput ¶
func (i GetServerIdentityArray) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
func (GetServerIdentityArray) ToGetServerIdentityArrayOutputWithContext ¶
func (i GetServerIdentityArray) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
type GetServerIdentityArrayInput ¶
type GetServerIdentityArrayInput interface { pulumi.Input ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput ToGetServerIdentityArrayOutputWithContext(context.Context) GetServerIdentityArrayOutput }
GetServerIdentityArrayInput is an input type that accepts GetServerIdentityArray and GetServerIdentityArrayOutput values. You can construct a concrete instance of `GetServerIdentityArrayInput` via:
GetServerIdentityArray{ GetServerIdentityArgs{...} }
type GetServerIdentityArrayOutput ¶
type GetServerIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetServerIdentityArrayOutput) ElementType ¶
func (GetServerIdentityArrayOutput) ElementType() reflect.Type
func (GetServerIdentityArrayOutput) Index ¶
func (o GetServerIdentityArrayOutput) Index(i pulumi.IntInput) GetServerIdentityOutput
func (GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput ¶
func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
func (GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext ¶
func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
type GetServerIdentityInput ¶
type GetServerIdentityInput interface { pulumi.Input ToGetServerIdentityOutput() GetServerIdentityOutput ToGetServerIdentityOutputWithContext(context.Context) GetServerIdentityOutput }
GetServerIdentityInput is an input type that accepts GetServerIdentityArgs and GetServerIdentityOutput values. You can construct a concrete instance of `GetServerIdentityInput` via:
GetServerIdentityArgs{...}
type GetServerIdentityOutput ¶
type GetServerIdentityOutput struct{ *pulumi.OutputState }
func (GetServerIdentityOutput) ElementType ¶
func (GetServerIdentityOutput) ElementType() reflect.Type
func (GetServerIdentityOutput) PrincipalId ¶
func (o GetServerIdentityOutput) PrincipalId() pulumi.StringOutput
The Principal ID for the Service Principal associated with the Identity of this SQL Server.
func (GetServerIdentityOutput) TenantId ¶
func (o GetServerIdentityOutput) TenantId() pulumi.StringOutput
The Tenant ID for the Service Principal associated with the Identity of this SQL Server.
func (GetServerIdentityOutput) ToGetServerIdentityOutput ¶
func (o GetServerIdentityOutput) ToGetServerIdentityOutput() GetServerIdentityOutput
func (GetServerIdentityOutput) ToGetServerIdentityOutputWithContext ¶
func (o GetServerIdentityOutput) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
func (GetServerIdentityOutput) Type ¶
func (o GetServerIdentityOutput) Type() pulumi.StringOutput
The identity type of the Microsoft SQL Server.
type LookupDatabaseArgs ¶
type LookupDatabaseArgs struct { // The name of the Ms SQL Database. Name string `pulumi:"name"` // The id of the Ms SQL Server on which to create the database. ServerId string `pulumi:"serverId"` }
A collection of arguments for invoking getDatabase.
type LookupDatabaseResult ¶
type LookupDatabaseResult struct { // The collation of the database. Collation string `pulumi:"collation"` // The id of the elastic pool containing this database. ElasticPoolId string `pulumi:"elasticPoolId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The license type to apply for this database. LicenseType string `pulumi:"licenseType"` // The max size of the database in gigabytes. MaxSizeGb int `pulumi:"maxSizeGb"` Name string `pulumi:"name"` // The number of readonly secondary replicas associated with the database to which readonly application intent connections may be routed. ReadReplicaCount int `pulumi:"readReplicaCount"` // If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica. ReadScale bool `pulumi:"readScale"` ServerId string `pulumi:"serverId"` // The name of the sku of the database. SkuName string `pulumi:"skuName"` // The storage account type used to store backups for this database. StorageAccountType string `pulumi:"storageAccountType"` // A mapping of tags to assign to the resource. Tags map[string]string `pulumi:"tags"` // 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"` }
A collection of values returned by getDatabase.
func LookupDatabase ¶
func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)
Use this data source to access information about an existing SQL database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := mssql.LookupDatabase(ctx, &mssql.LookupDatabaseArgs{ Name: "example-mssql-db", ServerId: "example-mssql-server-id", }, nil) if err != nil { return err } ctx.Export("databaseId", example.Id) return nil }) }
```
type LookupElasticPoolArgs ¶
type LookupElasticPoolArgs struct { // The name of the elastic pool. Name string `pulumi:"name"` // The name of the resource group which contains the elastic pool. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the SQL Server which contains the elastic pool. ServerName string `pulumi:"serverName"` }
A collection of arguments for invoking getElasticPool.
type LookupElasticPoolResult ¶
type LookupElasticPoolResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The license type to apply for this database. LicenseType string `pulumi:"licenseType"` // Specifies the supported Azure location where the resource exists. Location string `pulumi:"location"` // The max data size of the elastic pool in bytes. MaxSizeBytes int `pulumi:"maxSizeBytes"` // The max data size of the elastic pool in gigabytes. MaxSizeGb float64 `pulumi:"maxSizeGb"` Name string `pulumi:"name"` // The maximum capacity any one database can consume. PerDbMaxCapacity int `pulumi:"perDbMaxCapacity"` // The minimum capacity all databases are guaranteed. PerDbMinCapacity int `pulumi:"perDbMinCapacity"` ResourceGroupName string `pulumi:"resourceGroupName"` ServerName string `pulumi:"serverName"` // A mapping of tags to assign to the resource. Tags map[string]string `pulumi:"tags"` // Whether or not this elastic pool is zone redundant. ZoneRedundant bool `pulumi:"zoneRedundant"` }
A collection of values returned by getElasticPool.
func LookupElasticPool ¶
func LookupElasticPool(ctx *pulumi.Context, args *LookupElasticPoolArgs, opts ...pulumi.InvokeOption) (*LookupElasticPoolResult, error)
Use this data source to access information about an existing SQL elastic pool.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := mssql.LookupElasticPool(ctx, &mssql.LookupElasticPoolArgs{ Name: "mssqlelasticpoolname", ResourceGroupName: "example-resources", ServerName: "example-sql-server", }, nil) if err != nil { return err } ctx.Export("elasticpoolId", example.Id) return nil }) }
```
type LookupServerArgs ¶
type LookupServerArgs struct { // The name of this Microsoft SQL Server. Name string `pulumi:"name"` // The name of the Resource Group where the Microsoft SQL Server exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getServer.
type LookupServerResult ¶
type LookupServerResult struct { // The server's administrator login name. AdministratorLogin string `pulumi:"administratorLogin"` // The fully qualified domain name of the Azure SQL Server. FullyQualifiedDomainName string `pulumi:"fullyQualifiedDomainName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A `identity` block as defined below. Identities []GetServerIdentity `pulumi:"identities"` // The Azure Region where the Microsoft SQL Server exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A list of dropped restorable database IDs on the server. RestorableDroppedDatabaseIds []string `pulumi:"restorableDroppedDatabaseIds"` // A mapping of tags assigned to this Microsoft SQL Server. Tags map[string]string `pulumi:"tags"` // This servers MS SQL version. Version string `pulumi:"version"` }
A collection of values returned by getServer.
func LookupServer ¶
func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error)
Use this data source to access information about an existing Microsoft SQL Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := mssql.LookupServer(ctx, &mssql.LookupServerArgs{ Name: "existingMsSqlServer", ResourceGroupName: "existingResGroup", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type Server ¶
type Server struct { pulumi.CustomResourceState // The administrator login name for the new server. Changing this forces a new resource to be created. AdministratorLogin pulumi.StringOutput `pulumi:"administratorLogin"` // The password associated with the `administratorLogin` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx) AdministratorLoginPassword pulumi.StringOutput `pulumi:"administratorLoginPassword"` // An `azureadAdministrator` block as defined below. AzureadAdministrator ServerAzureadAdministratorPtrOutput `pulumi:"azureadAdministrator"` // The connection policy the server will use. Possible values are `Default`, `Proxy`, and `Redirect`. Defaults to `Default`. ConnectionPolicy pulumi.StringPtrOutput `pulumi:"connectionPolicy"` // A `extendedAuditingPolicy` block as defined below. // // Deprecated: the `extended_auditing_policy` block has been moved to `azurerm_mssql_server_extended_auditing_policy` and `azurerm_mssql_database_extended_auditing_policy`. This block will be removed in version 3.0 of the provider. ExtendedAuditingPolicy ServerExtendedAuditingPolicyTypeOutput `pulumi:"extendedAuditingPolicy"` // The fully qualified domain name of the Azure SQL Server (e.g. myServerName.database.windows.net) FullyQualifiedDomainName pulumi.StringOutput `pulumi:"fullyQualifiedDomainName"` // An `identity` block as defined below. Identity ServerIdentityPtrOutput `pulumi:"identity"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` and `1.2`. MinimumTlsVersion pulumi.StringPtrOutput `pulumi:"minimumTlsVersion"` // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Name pulumi.StringOutput `pulumi:"name"` // Whether or not public network access is allowed for this server. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // The name of the resource group in which to create the Microsoft SQL Server. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A list of dropped restorable database IDs on the server. RestorableDroppedDatabaseIds pulumi.StringArrayOutput `pulumi:"restorableDroppedDatabaseIds"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Version pulumi.StringOutput `pulumi:"version"` }
Manages a Microsoft SQL Azure Database Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = mssql.NewServer(ctx, "exampleServer", &mssql.ServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("missadministrator"), AdministratorLoginPassword: pulumi.String("thisIsKat11"), MinimumTlsVersion: pulumi.String("1.2"), AzureadAdministrator: &mssql.ServerAzureadAdministratorArgs{ LoginUsername: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, ExtendedAuditingPolicy: &mssql.ServerExtendedAuditingPolicyArgs{ StorageEndpoint: exampleAccount.PrimaryBlobEndpoint, StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, StorageAccountAccessKeyIsSecondary: pulumi.Bool(true), RetentionInDays: pulumi.Int(6), }, Tags: pulumi.StringMap{ "environment": pulumi.String("production"), }, }) if err != nil { return err } return nil }) }
```
## Import
SQL Servers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/server:Server example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Sql/servers/myserver
```
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.
func (*Server) ElementType ¶
func (*Server) ToServerOutput ¶
func (i *Server) ToServerOutput() ServerOutput
func (*Server) ToServerOutputWithContext ¶
func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
func (*Server) ToServerPtrOutput ¶
func (i *Server) ToServerPtrOutput() ServerPtrOutput
func (*Server) ToServerPtrOutputWithContext ¶
func (i *Server) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
type ServerArgs ¶
type ServerArgs struct { // The administrator login name for the new server. Changing this forces a new resource to be created. AdministratorLogin pulumi.StringInput // The password associated with the `administratorLogin` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx) AdministratorLoginPassword pulumi.StringInput // An `azureadAdministrator` block as defined below. AzureadAdministrator ServerAzureadAdministratorPtrInput // The connection policy the server will use. Possible values are `Default`, `Proxy`, and `Redirect`. Defaults to `Default`. ConnectionPolicy pulumi.StringPtrInput // A `extendedAuditingPolicy` block as defined below. // // Deprecated: the `extended_auditing_policy` block has been moved to `azurerm_mssql_server_extended_auditing_policy` and `azurerm_mssql_database_extended_auditing_policy`. This block will be removed in version 3.0 of the provider. ExtendedAuditingPolicy ServerExtendedAuditingPolicyTypePtrInput // An `identity` block as defined below. Identity ServerIdentityPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` and `1.2`. MinimumTlsVersion pulumi.StringPtrInput // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Name pulumi.StringPtrInput // Whether or not public network access is allowed for this server. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The name of the resource group in which to create the Microsoft SQL Server. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Version pulumi.StringInput }
The set of arguments for constructing a Server resource.
func (ServerArgs) ElementType ¶
func (ServerArgs) ElementType() reflect.Type
type ServerArray ¶
type ServerArray []ServerInput
func (ServerArray) ElementType ¶
func (ServerArray) ElementType() reflect.Type
func (ServerArray) ToServerArrayOutput ¶
func (i ServerArray) ToServerArrayOutput() ServerArrayOutput
func (ServerArray) ToServerArrayOutputWithContext ¶
func (i ServerArray) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerArrayInput ¶
type ServerArrayInput interface { pulumi.Input ToServerArrayOutput() ServerArrayOutput ToServerArrayOutputWithContext(context.Context) ServerArrayOutput }
ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values. You can construct a concrete instance of `ServerArrayInput` via:
ServerArray{ ServerArgs{...} }
type ServerArrayOutput ¶
type ServerArrayOutput struct{ *pulumi.OutputState }
func (ServerArrayOutput) ElementType ¶
func (ServerArrayOutput) ElementType() reflect.Type
func (ServerArrayOutput) Index ¶
func (o ServerArrayOutput) Index(i pulumi.IntInput) ServerOutput
func (ServerArrayOutput) ToServerArrayOutput ¶
func (o ServerArrayOutput) ToServerArrayOutput() ServerArrayOutput
func (ServerArrayOutput) ToServerArrayOutputWithContext ¶
func (o ServerArrayOutput) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerAzureadAdministrator ¶
type ServerAzureadAdministrator struct { // (Required) The login username of the Azure AD Administrator of this SQL Server. LoginUsername string `pulumi:"loginUsername"` // (Required) The object id of the Azure AD Administrator of this SQL Server. ObjectId string `pulumi:"objectId"` // (Optional) The tenant id of the Azure AD Administrator of this SQL Server. TenantId *string `pulumi:"tenantId"` }
type ServerAzureadAdministratorArgs ¶
type ServerAzureadAdministratorArgs struct { // (Required) The login username of the Azure AD Administrator of this SQL Server. LoginUsername pulumi.StringInput `pulumi:"loginUsername"` // (Required) The object id of the Azure AD Administrator of this SQL Server. ObjectId pulumi.StringInput `pulumi:"objectId"` // (Optional) The tenant id of the Azure AD Administrator of this SQL Server. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` }
func (ServerAzureadAdministratorArgs) ElementType ¶
func (ServerAzureadAdministratorArgs) ElementType() reflect.Type
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutput ¶
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutput() ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutputWithContext ¶
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutputWithContext(ctx context.Context) ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutput ¶
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutputWithContext ¶
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
type ServerAzureadAdministratorInput ¶
type ServerAzureadAdministratorInput interface { pulumi.Input ToServerAzureadAdministratorOutput() ServerAzureadAdministratorOutput ToServerAzureadAdministratorOutputWithContext(context.Context) ServerAzureadAdministratorOutput }
ServerAzureadAdministratorInput is an input type that accepts ServerAzureadAdministratorArgs and ServerAzureadAdministratorOutput values. You can construct a concrete instance of `ServerAzureadAdministratorInput` via:
ServerAzureadAdministratorArgs{...}
type ServerAzureadAdministratorOutput ¶
type ServerAzureadAdministratorOutput struct{ *pulumi.OutputState }
func (ServerAzureadAdministratorOutput) ElementType ¶
func (ServerAzureadAdministratorOutput) ElementType() reflect.Type
func (ServerAzureadAdministratorOutput) LoginUsername ¶
func (o ServerAzureadAdministratorOutput) LoginUsername() pulumi.StringOutput
(Required) The login username of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorOutput) ObjectId ¶
func (o ServerAzureadAdministratorOutput) ObjectId() pulumi.StringOutput
(Required) The object id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorOutput) TenantId ¶
func (o ServerAzureadAdministratorOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutput ¶
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutput() ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutputWithContext ¶
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutputWithContext(ctx context.Context) ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutput ¶
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutputWithContext ¶
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
type ServerAzureadAdministratorPtrInput ¶
type ServerAzureadAdministratorPtrInput interface { pulumi.Input ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput ToServerAzureadAdministratorPtrOutputWithContext(context.Context) ServerAzureadAdministratorPtrOutput }
ServerAzureadAdministratorPtrInput is an input type that accepts ServerAzureadAdministratorArgs, ServerAzureadAdministratorPtr and ServerAzureadAdministratorPtrOutput values. You can construct a concrete instance of `ServerAzureadAdministratorPtrInput` via:
ServerAzureadAdministratorArgs{...} or: nil
func ServerAzureadAdministratorPtr ¶
func ServerAzureadAdministratorPtr(v *ServerAzureadAdministratorArgs) ServerAzureadAdministratorPtrInput
type ServerAzureadAdministratorPtrOutput ¶
type ServerAzureadAdministratorPtrOutput struct{ *pulumi.OutputState }
func (ServerAzureadAdministratorPtrOutput) Elem ¶
func (o ServerAzureadAdministratorPtrOutput) Elem() ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorPtrOutput) ElementType ¶
func (ServerAzureadAdministratorPtrOutput) ElementType() reflect.Type
func (ServerAzureadAdministratorPtrOutput) LoginUsername ¶
func (o ServerAzureadAdministratorPtrOutput) LoginUsername() pulumi.StringPtrOutput
(Required) The login username of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorPtrOutput) ObjectId ¶
func (o ServerAzureadAdministratorPtrOutput) ObjectId() pulumi.StringPtrOutput
(Required) The object id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorPtrOutput) TenantId ¶
func (o ServerAzureadAdministratorPtrOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutput ¶
func (o ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
func (ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutputWithContext ¶
func (o ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
type ServerExtendedAuditingPolicy ¶
type ServerExtendedAuditingPolicy struct { pulumi.CustomResourceState // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"` // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"` // The ID of the sql server to set the extended auditing policy. Changing this forces a new resource to be created. ServerId pulumi.StringOutput `pulumi:"serverId"` // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrOutput `pulumi:"storageAccountAccessKeyIsSecondary"` // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"` }
Manages a Ms Sql Server Extended Auditing Policy.
> **NOTE:** The Server Extended Auditing Policy Can be set inline here as well as with the mssqlServerExtendedAuditingPolicy resource resource. You can only use one or the other and using both will cause a conflict.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mssql.NewServer(ctx, "exampleServer", &mssql.ServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("missadministrator"), AdministratorLoginPassword: pulumi.String("AdminPassword123!"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } _, err = mssql.NewServerExtendedAuditingPolicy(ctx, "exampleServerExtendedAuditingPolicy", &mssql.ServerExtendedAuditingPolicyArgs{ ServerId: exampleServer.ID(), StorageEndpoint: exampleAccount.PrimaryBlobEndpoint, StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, StorageAccountAccessKeyIsSecondary: pulumi.Bool(false), RetentionInDays: pulumi.Int(6), }) if err != nil { return err } return nil }) }
```
## Import
Ms Sql Server Extended Auditing Policys can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Sql/servers/sqlServer1/extendedAuditingSettings/default
```
func GetServerExtendedAuditingPolicy ¶
func GetServerExtendedAuditingPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerExtendedAuditingPolicyState, opts ...pulumi.ResourceOption) (*ServerExtendedAuditingPolicy, error)
GetServerExtendedAuditingPolicy gets an existing ServerExtendedAuditingPolicy 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 NewServerExtendedAuditingPolicy ¶
func NewServerExtendedAuditingPolicy(ctx *pulumi.Context, name string, args *ServerExtendedAuditingPolicyArgs, opts ...pulumi.ResourceOption) (*ServerExtendedAuditingPolicy, error)
NewServerExtendedAuditingPolicy registers a new resource with the given unique name, arguments, and options.
func (*ServerExtendedAuditingPolicy) ElementType ¶
func (*ServerExtendedAuditingPolicy) ElementType() reflect.Type
func (*ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyOutput ¶
func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput
func (*ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyOutputWithContext ¶
func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput
func (*ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyPtrOutput ¶
func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
func (*ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyPtrOutputWithContext ¶
func (i *ServerExtendedAuditingPolicy) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
type ServerExtendedAuditingPolicyArgs ¶
type ServerExtendedAuditingPolicyArgs struct { // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The ID of the sql server to set the extended auditing policy. Changing this forces a new resource to be created. ServerId pulumi.StringInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput }
The set of arguments for constructing a ServerExtendedAuditingPolicy resource.
func (ServerExtendedAuditingPolicyArgs) ElementType ¶
func (ServerExtendedAuditingPolicyArgs) ElementType() reflect.Type
type ServerExtendedAuditingPolicyArray ¶
type ServerExtendedAuditingPolicyArray []ServerExtendedAuditingPolicyInput
func (ServerExtendedAuditingPolicyArray) ElementType ¶
func (ServerExtendedAuditingPolicyArray) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyArray) ToServerExtendedAuditingPolicyArrayOutput ¶
func (i ServerExtendedAuditingPolicyArray) ToServerExtendedAuditingPolicyArrayOutput() ServerExtendedAuditingPolicyArrayOutput
func (ServerExtendedAuditingPolicyArray) ToServerExtendedAuditingPolicyArrayOutputWithContext ¶
func (i ServerExtendedAuditingPolicyArray) ToServerExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyArrayOutput
type ServerExtendedAuditingPolicyArrayInput ¶
type ServerExtendedAuditingPolicyArrayInput interface { pulumi.Input ToServerExtendedAuditingPolicyArrayOutput() ServerExtendedAuditingPolicyArrayOutput ToServerExtendedAuditingPolicyArrayOutputWithContext(context.Context) ServerExtendedAuditingPolicyArrayOutput }
ServerExtendedAuditingPolicyArrayInput is an input type that accepts ServerExtendedAuditingPolicyArray and ServerExtendedAuditingPolicyArrayOutput values. You can construct a concrete instance of `ServerExtendedAuditingPolicyArrayInput` via:
ServerExtendedAuditingPolicyArray{ ServerExtendedAuditingPolicyArgs{...} }
type ServerExtendedAuditingPolicyArrayOutput ¶
type ServerExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }
func (ServerExtendedAuditingPolicyArrayOutput) ElementType ¶
func (ServerExtendedAuditingPolicyArrayOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyArrayOutput) ToServerExtendedAuditingPolicyArrayOutput ¶
func (o ServerExtendedAuditingPolicyArrayOutput) ToServerExtendedAuditingPolicyArrayOutput() ServerExtendedAuditingPolicyArrayOutput
func (ServerExtendedAuditingPolicyArrayOutput) ToServerExtendedAuditingPolicyArrayOutputWithContext ¶
func (o ServerExtendedAuditingPolicyArrayOutput) ToServerExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyArrayOutput
type ServerExtendedAuditingPolicyInput ¶
type ServerExtendedAuditingPolicyInput interface { pulumi.Input ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput }
type ServerExtendedAuditingPolicyMap ¶
type ServerExtendedAuditingPolicyMap map[string]ServerExtendedAuditingPolicyInput
func (ServerExtendedAuditingPolicyMap) ElementType ¶
func (ServerExtendedAuditingPolicyMap) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyMap) ToServerExtendedAuditingPolicyMapOutput ¶
func (i ServerExtendedAuditingPolicyMap) ToServerExtendedAuditingPolicyMapOutput() ServerExtendedAuditingPolicyMapOutput
func (ServerExtendedAuditingPolicyMap) ToServerExtendedAuditingPolicyMapOutputWithContext ¶
func (i ServerExtendedAuditingPolicyMap) ToServerExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyMapOutput
type ServerExtendedAuditingPolicyMapInput ¶
type ServerExtendedAuditingPolicyMapInput interface { pulumi.Input ToServerExtendedAuditingPolicyMapOutput() ServerExtendedAuditingPolicyMapOutput ToServerExtendedAuditingPolicyMapOutputWithContext(context.Context) ServerExtendedAuditingPolicyMapOutput }
ServerExtendedAuditingPolicyMapInput is an input type that accepts ServerExtendedAuditingPolicyMap and ServerExtendedAuditingPolicyMapOutput values. You can construct a concrete instance of `ServerExtendedAuditingPolicyMapInput` via:
ServerExtendedAuditingPolicyMap{ "key": ServerExtendedAuditingPolicyArgs{...} }
type ServerExtendedAuditingPolicyMapOutput ¶
type ServerExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }
func (ServerExtendedAuditingPolicyMapOutput) ElementType ¶
func (ServerExtendedAuditingPolicyMapOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyMapOutput) MapIndex ¶
func (o ServerExtendedAuditingPolicyMapOutput) MapIndex(k pulumi.StringInput) ServerExtendedAuditingPolicyOutput
func (ServerExtendedAuditingPolicyMapOutput) ToServerExtendedAuditingPolicyMapOutput ¶
func (o ServerExtendedAuditingPolicyMapOutput) ToServerExtendedAuditingPolicyMapOutput() ServerExtendedAuditingPolicyMapOutput
func (ServerExtendedAuditingPolicyMapOutput) ToServerExtendedAuditingPolicyMapOutputWithContext ¶
func (o ServerExtendedAuditingPolicyMapOutput) ToServerExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyMapOutput
type ServerExtendedAuditingPolicyOutput ¶
type ServerExtendedAuditingPolicyOutput struct {
*pulumi.OutputState
}
func (ServerExtendedAuditingPolicyOutput) ElementType ¶
func (ServerExtendedAuditingPolicyOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutput ¶
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutputWithContext ¶
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutput ¶
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext ¶
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
type ServerExtendedAuditingPolicyPtrInput ¶
type ServerExtendedAuditingPolicyPtrInput interface { pulumi.Input ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput }
type ServerExtendedAuditingPolicyPtrOutput ¶
type ServerExtendedAuditingPolicyPtrOutput struct {
*pulumi.OutputState
}
func (ServerExtendedAuditingPolicyPtrOutput) ElementType ¶
func (ServerExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutput ¶
func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
func (ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext ¶
func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
type ServerExtendedAuditingPolicyState ¶
type ServerExtendedAuditingPolicyState struct { // Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrInput // The number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput // The ID of the sql server to set the extended auditing policy. Changing this forces a new resource to be created. ServerId pulumi.StringPtrInput // The access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput // Is `storageAccountAccessKey` value the storage's secondary key? StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput // The blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs. StorageEndpoint pulumi.StringPtrInput }
func (ServerExtendedAuditingPolicyState) ElementType ¶
func (ServerExtendedAuditingPolicyState) ElementType() reflect.Type
type ServerExtendedAuditingPolicyType ¶
type ServerExtendedAuditingPolicyType struct { // (Optional) Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled *bool `pulumi:"logMonitoringEnabled"` // (Optional) Specifies the number of days to retain logs for in the storage account. RetentionInDays *int `pulumi:"retentionInDays"` // (Optional) Specifies the access key to use for the auditing storage account. StorageAccountAccessKey *string `pulumi:"storageAccountAccessKey"` // (Optional) Specifies whether `storageAccountAccessKey` value is the storage's secondary key. StorageAccountAccessKeyIsSecondary *bool `pulumi:"storageAccountAccessKeyIsSecondary"` // (Optional) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). StorageEndpoint *string `pulumi:"storageEndpoint"` }
type ServerExtendedAuditingPolicyTypeArgs ¶
type ServerExtendedAuditingPolicyTypeArgs struct { // (Optional) Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. LogMonitoringEnabled pulumi.BoolPtrInput `pulumi:"logMonitoringEnabled"` // (Optional) Specifies the number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput `pulumi:"retentionInDays"` // (Optional) Specifies the access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringPtrInput `pulumi:"storageAccountAccessKey"` // (Optional) Specifies whether `storageAccountAccessKey` value is the storage's secondary key. StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput `pulumi:"storageAccountAccessKeyIsSecondary"` // (Optional) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). StorageEndpoint pulumi.StringPtrInput `pulumi:"storageEndpoint"` }
func (ServerExtendedAuditingPolicyTypeArgs) ElementType ¶
func (ServerExtendedAuditingPolicyTypeArgs) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypeOutput ¶
func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypeOutput() ServerExtendedAuditingPolicyTypeOutput
func (ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypeOutputWithContext ¶
func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypeOutput
func (ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypePtrOutput ¶
func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypePtrOutput() ServerExtendedAuditingPolicyTypePtrOutput
func (ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypePtrOutputWithContext ¶
func (i ServerExtendedAuditingPolicyTypeArgs) ToServerExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypePtrOutput
type ServerExtendedAuditingPolicyTypeInput ¶
type ServerExtendedAuditingPolicyTypeInput interface { pulumi.Input ToServerExtendedAuditingPolicyTypeOutput() ServerExtendedAuditingPolicyTypeOutput ToServerExtendedAuditingPolicyTypeOutputWithContext(context.Context) ServerExtendedAuditingPolicyTypeOutput }
ServerExtendedAuditingPolicyTypeInput is an input type that accepts ServerExtendedAuditingPolicyTypeArgs and ServerExtendedAuditingPolicyTypeOutput values. You can construct a concrete instance of `ServerExtendedAuditingPolicyTypeInput` via:
ServerExtendedAuditingPolicyTypeArgs{...}
type ServerExtendedAuditingPolicyTypeOutput ¶
type ServerExtendedAuditingPolicyTypeOutput struct{ *pulumi.OutputState }
func (ServerExtendedAuditingPolicyTypeOutput) ElementType ¶
func (ServerExtendedAuditingPolicyTypeOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyTypeOutput) LogMonitoringEnabled ¶
func (o ServerExtendedAuditingPolicyTypeOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
(Optional) Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor.
func (ServerExtendedAuditingPolicyTypeOutput) RetentionInDays ¶
func (o ServerExtendedAuditingPolicyTypeOutput) RetentionInDays() pulumi.IntPtrOutput
(Optional) Specifies the number of days to retain logs for in the storage account.
func (ServerExtendedAuditingPolicyTypeOutput) StorageAccountAccessKey ¶
func (o ServerExtendedAuditingPolicyTypeOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
(Optional) Specifies the access key to use for the auditing storage account.
func (ServerExtendedAuditingPolicyTypeOutput) StorageAccountAccessKeyIsSecondary ¶
func (o ServerExtendedAuditingPolicyTypeOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
(Optional) Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (ServerExtendedAuditingPolicyTypeOutput) StorageEndpoint ¶
func (o ServerExtendedAuditingPolicyTypeOutput) StorageEndpoint() pulumi.StringPtrOutput
(Optional) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypeOutput ¶
func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypeOutput() ServerExtendedAuditingPolicyTypeOutput
func (ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypeOutputWithContext ¶
func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypeOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypeOutput
func (ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypePtrOutput ¶
func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypePtrOutput() ServerExtendedAuditingPolicyTypePtrOutput
func (ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypePtrOutputWithContext ¶
func (o ServerExtendedAuditingPolicyTypeOutput) ToServerExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypePtrOutput
type ServerExtendedAuditingPolicyTypePtrInput ¶
type ServerExtendedAuditingPolicyTypePtrInput interface { pulumi.Input ToServerExtendedAuditingPolicyTypePtrOutput() ServerExtendedAuditingPolicyTypePtrOutput ToServerExtendedAuditingPolicyTypePtrOutputWithContext(context.Context) ServerExtendedAuditingPolicyTypePtrOutput }
ServerExtendedAuditingPolicyTypePtrInput is an input type that accepts ServerExtendedAuditingPolicyTypeArgs, ServerExtendedAuditingPolicyTypePtr and ServerExtendedAuditingPolicyTypePtrOutput values. You can construct a concrete instance of `ServerExtendedAuditingPolicyTypePtrInput` via:
ServerExtendedAuditingPolicyTypeArgs{...} or: nil
func ServerExtendedAuditingPolicyTypePtr ¶
func ServerExtendedAuditingPolicyTypePtr(v *ServerExtendedAuditingPolicyTypeArgs) ServerExtendedAuditingPolicyTypePtrInput
type ServerExtendedAuditingPolicyTypePtrOutput ¶
type ServerExtendedAuditingPolicyTypePtrOutput struct{ *pulumi.OutputState }
func (ServerExtendedAuditingPolicyTypePtrOutput) ElementType ¶
func (ServerExtendedAuditingPolicyTypePtrOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyTypePtrOutput) LogMonitoringEnabled ¶
func (o ServerExtendedAuditingPolicyTypePtrOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput
(Optional) Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor.
func (ServerExtendedAuditingPolicyTypePtrOutput) RetentionInDays ¶
func (o ServerExtendedAuditingPolicyTypePtrOutput) RetentionInDays() pulumi.IntPtrOutput
(Optional) Specifies the number of days to retain logs for in the storage account.
func (ServerExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKey ¶
func (o ServerExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
(Optional) Specifies the access key to use for the auditing storage account.
func (ServerExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKeyIsSecondary ¶
func (o ServerExtendedAuditingPolicyTypePtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
(Optional) Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (ServerExtendedAuditingPolicyTypePtrOutput) StorageEndpoint ¶
func (o ServerExtendedAuditingPolicyTypePtrOutput) StorageEndpoint() pulumi.StringPtrOutput
(Optional) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (ServerExtendedAuditingPolicyTypePtrOutput) ToServerExtendedAuditingPolicyTypePtrOutput ¶
func (o ServerExtendedAuditingPolicyTypePtrOutput) ToServerExtendedAuditingPolicyTypePtrOutput() ServerExtendedAuditingPolicyTypePtrOutput
func (ServerExtendedAuditingPolicyTypePtrOutput) ToServerExtendedAuditingPolicyTypePtrOutputWithContext ¶
func (o ServerExtendedAuditingPolicyTypePtrOutput) ToServerExtendedAuditingPolicyTypePtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyTypePtrOutput
type ServerIdentity ¶
type ServerIdentity struct { // The Principal ID for the Service Principal associated with the Identity of this SQL Server. PrincipalId *string `pulumi:"principalId"` // (Optional) The tenant id of the Azure AD Administrator of this SQL Server. TenantId *string `pulumi:"tenantId"` // Specifies the identity type of the Microsoft SQL Server. At this time the only allowed value is `SystemAssigned`. Type string `pulumi:"type"` }
type ServerIdentityArgs ¶
type ServerIdentityArgs struct { // The Principal ID for the Service Principal associated with the Identity of this SQL Server. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // (Optional) The tenant id of the Azure AD Administrator of this SQL Server. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the identity type of the Microsoft SQL Server. At this time the only allowed value is `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (ServerIdentityArgs) ElementType ¶
func (ServerIdentityArgs) ElementType() reflect.Type
func (ServerIdentityArgs) ToServerIdentityOutput ¶
func (i ServerIdentityArgs) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityOutputWithContext ¶
func (i ServerIdentityArgs) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutput ¶
func (i ServerIdentityArgs) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutputWithContext ¶
func (i ServerIdentityArgs) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
type ServerIdentityInput ¶
type ServerIdentityInput interface { pulumi.Input ToServerIdentityOutput() ServerIdentityOutput ToServerIdentityOutputWithContext(context.Context) ServerIdentityOutput }
ServerIdentityInput is an input type that accepts ServerIdentityArgs and ServerIdentityOutput values. You can construct a concrete instance of `ServerIdentityInput` via:
ServerIdentityArgs{...}
type ServerIdentityOutput ¶
type ServerIdentityOutput struct{ *pulumi.OutputState }
func (ServerIdentityOutput) ElementType ¶
func (ServerIdentityOutput) ElementType() reflect.Type
func (ServerIdentityOutput) PrincipalId ¶
func (o ServerIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this SQL Server.
func (ServerIdentityOutput) TenantId ¶
func (o ServerIdentityOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerIdentityOutput) ToServerIdentityOutput ¶
func (o ServerIdentityOutput) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityOutputWithContext ¶
func (o ServerIdentityOutput) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutput ¶
func (o ServerIdentityOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutputWithContext ¶
func (o ServerIdentityOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityOutput) Type ¶
func (o ServerIdentityOutput) Type() pulumi.StringOutput
Specifies the identity type of the Microsoft SQL Server. At this time the only allowed value is `SystemAssigned`.
type ServerIdentityPtrInput ¶
type ServerIdentityPtrInput interface { pulumi.Input ToServerIdentityPtrOutput() ServerIdentityPtrOutput ToServerIdentityPtrOutputWithContext(context.Context) ServerIdentityPtrOutput }
ServerIdentityPtrInput is an input type that accepts ServerIdentityArgs, ServerIdentityPtr and ServerIdentityPtrOutput values. You can construct a concrete instance of `ServerIdentityPtrInput` via:
ServerIdentityArgs{...} or: nil
func ServerIdentityPtr ¶
func ServerIdentityPtr(v *ServerIdentityArgs) ServerIdentityPtrInput
type ServerIdentityPtrOutput ¶
type ServerIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServerIdentityPtrOutput) Elem ¶
func (o ServerIdentityPtrOutput) Elem() ServerIdentityOutput
func (ServerIdentityPtrOutput) ElementType ¶
func (ServerIdentityPtrOutput) ElementType() reflect.Type
func (ServerIdentityPtrOutput) PrincipalId ¶
func (o ServerIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this SQL Server.
func (ServerIdentityPtrOutput) TenantId ¶
func (o ServerIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutput ¶
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext ¶
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) Type ¶
func (o ServerIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the identity type of the Microsoft SQL Server. At this time the only allowed value is `SystemAssigned`.
type ServerInput ¶
type ServerInput interface { pulumi.Input ToServerOutput() ServerOutput ToServerOutputWithContext(ctx context.Context) ServerOutput }
type ServerMap ¶
type ServerMap map[string]ServerInput
func (ServerMap) ElementType ¶
func (ServerMap) ToServerMapOutput ¶
func (i ServerMap) ToServerMapOutput() ServerMapOutput
func (ServerMap) ToServerMapOutputWithContext ¶
func (i ServerMap) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerMapInput ¶
type ServerMapInput interface { pulumi.Input ToServerMapOutput() ServerMapOutput ToServerMapOutputWithContext(context.Context) ServerMapOutput }
ServerMapInput is an input type that accepts ServerMap and ServerMapOutput values. You can construct a concrete instance of `ServerMapInput` via:
ServerMap{ "key": ServerArgs{...} }
type ServerMapOutput ¶
type ServerMapOutput struct{ *pulumi.OutputState }
func (ServerMapOutput) ElementType ¶
func (ServerMapOutput) ElementType() reflect.Type
func (ServerMapOutput) MapIndex ¶
func (o ServerMapOutput) MapIndex(k pulumi.StringInput) ServerOutput
func (ServerMapOutput) ToServerMapOutput ¶
func (o ServerMapOutput) ToServerMapOutput() ServerMapOutput
func (ServerMapOutput) ToServerMapOutputWithContext ¶
func (o ServerMapOutput) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerOutput ¶
type ServerOutput struct {
*pulumi.OutputState
}
func (ServerOutput) ElementType ¶
func (ServerOutput) ElementType() reflect.Type
func (ServerOutput) ToServerOutput ¶
func (o ServerOutput) ToServerOutput() ServerOutput
func (ServerOutput) ToServerOutputWithContext ¶
func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
func (ServerOutput) ToServerPtrOutput ¶
func (o ServerOutput) ToServerPtrOutput() ServerPtrOutput
func (ServerOutput) ToServerPtrOutputWithContext ¶
func (o ServerOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
type ServerPtrInput ¶
type ServerPtrInput interface { pulumi.Input ToServerPtrOutput() ServerPtrOutput ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput }
type ServerPtrOutput ¶
type ServerPtrOutput struct {
*pulumi.OutputState
}
func (ServerPtrOutput) ElementType ¶
func (ServerPtrOutput) ElementType() reflect.Type
func (ServerPtrOutput) ToServerPtrOutput ¶
func (o ServerPtrOutput) ToServerPtrOutput() ServerPtrOutput
func (ServerPtrOutput) ToServerPtrOutputWithContext ¶
func (o ServerPtrOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
type ServerSecurityAlertPolicy ¶
type ServerSecurityAlertPolicy struct { pulumi.CustomResourceState // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayOutput `pulumi:"disabledAlerts"` // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdmins pulumi.BoolPtrOutput `pulumi:"emailAccountAdmins"` // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayOutput `pulumi:"emailAddresses"` // The name of the resource group that contains the MS SQL Server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` // Specifies the name of the MS SQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database server. Allowed values are: `Disabled`, `Enabled`. State pulumi.StringOutput `pulumi:"state"` // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"` }
Manages a Security Alert Policy for a MSSQL Server.
> **NOTE** Security Alert Policy is currently only available for MS SQL databases.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/sql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleSqlServer, err := sql.NewSqlServer(ctx, "exampleSqlServer", &sql.SqlServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("GRS"), }) if err != nil { return err } _, err = mssql.NewServerSecurityAlertPolicy(ctx, "exampleServerSecurityAlertPolicy", &mssql.ServerSecurityAlertPolicyArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleSqlServer.Name, State: pulumi.String("Enabled"), StorageEndpoint: exampleAccount.PrimaryBlobEndpoint, StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, DisabledAlerts: pulumi.StringArray{ pulumi.String("Sql_Injection"), pulumi.String("Data_Exfiltration"), }, RetentionDays: pulumi.Int(20), }) if err != nil { return err } return nil }) }
```
## Import
MS SQL Server Security Alert Policy can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/serverSecurityAlertPolicy:ServerSecurityAlertPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acceptanceTestResourceGroup1/providers/Microsoft.Sql/servers/mssqlserver/securityAlertPolicies/Default
```
func GetServerSecurityAlertPolicy ¶
func GetServerSecurityAlertPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerSecurityAlertPolicyState, opts ...pulumi.ResourceOption) (*ServerSecurityAlertPolicy, error)
GetServerSecurityAlertPolicy gets an existing ServerSecurityAlertPolicy 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 NewServerSecurityAlertPolicy ¶
func NewServerSecurityAlertPolicy(ctx *pulumi.Context, name string, args *ServerSecurityAlertPolicyArgs, opts ...pulumi.ResourceOption) (*ServerSecurityAlertPolicy, error)
NewServerSecurityAlertPolicy registers a new resource with the given unique name, arguments, and options.
func (*ServerSecurityAlertPolicy) ElementType ¶
func (*ServerSecurityAlertPolicy) ElementType() reflect.Type
func (*ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyOutput ¶
func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyOutput() ServerSecurityAlertPolicyOutput
func (*ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyOutputWithContext ¶
func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyOutput
func (*ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyPtrOutput ¶
func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyPtrOutput() ServerSecurityAlertPolicyPtrOutput
func (*ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyPtrOutputWithContext ¶
func (i *ServerSecurityAlertPolicy) ToServerSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyPtrOutput
type ServerSecurityAlertPolicyArgs ¶
type ServerSecurityAlertPolicyArgs struct { // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayInput // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdmins pulumi.BoolPtrInput // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayInput // The name of the resource group that contains the MS SQL Server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrInput // Specifies the name of the MS SQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringInput // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database server. Allowed values are: `Disabled`, `Enabled`. State pulumi.StringInput // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrInput // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrInput }
The set of arguments for constructing a ServerSecurityAlertPolicy resource.
func (ServerSecurityAlertPolicyArgs) ElementType ¶
func (ServerSecurityAlertPolicyArgs) ElementType() reflect.Type
type ServerSecurityAlertPolicyArray ¶
type ServerSecurityAlertPolicyArray []ServerSecurityAlertPolicyInput
func (ServerSecurityAlertPolicyArray) ElementType ¶
func (ServerSecurityAlertPolicyArray) ElementType() reflect.Type
func (ServerSecurityAlertPolicyArray) ToServerSecurityAlertPolicyArrayOutput ¶
func (i ServerSecurityAlertPolicyArray) ToServerSecurityAlertPolicyArrayOutput() ServerSecurityAlertPolicyArrayOutput
func (ServerSecurityAlertPolicyArray) ToServerSecurityAlertPolicyArrayOutputWithContext ¶
func (i ServerSecurityAlertPolicyArray) ToServerSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyArrayOutput
type ServerSecurityAlertPolicyArrayInput ¶
type ServerSecurityAlertPolicyArrayInput interface { pulumi.Input ToServerSecurityAlertPolicyArrayOutput() ServerSecurityAlertPolicyArrayOutput ToServerSecurityAlertPolicyArrayOutputWithContext(context.Context) ServerSecurityAlertPolicyArrayOutput }
ServerSecurityAlertPolicyArrayInput is an input type that accepts ServerSecurityAlertPolicyArray and ServerSecurityAlertPolicyArrayOutput values. You can construct a concrete instance of `ServerSecurityAlertPolicyArrayInput` via:
ServerSecurityAlertPolicyArray{ ServerSecurityAlertPolicyArgs{...} }
type ServerSecurityAlertPolicyArrayOutput ¶
type ServerSecurityAlertPolicyArrayOutput struct{ *pulumi.OutputState }
func (ServerSecurityAlertPolicyArrayOutput) ElementType ¶
func (ServerSecurityAlertPolicyArrayOutput) ElementType() reflect.Type
func (ServerSecurityAlertPolicyArrayOutput) Index ¶
func (o ServerSecurityAlertPolicyArrayOutput) Index(i pulumi.IntInput) ServerSecurityAlertPolicyOutput
func (ServerSecurityAlertPolicyArrayOutput) ToServerSecurityAlertPolicyArrayOutput ¶
func (o ServerSecurityAlertPolicyArrayOutput) ToServerSecurityAlertPolicyArrayOutput() ServerSecurityAlertPolicyArrayOutput
func (ServerSecurityAlertPolicyArrayOutput) ToServerSecurityAlertPolicyArrayOutputWithContext ¶
func (o ServerSecurityAlertPolicyArrayOutput) ToServerSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyArrayOutput
type ServerSecurityAlertPolicyInput ¶
type ServerSecurityAlertPolicyInput interface { pulumi.Input ToServerSecurityAlertPolicyOutput() ServerSecurityAlertPolicyOutput ToServerSecurityAlertPolicyOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyOutput }
type ServerSecurityAlertPolicyMap ¶
type ServerSecurityAlertPolicyMap map[string]ServerSecurityAlertPolicyInput
func (ServerSecurityAlertPolicyMap) ElementType ¶
func (ServerSecurityAlertPolicyMap) ElementType() reflect.Type
func (ServerSecurityAlertPolicyMap) ToServerSecurityAlertPolicyMapOutput ¶
func (i ServerSecurityAlertPolicyMap) ToServerSecurityAlertPolicyMapOutput() ServerSecurityAlertPolicyMapOutput
func (ServerSecurityAlertPolicyMap) ToServerSecurityAlertPolicyMapOutputWithContext ¶
func (i ServerSecurityAlertPolicyMap) ToServerSecurityAlertPolicyMapOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyMapOutput
type ServerSecurityAlertPolicyMapInput ¶
type ServerSecurityAlertPolicyMapInput interface { pulumi.Input ToServerSecurityAlertPolicyMapOutput() ServerSecurityAlertPolicyMapOutput ToServerSecurityAlertPolicyMapOutputWithContext(context.Context) ServerSecurityAlertPolicyMapOutput }
ServerSecurityAlertPolicyMapInput is an input type that accepts ServerSecurityAlertPolicyMap and ServerSecurityAlertPolicyMapOutput values. You can construct a concrete instance of `ServerSecurityAlertPolicyMapInput` via:
ServerSecurityAlertPolicyMap{ "key": ServerSecurityAlertPolicyArgs{...} }
type ServerSecurityAlertPolicyMapOutput ¶
type ServerSecurityAlertPolicyMapOutput struct{ *pulumi.OutputState }
func (ServerSecurityAlertPolicyMapOutput) ElementType ¶
func (ServerSecurityAlertPolicyMapOutput) ElementType() reflect.Type
func (ServerSecurityAlertPolicyMapOutput) MapIndex ¶
func (o ServerSecurityAlertPolicyMapOutput) MapIndex(k pulumi.StringInput) ServerSecurityAlertPolicyOutput
func (ServerSecurityAlertPolicyMapOutput) ToServerSecurityAlertPolicyMapOutput ¶
func (o ServerSecurityAlertPolicyMapOutput) ToServerSecurityAlertPolicyMapOutput() ServerSecurityAlertPolicyMapOutput
func (ServerSecurityAlertPolicyMapOutput) ToServerSecurityAlertPolicyMapOutputWithContext ¶
func (o ServerSecurityAlertPolicyMapOutput) ToServerSecurityAlertPolicyMapOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyMapOutput
type ServerSecurityAlertPolicyOutput ¶
type ServerSecurityAlertPolicyOutput struct {
*pulumi.OutputState
}
func (ServerSecurityAlertPolicyOutput) ElementType ¶
func (ServerSecurityAlertPolicyOutput) ElementType() reflect.Type
func (ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyOutput ¶
func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyOutput() ServerSecurityAlertPolicyOutput
func (ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyOutputWithContext ¶
func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyOutput
func (ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyPtrOutput ¶
func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyPtrOutput() ServerSecurityAlertPolicyPtrOutput
func (ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyPtrOutputWithContext ¶
func (o ServerSecurityAlertPolicyOutput) ToServerSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyPtrOutput
type ServerSecurityAlertPolicyPtrInput ¶
type ServerSecurityAlertPolicyPtrInput interface { pulumi.Input ToServerSecurityAlertPolicyPtrOutput() ServerSecurityAlertPolicyPtrOutput ToServerSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyPtrOutput }
type ServerSecurityAlertPolicyPtrOutput ¶
type ServerSecurityAlertPolicyPtrOutput struct {
*pulumi.OutputState
}
func (ServerSecurityAlertPolicyPtrOutput) ElementType ¶
func (ServerSecurityAlertPolicyPtrOutput) ElementType() reflect.Type
func (ServerSecurityAlertPolicyPtrOutput) ToServerSecurityAlertPolicyPtrOutput ¶
func (o ServerSecurityAlertPolicyPtrOutput) ToServerSecurityAlertPolicyPtrOutput() ServerSecurityAlertPolicyPtrOutput
func (ServerSecurityAlertPolicyPtrOutput) ToServerSecurityAlertPolicyPtrOutputWithContext ¶
func (o ServerSecurityAlertPolicyPtrOutput) ToServerSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) ServerSecurityAlertPolicyPtrOutput
type ServerSecurityAlertPolicyState ¶
type ServerSecurityAlertPolicyState struct { // Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`. DisabledAlerts pulumi.StringArrayInput // Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`. EmailAccountAdmins pulumi.BoolPtrInput // Specifies an array of e-mail addresses to which the alert is sent. EmailAddresses pulumi.StringArrayInput // The name of the resource group that contains the MS SQL Server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`. RetentionDays pulumi.IntPtrInput // Specifies the name of the MS SQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database server. Allowed values are: `Disabled`, `Enabled`. State pulumi.StringPtrInput // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrInput // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrInput }
func (ServerSecurityAlertPolicyState) ElementType ¶
func (ServerSecurityAlertPolicyState) ElementType() reflect.Type
type ServerState ¶
type ServerState struct { // The administrator login name for the new server. Changing this forces a new resource to be created. AdministratorLogin pulumi.StringPtrInput // The password associated with the `administratorLogin` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx) AdministratorLoginPassword pulumi.StringPtrInput // An `azureadAdministrator` block as defined below. AzureadAdministrator ServerAzureadAdministratorPtrInput // The connection policy the server will use. Possible values are `Default`, `Proxy`, and `Redirect`. Defaults to `Default`. ConnectionPolicy pulumi.StringPtrInput // A `extendedAuditingPolicy` block as defined below. // // Deprecated: the `extended_auditing_policy` block has been moved to `azurerm_mssql_server_extended_auditing_policy` and `azurerm_mssql_database_extended_auditing_policy`. This block will be removed in version 3.0 of the provider. ExtendedAuditingPolicy ServerExtendedAuditingPolicyTypePtrInput // The fully qualified domain name of the Azure SQL Server (e.g. myServerName.database.windows.net) FullyQualifiedDomainName pulumi.StringPtrInput // An `identity` block as defined below. Identity ServerIdentityPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The Minimum TLS Version for all SQL Database and SQL Data Warehouse databases associated with the server. Valid values are: `1.0`, `1.1` and `1.2`. MinimumTlsVersion pulumi.StringPtrInput // The name of the Microsoft SQL Server. This needs to be globally unique within Azure. Name pulumi.StringPtrInput // Whether or not public network access is allowed for this server. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The name of the resource group in which to create the Microsoft SQL Server. ResourceGroupName pulumi.StringPtrInput // A list of dropped restorable database IDs on the server. RestorableDroppedDatabaseIds pulumi.StringArrayInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server). Version pulumi.StringPtrInput }
func (ServerState) ElementType ¶
func (ServerState) ElementType() reflect.Type
type ServerVulnerabilityAssessment ¶
type ServerVulnerabilityAssessment struct { pulumi.CustomResourceState // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans ServerVulnerabilityAssessmentRecurringScansOutput `pulumi:"recurringScans"` // The id of the security alert policy of the MS SQL Server. Changing this forces a new resource to be created. ServerSecurityAlertPolicyId pulumi.StringOutput `pulumi:"serverSecurityAlertPolicyId"` // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"` // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringOutput `pulumi:"storageContainerPath"` // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrOutput `pulumi:"storageContainerSasKey"` }
Manages the Vulnerability Assessment for a MS SQL Server.
> **NOTE** Vulnerability Assessment is currently only available for MS SQL databases.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/sql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleSqlServer, err := sql.NewSqlServer(ctx, "exampleSqlServer", &sql.SqlServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("GRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, ContainerAccessType: pulumi.String("private"), }) if err != nil { return err } exampleServerSecurityAlertPolicy, err := mssql.NewServerSecurityAlertPolicy(ctx, "exampleServerSecurityAlertPolicy", &mssql.ServerSecurityAlertPolicyArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleSqlServer.Name, State: pulumi.String("Enabled"), }) if err != nil { return err } _, err = mssql.NewServerVulnerabilityAssessment(ctx, "exampleServerVulnerabilityAssessment", &mssql.ServerVulnerabilityAssessmentArgs{ ServerSecurityAlertPolicyId: exampleServerSecurityAlertPolicy.ID(), StorageContainerPath: pulumi.All(exampleAccount.PrimaryBlobEndpoint, exampleContainer.Name).ApplyT(func(_args []interface{}) (string, error) { primaryBlobEndpoint := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("%v%v%v", primaryBlobEndpoint, name, "/"), nil }).(pulumi.StringOutput), StorageAccountAccessKey: exampleAccount.PrimaryAccessKey, RecurringScans: &mssql.ServerVulnerabilityAssessmentRecurringScansArgs{ Enabled: pulumi.Bool(true), EmailSubscriptionAdmins: pulumi.Bool(true), Emails: pulumi.StringArray{ pulumi.String("email@example1.com"), pulumi.String("email@example2.com"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
MS SQL Server Vulnerability Assessment can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/serverVulnerabilityAssessment:ServerVulnerabilityAssessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acceptanceTestResourceGroup1/providers/Microsoft.Sql/servers/mssqlserver/vulnerabilityAssessments/Default
```
func GetServerVulnerabilityAssessment ¶
func GetServerVulnerabilityAssessment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerVulnerabilityAssessmentState, opts ...pulumi.ResourceOption) (*ServerVulnerabilityAssessment, error)
GetServerVulnerabilityAssessment gets an existing ServerVulnerabilityAssessment 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 NewServerVulnerabilityAssessment ¶
func NewServerVulnerabilityAssessment(ctx *pulumi.Context, name string, args *ServerVulnerabilityAssessmentArgs, opts ...pulumi.ResourceOption) (*ServerVulnerabilityAssessment, error)
NewServerVulnerabilityAssessment registers a new resource with the given unique name, arguments, and options.
func (*ServerVulnerabilityAssessment) ElementType ¶
func (*ServerVulnerabilityAssessment) ElementType() reflect.Type
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutput ¶
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutputWithContext ¶
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutput ¶
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
func (*ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutputWithContext ¶
func (i *ServerVulnerabilityAssessment) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
type ServerVulnerabilityAssessmentArgs ¶
type ServerVulnerabilityAssessmentArgs struct { // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans ServerVulnerabilityAssessmentRecurringScansPtrInput // The id of the security alert policy of the MS SQL Server. Changing this forces a new resource to be created. ServerSecurityAlertPolicyId pulumi.StringInput // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrInput // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringInput // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrInput }
The set of arguments for constructing a ServerVulnerabilityAssessment resource.
func (ServerVulnerabilityAssessmentArgs) ElementType ¶
func (ServerVulnerabilityAssessmentArgs) ElementType() reflect.Type
type ServerVulnerabilityAssessmentArray ¶
type ServerVulnerabilityAssessmentArray []ServerVulnerabilityAssessmentInput
func (ServerVulnerabilityAssessmentArray) ElementType ¶
func (ServerVulnerabilityAssessmentArray) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutput ¶
func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
func (ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutputWithContext ¶
func (i ServerVulnerabilityAssessmentArray) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
type ServerVulnerabilityAssessmentArrayInput ¶
type ServerVulnerabilityAssessmentArrayInput interface { pulumi.Input ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput ToServerVulnerabilityAssessmentArrayOutputWithContext(context.Context) ServerVulnerabilityAssessmentArrayOutput }
ServerVulnerabilityAssessmentArrayInput is an input type that accepts ServerVulnerabilityAssessmentArray and ServerVulnerabilityAssessmentArrayOutput values. You can construct a concrete instance of `ServerVulnerabilityAssessmentArrayInput` via:
ServerVulnerabilityAssessmentArray{ ServerVulnerabilityAssessmentArgs{...} }
type ServerVulnerabilityAssessmentArrayOutput ¶
type ServerVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }
func (ServerVulnerabilityAssessmentArrayOutput) ElementType ¶
func (ServerVulnerabilityAssessmentArrayOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutput ¶
func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutput() ServerVulnerabilityAssessmentArrayOutput
func (ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutputWithContext ¶
func (o ServerVulnerabilityAssessmentArrayOutput) ToServerVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentArrayOutput
type ServerVulnerabilityAssessmentInput ¶
type ServerVulnerabilityAssessmentInput interface { pulumi.Input ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput }
type ServerVulnerabilityAssessmentMap ¶
type ServerVulnerabilityAssessmentMap map[string]ServerVulnerabilityAssessmentInput
func (ServerVulnerabilityAssessmentMap) ElementType ¶
func (ServerVulnerabilityAssessmentMap) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutput ¶
func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
func (ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutputWithContext ¶
func (i ServerVulnerabilityAssessmentMap) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
type ServerVulnerabilityAssessmentMapInput ¶
type ServerVulnerabilityAssessmentMapInput interface { pulumi.Input ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput ToServerVulnerabilityAssessmentMapOutputWithContext(context.Context) ServerVulnerabilityAssessmentMapOutput }
ServerVulnerabilityAssessmentMapInput is an input type that accepts ServerVulnerabilityAssessmentMap and ServerVulnerabilityAssessmentMapOutput values. You can construct a concrete instance of `ServerVulnerabilityAssessmentMapInput` via:
ServerVulnerabilityAssessmentMap{ "key": ServerVulnerabilityAssessmentArgs{...} }
type ServerVulnerabilityAssessmentMapOutput ¶
type ServerVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }
func (ServerVulnerabilityAssessmentMapOutput) ElementType ¶
func (ServerVulnerabilityAssessmentMapOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentMapOutput) MapIndex ¶
func (o ServerVulnerabilityAssessmentMapOutput) MapIndex(k pulumi.StringInput) ServerVulnerabilityAssessmentOutput
func (ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutput ¶
func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutput() ServerVulnerabilityAssessmentMapOutput
func (ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutputWithContext ¶
func (o ServerVulnerabilityAssessmentMapOutput) ToServerVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentMapOutput
type ServerVulnerabilityAssessmentOutput ¶
type ServerVulnerabilityAssessmentOutput struct {
*pulumi.OutputState
}
func (ServerVulnerabilityAssessmentOutput) ElementType ¶
func (ServerVulnerabilityAssessmentOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutput ¶
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutput() ServerVulnerabilityAssessmentOutput
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutputWithContext ¶
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentOutput
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutput ¶
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
func (ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext ¶
func (o ServerVulnerabilityAssessmentOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
type ServerVulnerabilityAssessmentPtrInput ¶
type ServerVulnerabilityAssessmentPtrInput interface { pulumi.Input ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput }
type ServerVulnerabilityAssessmentPtrOutput ¶
type ServerVulnerabilityAssessmentPtrOutput struct {
*pulumi.OutputState
}
func (ServerVulnerabilityAssessmentPtrOutput) ElementType ¶
func (ServerVulnerabilityAssessmentPtrOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutput ¶
func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutput() ServerVulnerabilityAssessmentPtrOutput
func (ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext ¶
func (o ServerVulnerabilityAssessmentPtrOutput) ToServerVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentPtrOutput
type ServerVulnerabilityAssessmentRecurringScans ¶
type ServerVulnerabilityAssessmentRecurringScans struct { // Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. EmailSubscriptionAdmins *bool `pulumi:"emailSubscriptionAdmins"` // Specifies an array of e-mail addresses to which the scan notification is sent. Emails []string `pulumi:"emails"` // Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. Enabled *bool `pulumi:"enabled"` }
type ServerVulnerabilityAssessmentRecurringScansArgs ¶
type ServerVulnerabilityAssessmentRecurringScansArgs struct { // Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`. EmailSubscriptionAdmins pulumi.BoolPtrInput `pulumi:"emailSubscriptionAdmins"` // Specifies an array of e-mail addresses to which the scan notification is sent. Emails pulumi.StringArrayInput `pulumi:"emails"` // Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` }
func (ServerVulnerabilityAssessmentRecurringScansArgs) ElementType ¶
func (ServerVulnerabilityAssessmentRecurringScansArgs) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansOutput ¶
func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansOutput() ServerVulnerabilityAssessmentRecurringScansOutput
func (ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansOutputWithContext ¶
func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansOutput
func (ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansPtrOutput() ServerVulnerabilityAssessmentRecurringScansPtrOutput
func (ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (i ServerVulnerabilityAssessmentRecurringScansArgs) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansPtrOutput
type ServerVulnerabilityAssessmentRecurringScansInput ¶
type ServerVulnerabilityAssessmentRecurringScansInput interface { pulumi.Input ToServerVulnerabilityAssessmentRecurringScansOutput() ServerVulnerabilityAssessmentRecurringScansOutput ToServerVulnerabilityAssessmentRecurringScansOutputWithContext(context.Context) ServerVulnerabilityAssessmentRecurringScansOutput }
ServerVulnerabilityAssessmentRecurringScansInput is an input type that accepts ServerVulnerabilityAssessmentRecurringScansArgs and ServerVulnerabilityAssessmentRecurringScansOutput values. You can construct a concrete instance of `ServerVulnerabilityAssessmentRecurringScansInput` via:
ServerVulnerabilityAssessmentRecurringScansArgs{...}
type ServerVulnerabilityAssessmentRecurringScansOutput ¶
type ServerVulnerabilityAssessmentRecurringScansOutput struct{ *pulumi.OutputState }
func (ServerVulnerabilityAssessmentRecurringScansOutput) ElementType ¶
func (ServerVulnerabilityAssessmentRecurringScansOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdmins ¶
func (o ServerVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdmins() pulumi.BoolPtrOutput
Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
func (ServerVulnerabilityAssessmentRecurringScansOutput) Emails ¶
func (o ServerVulnerabilityAssessmentRecurringScansOutput) Emails() pulumi.StringArrayOutput
Specifies an array of e-mail addresses to which the scan notification is sent.
func (ServerVulnerabilityAssessmentRecurringScansOutput) Enabled ¶
func (o ServerVulnerabilityAssessmentRecurringScansOutput) Enabled() pulumi.BoolPtrOutput
Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
func (ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansOutput ¶
func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansOutput() ServerVulnerabilityAssessmentRecurringScansOutput
func (ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansOutputWithContext ¶
func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansOutput
func (ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutput() ServerVulnerabilityAssessmentRecurringScansPtrOutput
func (ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (o ServerVulnerabilityAssessmentRecurringScansOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansPtrOutput
type ServerVulnerabilityAssessmentRecurringScansPtrInput ¶
type ServerVulnerabilityAssessmentRecurringScansPtrInput interface { pulumi.Input ToServerVulnerabilityAssessmentRecurringScansPtrOutput() ServerVulnerabilityAssessmentRecurringScansPtrOutput ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext(context.Context) ServerVulnerabilityAssessmentRecurringScansPtrOutput }
ServerVulnerabilityAssessmentRecurringScansPtrInput is an input type that accepts ServerVulnerabilityAssessmentRecurringScansArgs, ServerVulnerabilityAssessmentRecurringScansPtr and ServerVulnerabilityAssessmentRecurringScansPtrOutput values. You can construct a concrete instance of `ServerVulnerabilityAssessmentRecurringScansPtrInput` via:
ServerVulnerabilityAssessmentRecurringScansArgs{...} or: nil
func ServerVulnerabilityAssessmentRecurringScansPtr ¶
func ServerVulnerabilityAssessmentRecurringScansPtr(v *ServerVulnerabilityAssessmentRecurringScansArgs) ServerVulnerabilityAssessmentRecurringScansPtrInput
type ServerVulnerabilityAssessmentRecurringScansPtrOutput ¶
type ServerVulnerabilityAssessmentRecurringScansPtrOutput struct{ *pulumi.OutputState }
func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) ElementType ¶
func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) ElementType() reflect.Type
func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdmins ¶
func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdmins() pulumi.BoolPtrOutput
Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) Emails ¶
func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) Emails() pulumi.StringArrayOutput
Specifies an array of e-mail addresses to which the scan notification is sent.
func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) Enabled ¶
func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) Enabled() pulumi.BoolPtrOutput
Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutput ¶
func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutput() ServerVulnerabilityAssessmentRecurringScansPtrOutput
func (ServerVulnerabilityAssessmentRecurringScansPtrOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext ¶
func (o ServerVulnerabilityAssessmentRecurringScansPtrOutput) ToServerVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) ServerVulnerabilityAssessmentRecurringScansPtrOutput
type ServerVulnerabilityAssessmentState ¶
type ServerVulnerabilityAssessmentState struct { // The recurring scans settings. The `recurringScans` block supports fields documented below. RecurringScans ServerVulnerabilityAssessmentRecurringScansPtrInput // The id of the security alert policy of the MS SQL Server. Changing this forces a new resource to be created. ServerSecurityAlertPolicyId pulumi.StringPtrInput // Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required. StorageAccountAccessKey pulumi.StringPtrInput // A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). StorageContainerPath pulumi.StringPtrInput // A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required. StorageContainerSasKey pulumi.StringPtrInput }
func (ServerVulnerabilityAssessmentState) ElementType ¶
func (ServerVulnerabilityAssessmentState) ElementType() reflect.Type
type VirtualMachine ¶
type VirtualMachine struct { pulumi.CustomResourceState // An `autoBackup` block as defined below. This block can be added to an existing resource, but removing this block forces a new resource to be created. AutoBackup VirtualMachineAutoBackupPtrOutput `pulumi:"autoBackup"` // An `autoPatching` block as defined below. AutoPatching VirtualMachineAutoPatchingPtrOutput `pulumi:"autoPatching"` // (Optional) An `keyVaultCredential` block as defined below. KeyVaultCredential VirtualMachineKeyVaultCredentialPtrOutput `pulumi:"keyVaultCredential"` // Should R Services be enabled? RServicesEnabled pulumi.BoolPtrOutput `pulumi:"rServicesEnabled"` // The SQL Server port. Defaults to `1433`. SqlConnectivityPort pulumi.IntPtrOutput `pulumi:"sqlConnectivityPort"` // The connectivity type used for this SQL Server. Defaults to `PRIVATE`. SqlConnectivityType pulumi.StringPtrOutput `pulumi:"sqlConnectivityType"` // The SQL Server sysadmin login password. SqlConnectivityUpdatePassword pulumi.StringPtrOutput `pulumi:"sqlConnectivityUpdatePassword"` // The SQL Server sysadmin login to create. SqlConnectivityUpdateUsername pulumi.StringPtrOutput `pulumi:"sqlConnectivityUpdateUsername"` // The SQL Server license type. Possible values are `AHUB` (Azure Hybrid Benefit) and `PAYG` (Pay-As-You-Go). Changing this forces a new resource to be created. SqlLicenseType pulumi.StringOutput `pulumi:"sqlLicenseType"` // An `storageConfiguration` block as defined below. StorageConfiguration VirtualMachineStorageConfigurationPtrOutput `pulumi:"storageConfiguration"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The ID of the Virtual Machine. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringOutput `pulumi:"virtualMachineId"` }
Manages a Microsoft SQL Virtual Machine
## Example Usage
This example provisions a brief Managed MsSql Virtual Machine.
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/compute" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleVirtualMachine, err := compute.LookupVirtualMachine(ctx, &compute.LookupVirtualMachineArgs{ Name: "example-vm", ResourceGroupName: "example-resources", }, nil) if err != nil { return err } _, err = mssql.NewVirtualMachine(ctx, "exampleMssql_virtualMachineVirtualMachine", &mssql.VirtualMachineArgs{ VirtualMachineId: pulumi.String(exampleVirtualMachine.Id), SqlLicenseType: pulumi.String("PAYG"), RServicesEnabled: pulumi.Bool(true), SqlConnectivityPort: pulumi.Int(1433), SqlConnectivityType: pulumi.String("PRIVATE"), SqlConnectivityUpdatePassword: pulumi.String("Password1234!"), SqlConnectivityUpdateUsername: pulumi.String("sqllogin"), AutoPatching: &mssql.VirtualMachineAutoPatchingArgs{ DayOfWeek: pulumi.String("Sunday"), MaintenanceWindowDurationInMinutes: pulumi.Int(60), MaintenanceWindowStartingHour: pulumi.Int(2), }, }) if err != nil { return err } return nil }) }
```
## Import
Sql Virtual Machines can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/virtualMachine:VirtualMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/example1
```
func GetVirtualMachine ¶
func GetVirtualMachine(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VirtualMachineState, opts ...pulumi.ResourceOption) (*VirtualMachine, error)
GetVirtualMachine gets an existing VirtualMachine 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 NewVirtualMachine ¶
func NewVirtualMachine(ctx *pulumi.Context, name string, args *VirtualMachineArgs, opts ...pulumi.ResourceOption) (*VirtualMachine, error)
NewVirtualMachine registers a new resource with the given unique name, arguments, and options.
func (*VirtualMachine) ElementType ¶
func (*VirtualMachine) ElementType() reflect.Type
func (*VirtualMachine) ToVirtualMachineOutput ¶
func (i *VirtualMachine) ToVirtualMachineOutput() VirtualMachineOutput
func (*VirtualMachine) ToVirtualMachineOutputWithContext ¶
func (i *VirtualMachine) ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
func (*VirtualMachine) ToVirtualMachinePtrOutput ¶
func (i *VirtualMachine) ToVirtualMachinePtrOutput() VirtualMachinePtrOutput
func (*VirtualMachine) ToVirtualMachinePtrOutputWithContext ¶
func (i *VirtualMachine) ToVirtualMachinePtrOutputWithContext(ctx context.Context) VirtualMachinePtrOutput
type VirtualMachineArgs ¶
type VirtualMachineArgs struct { // An `autoBackup` block as defined below. This block can be added to an existing resource, but removing this block forces a new resource to be created. AutoBackup VirtualMachineAutoBackupPtrInput // An `autoPatching` block as defined below. AutoPatching VirtualMachineAutoPatchingPtrInput // (Optional) An `keyVaultCredential` block as defined below. KeyVaultCredential VirtualMachineKeyVaultCredentialPtrInput // Should R Services be enabled? RServicesEnabled pulumi.BoolPtrInput // The SQL Server port. Defaults to `1433`. SqlConnectivityPort pulumi.IntPtrInput // The connectivity type used for this SQL Server. Defaults to `PRIVATE`. SqlConnectivityType pulumi.StringPtrInput // The SQL Server sysadmin login password. SqlConnectivityUpdatePassword pulumi.StringPtrInput // The SQL Server sysadmin login to create. SqlConnectivityUpdateUsername pulumi.StringPtrInput // The SQL Server license type. Possible values are `AHUB` (Azure Hybrid Benefit) and `PAYG` (Pay-As-You-Go). Changing this forces a new resource to be created. SqlLicenseType pulumi.StringInput // An `storageConfiguration` block as defined below. StorageConfiguration VirtualMachineStorageConfigurationPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The ID of the Virtual Machine. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringInput }
The set of arguments for constructing a VirtualMachine resource.
func (VirtualMachineArgs) ElementType ¶
func (VirtualMachineArgs) ElementType() reflect.Type
type VirtualMachineArray ¶
type VirtualMachineArray []VirtualMachineInput
func (VirtualMachineArray) ElementType ¶
func (VirtualMachineArray) ElementType() reflect.Type
func (VirtualMachineArray) ToVirtualMachineArrayOutput ¶
func (i VirtualMachineArray) ToVirtualMachineArrayOutput() VirtualMachineArrayOutput
func (VirtualMachineArray) ToVirtualMachineArrayOutputWithContext ¶
func (i VirtualMachineArray) ToVirtualMachineArrayOutputWithContext(ctx context.Context) VirtualMachineArrayOutput
type VirtualMachineArrayInput ¶
type VirtualMachineArrayInput interface { pulumi.Input ToVirtualMachineArrayOutput() VirtualMachineArrayOutput ToVirtualMachineArrayOutputWithContext(context.Context) VirtualMachineArrayOutput }
VirtualMachineArrayInput is an input type that accepts VirtualMachineArray and VirtualMachineArrayOutput values. You can construct a concrete instance of `VirtualMachineArrayInput` via:
VirtualMachineArray{ VirtualMachineArgs{...} }
type VirtualMachineArrayOutput ¶
type VirtualMachineArrayOutput struct{ *pulumi.OutputState }
func (VirtualMachineArrayOutput) ElementType ¶
func (VirtualMachineArrayOutput) ElementType() reflect.Type
func (VirtualMachineArrayOutput) Index ¶
func (o VirtualMachineArrayOutput) Index(i pulumi.IntInput) VirtualMachineOutput
func (VirtualMachineArrayOutput) ToVirtualMachineArrayOutput ¶
func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutput() VirtualMachineArrayOutput
func (VirtualMachineArrayOutput) ToVirtualMachineArrayOutputWithContext ¶
func (o VirtualMachineArrayOutput) ToVirtualMachineArrayOutputWithContext(ctx context.Context) VirtualMachineArrayOutput
type VirtualMachineAutoBackup ¶
type VirtualMachineAutoBackup struct { // Enable or disable encryption for backups. Defaults to `false`. EncryptionEnabled *bool `pulumi:"encryptionEnabled"` // Encryption password to use. Must be specified when encryption is enabled. EncryptionPassword *string `pulumi:"encryptionPassword"` // A `manualSchedule` block as documented below. When this block is present, the schedule type is set to `Manual`. Without this block, the schedule type is set to `Automated`. ManualSchedule *VirtualMachineAutoBackupManualSchedule `pulumi:"manualSchedule"` // Retention period of backups, in days. Valid values are from `1` to `30`. RetentionPeriodInDays int `pulumi:"retentionPeriodInDays"` // Access key for the storage account where backups will be kept. StorageAccountAccessKey string `pulumi:"storageAccountAccessKey"` // Blob endpoint for the storage account where backups will be kept. StorageBlobEndpoint string `pulumi:"storageBlobEndpoint"` // Include or exclude system databases from auto backup. Defaults to `false`. SystemDatabasesBackupEnabled *bool `pulumi:"systemDatabasesBackupEnabled"` }
type VirtualMachineAutoBackupArgs ¶
type VirtualMachineAutoBackupArgs struct { // Enable or disable encryption for backups. Defaults to `false`. EncryptionEnabled pulumi.BoolPtrInput `pulumi:"encryptionEnabled"` // Encryption password to use. Must be specified when encryption is enabled. EncryptionPassword pulumi.StringPtrInput `pulumi:"encryptionPassword"` // A `manualSchedule` block as documented below. When this block is present, the schedule type is set to `Manual`. Without this block, the schedule type is set to `Automated`. ManualSchedule VirtualMachineAutoBackupManualSchedulePtrInput `pulumi:"manualSchedule"` // Retention period of backups, in days. Valid values are from `1` to `30`. RetentionPeriodInDays pulumi.IntInput `pulumi:"retentionPeriodInDays"` // Access key for the storage account where backups will be kept. StorageAccountAccessKey pulumi.StringInput `pulumi:"storageAccountAccessKey"` // Blob endpoint for the storage account where backups will be kept. StorageBlobEndpoint pulumi.StringInput `pulumi:"storageBlobEndpoint"` // Include or exclude system databases from auto backup. Defaults to `false`. SystemDatabasesBackupEnabled pulumi.BoolPtrInput `pulumi:"systemDatabasesBackupEnabled"` }
func (VirtualMachineAutoBackupArgs) ElementType ¶
func (VirtualMachineAutoBackupArgs) ElementType() reflect.Type
func (VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupOutput ¶
func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupOutput() VirtualMachineAutoBackupOutput
func (VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupOutputWithContext ¶
func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupOutputWithContext(ctx context.Context) VirtualMachineAutoBackupOutput
func (VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupPtrOutput ¶
func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupPtrOutput() VirtualMachineAutoBackupPtrOutput
func (VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupPtrOutputWithContext ¶
func (i VirtualMachineAutoBackupArgs) ToVirtualMachineAutoBackupPtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupPtrOutput
type VirtualMachineAutoBackupInput ¶
type VirtualMachineAutoBackupInput interface { pulumi.Input ToVirtualMachineAutoBackupOutput() VirtualMachineAutoBackupOutput ToVirtualMachineAutoBackupOutputWithContext(context.Context) VirtualMachineAutoBackupOutput }
VirtualMachineAutoBackupInput is an input type that accepts VirtualMachineAutoBackupArgs and VirtualMachineAutoBackupOutput values. You can construct a concrete instance of `VirtualMachineAutoBackupInput` via:
VirtualMachineAutoBackupArgs{...}
type VirtualMachineAutoBackupManualSchedule ¶
type VirtualMachineAutoBackupManualSchedule struct { // Frequency of full backups. Valid values include `Daily` or `Weekly`. Required when `backupScheduleAutomated` is false. FullBackupFrequency string `pulumi:"fullBackupFrequency"` // Start hour of a given day during which full backups can take place. Valid values are from `0` to `23`. Required when `backupScheduleAutomated` is false. FullBackupStartHour int `pulumi:"fullBackupStartHour"` // Duration of the time window of a given day during which full backups can take place, in hours. Valid values are between `1` and `23`. Required when `backupScheduleAutomated` is false. FullBackupWindowInHours int `pulumi:"fullBackupWindowInHours"` // Frequency of log backups, in minutes. Valid values are from `5` to `60`. Required when `backupScheduleAutomated` is false. LogBackupFrequencyInMinutes int `pulumi:"logBackupFrequencyInMinutes"` }
type VirtualMachineAutoBackupManualScheduleArgs ¶
type VirtualMachineAutoBackupManualScheduleArgs struct { // Frequency of full backups. Valid values include `Daily` or `Weekly`. Required when `backupScheduleAutomated` is false. FullBackupFrequency pulumi.StringInput `pulumi:"fullBackupFrequency"` // Start hour of a given day during which full backups can take place. Valid values are from `0` to `23`. Required when `backupScheduleAutomated` is false. FullBackupStartHour pulumi.IntInput `pulumi:"fullBackupStartHour"` // Duration of the time window of a given day during which full backups can take place, in hours. Valid values are between `1` and `23`. Required when `backupScheduleAutomated` is false. FullBackupWindowInHours pulumi.IntInput `pulumi:"fullBackupWindowInHours"` // Frequency of log backups, in minutes. Valid values are from `5` to `60`. Required when `backupScheduleAutomated` is false. LogBackupFrequencyInMinutes pulumi.IntInput `pulumi:"logBackupFrequencyInMinutes"` }
func (VirtualMachineAutoBackupManualScheduleArgs) ElementType ¶
func (VirtualMachineAutoBackupManualScheduleArgs) ElementType() reflect.Type
func (VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualScheduleOutput ¶
func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualScheduleOutput() VirtualMachineAutoBackupManualScheduleOutput
func (VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualScheduleOutputWithContext ¶
func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualScheduleOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualScheduleOutput
func (VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualSchedulePtrOutput ¶
func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualSchedulePtrOutput() VirtualMachineAutoBackupManualSchedulePtrOutput
func (VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext ¶
func (i VirtualMachineAutoBackupManualScheduleArgs) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualSchedulePtrOutput
type VirtualMachineAutoBackupManualScheduleInput ¶
type VirtualMachineAutoBackupManualScheduleInput interface { pulumi.Input ToVirtualMachineAutoBackupManualScheduleOutput() VirtualMachineAutoBackupManualScheduleOutput ToVirtualMachineAutoBackupManualScheduleOutputWithContext(context.Context) VirtualMachineAutoBackupManualScheduleOutput }
VirtualMachineAutoBackupManualScheduleInput is an input type that accepts VirtualMachineAutoBackupManualScheduleArgs and VirtualMachineAutoBackupManualScheduleOutput values. You can construct a concrete instance of `VirtualMachineAutoBackupManualScheduleInput` via:
VirtualMachineAutoBackupManualScheduleArgs{...}
type VirtualMachineAutoBackupManualScheduleOutput ¶
type VirtualMachineAutoBackupManualScheduleOutput struct{ *pulumi.OutputState }
func (VirtualMachineAutoBackupManualScheduleOutput) ElementType ¶
func (VirtualMachineAutoBackupManualScheduleOutput) ElementType() reflect.Type
func (VirtualMachineAutoBackupManualScheduleOutput) FullBackupFrequency ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) FullBackupFrequency() pulumi.StringOutput
Frequency of full backups. Valid values include `Daily` or `Weekly`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualScheduleOutput) FullBackupStartHour ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) FullBackupStartHour() pulumi.IntOutput
Start hour of a given day during which full backups can take place. Valid values are from `0` to `23`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualScheduleOutput) FullBackupWindowInHours ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) FullBackupWindowInHours() pulumi.IntOutput
Duration of the time window of a given day during which full backups can take place, in hours. Valid values are between `1` and `23`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualScheduleOutput) LogBackupFrequencyInMinutes ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) LogBackupFrequencyInMinutes() pulumi.IntOutput
Frequency of log backups, in minutes. Valid values are from `5` to `60`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualScheduleOutput ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualScheduleOutput() VirtualMachineAutoBackupManualScheduleOutput
func (VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualScheduleOutputWithContext ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualScheduleOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualScheduleOutput
func (VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutput ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutput() VirtualMachineAutoBackupManualSchedulePtrOutput
func (VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext ¶
func (o VirtualMachineAutoBackupManualScheduleOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualSchedulePtrOutput
type VirtualMachineAutoBackupManualSchedulePtrInput ¶
type VirtualMachineAutoBackupManualSchedulePtrInput interface { pulumi.Input ToVirtualMachineAutoBackupManualSchedulePtrOutput() VirtualMachineAutoBackupManualSchedulePtrOutput ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext(context.Context) VirtualMachineAutoBackupManualSchedulePtrOutput }
VirtualMachineAutoBackupManualSchedulePtrInput is an input type that accepts VirtualMachineAutoBackupManualScheduleArgs, VirtualMachineAutoBackupManualSchedulePtr and VirtualMachineAutoBackupManualSchedulePtrOutput values. You can construct a concrete instance of `VirtualMachineAutoBackupManualSchedulePtrInput` via:
VirtualMachineAutoBackupManualScheduleArgs{...} or: nil
func VirtualMachineAutoBackupManualSchedulePtr ¶
func VirtualMachineAutoBackupManualSchedulePtr(v *VirtualMachineAutoBackupManualScheduleArgs) VirtualMachineAutoBackupManualSchedulePtrInput
type VirtualMachineAutoBackupManualSchedulePtrOutput ¶
type VirtualMachineAutoBackupManualSchedulePtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineAutoBackupManualSchedulePtrOutput) ElementType ¶
func (VirtualMachineAutoBackupManualSchedulePtrOutput) ElementType() reflect.Type
func (VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupFrequency ¶
func (o VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupFrequency() pulumi.StringPtrOutput
Frequency of full backups. Valid values include `Daily` or `Weekly`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupStartHour ¶
func (o VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupStartHour() pulumi.IntPtrOutput
Start hour of a given day during which full backups can take place. Valid values are from `0` to `23`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupWindowInHours ¶
func (o VirtualMachineAutoBackupManualSchedulePtrOutput) FullBackupWindowInHours() pulumi.IntPtrOutput
Duration of the time window of a given day during which full backups can take place, in hours. Valid values are between `1` and `23`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualSchedulePtrOutput) LogBackupFrequencyInMinutes ¶
func (o VirtualMachineAutoBackupManualSchedulePtrOutput) LogBackupFrequencyInMinutes() pulumi.IntPtrOutput
Frequency of log backups, in minutes. Valid values are from `5` to `60`. Required when `backupScheduleAutomated` is false.
func (VirtualMachineAutoBackupManualSchedulePtrOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutput ¶
func (o VirtualMachineAutoBackupManualSchedulePtrOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutput() VirtualMachineAutoBackupManualSchedulePtrOutput
func (VirtualMachineAutoBackupManualSchedulePtrOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext ¶
func (o VirtualMachineAutoBackupManualSchedulePtrOutput) ToVirtualMachineAutoBackupManualSchedulePtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupManualSchedulePtrOutput
type VirtualMachineAutoBackupOutput ¶
type VirtualMachineAutoBackupOutput struct{ *pulumi.OutputState }
func (VirtualMachineAutoBackupOutput) ElementType ¶
func (VirtualMachineAutoBackupOutput) ElementType() reflect.Type
func (VirtualMachineAutoBackupOutput) EncryptionEnabled ¶
func (o VirtualMachineAutoBackupOutput) EncryptionEnabled() pulumi.BoolPtrOutput
Enable or disable encryption for backups. Defaults to `false`.
func (VirtualMachineAutoBackupOutput) EncryptionPassword ¶
func (o VirtualMachineAutoBackupOutput) EncryptionPassword() pulumi.StringPtrOutput
Encryption password to use. Must be specified when encryption is enabled.
func (VirtualMachineAutoBackupOutput) ManualSchedule ¶
func (o VirtualMachineAutoBackupOutput) ManualSchedule() VirtualMachineAutoBackupManualSchedulePtrOutput
A `manualSchedule` block as documented below. When this block is present, the schedule type is set to `Manual`. Without this block, the schedule type is set to `Automated`.
func (VirtualMachineAutoBackupOutput) RetentionPeriodInDays ¶
func (o VirtualMachineAutoBackupOutput) RetentionPeriodInDays() pulumi.IntOutput
Retention period of backups, in days. Valid values are from `1` to `30`.
func (VirtualMachineAutoBackupOutput) StorageAccountAccessKey ¶
func (o VirtualMachineAutoBackupOutput) StorageAccountAccessKey() pulumi.StringOutput
Access key for the storage account where backups will be kept.
func (VirtualMachineAutoBackupOutput) StorageBlobEndpoint ¶
func (o VirtualMachineAutoBackupOutput) StorageBlobEndpoint() pulumi.StringOutput
Blob endpoint for the storage account where backups will be kept.
func (VirtualMachineAutoBackupOutput) SystemDatabasesBackupEnabled ¶
func (o VirtualMachineAutoBackupOutput) SystemDatabasesBackupEnabled() pulumi.BoolPtrOutput
Include or exclude system databases from auto backup. Defaults to `false`.
func (VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupOutput ¶
func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupOutput() VirtualMachineAutoBackupOutput
func (VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupOutputWithContext ¶
func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupOutputWithContext(ctx context.Context) VirtualMachineAutoBackupOutput
func (VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupPtrOutput ¶
func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupPtrOutput() VirtualMachineAutoBackupPtrOutput
func (VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupPtrOutputWithContext ¶
func (o VirtualMachineAutoBackupOutput) ToVirtualMachineAutoBackupPtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupPtrOutput
type VirtualMachineAutoBackupPtrInput ¶
type VirtualMachineAutoBackupPtrInput interface { pulumi.Input ToVirtualMachineAutoBackupPtrOutput() VirtualMachineAutoBackupPtrOutput ToVirtualMachineAutoBackupPtrOutputWithContext(context.Context) VirtualMachineAutoBackupPtrOutput }
VirtualMachineAutoBackupPtrInput is an input type that accepts VirtualMachineAutoBackupArgs, VirtualMachineAutoBackupPtr and VirtualMachineAutoBackupPtrOutput values. You can construct a concrete instance of `VirtualMachineAutoBackupPtrInput` via:
VirtualMachineAutoBackupArgs{...} or: nil
func VirtualMachineAutoBackupPtr ¶
func VirtualMachineAutoBackupPtr(v *VirtualMachineAutoBackupArgs) VirtualMachineAutoBackupPtrInput
type VirtualMachineAutoBackupPtrOutput ¶
type VirtualMachineAutoBackupPtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineAutoBackupPtrOutput) Elem ¶
func (o VirtualMachineAutoBackupPtrOutput) Elem() VirtualMachineAutoBackupOutput
func (VirtualMachineAutoBackupPtrOutput) ElementType ¶
func (VirtualMachineAutoBackupPtrOutput) ElementType() reflect.Type
func (VirtualMachineAutoBackupPtrOutput) EncryptionEnabled ¶
func (o VirtualMachineAutoBackupPtrOutput) EncryptionEnabled() pulumi.BoolPtrOutput
Enable or disable encryption for backups. Defaults to `false`.
func (VirtualMachineAutoBackupPtrOutput) EncryptionPassword ¶
func (o VirtualMachineAutoBackupPtrOutput) EncryptionPassword() pulumi.StringPtrOutput
Encryption password to use. Must be specified when encryption is enabled.
func (VirtualMachineAutoBackupPtrOutput) ManualSchedule ¶
func (o VirtualMachineAutoBackupPtrOutput) ManualSchedule() VirtualMachineAutoBackupManualSchedulePtrOutput
A `manualSchedule` block as documented below. When this block is present, the schedule type is set to `Manual`. Without this block, the schedule type is set to `Automated`.
func (VirtualMachineAutoBackupPtrOutput) RetentionPeriodInDays ¶
func (o VirtualMachineAutoBackupPtrOutput) RetentionPeriodInDays() pulumi.IntPtrOutput
Retention period of backups, in days. Valid values are from `1` to `30`.
func (VirtualMachineAutoBackupPtrOutput) StorageAccountAccessKey ¶
func (o VirtualMachineAutoBackupPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Access key for the storage account where backups will be kept.
func (VirtualMachineAutoBackupPtrOutput) StorageBlobEndpoint ¶
func (o VirtualMachineAutoBackupPtrOutput) StorageBlobEndpoint() pulumi.StringPtrOutput
Blob endpoint for the storage account where backups will be kept.
func (VirtualMachineAutoBackupPtrOutput) SystemDatabasesBackupEnabled ¶
func (o VirtualMachineAutoBackupPtrOutput) SystemDatabasesBackupEnabled() pulumi.BoolPtrOutput
Include or exclude system databases from auto backup. Defaults to `false`.
func (VirtualMachineAutoBackupPtrOutput) ToVirtualMachineAutoBackupPtrOutput ¶
func (o VirtualMachineAutoBackupPtrOutput) ToVirtualMachineAutoBackupPtrOutput() VirtualMachineAutoBackupPtrOutput
func (VirtualMachineAutoBackupPtrOutput) ToVirtualMachineAutoBackupPtrOutputWithContext ¶
func (o VirtualMachineAutoBackupPtrOutput) ToVirtualMachineAutoBackupPtrOutputWithContext(ctx context.Context) VirtualMachineAutoBackupPtrOutput
type VirtualMachineAutoPatching ¶
type VirtualMachineAutoPatching struct { // The day of week to apply the patch on. DayOfWeek string `pulumi:"dayOfWeek"` // The size of the Maintenance Window in minutes. MaintenanceWindowDurationInMinutes int `pulumi:"maintenanceWindowDurationInMinutes"` // The Hour, in the Virtual Machine Time-Zone when the patching maintenance window should begin. MaintenanceWindowStartingHour int `pulumi:"maintenanceWindowStartingHour"` }
type VirtualMachineAutoPatchingArgs ¶
type VirtualMachineAutoPatchingArgs struct { // The day of week to apply the patch on. DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` // The size of the Maintenance Window in minutes. MaintenanceWindowDurationInMinutes pulumi.IntInput `pulumi:"maintenanceWindowDurationInMinutes"` // The Hour, in the Virtual Machine Time-Zone when the patching maintenance window should begin. MaintenanceWindowStartingHour pulumi.IntInput `pulumi:"maintenanceWindowStartingHour"` }
func (VirtualMachineAutoPatchingArgs) ElementType ¶
func (VirtualMachineAutoPatchingArgs) ElementType() reflect.Type
func (VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingOutput ¶
func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingOutput() VirtualMachineAutoPatchingOutput
func (VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingOutputWithContext ¶
func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingOutput
func (VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingPtrOutput ¶
func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingPtrOutput() VirtualMachineAutoPatchingPtrOutput
func (VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingPtrOutputWithContext ¶
func (i VirtualMachineAutoPatchingArgs) ToVirtualMachineAutoPatchingPtrOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingPtrOutput
type VirtualMachineAutoPatchingInput ¶
type VirtualMachineAutoPatchingInput interface { pulumi.Input ToVirtualMachineAutoPatchingOutput() VirtualMachineAutoPatchingOutput ToVirtualMachineAutoPatchingOutputWithContext(context.Context) VirtualMachineAutoPatchingOutput }
VirtualMachineAutoPatchingInput is an input type that accepts VirtualMachineAutoPatchingArgs and VirtualMachineAutoPatchingOutput values. You can construct a concrete instance of `VirtualMachineAutoPatchingInput` via:
VirtualMachineAutoPatchingArgs{...}
type VirtualMachineAutoPatchingOutput ¶
type VirtualMachineAutoPatchingOutput struct{ *pulumi.OutputState }
func (VirtualMachineAutoPatchingOutput) DayOfWeek ¶
func (o VirtualMachineAutoPatchingOutput) DayOfWeek() pulumi.StringOutput
The day of week to apply the patch on.
func (VirtualMachineAutoPatchingOutput) ElementType ¶
func (VirtualMachineAutoPatchingOutput) ElementType() reflect.Type
func (VirtualMachineAutoPatchingOutput) MaintenanceWindowDurationInMinutes ¶
func (o VirtualMachineAutoPatchingOutput) MaintenanceWindowDurationInMinutes() pulumi.IntOutput
The size of the Maintenance Window in minutes.
func (VirtualMachineAutoPatchingOutput) MaintenanceWindowStartingHour ¶
func (o VirtualMachineAutoPatchingOutput) MaintenanceWindowStartingHour() pulumi.IntOutput
The Hour, in the Virtual Machine Time-Zone when the patching maintenance window should begin.
func (VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingOutput ¶
func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingOutput() VirtualMachineAutoPatchingOutput
func (VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingOutputWithContext ¶
func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingOutput
func (VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingPtrOutput ¶
func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingPtrOutput() VirtualMachineAutoPatchingPtrOutput
func (VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingPtrOutputWithContext ¶
func (o VirtualMachineAutoPatchingOutput) ToVirtualMachineAutoPatchingPtrOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingPtrOutput
type VirtualMachineAutoPatchingPtrInput ¶
type VirtualMachineAutoPatchingPtrInput interface { pulumi.Input ToVirtualMachineAutoPatchingPtrOutput() VirtualMachineAutoPatchingPtrOutput ToVirtualMachineAutoPatchingPtrOutputWithContext(context.Context) VirtualMachineAutoPatchingPtrOutput }
VirtualMachineAutoPatchingPtrInput is an input type that accepts VirtualMachineAutoPatchingArgs, VirtualMachineAutoPatchingPtr and VirtualMachineAutoPatchingPtrOutput values. You can construct a concrete instance of `VirtualMachineAutoPatchingPtrInput` via:
VirtualMachineAutoPatchingArgs{...} or: nil
func VirtualMachineAutoPatchingPtr ¶
func VirtualMachineAutoPatchingPtr(v *VirtualMachineAutoPatchingArgs) VirtualMachineAutoPatchingPtrInput
type VirtualMachineAutoPatchingPtrOutput ¶
type VirtualMachineAutoPatchingPtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineAutoPatchingPtrOutput) DayOfWeek ¶
func (o VirtualMachineAutoPatchingPtrOutput) DayOfWeek() pulumi.StringPtrOutput
The day of week to apply the patch on.
func (VirtualMachineAutoPatchingPtrOutput) Elem ¶
func (o VirtualMachineAutoPatchingPtrOutput) Elem() VirtualMachineAutoPatchingOutput
func (VirtualMachineAutoPatchingPtrOutput) ElementType ¶
func (VirtualMachineAutoPatchingPtrOutput) ElementType() reflect.Type
func (VirtualMachineAutoPatchingPtrOutput) MaintenanceWindowDurationInMinutes ¶
func (o VirtualMachineAutoPatchingPtrOutput) MaintenanceWindowDurationInMinutes() pulumi.IntPtrOutput
The size of the Maintenance Window in minutes.
func (VirtualMachineAutoPatchingPtrOutput) MaintenanceWindowStartingHour ¶
func (o VirtualMachineAutoPatchingPtrOutput) MaintenanceWindowStartingHour() pulumi.IntPtrOutput
The Hour, in the Virtual Machine Time-Zone when the patching maintenance window should begin.
func (VirtualMachineAutoPatchingPtrOutput) ToVirtualMachineAutoPatchingPtrOutput ¶
func (o VirtualMachineAutoPatchingPtrOutput) ToVirtualMachineAutoPatchingPtrOutput() VirtualMachineAutoPatchingPtrOutput
func (VirtualMachineAutoPatchingPtrOutput) ToVirtualMachineAutoPatchingPtrOutputWithContext ¶
func (o VirtualMachineAutoPatchingPtrOutput) ToVirtualMachineAutoPatchingPtrOutputWithContext(ctx context.Context) VirtualMachineAutoPatchingPtrOutput
type VirtualMachineInput ¶
type VirtualMachineInput interface { pulumi.Input ToVirtualMachineOutput() VirtualMachineOutput ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput }
type VirtualMachineKeyVaultCredential ¶
type VirtualMachineKeyVaultCredential struct { // The azure Key Vault url. Changing this forces a new resource to be created. KeyVaultUrl string `pulumi:"keyVaultUrl"` // The credential name. Name string `pulumi:"name"` // The service principal name to access key vault. Changing this forces a new resource to be created. ServicePrincipalName string `pulumi:"servicePrincipalName"` // The service principal name secret to access key vault. Changing this forces a new resource to be created. ServicePrincipalSecret string `pulumi:"servicePrincipalSecret"` }
type VirtualMachineKeyVaultCredentialArgs ¶
type VirtualMachineKeyVaultCredentialArgs struct { // The azure Key Vault url. Changing this forces a new resource to be created. KeyVaultUrl pulumi.StringInput `pulumi:"keyVaultUrl"` // The credential name. Name pulumi.StringInput `pulumi:"name"` // The service principal name to access key vault. Changing this forces a new resource to be created. ServicePrincipalName pulumi.StringInput `pulumi:"servicePrincipalName"` // The service principal name secret to access key vault. Changing this forces a new resource to be created. ServicePrincipalSecret pulumi.StringInput `pulumi:"servicePrincipalSecret"` }
func (VirtualMachineKeyVaultCredentialArgs) ElementType ¶
func (VirtualMachineKeyVaultCredentialArgs) ElementType() reflect.Type
func (VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialOutput ¶
func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialOutput() VirtualMachineKeyVaultCredentialOutput
func (VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialOutputWithContext ¶
func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialOutput
func (VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialPtrOutput ¶
func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialPtrOutput() VirtualMachineKeyVaultCredentialPtrOutput
func (VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext ¶
func (i VirtualMachineKeyVaultCredentialArgs) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialPtrOutput
type VirtualMachineKeyVaultCredentialInput ¶
type VirtualMachineKeyVaultCredentialInput interface { pulumi.Input ToVirtualMachineKeyVaultCredentialOutput() VirtualMachineKeyVaultCredentialOutput ToVirtualMachineKeyVaultCredentialOutputWithContext(context.Context) VirtualMachineKeyVaultCredentialOutput }
VirtualMachineKeyVaultCredentialInput is an input type that accepts VirtualMachineKeyVaultCredentialArgs and VirtualMachineKeyVaultCredentialOutput values. You can construct a concrete instance of `VirtualMachineKeyVaultCredentialInput` via:
VirtualMachineKeyVaultCredentialArgs{...}
type VirtualMachineKeyVaultCredentialOutput ¶
type VirtualMachineKeyVaultCredentialOutput struct{ *pulumi.OutputState }
func (VirtualMachineKeyVaultCredentialOutput) ElementType ¶
func (VirtualMachineKeyVaultCredentialOutput) ElementType() reflect.Type
func (VirtualMachineKeyVaultCredentialOutput) KeyVaultUrl ¶
func (o VirtualMachineKeyVaultCredentialOutput) KeyVaultUrl() pulumi.StringOutput
The azure Key Vault url. Changing this forces a new resource to be created.
func (VirtualMachineKeyVaultCredentialOutput) Name ¶
func (o VirtualMachineKeyVaultCredentialOutput) Name() pulumi.StringOutput
The credential name.
func (VirtualMachineKeyVaultCredentialOutput) ServicePrincipalName ¶
func (o VirtualMachineKeyVaultCredentialOutput) ServicePrincipalName() pulumi.StringOutput
The service principal name to access key vault. Changing this forces a new resource to be created.
func (VirtualMachineKeyVaultCredentialOutput) ServicePrincipalSecret ¶
func (o VirtualMachineKeyVaultCredentialOutput) ServicePrincipalSecret() pulumi.StringOutput
The service principal name secret to access key vault. Changing this forces a new resource to be created.
func (VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialOutput ¶
func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialOutput() VirtualMachineKeyVaultCredentialOutput
func (VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialOutputWithContext ¶
func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialOutput
func (VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialPtrOutput ¶
func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialPtrOutput() VirtualMachineKeyVaultCredentialPtrOutput
func (VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext ¶
func (o VirtualMachineKeyVaultCredentialOutput) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialPtrOutput
type VirtualMachineKeyVaultCredentialPtrInput ¶
type VirtualMachineKeyVaultCredentialPtrInput interface { pulumi.Input ToVirtualMachineKeyVaultCredentialPtrOutput() VirtualMachineKeyVaultCredentialPtrOutput ToVirtualMachineKeyVaultCredentialPtrOutputWithContext(context.Context) VirtualMachineKeyVaultCredentialPtrOutput }
VirtualMachineKeyVaultCredentialPtrInput is an input type that accepts VirtualMachineKeyVaultCredentialArgs, VirtualMachineKeyVaultCredentialPtr and VirtualMachineKeyVaultCredentialPtrOutput values. You can construct a concrete instance of `VirtualMachineKeyVaultCredentialPtrInput` via:
VirtualMachineKeyVaultCredentialArgs{...} or: nil
func VirtualMachineKeyVaultCredentialPtr ¶
func VirtualMachineKeyVaultCredentialPtr(v *VirtualMachineKeyVaultCredentialArgs) VirtualMachineKeyVaultCredentialPtrInput
type VirtualMachineKeyVaultCredentialPtrOutput ¶
type VirtualMachineKeyVaultCredentialPtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineKeyVaultCredentialPtrOutput) ElementType ¶
func (VirtualMachineKeyVaultCredentialPtrOutput) ElementType() reflect.Type
func (VirtualMachineKeyVaultCredentialPtrOutput) KeyVaultUrl ¶
func (o VirtualMachineKeyVaultCredentialPtrOutput) KeyVaultUrl() pulumi.StringPtrOutput
The azure Key Vault url. Changing this forces a new resource to be created.
func (VirtualMachineKeyVaultCredentialPtrOutput) Name ¶
func (o VirtualMachineKeyVaultCredentialPtrOutput) Name() pulumi.StringPtrOutput
The credential name.
func (VirtualMachineKeyVaultCredentialPtrOutput) ServicePrincipalName ¶
func (o VirtualMachineKeyVaultCredentialPtrOutput) ServicePrincipalName() pulumi.StringPtrOutput
The service principal name to access key vault. Changing this forces a new resource to be created.
func (VirtualMachineKeyVaultCredentialPtrOutput) ServicePrincipalSecret ¶
func (o VirtualMachineKeyVaultCredentialPtrOutput) ServicePrincipalSecret() pulumi.StringPtrOutput
The service principal name secret to access key vault. Changing this forces a new resource to be created.
func (VirtualMachineKeyVaultCredentialPtrOutput) ToVirtualMachineKeyVaultCredentialPtrOutput ¶
func (o VirtualMachineKeyVaultCredentialPtrOutput) ToVirtualMachineKeyVaultCredentialPtrOutput() VirtualMachineKeyVaultCredentialPtrOutput
func (VirtualMachineKeyVaultCredentialPtrOutput) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext ¶
func (o VirtualMachineKeyVaultCredentialPtrOutput) ToVirtualMachineKeyVaultCredentialPtrOutputWithContext(ctx context.Context) VirtualMachineKeyVaultCredentialPtrOutput
type VirtualMachineMap ¶
type VirtualMachineMap map[string]VirtualMachineInput
func (VirtualMachineMap) ElementType ¶
func (VirtualMachineMap) ElementType() reflect.Type
func (VirtualMachineMap) ToVirtualMachineMapOutput ¶
func (i VirtualMachineMap) ToVirtualMachineMapOutput() VirtualMachineMapOutput
func (VirtualMachineMap) ToVirtualMachineMapOutputWithContext ¶
func (i VirtualMachineMap) ToVirtualMachineMapOutputWithContext(ctx context.Context) VirtualMachineMapOutput
type VirtualMachineMapInput ¶
type VirtualMachineMapInput interface { pulumi.Input ToVirtualMachineMapOutput() VirtualMachineMapOutput ToVirtualMachineMapOutputWithContext(context.Context) VirtualMachineMapOutput }
VirtualMachineMapInput is an input type that accepts VirtualMachineMap and VirtualMachineMapOutput values. You can construct a concrete instance of `VirtualMachineMapInput` via:
VirtualMachineMap{ "key": VirtualMachineArgs{...} }
type VirtualMachineMapOutput ¶
type VirtualMachineMapOutput struct{ *pulumi.OutputState }
func (VirtualMachineMapOutput) ElementType ¶
func (VirtualMachineMapOutput) ElementType() reflect.Type
func (VirtualMachineMapOutput) MapIndex ¶
func (o VirtualMachineMapOutput) MapIndex(k pulumi.StringInput) VirtualMachineOutput
func (VirtualMachineMapOutput) ToVirtualMachineMapOutput ¶
func (o VirtualMachineMapOutput) ToVirtualMachineMapOutput() VirtualMachineMapOutput
func (VirtualMachineMapOutput) ToVirtualMachineMapOutputWithContext ¶
func (o VirtualMachineMapOutput) ToVirtualMachineMapOutputWithContext(ctx context.Context) VirtualMachineMapOutput
type VirtualMachineOutput ¶
type VirtualMachineOutput struct {
*pulumi.OutputState
}
func (VirtualMachineOutput) ElementType ¶
func (VirtualMachineOutput) ElementType() reflect.Type
func (VirtualMachineOutput) ToVirtualMachineOutput ¶
func (o VirtualMachineOutput) ToVirtualMachineOutput() VirtualMachineOutput
func (VirtualMachineOutput) ToVirtualMachineOutputWithContext ¶
func (o VirtualMachineOutput) ToVirtualMachineOutputWithContext(ctx context.Context) VirtualMachineOutput
func (VirtualMachineOutput) ToVirtualMachinePtrOutput ¶
func (o VirtualMachineOutput) ToVirtualMachinePtrOutput() VirtualMachinePtrOutput
func (VirtualMachineOutput) ToVirtualMachinePtrOutputWithContext ¶
func (o VirtualMachineOutput) ToVirtualMachinePtrOutputWithContext(ctx context.Context) VirtualMachinePtrOutput
type VirtualMachinePtrInput ¶
type VirtualMachinePtrInput interface { pulumi.Input ToVirtualMachinePtrOutput() VirtualMachinePtrOutput ToVirtualMachinePtrOutputWithContext(ctx context.Context) VirtualMachinePtrOutput }
type VirtualMachinePtrOutput ¶
type VirtualMachinePtrOutput struct {
*pulumi.OutputState
}
func (VirtualMachinePtrOutput) ElementType ¶
func (VirtualMachinePtrOutput) ElementType() reflect.Type
func (VirtualMachinePtrOutput) ToVirtualMachinePtrOutput ¶
func (o VirtualMachinePtrOutput) ToVirtualMachinePtrOutput() VirtualMachinePtrOutput
func (VirtualMachinePtrOutput) ToVirtualMachinePtrOutputWithContext ¶
func (o VirtualMachinePtrOutput) ToVirtualMachinePtrOutputWithContext(ctx context.Context) VirtualMachinePtrOutput
type VirtualMachineState ¶
type VirtualMachineState struct { // An `autoBackup` block as defined below. This block can be added to an existing resource, but removing this block forces a new resource to be created. AutoBackup VirtualMachineAutoBackupPtrInput // An `autoPatching` block as defined below. AutoPatching VirtualMachineAutoPatchingPtrInput // (Optional) An `keyVaultCredential` block as defined below. KeyVaultCredential VirtualMachineKeyVaultCredentialPtrInput // Should R Services be enabled? RServicesEnabled pulumi.BoolPtrInput // The SQL Server port. Defaults to `1433`. SqlConnectivityPort pulumi.IntPtrInput // The connectivity type used for this SQL Server. Defaults to `PRIVATE`. SqlConnectivityType pulumi.StringPtrInput // The SQL Server sysadmin login password. SqlConnectivityUpdatePassword pulumi.StringPtrInput // The SQL Server sysadmin login to create. SqlConnectivityUpdateUsername pulumi.StringPtrInput // The SQL Server license type. Possible values are `AHUB` (Azure Hybrid Benefit) and `PAYG` (Pay-As-You-Go). Changing this forces a new resource to be created. SqlLicenseType pulumi.StringPtrInput // An `storageConfiguration` block as defined below. StorageConfiguration VirtualMachineStorageConfigurationPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The ID of the Virtual Machine. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringPtrInput }
func (VirtualMachineState) ElementType ¶
func (VirtualMachineState) ElementType() reflect.Type
type VirtualMachineStorageConfiguration ¶
type VirtualMachineStorageConfiguration struct { // An `storageSettings` as defined below. DataSettings *VirtualMachineStorageConfigurationDataSettings `pulumi:"dataSettings"` // The type of disk configuration to apply to the SQL Server. Valid values include `NEW`, `EXTEND`, or `ADD`. DiskType string `pulumi:"diskType"` // An `storageSettings` as defined below. LogSettings *VirtualMachineStorageConfigurationLogSettings `pulumi:"logSettings"` // The type of storage workload. Valid values include `GENERAL`, `OLTP`, or `DW`. StorageWorkloadType string `pulumi:"storageWorkloadType"` // An `storageSettings` as defined below. TempDbSettings *VirtualMachineStorageConfigurationTempDbSettings `pulumi:"tempDbSettings"` }
type VirtualMachineStorageConfigurationArgs ¶
type VirtualMachineStorageConfigurationArgs struct { // An `storageSettings` as defined below. DataSettings VirtualMachineStorageConfigurationDataSettingsPtrInput `pulumi:"dataSettings"` // The type of disk configuration to apply to the SQL Server. Valid values include `NEW`, `EXTEND`, or `ADD`. DiskType pulumi.StringInput `pulumi:"diskType"` // An `storageSettings` as defined below. LogSettings VirtualMachineStorageConfigurationLogSettingsPtrInput `pulumi:"logSettings"` // The type of storage workload. Valid values include `GENERAL`, `OLTP`, or `DW`. StorageWorkloadType pulumi.StringInput `pulumi:"storageWorkloadType"` // An `storageSettings` as defined below. TempDbSettings VirtualMachineStorageConfigurationTempDbSettingsPtrInput `pulumi:"tempDbSettings"` }
func (VirtualMachineStorageConfigurationArgs) ElementType ¶
func (VirtualMachineStorageConfigurationArgs) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationOutput ¶
func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationOutput() VirtualMachineStorageConfigurationOutput
func (VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationOutputWithContext ¶
func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationOutput
func (VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationPtrOutput ¶
func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationPtrOutput() VirtualMachineStorageConfigurationPtrOutput
func (VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationPtrOutputWithContext ¶
func (i VirtualMachineStorageConfigurationArgs) ToVirtualMachineStorageConfigurationPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationPtrOutput
type VirtualMachineStorageConfigurationDataSettingsArgs ¶
type VirtualMachineStorageConfigurationDataSettingsArgs struct { // The SQL Server default path DefaultFilePath pulumi.StringInput `pulumi:"defaultFilePath"` // A list of Logical Unit Numbers for the disks. Luns pulumi.IntArrayInput `pulumi:"luns"` }
func (VirtualMachineStorageConfigurationDataSettingsArgs) ElementType ¶
func (VirtualMachineStorageConfigurationDataSettingsArgs) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsOutput ¶
func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsOutput() VirtualMachineStorageConfigurationDataSettingsOutput
func (VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsOutputWithContext ¶
func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsOutput
func (VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput ¶
func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput() VirtualMachineStorageConfigurationDataSettingsPtrOutput
func (VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext ¶
func (i VirtualMachineStorageConfigurationDataSettingsArgs) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsPtrOutput
type VirtualMachineStorageConfigurationDataSettingsInput ¶
type VirtualMachineStorageConfigurationDataSettingsInput interface { pulumi.Input ToVirtualMachineStorageConfigurationDataSettingsOutput() VirtualMachineStorageConfigurationDataSettingsOutput ToVirtualMachineStorageConfigurationDataSettingsOutputWithContext(context.Context) VirtualMachineStorageConfigurationDataSettingsOutput }
VirtualMachineStorageConfigurationDataSettingsInput is an input type that accepts VirtualMachineStorageConfigurationDataSettingsArgs and VirtualMachineStorageConfigurationDataSettingsOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationDataSettingsInput` via:
VirtualMachineStorageConfigurationDataSettingsArgs{...}
type VirtualMachineStorageConfigurationDataSettingsOutput ¶
type VirtualMachineStorageConfigurationDataSettingsOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationDataSettingsOutput) DefaultFilePath ¶
func (o VirtualMachineStorageConfigurationDataSettingsOutput) DefaultFilePath() pulumi.StringOutput
The SQL Server default path
func (VirtualMachineStorageConfigurationDataSettingsOutput) ElementType ¶
func (VirtualMachineStorageConfigurationDataSettingsOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationDataSettingsOutput) Luns ¶
func (o VirtualMachineStorageConfigurationDataSettingsOutput) Luns() pulumi.IntArrayOutput
A list of Logical Unit Numbers for the disks.
func (VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsOutput ¶
func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsOutput() VirtualMachineStorageConfigurationDataSettingsOutput
func (VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsOutputWithContext ¶
func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsOutput
func (VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput ¶
func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput() VirtualMachineStorageConfigurationDataSettingsPtrOutput
func (VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationDataSettingsOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsPtrOutput
type VirtualMachineStorageConfigurationDataSettingsPtrInput ¶
type VirtualMachineStorageConfigurationDataSettingsPtrInput interface { pulumi.Input ToVirtualMachineStorageConfigurationDataSettingsPtrOutput() VirtualMachineStorageConfigurationDataSettingsPtrOutput ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext(context.Context) VirtualMachineStorageConfigurationDataSettingsPtrOutput }
VirtualMachineStorageConfigurationDataSettingsPtrInput is an input type that accepts VirtualMachineStorageConfigurationDataSettingsArgs, VirtualMachineStorageConfigurationDataSettingsPtr and VirtualMachineStorageConfigurationDataSettingsPtrOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationDataSettingsPtrInput` via:
VirtualMachineStorageConfigurationDataSettingsArgs{...} or: nil
func VirtualMachineStorageConfigurationDataSettingsPtr ¶
func VirtualMachineStorageConfigurationDataSettingsPtr(v *VirtualMachineStorageConfigurationDataSettingsArgs) VirtualMachineStorageConfigurationDataSettingsPtrInput
type VirtualMachineStorageConfigurationDataSettingsPtrOutput ¶
type VirtualMachineStorageConfigurationDataSettingsPtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationDataSettingsPtrOutput) DefaultFilePath ¶
func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) DefaultFilePath() pulumi.StringPtrOutput
The SQL Server default path
func (VirtualMachineStorageConfigurationDataSettingsPtrOutput) ElementType ¶
func (VirtualMachineStorageConfigurationDataSettingsPtrOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationDataSettingsPtrOutput) Luns ¶
A list of Logical Unit Numbers for the disks.
func (VirtualMachineStorageConfigurationDataSettingsPtrOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput ¶
func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutput() VirtualMachineStorageConfigurationDataSettingsPtrOutput
func (VirtualMachineStorageConfigurationDataSettingsPtrOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationDataSettingsPtrOutput) ToVirtualMachineStorageConfigurationDataSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationDataSettingsPtrOutput
type VirtualMachineStorageConfigurationInput ¶
type VirtualMachineStorageConfigurationInput interface { pulumi.Input ToVirtualMachineStorageConfigurationOutput() VirtualMachineStorageConfigurationOutput ToVirtualMachineStorageConfigurationOutputWithContext(context.Context) VirtualMachineStorageConfigurationOutput }
VirtualMachineStorageConfigurationInput is an input type that accepts VirtualMachineStorageConfigurationArgs and VirtualMachineStorageConfigurationOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationInput` via:
VirtualMachineStorageConfigurationArgs{...}
type VirtualMachineStorageConfigurationLogSettingsArgs ¶
type VirtualMachineStorageConfigurationLogSettingsArgs struct { // The SQL Server default path DefaultFilePath pulumi.StringInput `pulumi:"defaultFilePath"` // A list of Logical Unit Numbers for the disks. Luns pulumi.IntArrayInput `pulumi:"luns"` }
func (VirtualMachineStorageConfigurationLogSettingsArgs) ElementType ¶
func (VirtualMachineStorageConfigurationLogSettingsArgs) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsOutput ¶
func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsOutput() VirtualMachineStorageConfigurationLogSettingsOutput
func (VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsOutputWithContext ¶
func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsOutput
func (VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput ¶
func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput() VirtualMachineStorageConfigurationLogSettingsPtrOutput
func (VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext ¶
func (i VirtualMachineStorageConfigurationLogSettingsArgs) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsPtrOutput
type VirtualMachineStorageConfigurationLogSettingsInput ¶
type VirtualMachineStorageConfigurationLogSettingsInput interface { pulumi.Input ToVirtualMachineStorageConfigurationLogSettingsOutput() VirtualMachineStorageConfigurationLogSettingsOutput ToVirtualMachineStorageConfigurationLogSettingsOutputWithContext(context.Context) VirtualMachineStorageConfigurationLogSettingsOutput }
VirtualMachineStorageConfigurationLogSettingsInput is an input type that accepts VirtualMachineStorageConfigurationLogSettingsArgs and VirtualMachineStorageConfigurationLogSettingsOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationLogSettingsInput` via:
VirtualMachineStorageConfigurationLogSettingsArgs{...}
type VirtualMachineStorageConfigurationLogSettingsOutput ¶
type VirtualMachineStorageConfigurationLogSettingsOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationLogSettingsOutput) DefaultFilePath ¶
func (o VirtualMachineStorageConfigurationLogSettingsOutput) DefaultFilePath() pulumi.StringOutput
The SQL Server default path
func (VirtualMachineStorageConfigurationLogSettingsOutput) ElementType ¶
func (VirtualMachineStorageConfigurationLogSettingsOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationLogSettingsOutput) Luns ¶
func (o VirtualMachineStorageConfigurationLogSettingsOutput) Luns() pulumi.IntArrayOutput
A list of Logical Unit Numbers for the disks.
func (VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsOutput ¶
func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsOutput() VirtualMachineStorageConfigurationLogSettingsOutput
func (VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsOutputWithContext ¶
func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsOutput
func (VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput ¶
func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput() VirtualMachineStorageConfigurationLogSettingsPtrOutput
func (VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationLogSettingsOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsPtrOutput
type VirtualMachineStorageConfigurationLogSettingsPtrInput ¶
type VirtualMachineStorageConfigurationLogSettingsPtrInput interface { pulumi.Input ToVirtualMachineStorageConfigurationLogSettingsPtrOutput() VirtualMachineStorageConfigurationLogSettingsPtrOutput ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext(context.Context) VirtualMachineStorageConfigurationLogSettingsPtrOutput }
VirtualMachineStorageConfigurationLogSettingsPtrInput is an input type that accepts VirtualMachineStorageConfigurationLogSettingsArgs, VirtualMachineStorageConfigurationLogSettingsPtr and VirtualMachineStorageConfigurationLogSettingsPtrOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationLogSettingsPtrInput` via:
VirtualMachineStorageConfigurationLogSettingsArgs{...} or: nil
func VirtualMachineStorageConfigurationLogSettingsPtr ¶
func VirtualMachineStorageConfigurationLogSettingsPtr(v *VirtualMachineStorageConfigurationLogSettingsArgs) VirtualMachineStorageConfigurationLogSettingsPtrInput
type VirtualMachineStorageConfigurationLogSettingsPtrOutput ¶
type VirtualMachineStorageConfigurationLogSettingsPtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationLogSettingsPtrOutput) DefaultFilePath ¶
func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) DefaultFilePath() pulumi.StringPtrOutput
The SQL Server default path
func (VirtualMachineStorageConfigurationLogSettingsPtrOutput) ElementType ¶
func (VirtualMachineStorageConfigurationLogSettingsPtrOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationLogSettingsPtrOutput) Luns ¶
A list of Logical Unit Numbers for the disks.
func (VirtualMachineStorageConfigurationLogSettingsPtrOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput ¶
func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutput() VirtualMachineStorageConfigurationLogSettingsPtrOutput
func (VirtualMachineStorageConfigurationLogSettingsPtrOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationLogSettingsPtrOutput) ToVirtualMachineStorageConfigurationLogSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationLogSettingsPtrOutput
type VirtualMachineStorageConfigurationOutput ¶
type VirtualMachineStorageConfigurationOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationOutput) DataSettings ¶
func (o VirtualMachineStorageConfigurationOutput) DataSettings() VirtualMachineStorageConfigurationDataSettingsPtrOutput
An `storageSettings` as defined below.
func (VirtualMachineStorageConfigurationOutput) DiskType ¶
func (o VirtualMachineStorageConfigurationOutput) DiskType() pulumi.StringOutput
The type of disk configuration to apply to the SQL Server. Valid values include `NEW`, `EXTEND`, or `ADD`.
func (VirtualMachineStorageConfigurationOutput) ElementType ¶
func (VirtualMachineStorageConfigurationOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationOutput) LogSettings ¶
func (o VirtualMachineStorageConfigurationOutput) LogSettings() VirtualMachineStorageConfigurationLogSettingsPtrOutput
An `storageSettings` as defined below.
func (VirtualMachineStorageConfigurationOutput) StorageWorkloadType ¶
func (o VirtualMachineStorageConfigurationOutput) StorageWorkloadType() pulumi.StringOutput
The type of storage workload. Valid values include `GENERAL`, `OLTP`, or `DW`.
func (VirtualMachineStorageConfigurationOutput) TempDbSettings ¶
func (o VirtualMachineStorageConfigurationOutput) TempDbSettings() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
An `storageSettings` as defined below.
func (VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationOutput ¶
func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationOutput() VirtualMachineStorageConfigurationOutput
func (VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationOutputWithContext ¶
func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationOutput
func (VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationPtrOutput ¶
func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationPtrOutput() VirtualMachineStorageConfigurationPtrOutput
func (VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationOutput) ToVirtualMachineStorageConfigurationPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationPtrOutput
type VirtualMachineStorageConfigurationPtrInput ¶
type VirtualMachineStorageConfigurationPtrInput interface { pulumi.Input ToVirtualMachineStorageConfigurationPtrOutput() VirtualMachineStorageConfigurationPtrOutput ToVirtualMachineStorageConfigurationPtrOutputWithContext(context.Context) VirtualMachineStorageConfigurationPtrOutput }
VirtualMachineStorageConfigurationPtrInput is an input type that accepts VirtualMachineStorageConfigurationArgs, VirtualMachineStorageConfigurationPtr and VirtualMachineStorageConfigurationPtrOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationPtrInput` via:
VirtualMachineStorageConfigurationArgs{...} or: nil
func VirtualMachineStorageConfigurationPtr ¶
func VirtualMachineStorageConfigurationPtr(v *VirtualMachineStorageConfigurationArgs) VirtualMachineStorageConfigurationPtrInput
type VirtualMachineStorageConfigurationPtrOutput ¶
type VirtualMachineStorageConfigurationPtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationPtrOutput) DataSettings ¶
func (o VirtualMachineStorageConfigurationPtrOutput) DataSettings() VirtualMachineStorageConfigurationDataSettingsPtrOutput
An `storageSettings` as defined below.
func (VirtualMachineStorageConfigurationPtrOutput) DiskType ¶
func (o VirtualMachineStorageConfigurationPtrOutput) DiskType() pulumi.StringPtrOutput
The type of disk configuration to apply to the SQL Server. Valid values include `NEW`, `EXTEND`, or `ADD`.
func (VirtualMachineStorageConfigurationPtrOutput) ElementType ¶
func (VirtualMachineStorageConfigurationPtrOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationPtrOutput) LogSettings ¶
func (o VirtualMachineStorageConfigurationPtrOutput) LogSettings() VirtualMachineStorageConfigurationLogSettingsPtrOutput
An `storageSettings` as defined below.
func (VirtualMachineStorageConfigurationPtrOutput) StorageWorkloadType ¶
func (o VirtualMachineStorageConfigurationPtrOutput) StorageWorkloadType() pulumi.StringPtrOutput
The type of storage workload. Valid values include `GENERAL`, `OLTP`, or `DW`.
func (VirtualMachineStorageConfigurationPtrOutput) TempDbSettings ¶
func (o VirtualMachineStorageConfigurationPtrOutput) TempDbSettings() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
An `storageSettings` as defined below.
func (VirtualMachineStorageConfigurationPtrOutput) ToVirtualMachineStorageConfigurationPtrOutput ¶
func (o VirtualMachineStorageConfigurationPtrOutput) ToVirtualMachineStorageConfigurationPtrOutput() VirtualMachineStorageConfigurationPtrOutput
func (VirtualMachineStorageConfigurationPtrOutput) ToVirtualMachineStorageConfigurationPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationPtrOutput) ToVirtualMachineStorageConfigurationPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationPtrOutput
type VirtualMachineStorageConfigurationTempDbSettingsArgs ¶
type VirtualMachineStorageConfigurationTempDbSettingsArgs struct { // The SQL Server default path DefaultFilePath pulumi.StringInput `pulumi:"defaultFilePath"` // A list of Logical Unit Numbers for the disks. Luns pulumi.IntArrayInput `pulumi:"luns"` }
func (VirtualMachineStorageConfigurationTempDbSettingsArgs) ElementType ¶
func (VirtualMachineStorageConfigurationTempDbSettingsArgs) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsOutput ¶
func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsOutput() VirtualMachineStorageConfigurationTempDbSettingsOutput
func (VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsOutputWithContext ¶
func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsOutput
func (VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput ¶
func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
func (VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext ¶
func (i VirtualMachineStorageConfigurationTempDbSettingsArgs) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
type VirtualMachineStorageConfigurationTempDbSettingsInput ¶
type VirtualMachineStorageConfigurationTempDbSettingsInput interface { pulumi.Input ToVirtualMachineStorageConfigurationTempDbSettingsOutput() VirtualMachineStorageConfigurationTempDbSettingsOutput ToVirtualMachineStorageConfigurationTempDbSettingsOutputWithContext(context.Context) VirtualMachineStorageConfigurationTempDbSettingsOutput }
VirtualMachineStorageConfigurationTempDbSettingsInput is an input type that accepts VirtualMachineStorageConfigurationTempDbSettingsArgs and VirtualMachineStorageConfigurationTempDbSettingsOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationTempDbSettingsInput` via:
VirtualMachineStorageConfigurationTempDbSettingsArgs{...}
type VirtualMachineStorageConfigurationTempDbSettingsOutput ¶
type VirtualMachineStorageConfigurationTempDbSettingsOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) DefaultFilePath ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) DefaultFilePath() pulumi.StringOutput
The SQL Server default path
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) ElementType ¶
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) Luns ¶
A list of Logical Unit Numbers for the disks.
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsOutput ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsOutput() VirtualMachineStorageConfigurationTempDbSettingsOutput
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsOutputWithContext ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsOutput
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
func (VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
type VirtualMachineStorageConfigurationTempDbSettingsPtrInput ¶
type VirtualMachineStorageConfigurationTempDbSettingsPtrInput interface { pulumi.Input ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext(context.Context) VirtualMachineStorageConfigurationTempDbSettingsPtrOutput }
VirtualMachineStorageConfigurationTempDbSettingsPtrInput is an input type that accepts VirtualMachineStorageConfigurationTempDbSettingsArgs, VirtualMachineStorageConfigurationTempDbSettingsPtr and VirtualMachineStorageConfigurationTempDbSettingsPtrOutput values. You can construct a concrete instance of `VirtualMachineStorageConfigurationTempDbSettingsPtrInput` via:
VirtualMachineStorageConfigurationTempDbSettingsArgs{...} or: nil
func VirtualMachineStorageConfigurationTempDbSettingsPtr ¶
func VirtualMachineStorageConfigurationTempDbSettingsPtr(v *VirtualMachineStorageConfigurationTempDbSettingsArgs) VirtualMachineStorageConfigurationTempDbSettingsPtrInput
type VirtualMachineStorageConfigurationTempDbSettingsPtrOutput ¶
type VirtualMachineStorageConfigurationTempDbSettingsPtrOutput struct{ *pulumi.OutputState }
func (VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) DefaultFilePath ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) DefaultFilePath() pulumi.StringPtrOutput
The SQL Server default path
func (VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ElementType ¶
func (VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ElementType() reflect.Type
func (VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) Luns ¶
A list of Logical Unit Numbers for the disks.
func (VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutput() VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
func (VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext ¶
func (o VirtualMachineStorageConfigurationTempDbSettingsPtrOutput) ToVirtualMachineStorageConfigurationTempDbSettingsPtrOutputWithContext(ctx context.Context) VirtualMachineStorageConfigurationTempDbSettingsPtrOutput
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { pulumi.CustomResourceState // Create the virtual network rule before the subnet has the virtual network service endpoint enabled. Defaults to `false`. IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrOutput `pulumi:"ignoreMissingVnetServiceEndpoint"` // The name of the SQL virtual network rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The resource ID of the SQL Server to which this SQL virtual network rule will be applied. Changing this forces a new resource to be created. ServerId pulumi.StringOutput `pulumi:"serverId"` // The ID of the subnet from which the SQL server will accept communications. SubnetId pulumi.StringOutput `pulumi:"subnetId"` }
Allows you to manage rules for allowing traffic between an Azure SQL server and a subnet of a virtual network.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.7.29.0/29"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.7.29.0/29"), }, ServiceEndpoints: pulumi.StringArray{ pulumi.String("Microsoft.Sql"), }, }) if err != nil { return err } exampleServer, err := mssql.NewServer(ctx, "exampleServer", &mssql.ServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("12.0"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } _, err = mssql.NewVirtualNetworkRule(ctx, "exampleVirtualNetworkRule", &mssql.VirtualNetworkRuleArgs{ ServerId: exampleServer.ID(), SubnetId: exampleSubnet.ID(), }) if err != nil { return err } return nil }) }
```
## Import
SQL Virtual Network Rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mssql/virtualNetworkRule:VirtualNetworkRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Sql/servers/myserver/virtualNetworkRules/vnetrulename
```
func GetVirtualNetworkRule ¶
func GetVirtualNetworkRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VirtualNetworkRuleState, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error)
GetVirtualNetworkRule gets an existing VirtualNetworkRule 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 NewVirtualNetworkRule ¶
func NewVirtualNetworkRule(ctx *pulumi.Context, name string, args *VirtualNetworkRuleArgs, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error)
NewVirtualNetworkRule registers a new resource with the given unique name, arguments, and options.
func (*VirtualNetworkRule) ElementType ¶
func (*VirtualNetworkRule) ElementType() reflect.Type
func (*VirtualNetworkRule) ToVirtualNetworkRuleOutput ¶
func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
func (*VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext ¶
func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
func (*VirtualNetworkRule) ToVirtualNetworkRulePtrOutput ¶
func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
func (*VirtualNetworkRule) ToVirtualNetworkRulePtrOutputWithContext ¶
func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
type VirtualNetworkRuleArgs ¶
type VirtualNetworkRuleArgs struct { // Create the virtual network rule before the subnet has the virtual network service endpoint enabled. Defaults to `false`. IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrInput // The name of the SQL virtual network rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The resource ID of the SQL Server to which this SQL virtual network rule will be applied. Changing this forces a new resource to be created. ServerId pulumi.StringInput // The ID of the subnet from which the SQL server will accept communications. SubnetId pulumi.StringInput }
The set of arguments for constructing a VirtualNetworkRule resource.
func (VirtualNetworkRuleArgs) ElementType ¶
func (VirtualNetworkRuleArgs) ElementType() reflect.Type
type VirtualNetworkRuleArray ¶
type VirtualNetworkRuleArray []VirtualNetworkRuleInput
func (VirtualNetworkRuleArray) ElementType ¶
func (VirtualNetworkRuleArray) ElementType() reflect.Type
func (VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutput ¶
func (i VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
func (VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutputWithContext ¶
func (i VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
type VirtualNetworkRuleArrayInput ¶
type VirtualNetworkRuleArrayInput interface { pulumi.Input ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput ToVirtualNetworkRuleArrayOutputWithContext(context.Context) VirtualNetworkRuleArrayOutput }
VirtualNetworkRuleArrayInput is an input type that accepts VirtualNetworkRuleArray and VirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `VirtualNetworkRuleArrayInput` via:
VirtualNetworkRuleArray{ VirtualNetworkRuleArgs{...} }
type VirtualNetworkRuleArrayOutput ¶
type VirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }
func (VirtualNetworkRuleArrayOutput) ElementType ¶
func (VirtualNetworkRuleArrayOutput) ElementType() reflect.Type
func (VirtualNetworkRuleArrayOutput) Index ¶
func (o VirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) VirtualNetworkRuleOutput
func (VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput ¶
func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
func (VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext ¶
func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
type VirtualNetworkRuleInput ¶
type VirtualNetworkRuleInput interface { pulumi.Input ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput }
type VirtualNetworkRuleMap ¶
type VirtualNetworkRuleMap map[string]VirtualNetworkRuleInput
func (VirtualNetworkRuleMap) ElementType ¶
func (VirtualNetworkRuleMap) ElementType() reflect.Type
func (VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutput ¶
func (i VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
func (VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutputWithContext ¶
func (i VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
type VirtualNetworkRuleMapInput ¶
type VirtualNetworkRuleMapInput interface { pulumi.Input ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput ToVirtualNetworkRuleMapOutputWithContext(context.Context) VirtualNetworkRuleMapOutput }
VirtualNetworkRuleMapInput is an input type that accepts VirtualNetworkRuleMap and VirtualNetworkRuleMapOutput values. You can construct a concrete instance of `VirtualNetworkRuleMapInput` via:
VirtualNetworkRuleMap{ "key": VirtualNetworkRuleArgs{...} }
type VirtualNetworkRuleMapOutput ¶
type VirtualNetworkRuleMapOutput struct{ *pulumi.OutputState }
func (VirtualNetworkRuleMapOutput) ElementType ¶
func (VirtualNetworkRuleMapOutput) ElementType() reflect.Type
func (VirtualNetworkRuleMapOutput) MapIndex ¶
func (o VirtualNetworkRuleMapOutput) MapIndex(k pulumi.StringInput) VirtualNetworkRuleOutput
func (VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput ¶
func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
func (VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext ¶
func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
type VirtualNetworkRuleOutput ¶
type VirtualNetworkRuleOutput struct {
*pulumi.OutputState
}
func (VirtualNetworkRuleOutput) ElementType ¶
func (VirtualNetworkRuleOutput) ElementType() reflect.Type
func (VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput ¶
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
func (VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext ¶
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
func (VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutput ¶
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
func (VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutputWithContext ¶
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
type VirtualNetworkRulePtrInput ¶
type VirtualNetworkRulePtrInput interface { pulumi.Input ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput }
type VirtualNetworkRulePtrOutput ¶
type VirtualNetworkRulePtrOutput struct {
*pulumi.OutputState
}
func (VirtualNetworkRulePtrOutput) ElementType ¶
func (VirtualNetworkRulePtrOutput) ElementType() reflect.Type
func (VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutput ¶
func (o VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
func (VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutputWithContext ¶
func (o VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState struct { // Create the virtual network rule before the subnet has the virtual network service endpoint enabled. Defaults to `false`. IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrInput // The name of the SQL virtual network rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The resource ID of the SQL Server to which this SQL virtual network rule will be applied. Changing this forces a new resource to be created. ServerId pulumi.StringPtrInput // The ID of the subnet from which the SQL server will accept communications. SubnetId pulumi.StringPtrInput }
func (VirtualNetworkRuleState) ElementType ¶
func (VirtualNetworkRuleState) ElementType() reflect.Type
Source Files ¶
- database.go
- databaseExtendedAuditingPolicy.go
- databaseVulnerabilityAssessmentRuleBaseline.go
- elasticPool.go
- firewallRule.go
- getDatabase.go
- getElasticPool.go
- getServer.go
- init.go
- pulumiTypes.go
- server.go
- serverExtendedAuditingPolicy.go
- serverSecurityAlertPolicy.go
- serverVulnerabilityAssessment.go
- virtualMachine.go
- virtualNetworkRule.go