Show / Hide Table of Contents

Class Service

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
public MyStack()
{
    var myservice = new Aiven.Service("myservice", new Aiven.ServiceArgs
    {
        CloudName = "google-europe-west1",
        PgUserConfig = new Aiven.Inputs.ServicePgUserConfigArgs
        {
            IpFilter = 
            {
                "0.0.0.0/0",
            },
            PgVersion = "10",
        },
        Plan = "business-8",
        Project = aiven_project.Myproject.Project,
        ProjectVpcId = aiven_project_vpc.Vpc_gcp_europe_west1.Id,
        ServiceName = "<SERVICE_NAME>",
        ServiceType = "pg",
        TerminationProtection = true,
    });
}

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

Constructors

View Source

Service(String, ServiceArgs, CustomResourceOptions)

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

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

The unique name of the resource

ServiceArgs 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

Cassandra

Cassandra specific server provided values

Declaration
public Output<ServiceCassandra> Cassandra { get; }
Property Value
Type Description
Output<ServiceCassandra>
View Source

CassandraUserConfig

Cassandra specific user configurable settings

Declaration
public Output<ServiceCassandraUserConfig> CassandraUserConfig { get; }
Property Value
Type Description
Output<ServiceCassandraUserConfig>
View Source

CloudName

Cloud the service runs in

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

Components

Service component information objects

Declaration
public Output<ImmutableArray<ServiceComponent>> Components { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ServiceComponent>>
View Source

Elasticsearch

Elasticsearch specific server provided values

Declaration
public Output<ServiceElasticsearch> Elasticsearch { get; }
Property Value
Type Description
Output<ServiceElasticsearch>
View Source

ElasticsearchUserConfig

Elasticsearch specific user configurable settings

Declaration
public Output<ServiceElasticsearchUserConfig> ElasticsearchUserConfig { get; }
Property Value
Type Description
Output<ServiceElasticsearchUserConfig>
View Source

Grafana

Grafana specific server provided values

Declaration
public Output<ServiceGrafana> Grafana { get; }
Property Value
Type Description
Output<ServiceGrafana>
View Source

GrafanaUserConfig

Grafana specific user configurable settings

Declaration
public Output<ServiceGrafanaUserConfig> GrafanaUserConfig { get; }
Property Value
Type Description
Output<ServiceGrafanaUserConfig>
View Source

Influxdb

InfluxDB specific server provided values

Declaration
public Output<ServiceInfluxdb> Influxdb { get; }
Property Value
Type Description
Output<ServiceInfluxdb>
View Source

InfluxdbUserConfig

InfluxDB specific user configurable settings

Declaration
public Output<ServiceInfluxdbUserConfig> InfluxdbUserConfig { get; }
Property Value
Type Description
Output<ServiceInfluxdbUserConfig>
View Source

Kafka

Kafka specific server provided values

Declaration
public Output<ServiceKafka> Kafka { get; }
Property Value
Type Description
Output<ServiceKafka>
View Source

KafkaConnect

Kafka Connect specific server provided values

Declaration
public Output<ServiceKafkaConnect> KafkaConnect { get; }
Property Value
Type Description
Output<ServiceKafkaConnect>
View Source

KafkaConnectUserConfig

Kafka Connect specific user configurable settings

Declaration
public Output<ServiceKafkaConnectUserConfig> KafkaConnectUserConfig { get; }
Property Value
Type Description
Output<ServiceKafkaConnectUserConfig>
View Source

KafkaUserConfig

Kafka specific user configurable settings

Declaration
public Output<ServiceKafkaUserConfig> KafkaUserConfig { get; }
Property Value
Type Description
Output<ServiceKafkaUserConfig>
View Source

MaintenanceWindowDow

Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.

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

MaintenanceWindowTime

Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.

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

Mysql

MySQL specific server provided values

Declaration
public Output<ServiceMysql> Mysql { get; }
Property Value
Type Description
Output<ServiceMysql>
View Source

MysqlUserConfig

MySQL specific user configurable settings

Declaration
public Output<ServiceMysqlUserConfig> MysqlUserConfig { get; }
Property Value
Type Description
Output<ServiceMysqlUserConfig>
View Source

Pg

PostgreSQL specific server provided values

Declaration
public Output<ServicePg> Pg { get; }
Property Value
Type Description
Output<ServicePg>
View Source

PgUserConfig

PostgreSQL specific user configurable settings

Declaration
public Output<ServicePgUserConfig> PgUserConfig { get; }
Property Value
Type Description
Output<ServicePgUserConfig>
View Source

Plan

Subscription plan

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

Project

Target project

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

ProjectVpcId

Identifier of the VPC the service should be in, if any

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

Redis

Redis specific server provided values

Declaration
public Output<ServiceRedis> Redis { get; }
Property Value
Type Description
Output<ServiceRedis>
View Source

RedisUserConfig

Redis specific user configurable settings

Declaration
public Output<ServiceRedisUserConfig> RedisUserConfig { get; }
Property Value
Type Description
Output<ServiceRedisUserConfig>
View Source

ServiceHost

Service hostname

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

ServiceIntegrations

Service integrations to specify when creating a service. Not applied after initial service creation

Declaration
public Output<ImmutableArray<ServiceServiceIntegration>> ServiceIntegrations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ServiceServiceIntegration>>
View Source

ServiceName

Service name

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

ServicePassword

Password used for connecting to the service, if applicable

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

ServicePort

Service port

Declaration
public Output<int> ServicePort { get; }
Property Value
Type Description
Output<System.Int32>
View Source

ServiceType

Service type code

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

ServiceUri

URI for connecting to the service. Service specific info is under "kafka", "pg", etc.

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

ServiceUsername

Username used for connecting to the service, if applicable

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

State

Service state

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

TerminationProtection

Prevent service from being deleted. It is recommended to have this enabled for all services.

Declaration
public Output<bool?> TerminationProtection { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>

Methods

View Source

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

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

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

ServiceState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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