1. Packages
  2. Azure Native v1
  3. API Docs
  4. sql
  5. Server
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.Server

Explore with Pulumi AI

azure-native-v1 logo
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

    An Azure SQL Database server. API Version: 2020-11-01-preview.

    Example Usage

    Create server

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.Sql.Server("server", new()
        {
            AdministratorLogin = "dummylogin",
            AdministratorLoginPassword = "PLACEHOLDER",
            Administrators = new AzureNative.Sql.Inputs.ServerExternalAdministratorArgs
            {
                AzureADOnlyAuthentication = true,
                Login = "bob@contoso.com",
                PrincipalType = "User",
                Sid = "00000011-1111-2222-2222-123456789111",
                TenantId = "00000011-1111-2222-2222-123456789111",
            },
            Location = "Japan East",
            ResourceGroupName = "sqlcrudtest-7398",
            ServerName = "sqlcrudtest-4645",
        });
    
    });
    
    package main
    
    import (
    	sql "github.com/pulumi/pulumi-azure-native-sdk/sql"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sql.NewServer(ctx, "server", &sql.ServerArgs{
    			AdministratorLogin:         pulumi.String("dummylogin"),
    			AdministratorLoginPassword: pulumi.String("PLACEHOLDER"),
    			Administrators: &sql.ServerExternalAdministratorArgs{
    				AzureADOnlyAuthentication: pulumi.Bool(true),
    				Login:                     pulumi.String("bob@contoso.com"),
    				PrincipalType:             pulumi.String("User"),
    				Sid:                       pulumi.String("00000011-1111-2222-2222-123456789111"),
    				TenantId:                  pulumi.String("00000011-1111-2222-2222-123456789111"),
    			},
    			Location:          pulumi.String("Japan East"),
    			ResourceGroupName: pulumi.String("sqlcrudtest-7398"),
    			ServerName:        pulumi.String("sqlcrudtest-4645"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.sql.Server;
    import com.pulumi.azurenative.sql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()        
                .administratorLogin("dummylogin")
                .administratorLoginPassword("PLACEHOLDER")
                .administrators(Map.ofEntries(
                    Map.entry("azureADOnlyAuthentication", true),
                    Map.entry("login", "bob@contoso.com"),
                    Map.entry("principalType", "User"),
                    Map.entry("sid", "00000011-1111-2222-2222-123456789111"),
                    Map.entry("tenantId", "00000011-1111-2222-2222-123456789111")
                ))
                .location("Japan East")
                .resourceGroupName("sqlcrudtest-7398")
                .serverName("sqlcrudtest-4645")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.sql.Server("server",
        administrator_login="dummylogin",
        administrator_login_password="PLACEHOLDER",
        administrators=azure_native.sql.ServerExternalAdministratorArgs(
            azure_ad_only_authentication=True,
            login="bob@contoso.com",
            principal_type="User",
            sid="00000011-1111-2222-2222-123456789111",
            tenant_id="00000011-1111-2222-2222-123456789111",
        ),
        location="Japan East",
        resource_group_name="sqlcrudtest-7398",
        server_name="sqlcrudtest-4645")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.sql.Server("server", {
        administratorLogin: "dummylogin",
        administratorLoginPassword: "PLACEHOLDER",
        administrators: {
            azureADOnlyAuthentication: true,
            login: "bob@contoso.com",
            principalType: "User",
            sid: "00000011-1111-2222-2222-123456789111",
            tenantId: "00000011-1111-2222-2222-123456789111",
        },
        location: "Japan East",
        resourceGroupName: "sqlcrudtest-7398",
        serverName: "sqlcrudtest-4645",
    });
    
    resources:
      server:
        type: azure-native:sql:Server
        properties:
          administratorLogin: dummylogin
          administratorLoginPassword: PLACEHOLDER
          administrators:
            azureADOnlyAuthentication: true
            login: bob@contoso.com
            principalType: User
            sid: 00000011-1111-2222-2222-123456789111
            tenantId: 00000011-1111-2222-2222-123456789111
          location: Japan East
          resourceGroupName: sqlcrudtest-7398
          serverName: sqlcrudtest-4645
    

    Create Server Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
    @overload
    def Server(resource_name: str,
               args: ServerArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Server(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_group_name: Optional[str] = None,
               identity: Optional[ResourceIdentityArgs] = None,
               administrators: Optional[ServerExternalAdministratorArgs] = None,
               administrator_login: Optional[str] = None,
               key_id: Optional[str] = None,
               location: Optional[str] = None,
               minimal_tls_version: Optional[str] = None,
               primary_user_assigned_identity_id: Optional[str] = None,
               public_network_access: Optional[Union[str, ServerPublicNetworkAccess]] = None,
               administrator_login_password: Optional[str] = None,
               server_name: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None,
               version: Optional[str] = None)
    func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
    public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
    public Server(String name, ServerArgs args)
    public Server(String name, ServerArgs args, CustomResourceOptions options)
    
    type: azure-native:sql:Server
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleserverResourceResourceFromSql = new AzureNative.Sql.Server("exampleserverResourceResourceFromSql", new()
    {
        ResourceGroupName = "string",
        Identity = 
        {
            { "type", "string" },
            { "userAssignedIdentities", 
            {
                { "string", "any" },
            } },
        },
        Administrators = 
        {
            { "administratorType", "string" },
            { "azureADOnlyAuthentication", false },
            { "login", "string" },
            { "principalType", "string" },
            { "sid", "string" },
            { "tenantId", "string" },
        },
        AdministratorLogin = "string",
        KeyId = "string",
        Location = "string",
        MinimalTlsVersion = "string",
        PrimaryUserAssignedIdentityId = "string",
        PublicNetworkAccess = "string",
        AdministratorLoginPassword = "string",
        ServerName = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Version = "string",
    });
    
    example, err := sql.NewServer(ctx, "exampleserverResourceResourceFromSql", &sql.ServerArgs{
    	ResourceGroupName: "string",
    	Identity: map[string]interface{}{
    		"type": "string",
    		"userAssignedIdentities": map[string]interface{}{
    			"string": "any",
    		},
    	},
    	Administrators: map[string]interface{}{
    		"administratorType":         "string",
    		"azureADOnlyAuthentication": false,
    		"login":                     "string",
    		"principalType":             "string",
    		"sid":                       "string",
    		"tenantId":                  "string",
    	},
    	AdministratorLogin:            "string",
    	KeyId:                         "string",
    	Location:                      "string",
    	MinimalTlsVersion:             "string",
    	PrimaryUserAssignedIdentityId: "string",
    	PublicNetworkAccess:           "string",
    	AdministratorLoginPassword:    "string",
    	ServerName:                    "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	Version: "string",
    })
    
    var exampleserverResourceResourceFromSql = new Server("exampleserverResourceResourceFromSql", ServerArgs.builder()
        .resourceGroupName("string")
        .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .administrators(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .administratorLogin("string")
        .keyId("string")
        .location("string")
        .minimalTlsVersion("string")
        .primaryUserAssignedIdentityId("string")
        .publicNetworkAccess("string")
        .administratorLoginPassword("string")
        .serverName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .version("string")
        .build());
    
    exampleserver_resource_resource_from_sql = azure_native.sql.Server("exampleserverResourceResourceFromSql",
        resource_group_name=string,
        identity={
            type: string,
            userAssignedIdentities: {
                string: any,
            },
        },
        administrators={
            administratorType: string,
            azureADOnlyAuthentication: False,
            login: string,
            principalType: string,
            sid: string,
            tenantId: string,
        },
        administrator_login=string,
        key_id=string,
        location=string,
        minimal_tls_version=string,
        primary_user_assigned_identity_id=string,
        public_network_access=string,
        administrator_login_password=string,
        server_name=string,
        tags={
            string: string,
        },
        version=string)
    
    const exampleserverResourceResourceFromSql = new azure_native.sql.Server("exampleserverResourceResourceFromSql", {
        resourceGroupName: "string",
        identity: {
            type: "string",
            userAssignedIdentities: {
                string: "any",
            },
        },
        administrators: {
            administratorType: "string",
            azureADOnlyAuthentication: false,
            login: "string",
            principalType: "string",
            sid: "string",
            tenantId: "string",
        },
        administratorLogin: "string",
        keyId: "string",
        location: "string",
        minimalTlsVersion: "string",
        primaryUserAssignedIdentityId: "string",
        publicNetworkAccess: "string",
        administratorLoginPassword: "string",
        serverName: "string",
        tags: {
            string: "string",
        },
        version: "string",
    });
    
    type: azure-native:sql:Server
    properties:
        administratorLogin: string
        administratorLoginPassword: string
        administrators:
            administratorType: string
            azureADOnlyAuthentication: false
            login: string
            principalType: string
            sid: string
            tenantId: string
        identity:
            type: string
            userAssignedIdentities:
                string: any
        keyId: string
        location: string
        minimalTlsVersion: string
        primaryUserAssignedIdentityId: string
        publicNetworkAccess: string
        resourceGroupName: string
        serverName: string
        tags:
            string: string
        version: string
    

    Server Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Server resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    AdministratorLogin string
    Administrator username for the server. Once created it cannot be changed.
    AdministratorLoginPassword string
    The administrator login password (required for server creation).
    Administrators Pulumi.AzureNative.Sql.Inputs.ServerExternalAdministrator
    The Azure Active Directory identity of the server.
    Identity Pulumi.AzureNative.Sql.Inputs.ResourceIdentity
    The Azure Active Directory identity of the server.
    KeyId string
    A CMK URI of the key to use for encryption.
    Location string
    Resource location.
    MinimalTlsVersion string
    Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
    PrimaryUserAssignedIdentityId string
    The resource id of a user assigned identity to be used by default.
    PublicNetworkAccess string | Pulumi.AzureNative.Sql.ServerPublicNetworkAccess
    Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
    ServerName string
    The name of the server.
    Tags Dictionary<string, string>
    Resource tags.
    Version string
    The version of the server.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    AdministratorLogin string
    Administrator username for the server. Once created it cannot be changed.
    AdministratorLoginPassword string
    The administrator login password (required for server creation).
    Administrators ServerExternalAdministratorArgs
    The Azure Active Directory identity of the server.
    Identity ResourceIdentityArgs
    The Azure Active Directory identity of the server.
    KeyId string
    A CMK URI of the key to use for encryption.
    Location string
    Resource location.
    MinimalTlsVersion string
    Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
    PrimaryUserAssignedIdentityId string
    The resource id of a user assigned identity to be used by default.
    PublicNetworkAccess string | ServerPublicNetworkAccess
    Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
    ServerName string
    The name of the server.
    Tags map[string]string
    Resource tags.
    Version string
    The version of the server.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    administratorLogin String
    Administrator username for the server. Once created it cannot be changed.
    administratorLoginPassword String
    The administrator login password (required for server creation).
    administrators ServerExternalAdministrator
    The Azure Active Directory identity of the server.
    identity ResourceIdentity
    The Azure Active Directory identity of the server.
    keyId String
    A CMK URI of the key to use for encryption.
    location String
    Resource location.
    minimalTlsVersion String
    Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
    primaryUserAssignedIdentityId String
    The resource id of a user assigned identity to be used by default.
    publicNetworkAccess String | ServerPublicNetworkAccess
    Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
    serverName String
    The name of the server.
    tags Map<String,String>
    Resource tags.
    version String
    The version of the server.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    administratorLogin string
    Administrator username for the server. Once created it cannot be changed.
    administratorLoginPassword string
    The administrator login password (required for server creation).
    administrators ServerExternalAdministrator
    The Azure Active Directory identity of the server.
    identity ResourceIdentity
    The Azure Active Directory identity of the server.
    keyId string
    A CMK URI of the key to use for encryption.
    location string
    Resource location.
    minimalTlsVersion string
    Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
    primaryUserAssignedIdentityId string
    The resource id of a user assigned identity to be used by default.
    publicNetworkAccess string | ServerPublicNetworkAccess
    Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
    serverName string
    The name of the server.
    tags {[key: string]: string}
    Resource tags.
    version string
    The version of the server.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    administrator_login str
    Administrator username for the server. Once created it cannot be changed.
    administrator_login_password str
    The administrator login password (required for server creation).
    administrators ServerExternalAdministratorArgs
    The Azure Active Directory identity of the server.
    identity ResourceIdentityArgs
    The Azure Active Directory identity of the server.
    key_id str
    A CMK URI of the key to use for encryption.
    location str
    Resource location.
    minimal_tls_version str
    Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
    primary_user_assigned_identity_id str
    The resource id of a user assigned identity to be used by default.
    public_network_access str | ServerPublicNetworkAccess
    Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
    server_name str
    The name of the server.
    tags Mapping[str, str]
    Resource tags.
    version str
    The version of the server.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    administratorLogin String
    Administrator username for the server. Once created it cannot be changed.
    administratorLoginPassword String
    The administrator login password (required for server creation).
    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.
    location String
    Resource location.
    minimalTlsVersion String
    Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'
    primaryUserAssignedIdentityId String
    The resource id of a user assigned identity to be used by default.
    publicNetworkAccess String | "Enabled" | "Disabled"
    Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
    serverName String
    The name of the server.
    tags Map<String>
    Resource tags.
    version String
    The version of the server.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:

    FullyQualifiedDomainName string
    The fully qualified domain name of the server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Kind of sql server. This is metadata used for the Azure portal experience.
    Name string
    Resource name.
    PrivateEndpointConnections List<Pulumi.AzureNative.Sql.Outputs.ServerPrivateEndpointConnectionResponse>
    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
    FullyQualifiedDomainName string
    The fully qualified domain name of the server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Kind of sql server. This is metadata used for the Azure portal experience.
    Name string
    Resource name.
    PrivateEndpointConnections []ServerPrivateEndpointConnectionResponse
    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
    fullyQualifiedDomainName String
    The fully qualified domain name of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Kind of sql server. This is metadata used for the Azure portal experience.
    name String
    Resource name.
    privateEndpointConnections List<ServerPrivateEndpointConnectionResponse>
    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
    fullyQualifiedDomainName string
    The fully qualified domain name of the server.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    Kind of sql server. This is metadata used for the Azure portal experience.
    name string
    Resource name.
    privateEndpointConnections ServerPrivateEndpointConnectionResponse[]
    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
    fully_qualified_domain_name str
    The fully qualified domain name of the server.
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    Kind of sql server. This is metadata used for the Azure portal experience.
    name str
    Resource name.
    private_endpoint_connections Sequence[ServerPrivateEndpointConnectionResponse]
    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
    fullyQualifiedDomainName String
    The fully qualified domain name of the server.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Kind of sql server. This is metadata used for the Azure portal experience.
    name String
    Resource name.
    privateEndpointConnections List<Property Map>
    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

    Supporting Types

    AdministratorType, AdministratorTypeArgs

    ActiveDirectory
    ActiveDirectory
    AdministratorTypeActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ActiveDirectory
    ACTIVE_DIRECTORY
    ActiveDirectory
    "ActiveDirectory"
    ActiveDirectory

    IdentityType, IdentityTypeArgs

    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    IdentityTypeNone
    None
    IdentityTypeSystemAssigned
    SystemAssigned
    IdentityTypeUserAssigned
    UserAssigned
    IdentityType_SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned,UserAssigned
    NONE
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned,UserAssigned
    "None"
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned,UserAssigned"
    SystemAssigned,UserAssigned

    PrincipalType, PrincipalTypeArgs

    User
    User
    Group
    Group
    Application
    Application
    PrincipalTypeUser
    User
    PrincipalTypeGroup
    Group
    PrincipalTypeApplication
    Application
    User
    User
    Group
    Group
    Application
    Application
    User
    User
    Group
    Group
    Application
    Application
    USER
    User
    GROUP
    Group
    APPLICATION
    Application
    "User"
    User
    "Group"
    Group
    "Application"
    Application

    PrivateEndpointConnectionPropertiesResponse, PrivateEndpointConnectionPropertiesResponseArgs

    ProvisioningState string
    State of the private endpoint connection.
    PrivateEndpoint Pulumi.AzureNative.Sql.Inputs.PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    PrivateLinkServiceConnectionState Pulumi.AzureNative.Sql.Inputs.PrivateLinkServiceConnectionStatePropertyResponse
    Connection state of the private endpoint connection.
    ProvisioningState string
    State of the private endpoint connection.
    PrivateEndpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse
    Connection state of the private endpoint connection.
    provisioningState String
    State of the private endpoint connection.
    privateEndpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse
    Connection state of the private endpoint connection.
    provisioningState string
    State of the private endpoint connection.
    privateEndpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse
    Connection state of the private endpoint connection.
    provisioning_state str
    State of the private endpoint connection.
    private_endpoint PrivateEndpointPropertyResponse
    Private endpoint which the connection belongs to.
    private_link_service_connection_state PrivateLinkServiceConnectionStatePropertyResponse
    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.
    privateLinkServiceConnectionState Property Map
    Connection state of the private endpoint connection.

    PrivateEndpointPropertyResponse, PrivateEndpointPropertyResponseArgs

    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, PrivateLinkServiceConnectionStatePropertyResponseArgs

    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.

    ResourceIdentity, ResourceIdentityArgs

    Type string | Pulumi.AzureNative.Sql.IdentityType
    The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
    UserAssignedIdentities Dictionary<string, object>
    The resource ids of the user assigned identities to use
    Type string | IdentityType
    The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
    UserAssignedIdentities map[string]interface{}
    The resource ids of the user assigned identities to use
    type String | IdentityType
    The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
    userAssignedIdentities Map<String,Object>
    The resource ids of the user assigned identities to use
    type string | IdentityType
    The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
    userAssignedIdentities {[key: string]: any}
    The resource ids of the user assigned identities to use
    type str | IdentityType
    The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
    user_assigned_identities Mapping[str, Any]
    The resource ids of the user assigned identities to use
    type String | "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned"
    The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
    userAssignedIdentities Map<Any>
    The resource ids of the user assigned identities to use

    ResourceIdentityResponse, ResourceIdentityResponseArgs

    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.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Sql.Inputs.UserIdentityResponse>
    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.
    UserAssignedIdentities map[string]UserIdentityResponse
    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.
    userAssignedIdentities Map<String,UserIdentityResponse>
    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.
    userAssignedIdentities {[key: string]: UserIdentityResponse}
    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_identities Mapping[str, UserIdentityResponse]
    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.
    userAssignedIdentities Map<Property Map>
    The resource ids of the user assigned identities to use

    ServerExternalAdministrator, ServerExternalAdministratorArgs

    AdministratorType string | Pulumi.AzureNative.Sql.AdministratorType
    Type of the sever administrator.
    AzureADOnlyAuthentication bool
    Azure Active Directory only Authentication enabled.
    Login string
    Login name of the server administrator.
    PrincipalType string | Pulumi.AzureNative.Sql.PrincipalType
    Principal Type of the sever administrator.
    Sid string
    SID (object ID) of the server administrator.
    TenantId string
    Tenant ID of the administrator.
    AdministratorType string | AdministratorType
    Type of the sever administrator.
    AzureADOnlyAuthentication bool
    Azure Active Directory only Authentication enabled.
    Login string
    Login name of the server administrator.
    PrincipalType string | PrincipalType
    Principal Type of the sever administrator.
    Sid string
    SID (object ID) of the server administrator.
    TenantId string
    Tenant ID of the administrator.
    administratorType String | AdministratorType
    Type of the sever administrator.
    azureADOnlyAuthentication Boolean
    Azure Active Directory only Authentication enabled.
    login String
    Login name of the server administrator.
    principalType String | PrincipalType
    Principal Type of the sever administrator.
    sid String
    SID (object ID) of the server administrator.
    tenantId String
    Tenant ID of the administrator.
    administratorType string | AdministratorType
    Type of the sever administrator.
    azureADOnlyAuthentication boolean
    Azure Active Directory only Authentication enabled.
    login string
    Login name of the server administrator.
    principalType string | PrincipalType
    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 | AdministratorType
    Type of the sever administrator.
    azure_ad_only_authentication bool
    Azure Active Directory only Authentication enabled.
    login str
    Login name of the server administrator.
    principal_type str | PrincipalType
    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 | "ActiveDirectory"
    Type of the sever administrator.
    azureADOnlyAuthentication Boolean
    Azure Active Directory only Authentication enabled.
    login String
    Login name of the server administrator.
    principalType String | "User" | "Group" | "Application"
    Principal Type of the sever administrator.
    sid String
    SID (object ID) of the server administrator.
    tenantId String
    Tenant ID of the administrator.

    ServerExternalAdministratorResponse, ServerExternalAdministratorResponseArgs

    AdministratorType string
    Type of the sever administrator.
    AzureADOnlyAuthentication bool
    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.
    AzureADOnlyAuthentication bool
    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.
    azureADOnlyAuthentication Boolean
    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.
    azureADOnlyAuthentication boolean
    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_only_authentication bool
    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.
    azureADOnlyAuthentication Boolean
    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, ServerPrivateEndpointConnectionResponseArgs

    Id string
    Resource ID.
    Properties Pulumi.AzureNative.Sql.Inputs.PrivateEndpointConnectionPropertiesResponse
    Private endpoint connection properties
    Id string
    Resource ID.
    Properties PrivateEndpointConnectionPropertiesResponse
    Private endpoint connection properties
    id String
    Resource ID.
    properties PrivateEndpointConnectionPropertiesResponse
    Private endpoint connection properties
    id string
    Resource ID.
    properties PrivateEndpointConnectionPropertiesResponse
    Private endpoint connection properties
    id str
    Resource ID.
    properties PrivateEndpointConnectionPropertiesResponse
    Private endpoint connection properties
    id String
    Resource ID.
    properties Property Map
    Private endpoint connection properties

    ServerPublicNetworkAccess, ServerPublicNetworkAccessArgs

    Enabled
    Enabled
    Disabled
    Disabled
    ServerPublicNetworkAccessEnabled
    Enabled
    ServerPublicNetworkAccessDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    UserIdentityResponse, UserIdentityResponseArgs

    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.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:sql:Server sqlcrudtest-4645 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    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