Documentation
¶
Index ¶
- type Database
- type DatabaseArgs
- type DatabaseExtendedAuditingPolicy
- type DatabaseExtendedAuditingPolicyArgs
- func (DatabaseExtendedAuditingPolicyArgs) ElementType() reflect.Type
- func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput
- func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput
- func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
- func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
- type DatabaseExtendedAuditingPolicyInput
- type DatabaseExtendedAuditingPolicyOutput
- func (DatabaseExtendedAuditingPolicyOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o DatabaseExtendedAuditingPolicyOutput) StorageAccountAccessKey() pulumi.StringOutput
- func (o DatabaseExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o DatabaseExtendedAuditingPolicyOutput) StorageEndpoint() pulumi.StringOutput
- 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 (o DatabaseExtendedAuditingPolicyPtrOutput) Elem() DatabaseExtendedAuditingPolicyOutput
- func (DatabaseExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
- func (o DatabaseExtendedAuditingPolicyPtrOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o DatabaseExtendedAuditingPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o DatabaseExtendedAuditingPolicyPtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o DatabaseExtendedAuditingPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
- func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
- 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)
- type DatabaseVulnerabilityAssessmentRuleBaselineArgs
- 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 DatabaseVulnerabilityAssessmentRuleBaselineState
- type ElasticPool
- type ElasticPoolArgs
- 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 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 LookupDatabaseArgs
- type LookupDatabaseResult
- type LookupElasticPoolArgs
- type LookupElasticPoolResult
- type Server
- type ServerArgs
- 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
- type ServerExtendedAuditingPolicyArgs
- func (ServerExtendedAuditingPolicyArgs) ElementType() reflect.Type
- func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput
- func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput
- func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
- func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
- type ServerExtendedAuditingPolicyInput
- type ServerExtendedAuditingPolicyOutput
- func (ServerExtendedAuditingPolicyOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o ServerExtendedAuditingPolicyOutput) StorageAccountAccessKey() pulumi.StringOutput
- func (o ServerExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o ServerExtendedAuditingPolicyOutput) StorageEndpoint() pulumi.StringOutput
- 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 (o ServerExtendedAuditingPolicyPtrOutput) Elem() ServerExtendedAuditingPolicyOutput
- func (ServerExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
- func (o ServerExtendedAuditingPolicyPtrOutput) RetentionInDays() pulumi.IntPtrOutput
- func (o ServerExtendedAuditingPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o ServerExtendedAuditingPolicyPtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
- func (o ServerExtendedAuditingPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
- func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
- 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 ServerSecurityAlertPolicy
- type ServerSecurityAlertPolicyArgs
- type ServerSecurityAlertPolicyState
- type ServerState
- type ServerVulnerabilityAssessment
- type ServerVulnerabilityAssessmentArgs
- 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
- type VirtualMachineArgs
- 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 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 VirtualMachineState
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`, `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. Changing this forces a new resource to be created. ElasticPoolId pulumi.StringPtrOutput `pulumi:"elasticPoolId"` // A `extendedAuditingPolicy` block as defined below. ExtendedAuditingPolicy DatabaseExtendedAuditingPolicyPtrOutput `pulumi:"extendedAuditingPolicy"` // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringOutput `pulumi:"licenseType"` // 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"` // 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"` // 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"` // 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.
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)
GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatabase ¶
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
type DatabaseArgs ¶
type DatabaseArgs struct { // 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`, `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. Changing this forces a new resource to be created. ElasticPoolId pulumi.StringPtrInput // A `extendedAuditingPolicy` block as defined below. ExtendedAuditingPolicy DatabaseExtendedAuditingPolicyPtrInput // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringPtrInput // 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 // 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 // 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 // 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 DatabaseExtendedAuditingPolicy ¶ added in v3.4.0
type DatabaseExtendedAuditingPolicy struct { // 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 DatabaseExtendedAuditingPolicyArgs ¶ added in v3.4.0
type DatabaseExtendedAuditingPolicyArgs struct { // 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.StringInput `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.StringInput `pulumi:"storageEndpoint"` }
func (DatabaseExtendedAuditingPolicyArgs) ElementType ¶ added in v3.4.0
func (DatabaseExtendedAuditingPolicyArgs) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyOutput ¶ added in v3.4.0
func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput
func (DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyOutputWithContext ¶ added in v3.4.0
func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput
func (DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
func (DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext ¶ added in v3.4.0
func (i DatabaseExtendedAuditingPolicyArgs) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
type DatabaseExtendedAuditingPolicyInput ¶ added in v3.4.0
type DatabaseExtendedAuditingPolicyInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput ToDatabaseExtendedAuditingPolicyOutputWithContext(context.Context) DatabaseExtendedAuditingPolicyOutput }
DatabaseExtendedAuditingPolicyInput is an input type that accepts DatabaseExtendedAuditingPolicyArgs and DatabaseExtendedAuditingPolicyOutput values. You can construct a concrete instance of `DatabaseExtendedAuditingPolicyInput` via:
DatabaseExtendedAuditingPolicyArgs{...}
type DatabaseExtendedAuditingPolicyOutput ¶ added in v3.4.0
type DatabaseExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }
func (DatabaseExtendedAuditingPolicyOutput) ElementType ¶ added in v3.4.0
func (DatabaseExtendedAuditingPolicyOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyOutput) RetentionInDays ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) RetentionInDays() pulumi.IntPtrOutput
Specifies the number of days to retain logs for in the storage account.
func (DatabaseExtendedAuditingPolicyOutput) StorageAccountAccessKey ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) StorageAccountAccessKey() pulumi.StringOutput
Specifies the access key to use for the auditing storage account.
func (DatabaseExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (DatabaseExtendedAuditingPolicyOutput) StorageEndpoint ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) StorageEndpoint() pulumi.StringOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutput ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutput() DatabaseExtendedAuditingPolicyOutput
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutputWithContext ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyOutput
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
func (DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
type DatabaseExtendedAuditingPolicyPtrInput ¶ added in v3.4.0
type DatabaseExtendedAuditingPolicyPtrInput interface { pulumi.Input ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(context.Context) DatabaseExtendedAuditingPolicyPtrOutput }
DatabaseExtendedAuditingPolicyPtrInput is an input type that accepts DatabaseExtendedAuditingPolicyArgs, DatabaseExtendedAuditingPolicyPtr and DatabaseExtendedAuditingPolicyPtrOutput values. You can construct a concrete instance of `DatabaseExtendedAuditingPolicyPtrInput` via:
DatabaseExtendedAuditingPolicyArgs{...} or: nil
func DatabaseExtendedAuditingPolicyPtr ¶ added in v3.4.0
func DatabaseExtendedAuditingPolicyPtr(v *DatabaseExtendedAuditingPolicyArgs) DatabaseExtendedAuditingPolicyPtrInput
type DatabaseExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
type DatabaseExtendedAuditingPolicyPtrOutput struct{ *pulumi.OutputState }
func (DatabaseExtendedAuditingPolicyPtrOutput) ElementType ¶ added in v3.4.0
func (DatabaseExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
func (DatabaseExtendedAuditingPolicyPtrOutput) RetentionInDays ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyPtrOutput) RetentionInDays() pulumi.IntPtrOutput
Specifies the number of days to retain logs for in the storage account.
func (DatabaseExtendedAuditingPolicyPtrOutput) StorageAccountAccessKey ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the access key to use for the auditing storage account.
func (DatabaseExtendedAuditingPolicyPtrOutput) StorageAccountAccessKeyIsSecondary ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyPtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (DatabaseExtendedAuditingPolicyPtrOutput) StorageEndpoint ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutput() DatabaseExtendedAuditingPolicyPtrOutput
func (DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext ¶ added in v3.4.0
func (o DatabaseExtendedAuditingPolicyPtrOutput) ToDatabaseExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) DatabaseExtendedAuditingPolicyPtrOutput
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`, `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. Changing this forces a new resource to be created. ElasticPoolId pulumi.StringPtrInput // A `extendedAuditingPolicy` block as defined below. ExtendedAuditingPolicy DatabaseExtendedAuditingPolicyPtrInput // Specifies the license type applied to this database. Possible values are `LicenseIncluded` and `BasePrice`. LicenseType pulumi.StringPtrInput // 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 // 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 // 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 // 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 ¶ added in v3.1.0
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 ¶ added in v3.1.0
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 ¶ added in v3.1.0
func (DatabaseThreatDetectionPolicyArgs) ElementType() reflect.Type
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutput ¶ added in v3.1.0
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutputWithContext ¶ added in v3.1.0
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutput ¶ added in v3.1.0
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutputWithContext ¶ added in v3.1.0
func (i DatabaseThreatDetectionPolicyArgs) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
type DatabaseThreatDetectionPolicyInput ¶ added in v3.1.0
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 ¶ added in v3.1.0
type DatabaseThreatDetectionPolicyOutput struct{ *pulumi.OutputState }
func (DatabaseThreatDetectionPolicyOutput) DisabledAlerts ¶ added in v3.1.0
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 ¶ added in v3.1.0
func (DatabaseThreatDetectionPolicyOutput) ElementType() reflect.Type
func (DatabaseThreatDetectionPolicyOutput) EmailAccountAdmins ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.StringPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (DatabaseThreatDetectionPolicyOutput) EmailAddresses ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (DatabaseThreatDetectionPolicyOutput) RetentionDays ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (DatabaseThreatDetectionPolicyOutput) State ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) State() pulumi.StringPtrOutput
The State of the Policy. Possible values are `Enabled`, `Disabled` or `New`.
func (DatabaseThreatDetectionPolicyOutput) StorageAccountAccessKey ¶ added in v3.1.0
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 ¶ added in v3.1.0
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 ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutput() DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutputWithContext ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyOutput
func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutput ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyOutput) UseServerDefault ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyOutput) UseServerDefault() pulumi.StringPtrOutput
Should the default server policy be used? Defaults to `Disabled`.
type DatabaseThreatDetectionPolicyPtrInput ¶ added in v3.1.0
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 ¶ added in v3.1.0
func DatabaseThreatDetectionPolicyPtr(v *DatabaseThreatDetectionPolicyArgs) DatabaseThreatDetectionPolicyPtrInput
type DatabaseThreatDetectionPolicyPtrOutput ¶ added in v3.1.0
type DatabaseThreatDetectionPolicyPtrOutput struct{ *pulumi.OutputState }
func (DatabaseThreatDetectionPolicyPtrOutput) DisabledAlerts ¶ added in v3.1.0
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 ¶ added in v3.1.0
func (DatabaseThreatDetectionPolicyPtrOutput) ElementType() reflect.Type
func (DatabaseThreatDetectionPolicyPtrOutput) EmailAccountAdmins ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyPtrOutput) EmailAccountAdmins() pulumi.StringPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (DatabaseThreatDetectionPolicyPtrOutput) EmailAddresses ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyPtrOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (DatabaseThreatDetectionPolicyPtrOutput) RetentionDays ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (DatabaseThreatDetectionPolicyPtrOutput) State ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyPtrOutput) State() pulumi.StringPtrOutput
The State of the Policy. Possible values are `Enabled`, `Disabled` or `New`.
func (DatabaseThreatDetectionPolicyPtrOutput) StorageAccountAccessKey ¶ added in v3.1.0
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 ¶ added in v3.1.0
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 ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutput() DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext ¶ added in v3.1.0
func (o DatabaseThreatDetectionPolicyPtrOutput) ToDatabaseThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) DatabaseThreatDetectionPolicyPtrOutput
func (DatabaseThreatDetectionPolicyPtrOutput) UseServerDefault ¶ added in v3.1.0
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.
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.
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 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 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.
func GetElasticPool ¶
func GetElasticPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ElasticPoolState, opts ...pulumi.ResourceOption) (*ElasticPool, error)
GetElasticPool gets an existing ElasticPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewElasticPool ¶
func NewElasticPool(ctx *pulumi.Context, name string, args *ElasticPoolArgs, opts ...pulumi.ResourceOption) (*ElasticPool, error)
NewElasticPool registers a new resource with the given unique name, arguments, and options.
type ElasticPoolArgs ¶
type ElasticPoolArgs struct { // 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 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 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 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"` // 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/sdk/v2/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/sdk/v2/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 Server ¶ added in v3.4.0
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. ExtendedAuditingPolicy ServerExtendedAuditingPolicyPtrOutput `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 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 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.
> **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
func GetServer ¶ added in v3.4.0
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 ¶ added in v3.4.0
func NewServer(ctx *pulumi.Context, name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)
NewServer registers a new resource with the given unique name, arguments, and options.
type ServerArgs ¶ added in v3.4.0
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. ExtendedAuditingPolicy ServerExtendedAuditingPolicyPtrInput // 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 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 ¶ added in v3.4.0
func (ServerArgs) ElementType() reflect.Type
type ServerAzureadAdministrator ¶ added in v3.6.0
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 ¶ added in v3.6.0
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 ¶ added in v3.6.0
func (ServerAzureadAdministratorArgs) ElementType() reflect.Type
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutput ¶ added in v3.6.0
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutput() ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutputWithContext ¶ added in v3.6.0
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorOutputWithContext(ctx context.Context) ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutput ¶ added in v3.6.0
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
func (ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutputWithContext ¶ added in v3.6.0
func (i ServerAzureadAdministratorArgs) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
type ServerAzureadAdministratorInput ¶ added in v3.6.0
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 ¶ added in v3.6.0
type ServerAzureadAdministratorOutput struct{ *pulumi.OutputState }
func (ServerAzureadAdministratorOutput) ElementType ¶ added in v3.6.0
func (ServerAzureadAdministratorOutput) ElementType() reflect.Type
func (ServerAzureadAdministratorOutput) LoginUsername ¶ added in v3.6.0
func (o ServerAzureadAdministratorOutput) LoginUsername() pulumi.StringOutput
(Required) The login username of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorOutput) ObjectId ¶ added in v3.6.0
func (o ServerAzureadAdministratorOutput) ObjectId() pulumi.StringOutput
(Required) The object id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorOutput) TenantId ¶ added in v3.6.0
func (o ServerAzureadAdministratorOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutput ¶ added in v3.6.0
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutput() ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutputWithContext ¶ added in v3.6.0
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorOutputWithContext(ctx context.Context) ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutput ¶ added in v3.6.0
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
func (ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutputWithContext ¶ added in v3.6.0
func (o ServerAzureadAdministratorOutput) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
type ServerAzureadAdministratorPtrInput ¶ added in v3.6.0
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 ¶ added in v3.6.0
func ServerAzureadAdministratorPtr(v *ServerAzureadAdministratorArgs) ServerAzureadAdministratorPtrInput
type ServerAzureadAdministratorPtrOutput ¶ added in v3.6.0
type ServerAzureadAdministratorPtrOutput struct{ *pulumi.OutputState }
func (ServerAzureadAdministratorPtrOutput) Elem ¶ added in v3.6.0
func (o ServerAzureadAdministratorPtrOutput) Elem() ServerAzureadAdministratorOutput
func (ServerAzureadAdministratorPtrOutput) ElementType ¶ added in v3.6.0
func (ServerAzureadAdministratorPtrOutput) ElementType() reflect.Type
func (ServerAzureadAdministratorPtrOutput) LoginUsername ¶ added in v3.6.0
func (o ServerAzureadAdministratorPtrOutput) LoginUsername() pulumi.StringPtrOutput
(Required) The login username of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorPtrOutput) ObjectId ¶ added in v3.6.0
func (o ServerAzureadAdministratorPtrOutput) ObjectId() pulumi.StringPtrOutput
(Required) The object id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorPtrOutput) TenantId ¶ added in v3.6.0
func (o ServerAzureadAdministratorPtrOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutput ¶ added in v3.6.0
func (o ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutput() ServerAzureadAdministratorPtrOutput
func (ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutputWithContext ¶ added in v3.6.0
func (o ServerAzureadAdministratorPtrOutput) ToServerAzureadAdministratorPtrOutputWithContext(ctx context.Context) ServerAzureadAdministratorPtrOutput
type ServerExtendedAuditingPolicy ¶ added in v3.4.0
type ServerExtendedAuditingPolicy struct { // (Optional) Specifies the number of days to retain logs for in the storage account. RetentionInDays *int `pulumi:"retentionInDays"` // (Required) 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"` // (Required) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). StorageEndpoint string `pulumi:"storageEndpoint"` }
type ServerExtendedAuditingPolicyArgs ¶ added in v3.4.0
type ServerExtendedAuditingPolicyArgs struct { // (Optional) Specifies the number of days to retain logs for in the storage account. RetentionInDays pulumi.IntPtrInput `pulumi:"retentionInDays"` // (Required) Specifies the access key to use for the auditing storage account. StorageAccountAccessKey pulumi.StringInput `pulumi:"storageAccountAccessKey"` // (Optional) Specifies whether `storageAccountAccessKey` value is the storage's secondary key. StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput `pulumi:"storageAccountAccessKeyIsSecondary"` // (Required) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). StorageEndpoint pulumi.StringInput `pulumi:"storageEndpoint"` }
func (ServerExtendedAuditingPolicyArgs) ElementType ¶ added in v3.4.0
func (ServerExtendedAuditingPolicyArgs) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyOutput ¶ added in v3.4.0
func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput
func (ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyOutputWithContext ¶ added in v3.4.0
func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput
func (ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
func (ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyPtrOutputWithContext ¶ added in v3.4.0
func (i ServerExtendedAuditingPolicyArgs) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
type ServerExtendedAuditingPolicyInput ¶ added in v3.4.0
type ServerExtendedAuditingPolicyInput interface { pulumi.Input ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput ToServerExtendedAuditingPolicyOutputWithContext(context.Context) ServerExtendedAuditingPolicyOutput }
ServerExtendedAuditingPolicyInput is an input type that accepts ServerExtendedAuditingPolicyArgs and ServerExtendedAuditingPolicyOutput values. You can construct a concrete instance of `ServerExtendedAuditingPolicyInput` via:
ServerExtendedAuditingPolicyArgs{...}
type ServerExtendedAuditingPolicyOutput ¶ added in v3.4.0
type ServerExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }
func (ServerExtendedAuditingPolicyOutput) ElementType ¶ added in v3.4.0
func (ServerExtendedAuditingPolicyOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyOutput) RetentionInDays ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) RetentionInDays() pulumi.IntPtrOutput
(Optional) Specifies the number of days to retain logs for in the storage account.
func (ServerExtendedAuditingPolicyOutput) StorageAccountAccessKey ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) StorageAccountAccessKey() pulumi.StringOutput
(Required) Specifies the access key to use for the auditing storage account.
func (ServerExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
(Optional) Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (ServerExtendedAuditingPolicyOutput) StorageEndpoint ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) StorageEndpoint() pulumi.StringOutput
(Required) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutput ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutput() ServerExtendedAuditingPolicyOutput
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutputWithContext ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyOutput
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
func (ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
type ServerExtendedAuditingPolicyPtrInput ¶ added in v3.4.0
type ServerExtendedAuditingPolicyPtrInput interface { pulumi.Input ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput ToServerExtendedAuditingPolicyPtrOutputWithContext(context.Context) ServerExtendedAuditingPolicyPtrOutput }
ServerExtendedAuditingPolicyPtrInput is an input type that accepts ServerExtendedAuditingPolicyArgs, ServerExtendedAuditingPolicyPtr and ServerExtendedAuditingPolicyPtrOutput values. You can construct a concrete instance of `ServerExtendedAuditingPolicyPtrInput` via:
ServerExtendedAuditingPolicyArgs{...} or: nil
func ServerExtendedAuditingPolicyPtr ¶ added in v3.4.0
func ServerExtendedAuditingPolicyPtr(v *ServerExtendedAuditingPolicyArgs) ServerExtendedAuditingPolicyPtrInput
type ServerExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
type ServerExtendedAuditingPolicyPtrOutput struct{ *pulumi.OutputState }
func (ServerExtendedAuditingPolicyPtrOutput) ElementType ¶ added in v3.4.0
func (ServerExtendedAuditingPolicyPtrOutput) ElementType() reflect.Type
func (ServerExtendedAuditingPolicyPtrOutput) RetentionInDays ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyPtrOutput) RetentionInDays() pulumi.IntPtrOutput
(Optional) Specifies the number of days to retain logs for in the storage account.
func (ServerExtendedAuditingPolicyPtrOutput) StorageAccountAccessKey ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
(Required) Specifies the access key to use for the auditing storage account.
func (ServerExtendedAuditingPolicyPtrOutput) StorageAccountAccessKeyIsSecondary ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyPtrOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput
(Optional) Specifies whether `storageAccountAccessKey` value is the storage's secondary key.
func (ServerExtendedAuditingPolicyPtrOutput) StorageEndpoint ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
(Required) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).
func (ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutput ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutput() ServerExtendedAuditingPolicyPtrOutput
func (ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext ¶ added in v3.4.0
func (o ServerExtendedAuditingPolicyPtrOutput) ToServerExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) ServerExtendedAuditingPolicyPtrOutput
type ServerIdentity ¶ added in v3.4.0
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 ¶ added in v3.4.0
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 ¶ added in v3.4.0
func (ServerIdentityArgs) ElementType() reflect.Type
func (ServerIdentityArgs) ToServerIdentityOutput ¶ added in v3.4.0
func (i ServerIdentityArgs) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityOutputWithContext ¶ added in v3.4.0
func (i ServerIdentityArgs) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutput ¶ added in v3.4.0
func (i ServerIdentityArgs) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutputWithContext ¶ added in v3.4.0
func (i ServerIdentityArgs) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
type ServerIdentityInput ¶ added in v3.4.0
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 ¶ added in v3.4.0
type ServerIdentityOutput struct{ *pulumi.OutputState }
func (ServerIdentityOutput) ElementType ¶ added in v3.4.0
func (ServerIdentityOutput) ElementType() reflect.Type
func (ServerIdentityOutput) PrincipalId ¶ added in v3.4.0
func (o ServerIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this SQL Server.
func (ServerIdentityOutput) TenantId ¶ added in v3.4.0
func (o ServerIdentityOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerIdentityOutput) ToServerIdentityOutput ¶ added in v3.4.0
func (o ServerIdentityOutput) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityOutputWithContext ¶ added in v3.4.0
func (o ServerIdentityOutput) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutput ¶ added in v3.4.0
func (o ServerIdentityOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutputWithContext ¶ added in v3.4.0
func (o ServerIdentityOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityOutput) Type ¶ added in v3.4.0
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 ¶ added in v3.4.0
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 ¶ added in v3.4.0
func ServerIdentityPtr(v *ServerIdentityArgs) ServerIdentityPtrInput
type ServerIdentityPtrOutput ¶ added in v3.4.0
type ServerIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServerIdentityPtrOutput) Elem ¶ added in v3.4.0
func (o ServerIdentityPtrOutput) Elem() ServerIdentityOutput
func (ServerIdentityPtrOutput) ElementType ¶ added in v3.4.0
func (ServerIdentityPtrOutput) ElementType() reflect.Type
func (ServerIdentityPtrOutput) PrincipalId ¶ added in v3.4.0
func (o ServerIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this SQL Server.
func (ServerIdentityPtrOutput) TenantId ¶ added in v3.4.0
func (o ServerIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
(Optional) The tenant id of the Azure AD Administrator of this SQL Server.
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutput ¶ added in v3.4.0
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext ¶ added in v3.4.0
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) Type ¶ added in v3.4.0
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 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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mssql" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/sql" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) 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 } exampleServerSecurityAlertPolicy, 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 }) }
```
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.
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 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 ¶ added in v3.4.0
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. ExtendedAuditingPolicy ServerExtendedAuditingPolicyPtrInput // 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 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 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 ¶ added in v3.4.0
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.
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.
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 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 `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"` // 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
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.
type VirtualMachineArgs ¶
type VirtualMachineArgs struct { // 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 // 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 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 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 VirtualMachineState ¶
type VirtualMachineState struct { // 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 // 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