azure-native.azurearcdata.SqlServerAvailabilityGroup
Explore with Pulumi AI
Arc Sql Server Availability Group Azure REST API version: 2024-01-01.
Example Usage
Create a Arc Sql Server availability group.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sqlServerAvailabilityGroup = new AzureNative.AzureArcData.SqlServerAvailabilityGroup("sqlServerAvailabilityGroup", new()
{
AvailabilityGroupName = "testAG",
Location = "southeastasia",
Properties = new AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesArgs
{
Databases = new AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs
{
Value = new[]
{
new AzureNative.AzureArcData.Inputs.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs
{
DatabaseName = "db1",
},
new AzureNative.AzureArcData.Inputs.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs
{
DatabaseName = "db2",
},
},
},
Info = new AzureNative.AzureArcData.Inputs.AvailabilityGroupInfoArgs
{
BasicFeatures = false,
DbFailover = true,
DtcSupport = false,
FailureConditionLevel = 3,
HealthCheckTimeout = 30000,
IsContained = false,
IsDistributed = false,
RequiredSynchronizedSecondariesToCommit = 0,
},
Replicas = new AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesReplicasArgs
{
Value = new[]
{
new AzureNative.AzureArcData.Inputs.SqlAvailabilityGroupReplicaResourcePropertiesArgs
{
Configure = new AzureNative.AzureArcData.Inputs.AvailabilityGroupConfigureArgs
{
BackupPriority = 50,
EndpointUrl = "TCP://mytest60-0.mytest60-svc:5022",
SessionTimeout = 10,
},
ReplicaName = "testSqlServer\\INST1",
},
},
},
},
ResourceGroupName = "testrg",
SqlServerInstanceName = "testSqlServer_INST1",
Tags =
{
{ "mytag", "myval" },
},
});
});
package main
import (
azurearcdata "github.com/pulumi/pulumi-azure-native-sdk/azurearcdata/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurearcdata.NewSqlServerAvailabilityGroup(ctx, "sqlServerAvailabilityGroup", &azurearcdata.SqlServerAvailabilityGroupArgs{
AvailabilityGroupName: pulumi.String("testAG"),
Location: pulumi.String("southeastasia"),
Properties: &azurearcdata.SqlServerAvailabilityGroupResourcePropertiesArgs{
Databases: &azurearcdata.SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs{
Value: azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArray{
&azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs{
DatabaseName: pulumi.String("db1"),
},
&azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs{
DatabaseName: pulumi.String("db2"),
},
},
},
Info: &azurearcdata.AvailabilityGroupInfoArgs{
BasicFeatures: pulumi.Bool(false),
DbFailover: pulumi.Bool(true),
DtcSupport: pulumi.Bool(false),
FailureConditionLevel: pulumi.Int(3),
HealthCheckTimeout: pulumi.Int(30000),
IsContained: pulumi.Bool(false),
IsDistributed: pulumi.Bool(false),
RequiredSynchronizedSecondariesToCommit: pulumi.Int(0),
},
Replicas: &azurearcdata.SqlServerAvailabilityGroupResourcePropertiesReplicasArgs{
Value: azurearcdata.SqlAvailabilityGroupReplicaResourcePropertiesArray{
&azurearcdata.SqlAvailabilityGroupReplicaResourcePropertiesArgs{
Configure: &azurearcdata.AvailabilityGroupConfigureArgs{
BackupPriority: pulumi.Int(50),
EndpointUrl: pulumi.String("TCP://mytest60-0.mytest60-svc:5022"),
SessionTimeout: pulumi.Int(10),
},
ReplicaName: pulumi.String("testSqlServer\\INST1"),
},
},
},
},
ResourceGroupName: pulumi.String("testrg"),
SqlServerInstanceName: pulumi.String("testSqlServer_INST1"),
Tags: pulumi.StringMap{
"mytag": pulumi.String("myval"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azurearcdata.SqlServerAvailabilityGroup;
import com.pulumi.azurenative.azurearcdata.SqlServerAvailabilityGroupArgs;
import com.pulumi.azurenative.azurearcdata.inputs.SqlServerAvailabilityGroupResourcePropertiesArgs;
import com.pulumi.azurenative.azurearcdata.inputs.SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs;
import com.pulumi.azurenative.azurearcdata.inputs.AvailabilityGroupInfoArgs;
import com.pulumi.azurenative.azurearcdata.inputs.SqlServerAvailabilityGroupResourcePropertiesReplicasArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var sqlServerAvailabilityGroup = new SqlServerAvailabilityGroup("sqlServerAvailabilityGroup", SqlServerAvailabilityGroupArgs.builder()
.availabilityGroupName("testAG")
.location("southeastasia")
.properties(SqlServerAvailabilityGroupResourcePropertiesArgs.builder()
.databases(SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs.builder()
.value(
SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs.builder()
.databaseName("db1")
.build(),
SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs.builder()
.databaseName("db2")
.build())
.build())
.info(AvailabilityGroupInfoArgs.builder()
.basicFeatures(false)
.dbFailover(true)
.dtcSupport(false)
.failureConditionLevel(3)
.healthCheckTimeout(30000)
.isContained(false)
.isDistributed(false)
.requiredSynchronizedSecondariesToCommit(0)
.build())
.replicas(SqlServerAvailabilityGroupResourcePropertiesReplicasArgs.builder()
.value(SqlAvailabilityGroupReplicaResourcePropertiesArgs.builder()
.configure(AvailabilityGroupConfigureArgs.builder()
.backupPriority(50)
.endpointUrl("TCP://mytest60-0.mytest60-svc:5022")
.sessionTimeout(10)
.build())
.replicaName("testSqlServer\\INST1")
.build())
.build())
.build())
.resourceGroupName("testrg")
.sqlServerInstanceName("testSqlServer_INST1")
.tags(Map.of("mytag", "myval"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
sql_server_availability_group = azure_native.azurearcdata.SqlServerAvailabilityGroup("sqlServerAvailabilityGroup",
availability_group_name="testAG",
location="southeastasia",
properties=azure_native.azurearcdata.SqlServerAvailabilityGroupResourcePropertiesArgs(
databases=azure_native.azurearcdata.SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs(
value=[
azure_native.azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs(
database_name="db1",
),
azure_native.azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs(
database_name="db2",
),
],
),
info=azure_native.azurearcdata.AvailabilityGroupInfoArgs(
basic_features=False,
db_failover=True,
dtc_support=False,
failure_condition_level=3,
health_check_timeout=30000,
is_contained=False,
is_distributed=False,
required_synchronized_secondaries_to_commit=0,
),
replicas=azure_native.azurearcdata.SqlServerAvailabilityGroupResourcePropertiesReplicasArgs(
value=[azure_native.azurearcdata.SqlAvailabilityGroupReplicaResourcePropertiesArgs(
configure=azure_native.azurearcdata.AvailabilityGroupConfigureArgs(
backup_priority=50,
endpoint_url="TCP://mytest60-0.mytest60-svc:5022",
session_timeout=10,
),
replica_name="testSqlServer\\INST1",
)],
),
),
resource_group_name="testrg",
sql_server_instance_name="testSqlServer_INST1",
tags={
"mytag": "myval",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const sqlServerAvailabilityGroup = new azure_native.azurearcdata.SqlServerAvailabilityGroup("sqlServerAvailabilityGroup", {
availabilityGroupName: "testAG",
location: "southeastasia",
properties: {
databases: {
value: [
{
databaseName: "db1",
},
{
databaseName: "db2",
},
],
},
info: {
basicFeatures: false,
dbFailover: true,
dtcSupport: false,
failureConditionLevel: 3,
healthCheckTimeout: 30000,
isContained: false,
isDistributed: false,
requiredSynchronizedSecondariesToCommit: 0,
},
replicas: {
value: [{
configure: {
backupPriority: 50,
endpointUrl: "TCP://mytest60-0.mytest60-svc:5022",
sessionTimeout: 10,
},
replicaName: "testSqlServer\\INST1",
}],
},
},
resourceGroupName: "testrg",
sqlServerInstanceName: "testSqlServer_INST1",
tags: {
mytag: "myval",
},
});
resources:
sqlServerAvailabilityGroup:
type: azure-native:azurearcdata:SqlServerAvailabilityGroup
properties:
availabilityGroupName: testAG
location: southeastasia
properties:
databases:
value:
- databaseName: db1
- databaseName: db2
info:
basicFeatures: false
dbFailover: true
dtcSupport: false
failureConditionLevel: 3
healthCheckTimeout: 30000
isContained: false
isDistributed: false
requiredSynchronizedSecondariesToCommit: 0
replicas:
value:
- configure:
backupPriority: 50
endpointUrl: TCP://mytest60-0.mytest60-svc:5022
sessionTimeout: 10
replicaName: testSqlServer\INST1
resourceGroupName: testrg
sqlServerInstanceName: testSqlServer_INST1
tags:
mytag: myval
Create SqlServerAvailabilityGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SqlServerAvailabilityGroup(name: string, args: SqlServerAvailabilityGroupArgs, opts?: CustomResourceOptions);
@overload
def SqlServerAvailabilityGroup(resource_name: str,
args: SqlServerAvailabilityGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SqlServerAvailabilityGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[SqlServerAvailabilityGroupResourcePropertiesArgs] = None,
resource_group_name: Optional[str] = None,
sql_server_instance_name: Optional[str] = None,
availability_group_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSqlServerAvailabilityGroup(ctx *Context, name string, args SqlServerAvailabilityGroupArgs, opts ...ResourceOption) (*SqlServerAvailabilityGroup, error)
public SqlServerAvailabilityGroup(string name, SqlServerAvailabilityGroupArgs args, CustomResourceOptions? opts = null)
public SqlServerAvailabilityGroup(String name, SqlServerAvailabilityGroupArgs args)
public SqlServerAvailabilityGroup(String name, SqlServerAvailabilityGroupArgs args, CustomResourceOptions options)
type: azure-native:azurearcdata:SqlServerAvailabilityGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SqlServerAvailabilityGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SqlServerAvailabilityGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SqlServerAvailabilityGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SqlServerAvailabilityGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SqlServerAvailabilityGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sqlServerAvailabilityGroupResource = new AzureNative.AzureArcData.SqlServerAvailabilityGroup("sqlServerAvailabilityGroupResource", new()
{
Properties = new AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesArgs
{
Databases = new AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs
{
Value = new[]
{
new AzureNative.AzureArcData.Inputs.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs
{
DatabaseName = "string",
},
},
},
Info = new AzureNative.AzureArcData.Inputs.AvailabilityGroupInfoArgs
{
BasicFeatures = false,
DbFailover = false,
DtcSupport = false,
FailureConditionLevel = 0,
HealthCheckTimeout = 0,
IsContained = false,
IsDistributed = false,
RequiredSynchronizedSecondariesToCommit = 0,
},
Replicas = new AzureNative.AzureArcData.Inputs.SqlServerAvailabilityGroupResourcePropertiesReplicasArgs
{
Value = new[]
{
new AzureNative.AzureArcData.Inputs.SqlAvailabilityGroupReplicaResourcePropertiesArgs
{
Configure = new AzureNative.AzureArcData.Inputs.AvailabilityGroupConfigureArgs
{
BackupPriority = 0,
EndpointUrl = "string",
ReadOnlyRoutingUrl = "string",
ReadWriteRoutingUrl = "string",
SessionTimeout = 0,
},
ReplicaName = "string",
},
},
},
},
ResourceGroupName = "string",
SqlServerInstanceName = "string",
AvailabilityGroupName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := azurearcdata.NewSqlServerAvailabilityGroup(ctx, "sqlServerAvailabilityGroupResource", &azurearcdata.SqlServerAvailabilityGroupArgs{
Properties: &azurearcdata.SqlServerAvailabilityGroupResourcePropertiesArgs{
Databases: &azurearcdata.SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs{
Value: azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArray{
&azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs{
DatabaseName: pulumi.String("string"),
},
},
},
Info: &azurearcdata.AvailabilityGroupInfoArgs{
BasicFeatures: pulumi.Bool(false),
DbFailover: pulumi.Bool(false),
DtcSupport: pulumi.Bool(false),
FailureConditionLevel: pulumi.Int(0),
HealthCheckTimeout: pulumi.Int(0),
IsContained: pulumi.Bool(false),
IsDistributed: pulumi.Bool(false),
RequiredSynchronizedSecondariesToCommit: pulumi.Int(0),
},
Replicas: &azurearcdata.SqlServerAvailabilityGroupResourcePropertiesReplicasArgs{
Value: azurearcdata.SqlAvailabilityGroupReplicaResourcePropertiesArray{
&azurearcdata.SqlAvailabilityGroupReplicaResourcePropertiesArgs{
Configure: &azurearcdata.AvailabilityGroupConfigureArgs{
BackupPriority: pulumi.Int(0),
EndpointUrl: pulumi.String("string"),
ReadOnlyRoutingUrl: pulumi.String("string"),
ReadWriteRoutingUrl: pulumi.String("string"),
SessionTimeout: pulumi.Int(0),
},
ReplicaName: pulumi.String("string"),
},
},
},
},
ResourceGroupName: pulumi.String("string"),
SqlServerInstanceName: pulumi.String("string"),
AvailabilityGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var sqlServerAvailabilityGroupResource = new SqlServerAvailabilityGroup("sqlServerAvailabilityGroupResource", SqlServerAvailabilityGroupArgs.builder()
.properties(SqlServerAvailabilityGroupResourcePropertiesArgs.builder()
.databases(SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs.builder()
.value(SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs.builder()
.databaseName("string")
.build())
.build())
.info(AvailabilityGroupInfoArgs.builder()
.basicFeatures(false)
.dbFailover(false)
.dtcSupport(false)
.failureConditionLevel(0)
.healthCheckTimeout(0)
.isContained(false)
.isDistributed(false)
.requiredSynchronizedSecondariesToCommit(0)
.build())
.replicas(SqlServerAvailabilityGroupResourcePropertiesReplicasArgs.builder()
.value(SqlAvailabilityGroupReplicaResourcePropertiesArgs.builder()
.configure(AvailabilityGroupConfigureArgs.builder()
.backupPriority(0)
.endpointUrl("string")
.readOnlyRoutingUrl("string")
.readWriteRoutingUrl("string")
.sessionTimeout(0)
.build())
.replicaName("string")
.build())
.build())
.build())
.resourceGroupName("string")
.sqlServerInstanceName("string")
.availabilityGroupName("string")
.location("string")
.tags(Map.of("string", "string"))
.build());
sql_server_availability_group_resource = azure_native.azurearcdata.SqlServerAvailabilityGroup("sqlServerAvailabilityGroupResource",
properties=azure_native.azurearcdata.SqlServerAvailabilityGroupResourcePropertiesArgs(
databases=azure_native.azurearcdata.SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs(
value=[azure_native.azurearcdata.SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs(
database_name="string",
)],
),
info=azure_native.azurearcdata.AvailabilityGroupInfoArgs(
basic_features=False,
db_failover=False,
dtc_support=False,
failure_condition_level=0,
health_check_timeout=0,
is_contained=False,
is_distributed=False,
required_synchronized_secondaries_to_commit=0,
),
replicas=azure_native.azurearcdata.SqlServerAvailabilityGroupResourcePropertiesReplicasArgs(
value=[azure_native.azurearcdata.SqlAvailabilityGroupReplicaResourcePropertiesArgs(
configure=azure_native.azurearcdata.AvailabilityGroupConfigureArgs(
backup_priority=0,
endpoint_url="string",
read_only_routing_url="string",
read_write_routing_url="string",
session_timeout=0,
),
replica_name="string",
)],
),
),
resource_group_name="string",
sql_server_instance_name="string",
availability_group_name="string",
location="string",
tags={
"string": "string",
})
const sqlServerAvailabilityGroupResource = new azure_native.azurearcdata.SqlServerAvailabilityGroup("sqlServerAvailabilityGroupResource", {
properties: {
databases: {
value: [{
databaseName: "string",
}],
},
info: {
basicFeatures: false,
dbFailover: false,
dtcSupport: false,
failureConditionLevel: 0,
healthCheckTimeout: 0,
isContained: false,
isDistributed: false,
requiredSynchronizedSecondariesToCommit: 0,
},
replicas: {
value: [{
configure: {
backupPriority: 0,
endpointUrl: "string",
readOnlyRoutingUrl: "string",
readWriteRoutingUrl: "string",
sessionTimeout: 0,
},
replicaName: "string",
}],
},
},
resourceGroupName: "string",
sqlServerInstanceName: "string",
availabilityGroupName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:azurearcdata:SqlServerAvailabilityGroup
properties:
availabilityGroupName: string
location: string
properties:
databases:
value:
- databaseName: string
info:
basicFeatures: false
dbFailover: false
dtcSupport: false
failureConditionLevel: 0
healthCheckTimeout: 0
isContained: false
isDistributed: false
requiredSynchronizedSecondariesToCommit: 0
replicas:
value:
- configure:
backupPriority: 0
endpointUrl: string
readOnlyRoutingUrl: string
readWriteRoutingUrl: string
sessionTimeout: 0
replicaName: string
resourceGroupName: string
sqlServerInstanceName: string
tags:
string: string
SqlServerAvailabilityGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SqlServerAvailabilityGroup resource accepts the following input properties:
- Properties
Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Server Availability Group Resource Properties - Properties of Arc Sql Server availability group
- Resource
Group stringName - The name of the Azure resource group
- Sql
Server stringInstance Name - Name of SQL Server Instance
- Availability
Group stringName - Name of SQL Availability Group
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Properties
Sql
Server Availability Group Resource Properties Args - Properties of Arc Sql Server availability group
- Resource
Group stringName - The name of the Azure resource group
- Sql
Server stringInstance Name - Name of SQL Server Instance
- Availability
Group stringName - Name of SQL Availability Group
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- properties
Sql
Server Availability Group Resource Properties - Properties of Arc Sql Server availability group
- resource
Group StringName - The name of the Azure resource group
- sql
Server StringInstance Name - Name of SQL Server Instance
- availability
Group StringName - Name of SQL Availability Group
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- properties
Sql
Server Availability Group Resource Properties - Properties of Arc Sql Server availability group
- resource
Group stringName - The name of the Azure resource group
- sql
Server stringInstance Name - Name of SQL Server Instance
- availability
Group stringName - Name of SQL Availability Group
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- properties
Sql
Server Availability Group Resource Properties Args - Properties of Arc Sql Server availability group
- resource_
group_ strname - The name of the Azure resource group
- sql_
server_ strinstance_ name - Name of SQL Server Instance
- availability_
group_ strname - Name of SQL Availability Group
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- properties Property Map
- Properties of Arc Sql Server availability group
- resource
Group StringName - The name of the Azure resource group
- sql
Server StringInstance Name - Name of SQL Server Instance
- availability
Group StringName - Name of SQL Availability Group
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SqlServerAvailabilityGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Azure Arc Data. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AvailabilityGroupConfigure, AvailabilityGroupConfigureArgs
- Backup
Priority int - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- Endpoint
Url string - Mirroring endpoint URL of availability group replica
- Read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- Read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- Session
Timeout int - The time-out period of availability group session replica, in seconds.
- Backup
Priority int - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- Endpoint
Url string - Mirroring endpoint URL of availability group replica
- Read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- Read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- Session
Timeout int - The time-out period of availability group session replica, in seconds.
- backup
Priority Integer - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url String - Mirroring endpoint URL of availability group replica
- read
Only StringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write StringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout Integer - The time-out period of availability group session replica, in seconds.
- backup
Priority number - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url string - Mirroring endpoint URL of availability group replica
- read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout number - The time-out period of availability group session replica, in seconds.
- backup_
priority int - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint_
url str - Mirroring endpoint URL of availability group replica
- read_
only_ strrouting_ url - Connectivity endpoint (URL) of the read only availability replica.
- read_
write_ strrouting_ url - Connectivity endpoint (URL) of the read write availability replica.
- session_
timeout int - The time-out period of availability group session replica, in seconds.
- backup
Priority Number - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url String - Mirroring endpoint URL of availability group replica
- read
Only StringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write StringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout Number - The time-out period of availability group session replica, in seconds.
AvailabilityGroupConfigureResponse, AvailabilityGroupConfigureResponseArgs
- Availability
Mode stringDescription - The Availability Synchronization mode of the availability group replica.
- Failover
Mode stringDescription - The failover mode of the availability group replica.
- Primary
Role stringAllow Connections Description - Whether the availability allows all connections or only read-write connections.
- Replica
Create stringDate - Date that the replica was created.
- Replica
Modify stringDate - Date that the replica was modified.
- Secondary
Role stringAllow Connections Description - Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
- Seeding
Mode stringDescription - Describes seeding mode.
- Backup
Priority int - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- Endpoint
Url string - Mirroring endpoint URL of availability group replica
- Read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- Read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- Session
Timeout int - The time-out period of availability group session replica, in seconds.
- Availability
Mode stringDescription - The Availability Synchronization mode of the availability group replica.
- Failover
Mode stringDescription - The failover mode of the availability group replica.
- Primary
Role stringAllow Connections Description - Whether the availability allows all connections or only read-write connections.
- Replica
Create stringDate - Date that the replica was created.
- Replica
Modify stringDate - Date that the replica was modified.
- Secondary
Role stringAllow Connections Description - Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
- Seeding
Mode stringDescription - Describes seeding mode.
- Backup
Priority int - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- Endpoint
Url string - Mirroring endpoint URL of availability group replica
- Read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- Read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- Session
Timeout int - The time-out period of availability group session replica, in seconds.
- availability
Mode StringDescription - The Availability Synchronization mode of the availability group replica.
- failover
Mode StringDescription - The failover mode of the availability group replica.
- primary
Role StringAllow Connections Description - Whether the availability allows all connections or only read-write connections.
- replica
Create StringDate - Date that the replica was created.
- replica
Modify StringDate - Date that the replica was modified.
- secondary
Role StringAllow Connections Description - Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
- seeding
Mode StringDescription - Describes seeding mode.
- backup
Priority Integer - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url String - Mirroring endpoint URL of availability group replica
- read
Only StringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write StringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout Integer - The time-out period of availability group session replica, in seconds.
- availability
Mode stringDescription - The Availability Synchronization mode of the availability group replica.
- failover
Mode stringDescription - The failover mode of the availability group replica.
- primary
Role stringAllow Connections Description - Whether the availability allows all connections or only read-write connections.
- replica
Create stringDate - Date that the replica was created.
- replica
Modify stringDate - Date that the replica was modified.
- secondary
Role stringAllow Connections Description - Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
- seeding
Mode stringDescription - Describes seeding mode.
- backup
Priority number - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url string - Mirroring endpoint URL of availability group replica
- read
Only stringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write stringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout number - The time-out period of availability group session replica, in seconds.
- availability_
mode_ strdescription - The Availability Synchronization mode of the availability group replica.
- failover_
mode_ strdescription - The failover mode of the availability group replica.
- primary_
role_ strallow_ connections_ description - Whether the availability allows all connections or only read-write connections.
- replica_
create_ strdate - Date that the replica was created.
- replica_
modify_ strdate - Date that the replica was modified.
- secondary_
role_ strallow_ connections_ description - Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
- seeding_
mode_ strdescription - Describes seeding mode.
- backup_
priority int - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint_
url str - Mirroring endpoint URL of availability group replica
- read_
only_ strrouting_ url - Connectivity endpoint (URL) of the read only availability replica.
- read_
write_ strrouting_ url - Connectivity endpoint (URL) of the read write availability replica.
- session_
timeout int - The time-out period of availability group session replica, in seconds.
- availability
Mode StringDescription - The Availability Synchronization mode of the availability group replica.
- failover
Mode StringDescription - The failover mode of the availability group replica.
- primary
Role StringAllow Connections Description - Whether the availability allows all connections or only read-write connections.
- replica
Create StringDate - Date that the replica was created.
- replica
Modify StringDate - Date that the replica was modified.
- secondary
Role StringAllow Connections Description - Whether an availability replica that is performing the secondary role (that is, a secondary replica) can accept connections from clients.
- seeding
Mode StringDescription - Describes seeding mode.
- backup
Priority Number - Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.
- endpoint
Url String - Mirroring endpoint URL of availability group replica
- read
Only StringRouting Url - Connectivity endpoint (URL) of the read only availability replica.
- read
Write StringRouting Url - Connectivity endpoint (URL) of the read write availability replica.
- session
Timeout Number - The time-out period of availability group session replica, in seconds.
AvailabilityGroupInfo, AvailabilityGroupInfoArgs
- Basic
Features bool - Specifies whether this is a basic availability group.
- Db
Failover bool - Specifies whether the availability group supports failover for database health conditions.
- Dtc
Support bool - Specifies whether DTC support has been enabled for this availability group.
- Failure
Condition intLevel - User-defined failure condition level under which an automatic failover must be triggered.
- Health
Check intTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- Is
Contained bool - SQL Server availability group contained system databases.
- Is
Distributed bool - Specifies whether this is a distributed availability group.
- Required
Synchronized intSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- Basic
Features bool - Specifies whether this is a basic availability group.
- Db
Failover bool - Specifies whether the availability group supports failover for database health conditions.
- Dtc
Support bool - Specifies whether DTC support has been enabled for this availability group.
- Failure
Condition intLevel - User-defined failure condition level under which an automatic failover must be triggered.
- Health
Check intTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- Is
Contained bool - SQL Server availability group contained system databases.
- Is
Distributed bool - Specifies whether this is a distributed availability group.
- Required
Synchronized intSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- basic
Features Boolean - Specifies whether this is a basic availability group.
- db
Failover Boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support Boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition IntegerLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check IntegerTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is
Contained Boolean - SQL Server availability group contained system databases.
- is
Distributed Boolean - Specifies whether this is a distributed availability group.
- required
Synchronized IntegerSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- basic
Features boolean - Specifies whether this is a basic availability group.
- db
Failover boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition numberLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check numberTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is
Contained boolean - SQL Server availability group contained system databases.
- is
Distributed boolean - Specifies whether this is a distributed availability group.
- required
Synchronized numberSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- basic_
features bool - Specifies whether this is a basic availability group.
- db_
failover bool - Specifies whether the availability group supports failover for database health conditions.
- dtc_
support bool - Specifies whether DTC support has been enabled for this availability group.
- failure_
condition_ intlevel - User-defined failure condition level under which an automatic failover must be triggered.
- health_
check_ inttimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is_
contained bool - SQL Server availability group contained system databases.
- is_
distributed bool - Specifies whether this is a distributed availability group.
- required_
synchronized_ intsecondaries_ to_ commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- basic
Features Boolean - Specifies whether this is a basic availability group.
- db
Failover Boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support Boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition NumberLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check NumberTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is
Contained Boolean - SQL Server availability group contained system databases.
- is
Distributed Boolean - Specifies whether this is a distributed availability group.
- required
Synchronized NumberSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
AvailabilityGroupInfoResponse, AvailabilityGroupInfoResponseArgs
- Automated
Backup stringPreference Description - Preferred location for performing backups on the availability databases in this availability group.
- Cluster
Type stringDescription - SQL Server availability group cluster type description
- Primary
Recovery stringHealth Description - Indicates the recovery health of the primary replica.
- Primary
Replica string - Name of the server instance that is hosting the current primary replica.
- Replication
Partner stringType - Secondary
Recovery stringHealth Description - Indicates the recovery health of a secondary replica.
- Synchronization
Health stringDescription - Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
- Version int
- SQL Server availability group current version.
- Basic
Features bool - Specifies whether this is a basic availability group.
- Db
Failover bool - Specifies whether the availability group supports failover for database health conditions.
- Dtc
Support bool - Specifies whether DTC support has been enabled for this availability group.
- Failure
Condition intLevel - User-defined failure condition level under which an automatic failover must be triggered.
- Health
Check intTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- Is
Contained bool - SQL Server availability group contained system databases.
- Is
Distributed bool - Specifies whether this is a distributed availability group.
- Required
Synchronized intSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- Automated
Backup stringPreference Description - Preferred location for performing backups on the availability databases in this availability group.
- Cluster
Type stringDescription - SQL Server availability group cluster type description
- Primary
Recovery stringHealth Description - Indicates the recovery health of the primary replica.
- Primary
Replica string - Name of the server instance that is hosting the current primary replica.
- Replication
Partner stringType - Secondary
Recovery stringHealth Description - Indicates the recovery health of a secondary replica.
- Synchronization
Health stringDescription - Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
- Version int
- SQL Server availability group current version.
- Basic
Features bool - Specifies whether this is a basic availability group.
- Db
Failover bool - Specifies whether the availability group supports failover for database health conditions.
- Dtc
Support bool - Specifies whether DTC support has been enabled for this availability group.
- Failure
Condition intLevel - User-defined failure condition level under which an automatic failover must be triggered.
- Health
Check intTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- Is
Contained bool - SQL Server availability group contained system databases.
- Is
Distributed bool - Specifies whether this is a distributed availability group.
- Required
Synchronized intSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- automated
Backup StringPreference Description - Preferred location for performing backups on the availability databases in this availability group.
- cluster
Type StringDescription - SQL Server availability group cluster type description
- primary
Recovery StringHealth Description - Indicates the recovery health of the primary replica.
- primary
Replica String - Name of the server instance that is hosting the current primary replica.
- replication
Partner StringType - secondary
Recovery StringHealth Description - Indicates the recovery health of a secondary replica.
- synchronization
Health StringDescription - Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
- version Integer
- SQL Server availability group current version.
- basic
Features Boolean - Specifies whether this is a basic availability group.
- db
Failover Boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support Boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition IntegerLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check IntegerTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is
Contained Boolean - SQL Server availability group contained system databases.
- is
Distributed Boolean - Specifies whether this is a distributed availability group.
- required
Synchronized IntegerSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- automated
Backup stringPreference Description - Preferred location for performing backups on the availability databases in this availability group.
- cluster
Type stringDescription - SQL Server availability group cluster type description
- primary
Recovery stringHealth Description - Indicates the recovery health of the primary replica.
- primary
Replica string - Name of the server instance that is hosting the current primary replica.
- replication
Partner stringType - secondary
Recovery stringHealth Description - Indicates the recovery health of a secondary replica.
- synchronization
Health stringDescription - Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
- version number
- SQL Server availability group current version.
- basic
Features boolean - Specifies whether this is a basic availability group.
- db
Failover boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition numberLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check numberTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is
Contained boolean - SQL Server availability group contained system databases.
- is
Distributed boolean - Specifies whether this is a distributed availability group.
- required
Synchronized numberSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- automated_
backup_ strpreference_ description - Preferred location for performing backups on the availability databases in this availability group.
- cluster_
type_ strdescription - SQL Server availability group cluster type description
- primary_
recovery_ strhealth_ description - Indicates the recovery health of the primary replica.
- primary_
replica str - Name of the server instance that is hosting the current primary replica.
- replication_
partner_ strtype - secondary_
recovery_ strhealth_ description - Indicates the recovery health of a secondary replica.
- synchronization_
health_ strdescription - Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
- version int
- SQL Server availability group current version.
- basic_
features bool - Specifies whether this is a basic availability group.
- db_
failover bool - Specifies whether the availability group supports failover for database health conditions.
- dtc_
support bool - Specifies whether DTC support has been enabled for this availability group.
- failure_
condition_ intlevel - User-defined failure condition level under which an automatic failover must be triggered.
- health_
check_ inttimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is_
contained bool - SQL Server availability group contained system databases.
- is_
distributed bool - Specifies whether this is a distributed availability group.
- required_
synchronized_ intsecondaries_ to_ commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
- automated
Backup StringPreference Description - Preferred location for performing backups on the availability databases in this availability group.
- cluster
Type StringDescription - SQL Server availability group cluster type description
- primary
Recovery StringHealth Description - Indicates the recovery health of the primary replica.
- primary
Replica String - Name of the server instance that is hosting the current primary replica.
- replication
Partner StringType - secondary
Recovery StringHealth Description - Indicates the recovery health of a secondary replica.
- synchronization
Health StringDescription - Reflects a roll-up of the synchronization health of all availability replicas in the availability group.
- version Number
- SQL Server availability group current version.
- basic
Features Boolean - Specifies whether this is a basic availability group.
- db
Failover Boolean - Specifies whether the availability group supports failover for database health conditions.
- dtc
Support Boolean - Specifies whether DTC support has been enabled for this availability group.
- failure
Condition NumberLevel - User-defined failure condition level under which an automatic failover must be triggered.
- health
Check NumberTimeout - Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.
- is
Contained Boolean - SQL Server availability group contained system databases.
- is
Distributed Boolean - Specifies whether this is a distributed availability group.
- required
Synchronized NumberSecondaries To Commit - The number of secondary replicas that must be in a synchronized state for a commit to complete.
AvailabilityGroupStateResponse, AvailabilityGroupStateResponseArgs
- Availability
Group stringReplica Role - Current Always On availability groups role of the availability group replica.
- Connected
State stringDescription - Whether a secondary replica is currently connected to the primary replica.
- Last
Connect stringError Description - Text description of the last connection error of the availability group replica.
- Last
Connect stringError Timestamp - Date and time timestamp indicating when the last connect error occurred.
- Operational
State stringDescription - Current operational state of the availability group replica
- Recovery
Health stringDescription - Recovery health of the availability group replica.
- Synchronization
Health stringDescription - Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
- Availability
Group stringReplica Role - Current Always On availability groups role of the availability group replica.
- Connected
State stringDescription - Whether a secondary replica is currently connected to the primary replica.
- Last
Connect stringError Description - Text description of the last connection error of the availability group replica.
- Last
Connect stringError Timestamp - Date and time timestamp indicating when the last connect error occurred.
- Operational
State stringDescription - Current operational state of the availability group replica
- Recovery
Health stringDescription - Recovery health of the availability group replica.
- Synchronization
Health stringDescription - Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
- availability
Group StringReplica Role - Current Always On availability groups role of the availability group replica.
- connected
State StringDescription - Whether a secondary replica is currently connected to the primary replica.
- last
Connect StringError Description - Text description of the last connection error of the availability group replica.
- last
Connect StringError Timestamp - Date and time timestamp indicating when the last connect error occurred.
- operational
State StringDescription - Current operational state of the availability group replica
- recovery
Health StringDescription - Recovery health of the availability group replica.
- synchronization
Health StringDescription - Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
- availability
Group stringReplica Role - Current Always On availability groups role of the availability group replica.
- connected
State stringDescription - Whether a secondary replica is currently connected to the primary replica.
- last
Connect stringError Description - Text description of the last connection error of the availability group replica.
- last
Connect stringError Timestamp - Date and time timestamp indicating when the last connect error occurred.
- operational
State stringDescription - Current operational state of the availability group replica
- recovery
Health stringDescription - Recovery health of the availability group replica.
- synchronization
Health stringDescription - Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
- availability_
group_ strreplica_ role - Current Always On availability groups role of the availability group replica.
- connected_
state_ strdescription - Whether a secondary replica is currently connected to the primary replica.
- last_
connect_ strerror_ description - Text description of the last connection error of the availability group replica.
- last_
connect_ strerror_ timestamp - Date and time timestamp indicating when the last connect error occurred.
- operational_
state_ strdescription - Current operational state of the availability group replica
- recovery_
health_ strdescription - Recovery health of the availability group replica.
- synchronization_
health_ strdescription - Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
- availability
Group StringReplica Role - Current Always On availability groups role of the availability group replica.
- connected
State StringDescription - Whether a secondary replica is currently connected to the primary replica.
- last
Connect StringError Description - Text description of the last connection error of the availability group replica.
- last
Connect StringError Timestamp - Date and time timestamp indicating when the last connect error occurred.
- operational
State StringDescription - Current operational state of the availability group replica
- recovery
Health StringDescription - Recovery health of the availability group replica.
- synchronization
Health StringDescription - Reflects a rollup of the database synchronization state (synchronization_state) of all joined availability databases (also known as replicas) and the availability mode of the replica (synchronous-commit or asynchronous-commit mode). The rollup will reflect the least healthy accumulated state the databases on the replica.
SqlAvailabilityGroupDatabaseReplicaResourceProperties, SqlAvailabilityGroupDatabaseReplicaResourcePropertiesArgs
- Database
Name string - the database name.
- Database
Name string - the database name.
- database
Name String - the database name.
- database
Name string - the database name.
- database_
name str - the database name.
- database
Name String - the database name.
SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponse, SqlAvailabilityGroupDatabaseReplicaResourcePropertiesResponseArgs
- Database
State stringDescription - Description of the database state of the availability replica.
- Is
Commit boolParticipant - Whether this replica is transaction committer.
- Is
Local bool - Whether the availability database is local.
- Is
Primary boolReplica - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- Is
Suspended bool - Whether this data movement is suspended.
- Replica
Name string - the database replica name.
- Suspend
Reason stringDescription - Description of the database suspended state reason.
- Synchronization
Health stringDescription - Description of the health of database.
- Synchronization
State stringDescription - Description of the data-movement state.
- Database
Name string - the database name.
- Database
State stringDescription - Description of the database state of the availability replica.
- Is
Commit boolParticipant - Whether this replica is transaction committer.
- Is
Local bool - Whether the availability database is local.
- Is
Primary boolReplica - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- Is
Suspended bool - Whether this data movement is suspended.
- Replica
Name string - the database replica name.
- Suspend
Reason stringDescription - Description of the database suspended state reason.
- Synchronization
Health stringDescription - Description of the health of database.
- Synchronization
State stringDescription - Description of the data-movement state.
- Database
Name string - the database name.
- database
State StringDescription - Description of the database state of the availability replica.
- is
Commit BooleanParticipant - Whether this replica is transaction committer.
- is
Local Boolean - Whether the availability database is local.
- is
Primary BooleanReplica - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- is
Suspended Boolean - Whether this data movement is suspended.
- replica
Name String - the database replica name.
- suspend
Reason StringDescription - Description of the database suspended state reason.
- synchronization
Health StringDescription - Description of the health of database.
- synchronization
State StringDescription - Description of the data-movement state.
- database
Name String - the database name.
- database
State stringDescription - Description of the database state of the availability replica.
- is
Commit booleanParticipant - Whether this replica is transaction committer.
- is
Local boolean - Whether the availability database is local.
- is
Primary booleanReplica - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- is
Suspended boolean - Whether this data movement is suspended.
- replica
Name string - the database replica name.
- suspend
Reason stringDescription - Description of the database suspended state reason.
- synchronization
Health stringDescription - Description of the health of database.
- synchronization
State stringDescription - Description of the data-movement state.
- database
Name string - the database name.
- database_
state_ strdescription - Description of the database state of the availability replica.
- is_
commit_ boolparticipant - Whether this replica is transaction committer.
- is_
local bool - Whether the availability database is local.
- is_
primary_ boolreplica - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- is_
suspended bool - Whether this data movement is suspended.
- replica_
name str - the database replica name.
- suspend_
reason_ strdescription - Description of the database suspended state reason.
- synchronization_
health_ strdescription - Description of the health of database.
- synchronization_
state_ strdescription - Description of the data-movement state.
- database_
name str - the database name.
- database
State StringDescription - Description of the database state of the availability replica.
- is
Commit BooleanParticipant - Whether this replica is transaction committer.
- is
Local Boolean - Whether the availability database is local.
- is
Primary BooleanReplica - Returns 1 if the replica is primary, or 0 if it is a secondary replica.
- is
Suspended Boolean - Whether this data movement is suspended.
- replica
Name String - the database replica name.
- suspend
Reason StringDescription - Description of the database suspended state reason.
- synchronization
Health StringDescription - Description of the health of database.
- synchronization
State StringDescription - Description of the data-movement state.
- database
Name String - the database name.
SqlAvailabilityGroupReplicaResourceProperties, SqlAvailabilityGroupReplicaResourcePropertiesArgs
- Configure
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group Configure - null
- Replica
Name string - the replica name.
- Configure
Availability
Group Configure - null
- Replica
Name string - the replica name.
- configure
Availability
Group Configure - null
- replica
Name String - the replica name.
- configure
Availability
Group Configure - null
- replica
Name string - the replica name.
- configure
Availability
Group Configure - null
- replica_
name str - the replica name.
- configure Property Map
- null
- replica
Name String - the replica name.
SqlAvailabilityGroupReplicaResourcePropertiesResponse, SqlAvailabilityGroupReplicaResourcePropertiesResponseArgs
- Replica
Id string - ID GUID of the availability group.
- Configure
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group Configure Response - null
- Replica
Name string - the replica name.
- State
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group State Response - null
- Replica
Id string - ID GUID of the availability group.
- Configure
Availability
Group Configure Response - null
- Replica
Name string - the replica name.
- State
Availability
Group State Response - null
- replica
Id String - ID GUID of the availability group.
- configure
Availability
Group Configure Response - null
- replica
Name String - the replica name.
- state
Availability
Group State Response - null
- replica
Id string - ID GUID of the availability group.
- configure
Availability
Group Configure Response - null
- replica
Name string - the replica name.
- state
Availability
Group State Response - null
- replica_
id str - ID GUID of the availability group.
- configure
Availability
Group Configure Response - null
- replica_
name str - the replica name.
- state
Availability
Group State Response - null
- replica
Id String - ID GUID of the availability group.
- configure Property Map
- null
- replica
Name String - the replica name.
- state Property Map
- null
SqlServerAvailabilityGroupResourceProperties, SqlServerAvailabilityGroupResourcePropertiesArgs
- Databases
Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Server Availability Group Resource Properties Databases - A list of Availability Group Database Replicas.
- Info
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group Info - Availability Group Info
- Replicas
Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Server Availability Group Resource Properties Replicas - A list of Availability Group Replicas.
- Databases
Sql
Server Availability Group Resource Properties Databases - A list of Availability Group Database Replicas.
- Info
Availability
Group Info - Availability Group Info
- Replicas
Sql
Server Availability Group Resource Properties Replicas - A list of Availability Group Replicas.
- databases
Sql
Server Availability Group Resource Properties Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Replicas - A list of Availability Group Replicas.
- databases
Sql
Server Availability Group Resource Properties Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Replicas - A list of Availability Group Replicas.
- databases
Sql
Server Availability Group Resource Properties Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Replicas - A list of Availability Group Replicas.
- databases Property Map
- A list of Availability Group Database Replicas.
- info Property Map
- Availability Group Info
- replicas Property Map
- A list of Availability Group Replicas.
SqlServerAvailabilityGroupResourcePropertiesDatabases, SqlServerAvailabilityGroupResourcePropertiesDatabasesArgs
- Value
List<Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Availability Group Database Replica Resource Properties> - Array of Availability Group Database Replicas.
- Value
[]Sql
Availability Group Database Replica Resource Properties - Array of Availability Group Database Replicas.
- value
List<Sql
Availability Group Database Replica Resource Properties> - Array of Availability Group Database Replicas.
- value
Sql
Availability Group Database Replica Resource Properties[] - Array of Availability Group Database Replicas.
- value
Sequence[Sql
Availability Group Database Replica Resource Properties] - Array of Availability Group Database Replicas.
- value List<Property Map>
- Array of Availability Group Database Replicas.
SqlServerAvailabilityGroupResourcePropertiesReplicas, SqlServerAvailabilityGroupResourcePropertiesReplicasArgs
- Value
List<Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Availability Group Replica Resource Properties> - Array of Availability Group Replicas.
- Value
[]Sql
Availability Group Replica Resource Properties - Array of Availability Group Replicas.
- value
List<Sql
Availability Group Replica Resource Properties> - Array of Availability Group Replicas.
- value
Sql
Availability Group Replica Resource Properties[] - Array of Availability Group Replicas.
- value
Sequence[Sql
Availability Group Replica Resource Properties] - Array of Availability Group Replicas.
- value List<Property Map>
- Array of Availability Group Replicas.
SqlServerAvailabilityGroupResourcePropertiesResponse, SqlServerAvailabilityGroupResourcePropertiesResponseArgs
- Availability
Group stringId - ID GUID of the availability group.
- Collection
Timestamp string - Timestamp for when the data was collected from the client machine.
- Instance
Name string - the SQL Server Instance name.
- Provisioning
State string - The provisioning state of the Arc-enabled SQL Server availability group resource.
- Server
Name string - the SQL server name.
- Databases
Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- Info
Pulumi.
Azure Native. Azure Arc Data. Inputs. Availability Group Info Response - Availability Group Info
- Replicas
Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- Availability
Group stringId - ID GUID of the availability group.
- Collection
Timestamp string - Timestamp for when the data was collected from the client machine.
- Instance
Name string - the SQL Server Instance name.
- Provisioning
State string - The provisioning state of the Arc-enabled SQL Server availability group resource.
- Server
Name string - the SQL server name.
- Databases
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- Info
Availability
Group Info Response - Availability Group Info
- Replicas
Sql
Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- availability
Group StringId - ID GUID of the availability group.
- collection
Timestamp String - Timestamp for when the data was collected from the client machine.
- instance
Name String - the SQL Server Instance name.
- provisioning
State String - The provisioning state of the Arc-enabled SQL Server availability group resource.
- server
Name String - the SQL server name.
- databases
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info Response - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- availability
Group stringId - ID GUID of the availability group.
- collection
Timestamp string - Timestamp for when the data was collected from the client machine.
- instance
Name string - the SQL Server Instance name.
- provisioning
State string - The provisioning state of the Arc-enabled SQL Server availability group resource.
- server
Name string - the SQL server name.
- databases
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info Response - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- availability_
group_ strid - ID GUID of the availability group.
- collection_
timestamp str - Timestamp for when the data was collected from the client machine.
- instance_
name str - the SQL Server Instance name.
- provisioning_
state str - The provisioning state of the Arc-enabled SQL Server availability group resource.
- server_
name str - the SQL server name.
- databases
Sql
Server Availability Group Resource Properties Response Databases - A list of Availability Group Database Replicas.
- info
Availability
Group Info Response - Availability Group Info
- replicas
Sql
Server Availability Group Resource Properties Response Replicas - A list of Availability Group Replicas.
- availability
Group StringId - ID GUID of the availability group.
- collection
Timestamp String - Timestamp for when the data was collected from the client machine.
- instance
Name String - the SQL Server Instance name.
- provisioning
State String - The provisioning state of the Arc-enabled SQL Server availability group resource.
- server
Name String - the SQL server name.
- databases Property Map
- A list of Availability Group Database Replicas.
- info Property Map
- Availability Group Info
- replicas Property Map
- A list of Availability Group Replicas.
SqlServerAvailabilityGroupResourcePropertiesResponseDatabases, SqlServerAvailabilityGroupResourcePropertiesResponseDatabasesArgs
- Next
Link string - Link to retrieve next page of results.
- Value
List<Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Availability Group Database Replica Resource Properties Response> - Array of Availability Group Database Replicas.
- Next
Link string - Link to retrieve next page of results.
- Value
[]Sql
Availability Group Database Replica Resource Properties Response - Array of Availability Group Database Replicas.
- next
Link String - Link to retrieve next page of results.
- value
List<Sql
Availability Group Database Replica Resource Properties Response> - Array of Availability Group Database Replicas.
- next
Link string - Link to retrieve next page of results.
- value
Sql
Availability Group Database Replica Resource Properties Response[] - Array of Availability Group Database Replicas.
- next_
link str - Link to retrieve next page of results.
- value
Sequence[Sql
Availability Group Database Replica Resource Properties Response] - Array of Availability Group Database Replicas.
- next
Link String - Link to retrieve next page of results.
- value List<Property Map>
- Array of Availability Group Database Replicas.
SqlServerAvailabilityGroupResourcePropertiesResponseReplicas, SqlServerAvailabilityGroupResourcePropertiesResponseReplicasArgs
- Next
Link string - Link to retrieve next page of results.
- Value
List<Pulumi.
Azure Native. Azure Arc Data. Inputs. Sql Availability Group Replica Resource Properties Response> - Array of Availability Group Replicas.
- Next
Link string - Link to retrieve next page of results.
- Value
[]Sql
Availability Group Replica Resource Properties Response - Array of Availability Group Replicas.
- next
Link String - Link to retrieve next page of results.
- value
List<Sql
Availability Group Replica Resource Properties Response> - Array of Availability Group Replicas.
- next
Link string - Link to retrieve next page of results.
- value
Sql
Availability Group Replica Resource Properties Response[] - Array of Availability Group Replicas.
- next_
link str - Link to retrieve next page of results.
- value
Sequence[Sql
Availability Group Replica Resource Properties Response] - Array of Availability Group Replicas.
- next
Link String - Link to retrieve next page of results.
- value List<Property Map>
- Array of Availability Group Replicas.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurearcdata:SqlServerAvailabilityGroup testAG /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0