Show / Hide Table of Contents

Class SqlServer

Manages a Microsoft SQL Azure Database Server.

Inheritance
System.Object
Resource
CustomResource
SqlServer
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Sql
Assembly: Pulumi.Azure.dll
Syntax
public class SqlServer : CustomResource

Constructors

View Source

SqlServer(String, SqlServerArgs, CustomResourceOptions)

Create a SqlServer resource with the given unique name, arguments, and options.

Declaration
public SqlServer(string name, SqlServerArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SqlServerArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AdministratorLogin

The administrator login name for the new server. Changing this forces a new resource to be created.

Declaration
public Output<string> AdministratorLogin { get; }
Property Value
Type Description
Output<System.String>
View Source

AdministratorLoginPassword

The password associated with the administrator_login user. Needs to comply with Azure's Password Policy

Declaration
public Output<string> AdministratorLoginPassword { get; }
Property Value
Type Description
Output<System.String>
View Source

ConnectionPolicy

The connection policy the server will use. Possible values are Default, Proxy, and Redirect. Defaults to Default.

Declaration
public Output<string> ConnectionPolicy { get; }
Property Value
Type Description
Output<System.String>
View Source

ExtendedAuditingPolicy

A extended_auditing_policy block as defined below.

Declaration
public Output<SqlServerExtendedAuditingPolicy> ExtendedAuditingPolicy { get; }
Property Value
Type Description
Output<SqlServerExtendedAuditingPolicy>
View Source

FullyQualifiedDomainName

The fully qualified domain name of the Azure SQL Server (e.g. myServerName.database.windows.net)

Declaration
public Output<string> FullyQualifiedDomainName { get; }
Property Value
Type Description
Output<System.String>
View Source

Identity

An identity block as defined below.

Declaration
public Output<SqlServerIdentity> Identity { get; }
Property Value
Type Description
Output<SqlServerIdentity>
View Source

Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the Microsoft SQL Server. This needs to be globally unique within Azure.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

The name of the resource group in which to create the Microsoft SQL Server.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

Version

The version for the new server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server).

Declaration
public Output<string> Version { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, SqlServerState, CustomResourceOptions)

Get an existing SqlServer resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static SqlServer Get(string name, Input<string> id, SqlServerState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SqlServerState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
SqlServer
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.