Show / Hide Table of Contents

Class Server

Manages a Microsoft SQL Azure Database Server.

Note: All arguments including the administrator login and password will be stored in the raw state as plain-text. Read more about sensitive data in state.

Inheritance
System.Object
Resource
CustomResource
Server
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.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public class Server : CustomResource

Constructors

View Source

Server(String, ServerArgs, CustomResourceOptions)

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

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

The unique name of the resource

ServerArgs 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

AzureadAdministrator

An azuread_administrator block as defined below.

Declaration
public Output<ServerAzureadAdministrator> AzureadAdministrator { get; }
Property Value
Type Description
Output<ServerAzureadAdministrator>
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<ServerExtendedAuditingPolicy> ExtendedAuditingPolicy { get; }
Property Value
Type Description
Output<ServerExtendedAuditingPolicy>
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<ServerIdentity> Identity { get; }
Property Value
Type Description
Output<ServerIdentity>
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

PublicNetworkAccessEnabled

Whether or not public network access is allowed for this server. Defaults to true.

Declaration
public Output<bool?> PublicNetworkAccessEnabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
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>, ServerState, CustomResourceOptions)

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

Declaration
public static Server Get(string name, Input<string> id, ServerState 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.

ServerState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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