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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.sql.getServer
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets a server. Azure REST API version: 2021-11-01.
Other available API versions: 2014-04-01, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getServer
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- Server
Name string - The name of the server.
- Expand string
- The child resources to include in the response.
- 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.
- Server
Name string - The name of the server.
- Expand string
- The child resources to include in the response.
- 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.
- server
Name String - The name of the server.
- expand String
- The child resources to include in the response.
- 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.
- server
Name 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.
- 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.
- server
Name String - The name of the server.
- expand String
- The child resources to include in the response.
getServer Result
The following output properties are available:
- Fully
Qualified 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.
- Private
Endpoint 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.
- Workspace
Feature string - Whether or not existing server has a workspace created and if it allows connection from workspace
- Administrator
Login 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 administrator of the server.
- Federated
Client stringId - The Client id used for cross tenant CMK scenario
- Identity
Pulumi.
Azure Native. Sql. Outputs. Resource Identity Response - The Azure Active Directory identity of the server.
- Key
Id string - A CMK URI of the key to use for encryption.
- Minimal
Tls stringVersion - Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- Primary
User stringAssigned Identity Id - The resource id of a user assigned identity to be used by default.
- Public
Network stringAccess - Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Restrict
Outbound stringNetwork Access - Whether or not to restrict outbound network access 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.
- Fully
Qualified 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.
- Private
Endpoint []ServerConnections Private Endpoint Connection Response - List of private endpoint connections on a server
- State string
- The state of the server.
- Type string
- Resource type.
- Workspace
Feature string - Whether or not existing server has a workspace created and if it allows connection from workspace
- Administrator
Login string - Administrator username for the server. Once created it cannot be changed.
- Administrators
Server
External Administrator Response - The Azure Active Directory administrator of the server.
- Federated
Client stringId - The Client id used for cross tenant CMK scenario
- Identity
Resource
Identity Response - The Azure Active Directory identity of the server.
- Key
Id string - A CMK URI of the key to use for encryption.
- Minimal
Tls stringVersion - Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- Primary
User stringAssigned Identity Id - The resource id of a user assigned identity to be used by default.
- Public
Network stringAccess - Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Restrict
Outbound stringNetwork Access - Whether or not to restrict outbound network access 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.
- fully
Qualified 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.
- private
Endpoint 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.
- workspace
Feature String - Whether or not existing server has a workspace created and if it allows connection from workspace
- administrator
Login String - Administrator username for the server. Once created it cannot be changed.
- administrators
Server
External Administrator Response - The Azure Active Directory administrator of the server.
- federated
Client StringId - The Client id used for cross tenant CMK scenario
- identity
Resource
Identity Response - The Azure Active Directory identity of the server.
- key
Id String - A CMK URI of the key to use for encryption.
- minimal
Tls StringVersion - Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- primary
User StringAssigned Identity Id - The resource id of a user assigned identity to be used by default.
- public
Network StringAccess - Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- restrict
Outbound StringNetwork Access - Whether or not to restrict outbound network access 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.
- fully
Qualified 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.
- private
Endpoint ServerConnections Private Endpoint Connection Response[] - List of private endpoint connections on a server
- state string
- The state of the server.
- type string
- Resource type.
- workspace
Feature string - Whether or not existing server has a workspace created and if it allows connection from workspace
- administrator
Login string - Administrator username for the server. Once created it cannot be changed.
- administrators
Server
External Administrator Response - The Azure Active Directory administrator of the server.
- federated
Client stringId - The Client id used for cross tenant CMK scenario
- identity
Resource
Identity Response - The Azure Active Directory identity of the server.
- key
Id string - A CMK URI of the key to use for encryption.
- minimal
Tls stringVersion - Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- primary
User stringAssigned Identity Id - The resource id of a user assigned identity to be used by default.
- public
Network stringAccess - Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- restrict
Outbound stringNetwork Access - Whether or not to restrict outbound network access 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
Server
External Administrator Response - The Azure Active Directory administrator of the server.
- federated_
client_ strid - The Client id used for cross tenant CMK scenario
- identity
Resource
Identity 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'
- restrict_
outbound_ strnetwork_ access - Whether or not to restrict outbound network access 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.
- fully
Qualified 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.
- private
Endpoint List<Property Map>Connections - List of private endpoint connections on a server
- state String
- The state of the server.
- type String
- Resource type.
- workspace
Feature String - Whether or not existing server has a workspace created and if it allows connection from workspace
- administrator
Login String - Administrator username for the server. Once created it cannot be changed.
- administrators Property Map
- The Azure Active Directory administrator of the server.
- federated
Client StringId - The Client id used for cross tenant CMK scenario
- identity Property Map
- The Azure Active Directory identity of the server.
- key
Id String - A CMK URI of the key to use for encryption.
- minimal
Tls StringVersion - Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
- primary
User StringAssigned Identity Id - The resource id of a user assigned identity to be used by default.
- public
Network StringAccess - Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- restrict
Outbound StringNetwork Access - Whether or not to restrict outbound network access 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
- Group
Ids List<string> - Group IDs.
- Provisioning
State string - State of the private endpoint connection.
- Private
Endpoint Pulumi.Azure Native. Sql. Inputs. Private Endpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link Pulumi.Service Connection State Azure Native. Sql. Inputs. Private Link Service Connection State Property Response - Connection state of the private endpoint connection.
- Group
Ids []string - Group IDs.
- Provisioning
State string - 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.
- group
Ids List<String> - Group IDs.
- provisioning
State String - 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.
- group
Ids string[] - Group IDs.
- provisioning
State string - 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.
- group_
ids Sequence[str] - Group IDs.
- 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.
- group
Ids List<String> - Group IDs.
- provisioning
State String - State of the private endpoint connection.
- private
Endpoint Property Map - Private endpoint which the connection belongs to.
- private
Link 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
- Actions
Required 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 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 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 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.
- actions
Required 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
- Principal
Id string - The Azure Active Directory principal id.
- Tenant
Id 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.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Sql. Inputs. User Identity Response> - The resource ids of the user assigned identities to use
- Principal
Id string - The Azure Active Directory principal id.
- Tenant
Id 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.
- User
Assigned map[string]UserIdentities Identity Response - The resource ids of the user assigned identities to use
- principal
Id String - The Azure Active Directory principal id.
- tenant
Id 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.
- user
Assigned Map<String,UserIdentities Identity Response> - The resource ids of the user assigned identities to use
- principal
Id string - The Azure Active Directory principal id.
- tenant
Id 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.
- user
Assigned {[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
- principal
Id String - The Azure Active Directory principal id.
- tenant
Id 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.
- user
Assigned Map<Property Map>Identities - The resource ids of the user assigned identities to use
ServerExternalAdministratorResponse
- Administrator
Type string - Type of the sever administrator.
- Azure
ADOnly boolAuthentication - Azure Active Directory only Authentication enabled.
- Login string
- Login name of the server administrator.
- Principal
Type string - Principal Type of the sever administrator.
- Sid string
- SID (object ID) of the server administrator.
- Tenant
Id string - Tenant ID of the administrator.
- Administrator
Type string - Type of the sever administrator.
- Azure
ADOnly boolAuthentication - Azure Active Directory only Authentication enabled.
- Login string
- Login name of the server administrator.
- Principal
Type string - Principal Type of the sever administrator.
- Sid string
- SID (object ID) of the server administrator.
- Tenant
Id string - Tenant ID of the administrator.
- administrator
Type String - Type of the sever administrator.
- azure
ADOnly BooleanAuthentication - Azure Active Directory only Authentication enabled.
- login String
- Login name of the server administrator.
- principal
Type String - Principal Type of the sever administrator.
- sid String
- SID (object ID) of the server administrator.
- tenant
Id String - Tenant ID of the administrator.
- administrator
Type string - Type of the sever administrator.
- azure
ADOnly booleanAuthentication - Azure Active Directory only Authentication enabled.
- login string
- Login name of the server administrator.
- principal
Type string - Principal Type of the sever administrator.
- sid string
- SID (object ID) of the server administrator.
- tenant
Id 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.
- administrator
Type String - Type of the sever administrator.
- azure
ADOnly BooleanAuthentication - Azure Active Directory only Authentication enabled.
- login String
- Login name of the server administrator.
- principal
Type String - Principal Type of the sever administrator.
- sid String
- SID (object ID) of the server administrator.
- tenant
Id 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
Private
Endpoint Connection Properties Response - Private endpoint connection properties
- id String
- Resource ID.
- properties
Private
Endpoint Connection Properties Response - Private endpoint connection properties
- id string
- Resource ID.
- properties
Private
Endpoint Connection Properties Response - Private endpoint connection properties
- id str
- Resource ID.
- properties
Private
Endpoint Connection Properties Response - Private endpoint connection properties
- id String
- Resource ID.
- properties Property Map
- Private endpoint connection properties
UserIdentityResponse
- Client
Id string - The Azure Active Directory client id.
- Principal
Id string - The Azure Active Directory principal id.
- Client
Id string - The Azure Active Directory client id.
- Principal
Id string - The Azure Active Directory principal id.
- client
Id String - The Azure Active Directory client id.
- principal
Id String - The Azure Active Directory principal id.
- client
Id string - The Azure Active Directory client id.
- principal
Id 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.
- client
Id String - The Azure Active Directory client id.
- principal
Id String - The Azure Active Directory principal id.
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi