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.sql.getServer
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 server. API Version: 2020-11-01-preview.
Using getServer
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 getServer(args: GetServerArgs, opts?: InvokeOptions): Promise<GetServerResult>
function getServerOutput(args: GetServerOutputArgs, opts?: InvokeOptions): Output<GetServerResult>def get_server(expand: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               server_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetServerResult
def get_server_output(expand: Optional[pulumi.Input[str]] = None,
               resource_group_name: Optional[pulumi.Input[str]] = None,
               server_name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetServerResult]func LookupServer(ctx *Context, args *LookupServerArgs, opts ...InvokeOption) (*LookupServerResult, error)
func LookupServerOutput(ctx *Context, args *LookupServerOutputArgs, opts ...InvokeOption) LookupServerResultOutput> Note: This function is named LookupServer in the Go SDK.
public static class GetServer 
{
    public static Task<GetServerResult> InvokeAsync(GetServerArgs args, InvokeOptions? opts = null)
    public static Output<GetServerResult> Invoke(GetServerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServerResult> getServer(GetServerArgs args, InvokeOptions options)
public static Output<GetServerResult> getServer(GetServerArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getServer
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup 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.
- ServerName string
- The name of the server.
- Expand string
- The child resources to include in the response.
- ResourceGroup 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.
- ServerName string
- The name of the server.
- Expand string
- The child resources to include in the response.
- resourceGroup 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.
- serverName String
- The name of the server.
- expand String
- The child resources to include in the response.
- resourceGroup 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.
- serverName string
- The name of the server.
- expand string
- The child resources to include in the response.
- 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.
- server_name str
- The name of the server.
- expand str
- The child resources to include in the response.
- resourceGroup 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.
- serverName String
- The name of the server.
- expand String
- The child resources to include in the response.
getServer Result
The following output properties are available:
- FullyQualified stringDomain Name 
- The fully qualified domain name of the server.
- Id string
- Resource ID.
- Kind string
- Kind of sql server. This is metadata used for the Azure portal experience.
- Location string
- Resource location.
- Name string
- Resource name.
- PrivateEndpoint List<Pulumi.Connections Azure Native. Sql. Outputs. Server Private Endpoint Connection Response> 
- List of private endpoint connections on a server
- State string
- The state of the server.
- Type string
- Resource type.
- WorkspaceFeature string
- Whether or not existing server has a workspace created and if it allows connection from workspace
- AdministratorLogin string
- Administrator username for the server. Once created it cannot be changed.
- Administrators
Pulumi.Azure Native. Sql. Outputs. Server External Administrator Response 
- The Azure Active Directory identity of the server.
- Identity
Pulumi.Azure Native. Sql. Outputs. Resource Identity Response 
- The Azure Active Directory identity of the server.
- KeyId string
- A CMK URI of the key to use for encryption.
- MinimalTls stringVersion 
- Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- PrimaryUser stringAssigned Identity Id 
- The resource id of a user assigned identity to be used by default.
- PublicNetwork stringAccess 
- Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Dictionary<string, string>
- Resource tags.
- Version string
- The version of the server.
- FullyQualified stringDomain Name 
- The fully qualified domain name of the server.
- Id string
- Resource ID.
- Kind string
- Kind of sql server. This is metadata used for the Azure portal experience.
- Location string
- Resource location.
- Name string
- Resource name.
- PrivateEndpoint []ServerConnections Private Endpoint Connection Response 
- List of private endpoint connections on a server
- State string
- The state of the server.
- Type string
- Resource type.
- WorkspaceFeature string
- Whether or not existing server has a workspace created and if it allows connection from workspace
- AdministratorLogin string
- Administrator username for the server. Once created it cannot be changed.
- Administrators
ServerExternal Administrator Response 
- The Azure Active Directory identity of the server.
- Identity
ResourceIdentity Response 
- The Azure Active Directory identity of the server.
- KeyId string
- A CMK URI of the key to use for encryption.
- MinimalTls stringVersion 
- Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- PrimaryUser stringAssigned Identity Id 
- The resource id of a user assigned identity to be used by default.
- PublicNetwork stringAccess 
- Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- map[string]string
- Resource tags.
- Version string
- The version of the server.
- fullyQualified StringDomain Name 
- The fully qualified domain name of the server.
- id String
- Resource ID.
- kind String
- Kind of sql server. This is metadata used for the Azure portal experience.
- location String
- Resource location.
- name String
- Resource name.
- privateEndpoint List<ServerConnections Private Endpoint Connection Response> 
- List of private endpoint connections on a server
- state String
- The state of the server.
- type String
- Resource type.
- workspaceFeature String
- Whether or not existing server has a workspace created and if it allows connection from workspace
- administratorLogin String
- Administrator username for the server. Once created it cannot be changed.
- administrators
ServerExternal Administrator Response 
- The Azure Active Directory identity of the server.
- identity
ResourceIdentity Response 
- The Azure Active Directory identity of the server.
- keyId String
- A CMK URI of the key to use for encryption.
- minimalTls StringVersion 
- Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- primaryUser StringAssigned Identity Id 
- The resource id of a user assigned identity to be used by default.
- publicNetwork StringAccess 
- Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Map<String,String>
- Resource tags.
- version String
- The version of the server.
- fullyQualified stringDomain Name 
- The fully qualified domain name of the server.
- id string
- Resource ID.
- kind string
- Kind of sql server. This is metadata used for the Azure portal experience.
- location string
- Resource location.
- name string
- Resource name.
- privateEndpoint ServerConnections Private Endpoint Connection Response[] 
- List of private endpoint connections on a server
- state string
- The state of the server.
- type string
- Resource type.
- workspaceFeature string
- Whether or not existing server has a workspace created and if it allows connection from workspace
- administratorLogin string
- Administrator username for the server. Once created it cannot be changed.
- administrators
ServerExternal Administrator Response 
- The Azure Active Directory identity of the server.
- identity
ResourceIdentity Response 
- The Azure Active Directory identity of the server.
- keyId string
- A CMK URI of the key to use for encryption.
- minimalTls stringVersion 
- Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- primaryUser stringAssigned Identity Id 
- The resource id of a user assigned identity to be used by default.
- publicNetwork stringAccess 
- Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- {[key: string]: string}
- Resource tags.
- version string
- The version of the server.
- fully_qualified_ strdomain_ name 
- The fully qualified domain name of the server.
- id str
- Resource ID.
- kind str
- Kind of sql server. This is metadata used for the Azure portal experience.
- location str
- Resource location.
- name str
- Resource name.
- private_endpoint_ Sequence[Serverconnections Private Endpoint Connection Response] 
- List of private endpoint connections on a server
- state str
- The state of the server.
- type str
- Resource type.
- workspace_feature str
- Whether or not existing server has a workspace created and if it allows connection from workspace
- administrator_login str
- Administrator username for the server. Once created it cannot be changed.
- administrators
ServerExternal Administrator Response 
- The Azure Active Directory identity of the server.
- identity
ResourceIdentity Response 
- The Azure Active Directory identity of the server.
- key_id str
- A CMK URI of the key to use for encryption.
- minimal_tls_ strversion 
- Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- primary_user_ strassigned_ identity_ id 
- The resource id of a user assigned identity to be used by default.
- public_network_ straccess 
- Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Mapping[str, str]
- Resource tags.
- version str
- The version of the server.
- fullyQualified StringDomain Name 
- The fully qualified domain name of the server.
- id String
- Resource ID.
- kind String
- Kind of sql server. This is metadata used for the Azure portal experience.
- location String
- Resource location.
- name String
- Resource name.
- privateEndpoint List<Property Map>Connections 
- List of private endpoint connections on a server
- state String
- The state of the server.
- type String
- Resource type.
- workspaceFeature String
- Whether or not existing server has a workspace created and if it allows connection from workspace
- administratorLogin String
- Administrator username for the server. Once created it cannot be changed.
- administrators Property Map
- The Azure Active Directory identity of the server.
- identity Property Map
- The Azure Active Directory identity of the server.
- keyId String
- A CMK URI of the key to use for encryption.
- minimalTls StringVersion 
- Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- primaryUser StringAssigned Identity Id 
- The resource id of a user assigned identity to be used by default.
- publicNetwork StringAccess 
- Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Map<String>
- Resource tags.
- version String
- The version of the server.
Supporting Types
PrivateEndpointConnectionPropertiesResponse    
- ProvisioningState string
- State of the private endpoint connection.
- PrivateEndpoint Pulumi.Azure Native. Sql. Inputs. Private Endpoint Property Response 
- Private endpoint which the connection belongs to.
- PrivateLink Pulumi.Service Connection State Azure Native. Sql. Inputs. Private Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- ProvisioningState string
- State of the private endpoint connection.
- PrivateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- PrivateLink PrivateService Connection State Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioningState String
- State of the private endpoint connection.
- privateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- privateLink PrivateService Connection State Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioningState string
- State of the private endpoint connection.
- privateEndpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- privateLink PrivateService Connection State Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioning_state str
- State of the private endpoint connection.
- private_endpoint PrivateEndpoint Property Response 
- Private endpoint which the connection belongs to.
- private_link_ Privateservice_ connection_ state Link Service Connection State Property Response 
- Connection state of the private endpoint connection.
- provisioningState String
- State of the private endpoint connection.
- privateEndpoint Property Map
- Private endpoint which the connection belongs to.
- privateLink Property MapService Connection State 
- Connection state of the private endpoint connection.
PrivateEndpointPropertyResponse   
- Id string
- Resource id of the private endpoint.
- Id string
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
- id string
- Resource id of the private endpoint.
- id str
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
PrivateLinkServiceConnectionStatePropertyResponse      
- ActionsRequired string
- The actions required for private link service connection.
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- ActionsRequired string
- The actions required for private link service connection.
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- actionsRequired String
- The actions required for private link service connection.
- description String
- The private link service connection description.
- status String
- The private link service connection status.
- actionsRequired string
- The actions required for private link service connection.
- description string
- The private link service connection description.
- status string
- The private link service connection status.
- actions_required str
- The actions required for private link service connection.
- description str
- The private link service connection description.
- status str
- The private link service connection status.
- actionsRequired String
- The actions required for private link service connection.
- description String
- The private link service connection description.
- status String
- The private link service connection status.
ResourceIdentityResponse  
- PrincipalId string
- The Azure Active Directory principal id.
- TenantId string
- The Azure Active Directory tenant id.
- Type string
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Sql. Inputs. User Identity Response> 
- The resource ids of the user assigned identities to use
- PrincipalId string
- The Azure Active Directory principal id.
- TenantId string
- The Azure Active Directory tenant id.
- Type string
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- UserAssigned map[string]UserIdentities Identity Response 
- The resource ids of the user assigned identities to use
- principalId String
- The Azure Active Directory principal id.
- tenantId String
- The Azure Active Directory tenant id.
- type String
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- userAssigned Map<String,UserIdentities Identity Response> 
- The resource ids of the user assigned identities to use
- principalId string
- The Azure Active Directory principal id.
- tenantId string
- The Azure Active Directory tenant id.
- type string
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- userAssigned {[key: string]: UserIdentities Identity Response} 
- The resource ids of the user assigned identities to use
- principal_id str
- The Azure Active Directory principal id.
- tenant_id str
- The Azure Active Directory tenant id.
- type str
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- user_assigned_ Mapping[str, Useridentities Identity Response] 
- The resource ids of the user assigned identities to use
- principalId String
- The Azure Active Directory principal id.
- tenantId String
- The Azure Active Directory tenant id.
- type String
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- userAssigned Map<Property Map>Identities 
- The resource ids of the user assigned identities to use
ServerExternalAdministratorResponse   
- AdministratorType string
- Type of the sever administrator.
- AzureADOnly boolAuthentication 
- Azure Active Directory only Authentication enabled.
- Login string
- Login name of the server administrator.
- PrincipalType string
- Principal Type of the sever administrator.
- Sid string
- SID (object ID) of the server administrator.
- TenantId string
- Tenant ID of the administrator.
- AdministratorType string
- Type of the sever administrator.
- AzureADOnly boolAuthentication 
- Azure Active Directory only Authentication enabled.
- Login string
- Login name of the server administrator.
- PrincipalType string
- Principal Type of the sever administrator.
- Sid string
- SID (object ID) of the server administrator.
- TenantId string
- Tenant ID of the administrator.
- administratorType String
- Type of the sever administrator.
- azureADOnly BooleanAuthentication 
- Azure Active Directory only Authentication enabled.
- login String
- Login name of the server administrator.
- principalType String
- Principal Type of the sever administrator.
- sid String
- SID (object ID) of the server administrator.
- tenantId String
- Tenant ID of the administrator.
- administratorType string
- Type of the sever administrator.
- azureADOnly booleanAuthentication 
- Azure Active Directory only Authentication enabled.
- login string
- Login name of the server administrator.
- principalType string
- Principal Type of the sever administrator.
- sid string
- SID (object ID) of the server administrator.
- tenantId string
- Tenant ID of the administrator.
- administrator_type str
- Type of the sever administrator.
- azure_ad_ boolonly_ authentication 
- Azure Active Directory only Authentication enabled.
- login str
- Login name of the server administrator.
- principal_type str
- Principal Type of the sever administrator.
- sid str
- SID (object ID) of the server administrator.
- tenant_id str
- Tenant ID of the administrator.
- administratorType String
- Type of the sever administrator.
- azureADOnly BooleanAuthentication 
- Azure Active Directory only Authentication enabled.
- login String
- Login name of the server administrator.
- principalType String
- Principal Type of the sever administrator.
- sid String
- SID (object ID) of the server administrator.
- tenantId String
- Tenant ID of the administrator.
ServerPrivateEndpointConnectionResponse    
- Id string
- Resource ID.
- Properties
Pulumi.Azure Native. Sql. Inputs. Private Endpoint Connection Properties Response 
- Private endpoint connection properties
- Id string
- Resource ID.
- Properties
PrivateEndpoint Connection Properties Response 
- Private endpoint connection properties
- id String
- Resource ID.
- properties
PrivateEndpoint Connection Properties Response 
- Private endpoint connection properties
- id string
- Resource ID.
- properties
PrivateEndpoint Connection Properties Response 
- Private endpoint connection properties
- id str
- Resource ID.
- properties
PrivateEndpoint Connection Properties Response 
- Private endpoint connection properties
- id String
- Resource ID.
- properties Property Map
- Private endpoint connection properties
UserIdentityResponse  
- ClientId string
- The Azure Active Directory client id.
- PrincipalId string
- The Azure Active Directory principal id.
- ClientId string
- The Azure Active Directory client id.
- PrincipalId string
- The Azure Active Directory principal id.
- clientId String
- The Azure Active Directory client id.
- principalId String
- The Azure Active Directory principal id.
- clientId string
- The Azure Active Directory client id.
- principalId string
- The Azure Active Directory principal id.
- client_id str
- The Azure Active Directory client id.
- principal_id str
- The Azure Active Directory principal id.
- clientId String
- The Azure Active Directory client id.
- principalId String
- The Azure Active Directory principal id.
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