Show / Hide Table of Contents

Class ServiceUser

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
public MyStack()
{
    var myserviceuser = new Aiven.ServiceUser("myserviceuser", new Aiven.ServiceUserArgs
    {
        Project = aiven_project.Myproject.Project,
        ServiceName = aiven_service.Myservice.Service_name,
        Username = "<USERNAME>",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ServiceUser
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 ServiceUser : CustomResource

Constructors

View Source

ServiceUser(String, ServiceUserArgs, CustomResourceOptions)

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

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

The unique name of the resource

ServiceUserArgs 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

AccessCert

Access certificate for the user if applicable for the service in question

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

AccessKey

Access certificate key for the user if applicable for the service in question

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

Password

Password of the user

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

Project

Project to link the user to

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

ServiceName

Service to link the user to

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

Type

Type of the user account

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

Username

Name of the user account

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

Methods

View Source

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

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

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

ServiceUserState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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