These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.azuredata.getSqlServer
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a SQL Server. API Version: 2019-07-24-preview.
Using getSqlServer
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 getSqlServer(args: GetSqlServerArgs, opts?: InvokeOptions): Promise<GetSqlServerResult>
function getSqlServerOutput(args: GetSqlServerOutputArgs, opts?: InvokeOptions): Output<GetSqlServerResult>
def get_sql_server(expand: Optional[str] = None,
resource_group_name: Optional[str] = None,
sql_server_name: Optional[str] = None,
sql_server_registration_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlServerResult
def get_sql_server_output(expand: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
sql_server_name: Optional[pulumi.Input[str]] = None,
sql_server_registration_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlServerResult]
func LookupSqlServer(ctx *Context, args *LookupSqlServerArgs, opts ...InvokeOption) (*LookupSqlServerResult, error)
func LookupSqlServerOutput(ctx *Context, args *LookupSqlServerOutputArgs, opts ...InvokeOption) LookupSqlServerResultOutput
> Note: This function is named LookupSqlServer
in the Go SDK.
public static class GetSqlServer
{
public static Task<GetSqlServerResult> InvokeAsync(GetSqlServerArgs args, InvokeOptions? opts = null)
public static Output<GetSqlServerResult> Invoke(GetSqlServerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlServerResult> getSqlServer(GetSqlServerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:azuredata:getSqlServer
arguments:
# arguments dictionary
The 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
Server stringName - Name of the SQL Server.
- Sql
Server stringRegistration Name - Name of the SQL Server registration.
- Expand string
- The child resources to include in the response.
- 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
Server stringName - Name of the SQL Server.
- Sql
Server stringRegistration Name - Name of the SQL Server registration.
- Expand string
- The child resources to include in the response.
- 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
Server StringName - Name of the SQL Server.
- sql
Server StringRegistration Name - Name of the SQL Server registration.
- expand String
- The child resources to include in the response.
- 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
Server stringName - Name of the SQL Server.
- sql
Server stringRegistration Name - Name of the SQL Server registration.
- expand string
- The child resources to include in the response.
- 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_
server_ strname - Name of the SQL Server.
- sql_
server_ strregistration_ name - Name of the SQL Server registration.
- expand str
- The child resources to include in the response.
- 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
Server StringName - Name of the SQL Server.
- sql
Server StringRegistration Name - Name of the SQL Server registration.
- expand String
- The child resources to include in the response.
getSqlServer 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}
- Name string
- The name of the resource
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Cores int
- Cores of the Sql Server.
- Edition string
- Sql Server Edition.
- Property
Bag string - Sql Server Json Property Bag.
- Registration
ID string - ID for Parent Sql Server Registration.
- Version string
- Version of the Sql Server.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Cores int
- Cores of the Sql Server.
- Edition string
- Sql Server Edition.
- Property
Bag string - Sql Server Json Property Bag.
- Registration
ID string - ID for Parent Sql Server Registration.
- Version string
- Version of the Sql Server.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cores Integer
- Cores of the Sql Server.
- edition String
- Sql Server Edition.
- property
Bag String - Sql Server Json Property Bag.
- registration
ID String - ID for Parent Sql Server Registration.
- version String
- Version of the Sql Server.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cores number
- Cores of the Sql Server.
- edition string
- Sql Server Edition.
- property
Bag string - Sql Server Json Property Bag.
- registration
ID string - ID for Parent Sql Server Registration.
- version string
- Version of the Sql Server.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- type str
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cores int
- Cores of the Sql Server.
- edition str
- Sql Server Edition.
- property_
bag str - Sql Server Json Property Bag.
- registration_
id str - ID for Parent Sql Server Registration.
- version str
- Version of the Sql Server.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- cores Number
- Cores of the Sql Server.
- edition String
- Sql Server Edition.
- property
Bag String - Sql Server Json Property Bag.
- registration
ID String - ID for Parent Sql Server Registration.
- version String
- Version of the Sql Server.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi