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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.azurearcdata.getSqlServerInstance
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Retrieves a SQL Server Instance resource Azure REST API version: 2023-01-15-preview.
Other available API versions: 2024-01-01, 2024-05-01-preview.
Using getSqlServerInstance
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 getSqlServerInstance(args: GetSqlServerInstanceArgs, opts?: InvokeOptions): Promise<GetSqlServerInstanceResult>
function getSqlServerInstanceOutput(args: GetSqlServerInstanceOutputArgs, opts?: InvokeOptions): Output<GetSqlServerInstanceResult>def get_sql_server_instance(resource_group_name: Optional[str] = None,
                            sql_server_instance_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetSqlServerInstanceResult
def get_sql_server_instance_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                            sql_server_instance_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetSqlServerInstanceResult]func LookupSqlServerInstance(ctx *Context, args *LookupSqlServerInstanceArgs, opts ...InvokeOption) (*LookupSqlServerInstanceResult, error)
func LookupSqlServerInstanceOutput(ctx *Context, args *LookupSqlServerInstanceOutputArgs, opts ...InvokeOption) LookupSqlServerInstanceResultOutput> Note: This function is named LookupSqlServerInstance in the Go SDK.
public static class GetSqlServerInstance 
{
    public static Task<GetSqlServerInstanceResult> InvokeAsync(GetSqlServerInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetSqlServerInstanceResult> Invoke(GetSqlServerInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSqlServerInstanceResult> getSqlServerInstance(GetSqlServerInstanceArgs args, InvokeOptions options)
public static Output<GetSqlServerInstanceResult> getSqlServerInstance(GetSqlServerInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:azurearcdata:getSqlServerInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the Azure resource group
- SqlServer stringInstance Name 
- Name of SQL Server Instance
- ResourceGroup stringName 
- The name of the Azure resource group
- SqlServer stringInstance Name 
- Name of SQL Server Instance
- resourceGroup StringName 
- The name of the Azure resource group
- sqlServer StringInstance Name 
- Name of SQL Server Instance
- resourceGroup stringName 
- The name of the Azure resource group
- sqlServer stringInstance Name 
- Name of SQL Server Instance
- resource_group_ strname 
- The name of the Azure resource group
- sql_server_ strinstance_ name 
- Name of SQL Server Instance
- resourceGroup StringName 
- The name of the Azure resource group
- sqlServer StringInstance Name 
- Name of SQL Server Instance
getSqlServerInstance Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.Azure Native. Azure Arc Data. Outputs. Sql Server Instance Properties Response 
- null
- SystemData 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"
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
SqlServer Instance Properties Response 
- null
- SystemData 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"
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
SqlServer Instance Properties Response 
- null
- systemData 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"
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
SqlServer Instance Properties Response 
- null
- systemData 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"
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
SqlServer Instance Properties Response 
- null
- 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"
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- null
- systemData 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"
- Map<String>
- Resource tags.
Supporting Types
SqlServerInstancePropertiesResponse    
- ContainerResource stringId 
- ARM Resource id of the container resource (Azure Arc for Servers).
- CreateTime string
- The time when the resource was created.
- ProvisioningState string
- The provisioning state of the Arc-enabled SQL Server resource.
- Status string
- The cloud connectivity status.
- AzureDefender stringStatus 
- Status of Azure Defender.
- AzureDefender stringStatus Last Updated 
- Timestamp of last Azure Defender status update.
- Collation string
- SQL Server collation.
- Cores string
- The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
- CurrentVersion string
- SQL Server current version.
- Edition string
- SQL Server edition.
- HostType string
- Type of host for Azure Arc SQL Server
- InstanceName string
- SQL Server instance name.
- LicenseType string
- SQL Server license type.
- PatchLevel string
- SQL Server update level.
- ProductId string
- SQL Server product ID.
- TcpDynamic stringPorts 
- Dynamic TCP ports used by SQL Server.
- TcpStatic stringPorts 
- Static TCP ports used by SQL Server.
- VCore string
- The number of logical processors used by the SQL Server instance.
- Version string
- SQL Server version.
- ContainerResource stringId 
- ARM Resource id of the container resource (Azure Arc for Servers).
- CreateTime string
- The time when the resource was created.
- ProvisioningState string
- The provisioning state of the Arc-enabled SQL Server resource.
- Status string
- The cloud connectivity status.
- AzureDefender stringStatus 
- Status of Azure Defender.
- AzureDefender stringStatus Last Updated 
- Timestamp of last Azure Defender status update.
- Collation string
- SQL Server collation.
- Cores string
- The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
- CurrentVersion string
- SQL Server current version.
- Edition string
- SQL Server edition.
- HostType string
- Type of host for Azure Arc SQL Server
- InstanceName string
- SQL Server instance name.
- LicenseType string
- SQL Server license type.
- PatchLevel string
- SQL Server update level.
- ProductId string
- SQL Server product ID.
- TcpDynamic stringPorts 
- Dynamic TCP ports used by SQL Server.
- TcpStatic stringPorts 
- Static TCP ports used by SQL Server.
- VCore string
- The number of logical processors used by the SQL Server instance.
- Version string
- SQL Server version.
- containerResource StringId 
- ARM Resource id of the container resource (Azure Arc for Servers).
- createTime String
- The time when the resource was created.
- provisioningState String
- The provisioning state of the Arc-enabled SQL Server resource.
- status String
- The cloud connectivity status.
- azureDefender StringStatus 
- Status of Azure Defender.
- azureDefender StringStatus Last Updated 
- Timestamp of last Azure Defender status update.
- collation String
- SQL Server collation.
- cores String
- The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
- currentVersion String
- SQL Server current version.
- edition String
- SQL Server edition.
- hostType String
- Type of host for Azure Arc SQL Server
- instanceName String
- SQL Server instance name.
- licenseType String
- SQL Server license type.
- patchLevel String
- SQL Server update level.
- productId String
- SQL Server product ID.
- tcpDynamic StringPorts 
- Dynamic TCP ports used by SQL Server.
- tcpStatic StringPorts 
- Static TCP ports used by SQL Server.
- vCore String
- The number of logical processors used by the SQL Server instance.
- version String
- SQL Server version.
- containerResource stringId 
- ARM Resource id of the container resource (Azure Arc for Servers).
- createTime string
- The time when the resource was created.
- provisioningState string
- The provisioning state of the Arc-enabled SQL Server resource.
- status string
- The cloud connectivity status.
- azureDefender stringStatus 
- Status of Azure Defender.
- azureDefender stringStatus Last Updated 
- Timestamp of last Azure Defender status update.
- collation string
- SQL Server collation.
- cores string
- The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
- currentVersion string
- SQL Server current version.
- edition string
- SQL Server edition.
- hostType string
- Type of host for Azure Arc SQL Server
- instanceName string
- SQL Server instance name.
- licenseType string
- SQL Server license type.
- patchLevel string
- SQL Server update level.
- productId string
- SQL Server product ID.
- tcpDynamic stringPorts 
- Dynamic TCP ports used by SQL Server.
- tcpStatic stringPorts 
- Static TCP ports used by SQL Server.
- vCore string
- The number of logical processors used by the SQL Server instance.
- version string
- SQL Server version.
- container_resource_ strid 
- ARM Resource id of the container resource (Azure Arc for Servers).
- create_time str
- The time when the resource was created.
- provisioning_state str
- The provisioning state of the Arc-enabled SQL Server resource.
- status str
- The cloud connectivity status.
- azure_defender_ strstatus 
- Status of Azure Defender.
- azure_defender_ strstatus_ last_ updated 
- Timestamp of last Azure Defender status update.
- collation str
- SQL Server collation.
- cores str
- The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
- current_version str
- SQL Server current version.
- edition str
- SQL Server edition.
- host_type str
- Type of host for Azure Arc SQL Server
- instance_name str
- SQL Server instance name.
- license_type str
- SQL Server license type.
- patch_level str
- SQL Server update level.
- product_id str
- SQL Server product ID.
- tcp_dynamic_ strports 
- Dynamic TCP ports used by SQL Server.
- tcp_static_ strports 
- Static TCP ports used by SQL Server.
- v_core str
- The number of logical processors used by the SQL Server instance.
- version str
- SQL Server version.
- containerResource StringId 
- ARM Resource id of the container resource (Azure Arc for Servers).
- createTime String
- The time when the resource was created.
- provisioningState String
- The provisioning state of the Arc-enabled SQL Server resource.
- status String
- The cloud connectivity status.
- azureDefender StringStatus 
- Status of Azure Defender.
- azureDefender StringStatus Last Updated 
- Timestamp of last Azure Defender status update.
- collation String
- SQL Server collation.
- cores String
- The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.
- currentVersion String
- SQL Server current version.
- edition String
- SQL Server edition.
- hostType String
- Type of host for Azure Arc SQL Server
- instanceName String
- SQL Server instance name.
- licenseType String
- SQL Server license type.
- patchLevel String
- SQL Server update level.
- productId String
- SQL Server product ID.
- tcpDynamic StringPorts 
- Dynamic TCP ports used by SQL Server.
- tcpStatic StringPorts 
- Static TCP ports used by SQL Server.
- vCore String
- The number of logical processors used by the SQL Server instance.
- version String
- SQL Server version.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi