azure-native.sqlvirtualmachine.getSqlVirtualMachineGroup
Explore with Pulumi AI
Gets a SQL virtual machine group.
Uses Azure REST API version 2023-10-01.
Other available API versions: 2022-02-01, 2022-07-01-preview, 2022-08-01-preview, 2023-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native sqlvirtualmachine [ApiVersion]. See the version guide for details.
Using getSqlVirtualMachineGroup
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 getSqlVirtualMachineGroup(args: GetSqlVirtualMachineGroupArgs, opts?: InvokeOptions): Promise<GetSqlVirtualMachineGroupResult>
function getSqlVirtualMachineGroupOutput(args: GetSqlVirtualMachineGroupOutputArgs, opts?: InvokeOptions): Output<GetSqlVirtualMachineGroupResult>def get_sql_virtual_machine_group(resource_group_name: Optional[str] = None,
                                  sql_virtual_machine_group_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSqlVirtualMachineGroupResult
def get_sql_virtual_machine_group_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                  sql_virtual_machine_group_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSqlVirtualMachineGroupResult]func LookupSqlVirtualMachineGroup(ctx *Context, args *LookupSqlVirtualMachineGroupArgs, opts ...InvokeOption) (*LookupSqlVirtualMachineGroupResult, error)
func LookupSqlVirtualMachineGroupOutput(ctx *Context, args *LookupSqlVirtualMachineGroupOutputArgs, opts ...InvokeOption) LookupSqlVirtualMachineGroupResultOutput> Note: This function is named LookupSqlVirtualMachineGroup in the Go SDK.
public static class GetSqlVirtualMachineGroup 
{
    public static Task<GetSqlVirtualMachineGroupResult> InvokeAsync(GetSqlVirtualMachineGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetSqlVirtualMachineGroupResult> Invoke(GetSqlVirtualMachineGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSqlVirtualMachineGroupResult> getSqlVirtualMachineGroup(GetSqlVirtualMachineGroupArgs args, InvokeOptions options)
public static Output<GetSqlVirtualMachineGroupResult> getSqlVirtualMachineGroup(GetSqlVirtualMachineGroupArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sqlvirtualmachine:getSqlVirtualMachineGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource
Group stringName  - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 - Sql
Virtual stringMachine Group Name  - Name of the SQL virtual machine group.
 
- Resource
Group stringName  - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 - Sql
Virtual stringMachine Group Name  - Name of the SQL virtual machine group.
 
- resource
Group StringName  - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 - sql
Virtual StringMachine Group Name  - Name of the SQL virtual machine group.
 
- resource
Group stringName  - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 - sql
Virtual stringMachine Group Name  - Name of the SQL virtual machine group.
 
- resource_
group_ strname  - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 - sql_
virtual_ strmachine_ group_ name  - Name of the SQL virtual machine group.
 
- resource
Group StringName  - Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 - sql
Virtual StringMachine Group Name  - Name of the SQL virtual machine group.
 
getSqlVirtualMachineGroup Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Cluster
Configuration string - Cluster type.
 - Cluster
Manager stringType  - Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
 - Id string
 - Resource ID.
 - Location string
 - Resource location.
 - Name string
 - Resource name.
 - Provisioning
State string - Provisioning state to track the async operation status.
 - Scale
Type string - Scale type.
 - System
Data Pulumi.Azure Native. Sql Virtual Machine. Outputs. System Data Response  - Metadata pertaining to creation and last modification of the resource.
 - Type string
 - Resource type.
 - Sql
Image stringOffer  - SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
 - Sql
Image stringSku  - SQL image sku.
 - Dictionary<string, string>
 - Resource tags.
 - Wsfc
Domain Pulumi.Profile Azure Native. Sql Virtual Machine. Outputs. Wsfc Domain Profile Response  - Cluster Active Directory domain profile.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Cluster
Configuration string - Cluster type.
 - Cluster
Manager stringType  - Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
 - Id string
 - Resource ID.
 - Location string
 - Resource location.
 - Name string
 - Resource name.
 - Provisioning
State string - Provisioning state to track the async operation status.
 - Scale
Type string - Scale type.
 - System
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - Type string
 - Resource type.
 - Sql
Image stringOffer  - SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
 - Sql
Image stringSku  - SQL image sku.
 - map[string]string
 - Resource tags.
 - Wsfc
Domain WsfcProfile Domain Profile Response  - Cluster Active Directory domain profile.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - cluster
Configuration String - Cluster type.
 - cluster
Manager StringType  - Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
 - id String
 - Resource ID.
 - location String
 - Resource location.
 - name String
 - Resource name.
 - provisioning
State String - Provisioning state to track the async operation status.
 - scale
Type String - Scale type.
 - system
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type String
 - Resource type.
 - sql
Image StringOffer  - SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
 - sql
Image StringSku  - SQL image sku.
 - Map<String,String>
 - Resource tags.
 - wsfc
Domain WsfcProfile Domain Profile Response  - Cluster Active Directory domain profile.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - cluster
Configuration string - Cluster type.
 - cluster
Manager stringType  - Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
 - id string
 - Resource ID.
 - location string
 - Resource location.
 - name string
 - Resource name.
 - provisioning
State string - Provisioning state to track the async operation status.
 - scale
Type string - Scale type.
 - system
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type string
 - Resource type.
 - sql
Image stringOffer  - SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
 - sql
Image stringSku  - SQL image sku.
 - {[key: string]: string}
 - Resource tags.
 - wsfc
Domain WsfcProfile Domain Profile Response  - Cluster Active Directory domain profile.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - cluster_
configuration str - Cluster type.
 - cluster_
manager_ strtype  - Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
 - id str
 - Resource ID.
 - location str
 - Resource location.
 - name str
 - Resource name.
 - provisioning_
state str - Provisioning state to track the async operation status.
 - scale_
type str - Scale type.
 - system_
data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type str
 - Resource type.
 - sql_
image_ stroffer  - SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
 - sql_
image_ strsku  - SQL image sku.
 - Mapping[str, str]
 - Resource tags.
 - wsfc_
domain_ Wsfcprofile Domain Profile Response  - Cluster Active Directory domain profile.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - cluster
Configuration String - Cluster type.
 - cluster
Manager StringType  - Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
 - id String
 - Resource ID.
 - location String
 - Resource location.
 - name String
 - Resource name.
 - provisioning
State String - Provisioning state to track the async operation status.
 - scale
Type String - Scale type.
 - system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
 - type String
 - Resource type.
 - sql
Image StringOffer  - SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
 - sql
Image StringSku  - SQL image sku.
 - Map<String>
 - Resource tags.
 - wsfc
Domain Property MapProfile  - Cluster Active Directory domain profile.
 
Supporting Types
SystemDataResponse  
- 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.
 
WsfcDomainProfileResponse   
- Cluster
Bootstrap stringAccount  - Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
 - Cluster
Operator stringAccount  - Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
 - Cluster
Subnet stringType  - Cluster subnet type.
 - Domain
Fqdn string - Fully qualified name of the domain.
 - string
 - Optional path for fileshare witness.
 - Is
Sql boolService Account Gmsa  - The flag to check if SQL service account is GMSA.
 - Ou
Path string - Organizational Unit path in which the nodes and cluster will be present.
 - Sql
Service stringAccount  - Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
 - Storage
Account stringUrl  - Fully qualified ARM resource id of the witness storage account.
 
- Cluster
Bootstrap stringAccount  - Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
 - Cluster
Operator stringAccount  - Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
 - Cluster
Subnet stringType  - Cluster subnet type.
 - Domain
Fqdn string - Fully qualified name of the domain.
 - string
 - Optional path for fileshare witness.
 - Is
Sql boolService Account Gmsa  - The flag to check if SQL service account is GMSA.
 - Ou
Path string - Organizational Unit path in which the nodes and cluster will be present.
 - Sql
Service stringAccount  - Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
 - Storage
Account stringUrl  - Fully qualified ARM resource id of the witness storage account.
 
- cluster
Bootstrap StringAccount  - Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
 - cluster
Operator StringAccount  - Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
 - cluster
Subnet StringType  - Cluster subnet type.
 - domain
Fqdn String - Fully qualified name of the domain.
 - String
 - Optional path for fileshare witness.
 - is
Sql BooleanService Account Gmsa  - The flag to check if SQL service account is GMSA.
 - ou
Path String - Organizational Unit path in which the nodes and cluster will be present.
 - sql
Service StringAccount  - Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
 - storage
Account StringUrl  - Fully qualified ARM resource id of the witness storage account.
 
- cluster
Bootstrap stringAccount  - Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
 - cluster
Operator stringAccount  - Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
 - cluster
Subnet stringType  - Cluster subnet type.
 - domain
Fqdn string - Fully qualified name of the domain.
 - string
 - Optional path for fileshare witness.
 - is
Sql booleanService Account Gmsa  - The flag to check if SQL service account is GMSA.
 - ou
Path string - Organizational Unit path in which the nodes and cluster will be present.
 - sql
Service stringAccount  - Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
 - storage
Account stringUrl  - Fully qualified ARM resource id of the witness storage account.
 
- cluster_
bootstrap_ straccount  - Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
 - cluster_
operator_ straccount  - Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
 - cluster_
subnet_ strtype  - Cluster subnet type.
 - domain_
fqdn str - Fully qualified name of the domain.
 - str
 - Optional path for fileshare witness.
 - is_
sql_ boolservice_ account_ gmsa  - The flag to check if SQL service account is GMSA.
 - ou_
path str - Organizational Unit path in which the nodes and cluster will be present.
 - sql_
service_ straccount  - Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
 - storage_
account_ strurl  - Fully qualified ARM resource id of the witness storage account.
 
- cluster
Bootstrap StringAccount  - Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
 - cluster
Operator StringAccount  - Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
 - cluster
Subnet StringType  - Cluster subnet type.
 - domain
Fqdn String - Fully qualified name of the domain.
 - String
 - Optional path for fileshare witness.
 - is
Sql BooleanService Account Gmsa  - The flag to check if SQL service account is GMSA.
 - ou
Path String - Organizational Unit path in which the nodes and cluster will be present.
 - sql
Service StringAccount  - Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
 - storage
Account StringUrl  - Fully qualified ARM resource id of the witness storage account.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0