azure-native.sql.Server
Explore with Pulumi AI
An Azure SQL Database server. API Version: 2020-11-01-preview.
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
This property is required. string - The unique name of the resource.
- args
This property is required. ServerArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ServerArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ServerArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Server resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Administrator username for the server. Once created it cannot be changed.
- Administrator
Login stringPassword - The administrator login password (required for server creation).
- Administrators
Changes to this property will trigger replacement.
Azure Native. Sql. Inputs. Server External Administrator - The Azure Active Directory identity of the server.
- Identity
Changes to this property will trigger replacement.
Azure Native. Sql. Inputs. Resource Identity - The Azure Active Directory identity of the server.
- Key
Id Changes to this property will trigger replacement.
- A CMK URI of the key to use for encryption.
- Location
Changes to this property will trigger replacement.
- Resource location.
- 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 string | Pulumi.Access Azure Native. Sql. Server Public Network Access - 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 Changes to this property will trigger replacement.
- The name of the server.
- Dictionary<string, string>
- Resource tags.
- Version string
- The version of the server.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Administrator username for the server. Once created it cannot be changed.
- Administrator
Login stringPassword - The administrator login password (required for server creation).
- Administrators
Changes to this property will trigger replacement.
External Administrator Args - The Azure Active Directory identity of the server.
- Identity
Changes to this property will trigger replacement.
Identity Args - The Azure Active Directory identity of the server.
- Key
Id Changes to this property will trigger replacement.
- A CMK URI of the key to use for encryption.
- Location
Changes to this property will trigger replacement.
- Resource location.
- 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 string | ServerAccess Public Network Access - 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 Changes to this property will trigger replacement.
- The name of the server.
- map[string]string
- Resource tags.
- Version string
- The version of the server.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Administrator username for the server. Once created it cannot be changed.
- administrator
Login StringPassword - The administrator login password (required for server creation).
- administrators
Changes to this property will trigger replacement.
External Administrator - The Azure Active Directory identity of the server.
- identity
Changes to this property will trigger replacement.
Identity - The Azure Active Directory identity of the server.
- key
Id Changes to this property will trigger replacement.
- A CMK URI of the key to use for encryption.
- location
Changes to this property will trigger replacement.
- Resource location.
- 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 String | ServerAccess Public Network Access - 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 Changes to this property will trigger replacement.
- The name of the server.
- Map<String,String>
- Resource tags.
- version String
- The version of the server.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Administrator username for the server. Once created it cannot be changed.
- administrator
Login stringPassword - The administrator login password (required for server creation).
- administrators
Changes to this property will trigger replacement.
External Administrator - The Azure Active Directory identity of the server.
- identity
Changes to this property will trigger replacement.
Identity - The Azure Active Directory identity of the server.
- key
Id Changes to this property will trigger replacement.
- A CMK URI of the key to use for encryption.
- location
Changes to this property will trigger replacement.
- Resource location.
- 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 string | ServerAccess Public Network Access - 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 Changes to this property will trigger replacement.
- The name of the server.
- {[key: string]: string}
- Resource tags.
- version string
- The version of the server.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Administrator username for the server. Once created it cannot be changed.
- administrator_
login_ strpassword - The administrator login password (required for server creation).
- administrators
Changes to this property will trigger replacement.
External Administrator Args - The Azure Active Directory identity of the server.
- identity
Changes to this property will trigger replacement.
Identity Args - The Azure Active Directory identity of the server.
- key_
id Changes to this property will trigger replacement.
- A CMK URI of the key to use for encryption.
- location
Changes to this property will trigger replacement.
- Resource location.
- 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_ str | Serveraccess Public Network Access - 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 Changes to this property will trigger replacement.
- The name of the server.
- Mapping[str, str]
- Resource tags.
- version str
- The version of the server.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Administrator username for the server. Once created it cannot be changed.
- administrator
Login StringPassword - The administrator login password (required for server creation).
- administrators
Changes to this property will trigger replacement.
- The Azure Active Directory identity of the server.
- identity
Changes to this property will trigger replacement.
- The Azure Active Directory identity of the server.
- key
Id Changes to this property will trigger replacement.
- A CMK URI of the key to use for encryption.
- location
Changes to this property will trigger replacement.
- Resource location.
- 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 String | "Enabled" | "Disabled"Access - 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 Changes to this property will trigger replacement.
- The name of the server.
- 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:
- Fully
Qualified stringDomain Name - 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.
- 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
- Fully
Qualified stringDomain Name - 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.
- 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
- fully
Qualified StringDomain Name - 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.
- 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
- fully
Qualified stringDomain Name - 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.
- 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
- fully_
qualified_ strdomain_ name - 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_ 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
- fully
Qualified StringDomain Name - 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.
- 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
Supporting Types
AdministratorType, AdministratorTypeArgs
- Active
Directory - ActiveDirectory
- Administrator
Type Active Directory - ActiveDirectory
- Active
Directory - ActiveDirectory
- Active
Directory - ActiveDirectory
- ACTIVE_DIRECTORY
- ActiveDirectory
- "Active
Directory" - ActiveDirectory
IdentityType, IdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- Identity
Type None - None
- Identity
Type System Assigned - SystemAssigned
- Identity
Type User Assigned - UserAssigned
- Identity
Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
PrincipalType, PrincipalTypeArgs
- User
- User
- Group
- Group
- Application
- Application
- Principal
Type User - User
- Principal
Type Group - Group
- Principal
Type Application - 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
- Provisioning
State This property is required. 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.
- Provisioning
State This property is required. 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.
- provisioning
State This property is required. 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.
- provisioning
State This property is required. 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.
- provisioning_
state This property is required. 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.
- provisioning
State This property is required. 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, 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
- Actions
Required This property is required. string - The actions required for private link service connection.
- Description
This property is required. string - The private link service connection description.
- Status
This property is required. string - The private link service connection status.
- Actions
Required This property is required. string - The actions required for private link service connection.
- Description
This property is required. string - The private link service connection description.
- Status
This property is required. string - The private link service connection status.
- actions
Required This property is required. String - The actions required for private link service connection.
- description
This property is required. String - The private link service connection description.
- status
This property is required. String - The private link service connection status.
- actions
Required This property is required. string - The actions required for private link service connection.
- description
This property is required. string - The private link service connection description.
- status
This property is required. string - The private link service connection status.
- actions_
required This property is required. str - The actions required for private link service connection.
- description
This property is required. str - The private link service connection description.
- status
This property is required. str - The private link service connection status.
- actions
Required This property is required. String - The actions required for private link service connection.
- description
This property is required. String - The private link service connection description.
- status
This property is required. String - The private link service connection status.
ResourceIdentity, ResourceIdentityArgs
- Type
string | Pulumi.
Azure Native. Sql. Identity Type - 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, object>Identities - The resource ids of the user assigned identities to use
- Type
string | Identity
Type - 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]interface{}Identities - The resource ids of the user assigned identities to use
- type
String | Identity
Type - 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,Object>Identities - The resource ids of the user assigned identities to use
- type
string | Identity
Type - 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]: any}Identities - The resource ids of the user assigned identities to use
- type
str | Identity
Type - 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, Any]identities - The resource ids of the user assigned identities to use
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - 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<Any>Identities - The resource ids of the user assigned identities to use
ResourceIdentityResponse, ResourceIdentityResponseArgs
- Principal
Id This property is required. string - The Azure Active Directory principal id.
- Tenant
Id This property is required. 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 This property is required. string - The Azure Active Directory principal id.
- Tenant
Id This property is required. 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 This property is required. String - The Azure Active Directory principal id.
- tenant
Id This property is required. 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 This property is required. string - The Azure Active Directory principal id.
- tenant
Id This property is required. 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 This property is required. str - The Azure Active Directory principal id.
- tenant_
id This property is required. 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 This property is required. String - The Azure Active Directory principal id.
- tenant
Id This property is required. 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
ServerExternalAdministrator, ServerExternalAdministratorArgs
- Administrator
Type string | Pulumi.Azure Native. Sql. Administrator Type - 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 | Pulumi.Azure Native. Sql. Principal Type - 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 | AdministratorType - 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 | PrincipalType - 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 | AdministratorType - 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 | PrincipalType - 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 | AdministratorType - 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 | PrincipalType - 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 | AdministratorType - 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 | PrincipalType - 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 | "ActiveDirectory" - 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 | "User" | "Group" | "Application" - Principal Type of the sever administrator.
- sid String
- SID (object ID) of the server administrator.
- tenant
Id String - Tenant ID of the administrator.
ServerExternalAdministratorResponse, ServerExternalAdministratorResponseArgs
- 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, ServerPrivateEndpointConnectionResponseArgs
- Id
This property is required. string - Resource ID.
- Properties
This property is required. Pulumi.Azure Native. Sql. Inputs. Private Endpoint Connection Properties Response - Private endpoint connection properties
- Id
This property is required. string - Resource ID.
- Properties
This property is required. PrivateEndpoint Connection Properties Response - Private endpoint connection properties
- id
This property is required. String - Resource ID.
- properties
This property is required. PrivateEndpoint Connection Properties Response - Private endpoint connection properties
- id
This property is required. string - Resource ID.
- properties
This property is required. PrivateEndpoint Connection Properties Response - Private endpoint connection properties
- id
This property is required. str - Resource ID.
- properties
This property is required. PrivateEndpoint Connection Properties Response - Private endpoint connection properties
- id
This property is required. String - Resource ID.
- properties
This property is required. Property Map - Private endpoint connection properties
ServerPublicNetworkAccess, ServerPublicNetworkAccessArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Server
Public Network Access Enabled - Enabled
- Server
Public Network Access Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
UserIdentityResponse, UserIdentityResponseArgs
- Client
Id This property is required. string - The Azure Active Directory client id.
- Principal
Id This property is required. string - The Azure Active Directory principal id.
- Client
Id This property is required. string - The Azure Active Directory client id.
- Principal
Id This property is required. string - The Azure Active Directory principal id.
- client
Id This property is required. String - The Azure Active Directory client id.
- principal
Id This property is required. String - The Azure Active Directory principal id.
- client
Id This property is required. string - The Azure Active Directory client id.
- principal
Id This property is required. string - The Azure Active Directory principal id.
- client_
id This property is required. str - The Azure Active Directory client id.
- principal_
id This property is required. str - The Azure Active Directory principal id.
- client
Id This property is required. String - The Azure Active Directory client id.
- principal
Id This property is required. 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