Show / Hide Table of Contents

Class Extension

The postgresql..Extension resource creates and manages an extension on a PostgreSQL server.

Usage

using Pulumi;
using PostgreSql = Pulumi.PostgreSql;

class MyStack : Stack
{
public MyStack()
{
    var myExtension = new PostgreSql.Extension("myExtension", new PostgreSql.ExtensionArgs
    {
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Extension
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.PostgreSql
Assembly: Pulumi.PostgreSql.dll
Syntax
public class Extension : CustomResource

Constructors

View Source

Extension(String, ExtensionArgs, CustomResourceOptions)

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

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

The unique name of the resource

ExtensionArgs 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

Database

Which database to create the extension on. Defaults to provider database.

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

Name

The name of the extension.

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

Schema

Sets the schema of an extension.

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

Version

Sets the version number of the extension.

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

Methods

View Source

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

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

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

ExtensionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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