This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.sql.getDistributedAvailabilityGroup
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets a distributed availability group info. Azure REST API version: 2021-11-01.
Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview.
Using getDistributedAvailabilityGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDistributedAvailabilityGroup(args: GetDistributedAvailabilityGroupArgs, opts?: InvokeOptions): Promise<GetDistributedAvailabilityGroupResult>
function getDistributedAvailabilityGroupOutput(args: GetDistributedAvailabilityGroupOutputArgs, opts?: InvokeOptions): Output<GetDistributedAvailabilityGroupResult>
def get_distributed_availability_group(distributed_availability_group_name: Optional[str] = None,
managed_instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDistributedAvailabilityGroupResult
def get_distributed_availability_group_output(distributed_availability_group_name: Optional[pulumi.Input[str]] = None,
managed_instance_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDistributedAvailabilityGroupResult]
func LookupDistributedAvailabilityGroup(ctx *Context, args *LookupDistributedAvailabilityGroupArgs, opts ...InvokeOption) (*LookupDistributedAvailabilityGroupResult, error)
func LookupDistributedAvailabilityGroupOutput(ctx *Context, args *LookupDistributedAvailabilityGroupOutputArgs, opts ...InvokeOption) LookupDistributedAvailabilityGroupResultOutput
> Note: This function is named LookupDistributedAvailabilityGroup
in the Go SDK.
public static class GetDistributedAvailabilityGroup
{
public static Task<GetDistributedAvailabilityGroupResult> InvokeAsync(GetDistributedAvailabilityGroupArgs args, InvokeOptions? opts = null)
public static Output<GetDistributedAvailabilityGroupResult> Invoke(GetDistributedAvailabilityGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDistributedAvailabilityGroupResult> getDistributedAvailabilityGroup(GetDistributedAvailabilityGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getDistributedAvailabilityGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Distributed
Availability stringGroup Name - The distributed availability group name.
- Managed
Instance stringName - The name of the managed instance.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Distributed
Availability stringGroup Name - The distributed availability group name.
- Managed
Instance stringName - The name of the managed instance.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- distributed
Availability StringGroup Name - The distributed availability group name.
- managed
Instance StringName - The name of the managed instance.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- distributed
Availability stringGroup Name - The distributed availability group name.
- managed
Instance stringName - The name of the managed instance.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- distributed_
availability_ strgroup_ name - The distributed availability group name.
- managed_
instance_ strname - The name of the managed instance.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- distributed
Availability StringGroup Name - The distributed availability group name.
- managed
Instance StringName - The name of the managed instance.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
getDistributedAvailabilityGroup Result
The following output properties are available:
- Distributed
Availability stringGroup Id - The distributed availability group id
- Id string
- Resource ID.
- Last
Hardened stringLsn - The last hardened lsn
- Link
State string - The link state
- Name string
- Resource name.
- Source
Replica stringId - The source replica id
- Target
Replica stringId - The target replica id
- Type string
- Resource type.
- Primary
Availability stringGroup Name - The primary availability group name
- Replication
Mode string - The replication mode of a distributed availability group. Parameter will be ignored during link creation.
- Secondary
Availability stringGroup Name - The secondary availability group name
- Source
Endpoint string - The source endpoint
- Target
Database string - The name of the target database
- Distributed
Availability stringGroup Id - The distributed availability group id
- Id string
- Resource ID.
- Last
Hardened stringLsn - The last hardened lsn
- Link
State string - The link state
- Name string
- Resource name.
- Source
Replica stringId - The source replica id
- Target
Replica stringId - The target replica id
- Type string
- Resource type.
- Primary
Availability stringGroup Name - The primary availability group name
- Replication
Mode string - The replication mode of a distributed availability group. Parameter will be ignored during link creation.
- Secondary
Availability stringGroup Name - The secondary availability group name
- Source
Endpoint string - The source endpoint
- Target
Database string - The name of the target database
- distributed
Availability StringGroup Id - The distributed availability group id
- id String
- Resource ID.
- last
Hardened StringLsn - The last hardened lsn
- link
State String - The link state
- name String
- Resource name.
- source
Replica StringId - The source replica id
- target
Replica StringId - The target replica id
- type String
- Resource type.
- primary
Availability StringGroup Name - The primary availability group name
- replication
Mode String - The replication mode of a distributed availability group. Parameter will be ignored during link creation.
- secondary
Availability StringGroup Name - The secondary availability group name
- source
Endpoint String - The source endpoint
- target
Database String - The name of the target database
- distributed
Availability stringGroup Id - The distributed availability group id
- id string
- Resource ID.
- last
Hardened stringLsn - The last hardened lsn
- link
State string - The link state
- name string
- Resource name.
- source
Replica stringId - The source replica id
- target
Replica stringId - The target replica id
- type string
- Resource type.
- primary
Availability stringGroup Name - The primary availability group name
- replication
Mode string - The replication mode of a distributed availability group. Parameter will be ignored during link creation.
- secondary
Availability stringGroup Name - The secondary availability group name
- source
Endpoint string - The source endpoint
- target
Database string - The name of the target database
- distributed_
availability_ strgroup_ id - The distributed availability group id
- id str
- Resource ID.
- last_
hardened_ strlsn - The last hardened lsn
- link_
state str - The link state
- name str
- Resource name.
- source_
replica_ strid - The source replica id
- target_
replica_ strid - The target replica id
- type str
- Resource type.
- primary_
availability_ strgroup_ name - The primary availability group name
- replication_
mode str - The replication mode of a distributed availability group. Parameter will be ignored during link creation.
- secondary_
availability_ strgroup_ name - The secondary availability group name
- source_
endpoint str - The source endpoint
- target_
database str - The name of the target database
- distributed
Availability StringGroup Id - The distributed availability group id
- id String
- Resource ID.
- last
Hardened StringLsn - The last hardened lsn
- link
State String - The link state
- name String
- Resource name.
- source
Replica StringId - The source replica id
- target
Replica StringId - The target replica id
- type String
- Resource type.
- primary
Availability StringGroup Name - The primary availability group name
- replication
Mode String - The replication mode of a distributed availability group. Parameter will be ignored during link creation.
- secondary
Availability StringGroup Name - The secondary availability group name
- source
Endpoint String - The source endpoint
- target
Database String - The name of the target database
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi