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>",
});
}
}
Coming soon!
import pulumi
import pulumi_aiven as aiven
myserviceuser = aiven.ServiceUser("myserviceuser",
project=aiven_project["myproject"]["project"],
service_name=aiven_service["myservice"]["service_name"],
username="<USERNAME>")import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const myserviceuser = new aiven.ServiceUser("myserviceuser", {
project: aiven_project_myproject.project,
serviceName: aiven_service_myservice.serviceName,
username: "<USERNAME>",
});Create a ServiceUser Resource
new ServiceUser(name: string, args: ServiceUserArgs, opts?: CustomResourceOptions);def ServiceUser(resource_name, opts=None, project=None, service_name=None, username=None, __props__=None);func NewServiceUser(ctx *Context, name string, args ServiceUserArgs, opts ...ResourceOption) (*ServiceUser, error)public ServiceUser(string name, ServiceUserArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ServiceUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ServiceUser Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ServiceUser resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceUser resource produces the following output properties:
- Access
Cert string Access certificate for the user if applicable for the service in question
- Access
Key string Access certificate key for the user if applicable for the service in question
- Id string
- The provider-assigned unique ID for this managed resource.
- Password string
Password of the user
- Type string
Type of the user account
- Access
Cert string Access certificate for the user if applicable for the service in question
- Access
Key string Access certificate key for the user if applicable for the service in question
- Id string
- The provider-assigned unique ID for this managed resource.
- Password string
Password of the user
- Type string
Type of the user account
- access
Cert string Access certificate for the user if applicable for the service in question
- access
Key string Access certificate key for the user if applicable for the service in question
- id string
- The provider-assigned unique ID for this managed resource.
- password string
Password of the user
- type string
Type of the user account
- access_
cert str Access certificate for the user if applicable for the service in question
- access_
key str Access certificate key for the user if applicable for the service in question
- id str
- The provider-assigned unique ID for this managed resource.
- password str
Password of the user
- type str
Type of the user account
Look up an Existing ServiceUser Resource
Get an existing ServiceUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServiceUserState, opts?: CustomResourceOptions): ServiceUserstatic get(resource_name, id, opts=None, access_cert=None, access_key=None, password=None, project=None, service_name=None, type=None, username=None, __props__=None);func GetServiceUser(ctx *Context, name string, id IDInput, state *ServiceUserState, opts ...ResourceOption) (*ServiceUser, error)public static ServiceUser Get(string name, Input<string> id, ServiceUserState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Access
Cert string Access certificate for the user if applicable for the service in question
- Access
Key string Access certificate key for the user if applicable for the service in question
- Password string
Password of the user
- Project string
Project to link the user to
- Service
Name string Service to link the user to
- Type string
Type of the user account
- Username string
Name of the user account
- Access
Cert string Access certificate for the user if applicable for the service in question
- Access
Key string Access certificate key for the user if applicable for the service in question
- Password string
Password of the user
- Project string
Project to link the user to
- Service
Name string Service to link the user to
- Type string
Type of the user account
- Username string
Name of the user account
- access
Cert string Access certificate for the user if applicable for the service in question
- access
Key string Access certificate key for the user if applicable for the service in question
- password string
Password of the user
- project string
Project to link the user to
- service
Name string Service to link the user to
- type string
Type of the user account
- username string
Name of the user account
- access_
cert str Access certificate for the user if applicable for the service in question
- access_
key str Access certificate key for the user if applicable for the service in question
- password str
Password of the user
- project str
Project to link the user to
- service_
name str Service to link the user to
- type str
Type of the user account
- username str
Name of the user account
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.