outscale 1.1.0 published on Thursday, Apr 3, 2025 by outscale
outscale.getAccounts
Explore with Pulumi AI
Provides information about accounts.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const allAccounts = outscale.getAccounts({});
import pulumi
import pulumi_outscale as outscale
all_accounts = outscale.get_accounts()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.GetAccounts(ctx, &outscale.GetAccountsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var allAccounts = Outscale.GetAccounts.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetAccountsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var allAccounts = OutscaleFunctions.getAccounts();
}
}
variables:
allAccounts:
fn::invoke:
function: outscale:getAccounts
arguments: {}
Using getAccounts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAccounts(args: GetAccountsArgs, opts?: InvokeOptions): Promise<GetAccountsResult>
function getAccountsOutput(args: GetAccountsOutputArgs, opts?: InvokeOptions): Output<GetAccountsResult>
def get_accounts(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountsResult
def get_accounts_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountsResult]
func GetAccounts(ctx *Context, args *GetAccountsArgs, opts ...InvokeOption) (*GetAccountsResult, error)
func GetAccountsOutput(ctx *Context, args *GetAccountsOutputArgs, opts ...InvokeOption) GetAccountsResultOutput
> Note: This function is named GetAccounts
in the Go SDK.
public static class GetAccounts
{
public static Task<GetAccountsResult> InvokeAsync(GetAccountsArgs args, InvokeOptions? opts = null)
public static Output<GetAccountsResult> Invoke(GetAccountsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
public static Output<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getAccounts:getAccounts
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getAccounts Result
The following output properties are available:
- Accounts
List<Get
Accounts Account> - The list of the accounts.
- Id string
- Request
Id string
- Accounts
[]Get
Accounts Account - The list of the accounts.
- Id string
- Request
Id string
- accounts
List<Get
Accounts Account> - The list of the accounts.
- id String
- request
Id String
- accounts
Get
Accounts Account[] - The list of the accounts.
- id string
- request
Id string
- accounts
Sequence[Get
Accounts Account] - The list of the accounts.
- id str
- request_
id str
- accounts List<Property Map>
- The list of the accounts.
- id String
- request
Id String
Supporting Types
GetAccountsAccount
- Account
Id This property is required. string - The ID of the account.
- Additional
Emails This property is required. List<string> - One or more additional email addresses for the account. These addresses are used for notifications only.
- City
This property is required. string - The city of the account owner.
- Company
Name This property is required. string - The name of the company for the account.
- Country
This property is required. string - The country of the account owner.
- Customer
Id This property is required. string - The ID of the customer.
- Email
This property is required. string - The main email address for the account. This address is used for your credentials and for notifications.
- First
Name This property is required. string - The first name of the account owner.
- Job
Title This property is required. string - The job title of the account owner.
- Last
Name This property is required. string - The last name of the account owner.
- Mobile
Number This property is required. string - The mobile phone number of the account owner.
- Phone
Number This property is required. string - The landline phone number of the account owner.
- State
Province This property is required. string - The state/province of the account.
- Vat
Number This property is required. string - The value added tax (VAT) number for the account.
- Zip
Code This property is required. string - The ZIP code of the city.
- Account
Id This property is required. string - The ID of the account.
- Additional
Emails This property is required. []string - One or more additional email addresses for the account. These addresses are used for notifications only.
- City
This property is required. string - The city of the account owner.
- Company
Name This property is required. string - The name of the company for the account.
- Country
This property is required. string - The country of the account owner.
- Customer
Id This property is required. string - The ID of the customer.
- Email
This property is required. string - The main email address for the account. This address is used for your credentials and for notifications.
- First
Name This property is required. string - The first name of the account owner.
- Job
Title This property is required. string - The job title of the account owner.
- Last
Name This property is required. string - The last name of the account owner.
- Mobile
Number This property is required. string - The mobile phone number of the account owner.
- Phone
Number This property is required. string - The landline phone number of the account owner.
- State
Province This property is required. string - The state/province of the account.
- Vat
Number This property is required. string - The value added tax (VAT) number for the account.
- Zip
Code This property is required. string - The ZIP code of the city.
- account
Id This property is required. String - The ID of the account.
- additional
Emails This property is required. List<String> - One or more additional email addresses for the account. These addresses are used for notifications only.
- city
This property is required. String - The city of the account owner.
- company
Name This property is required. String - The name of the company for the account.
- country
This property is required. String - The country of the account owner.
- customer
Id This property is required. String - The ID of the customer.
- email
This property is required. String - The main email address for the account. This address is used for your credentials and for notifications.
- first
Name This property is required. String - The first name of the account owner.
- job
Title This property is required. String - The job title of the account owner.
- last
Name This property is required. String - The last name of the account owner.
- mobile
Number This property is required. String - The mobile phone number of the account owner.
- phone
Number This property is required. String - The landline phone number of the account owner.
- state
Province This property is required. String - The state/province of the account.
- vat
Number This property is required. String - The value added tax (VAT) number for the account.
- zip
Code This property is required. String - The ZIP code of the city.
- account
Id This property is required. string - The ID of the account.
- additional
Emails This property is required. string[] - One or more additional email addresses for the account. These addresses are used for notifications only.
- city
This property is required. string - The city of the account owner.
- company
Name This property is required. string - The name of the company for the account.
- country
This property is required. string - The country of the account owner.
- customer
Id This property is required. string - The ID of the customer.
- email
This property is required. string - The main email address for the account. This address is used for your credentials and for notifications.
- first
Name This property is required. string - The first name of the account owner.
- job
Title This property is required. string - The job title of the account owner.
- last
Name This property is required. string - The last name of the account owner.
- mobile
Number This property is required. string - The mobile phone number of the account owner.
- phone
Number This property is required. string - The landline phone number of the account owner.
- state
Province This property is required. string - The state/province of the account.
- vat
Number This property is required. string - The value added tax (VAT) number for the account.
- zip
Code This property is required. string - The ZIP code of the city.
- account_
id This property is required. str - The ID of the account.
- additional_
emails This property is required. Sequence[str] - One or more additional email addresses for the account. These addresses are used for notifications only.
- city
This property is required. str - The city of the account owner.
- company_
name This property is required. str - The name of the company for the account.
- country
This property is required. str - The country of the account owner.
- customer_
id This property is required. str - The ID of the customer.
- email
This property is required. str - The main email address for the account. This address is used for your credentials and for notifications.
- first_
name This property is required. str - The first name of the account owner.
- job_
title This property is required. str - The job title of the account owner.
- last_
name This property is required. str - The last name of the account owner.
- mobile_
number This property is required. str - The mobile phone number of the account owner.
- phone_
number This property is required. str - The landline phone number of the account owner.
- state_
province This property is required. str - The state/province of the account.
- vat_
number This property is required. str - The value added tax (VAT) number for the account.
- zip_
code This property is required. str - The ZIP code of the city.
- account
Id This property is required. String - The ID of the account.
- additional
Emails This property is required. List<String> - One or more additional email addresses for the account. These addresses are used for notifications only.
- city
This property is required. String - The city of the account owner.
- company
Name This property is required. String - The name of the company for the account.
- country
This property is required. String - The country of the account owner.
- customer
Id This property is required. String - The ID of the customer.
- email
This property is required. String - The main email address for the account. This address is used for your credentials and for notifications.
- first
Name This property is required. String - The first name of the account owner.
- job
Title This property is required. String - The job title of the account owner.
- last
Name This property is required. String - The last name of the account owner.
- mobile
Number This property is required. String - The mobile phone number of the account owner.
- phone
Number This property is required. String - The landline phone number of the account owner.
- state
Province This property is required. String - The state/province of the account.
- vat
Number This property is required. String - The value added tax (VAT) number for the account.
- zip
Code This property is required. String - The ZIP code of the city.
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscale
Terraform Provider.