OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud
ovh.Me.getMe
Explore with Pulumi AI
Use this data source to get information about the current OVHcloud account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const myaccount = ovh.Me.getMe({});
import pulumi
import pulumi_ovh as ovh
myaccount = ovh.Me.get_me()
package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Me.GetMe(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var myaccount = Ovh.Me.GetMe.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Me.MeFunctions;
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 myaccount = MeFunctions.getMe();
}
}
variables:
myaccount:
fn::invoke:
Function: ovh:Me:getMe
Arguments: {}
Using getMe
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 getMe(opts?: InvokeOptions): Promise<GetMeResult>
function getMeOutput(opts?: InvokeOptions): Output<GetMeResult>
def get_me(opts: Optional[InvokeOptions] = None) -> GetMeResult
def get_me_output(opts: Optional[InvokeOptions] = None) -> Output[GetMeResult]
func GetMe(ctx *Context, opts ...InvokeOption) (*GetMeResult, error)
func GetMeOutput(ctx *Context, opts ...InvokeOption) GetMeResultOutput
> Note: This function is named GetMe
in the Go SDK.
public static class GetMe
{
public static Task<GetMeResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetMeResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetMeResult> getMe(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ovh:Me/getMe:getMe
arguments:
# arguments dictionary
getMe Result
The following output properties are available:
- Account
URN string - The resource URN of the account, to be used when writing IAM policies
- Address string
- Postal address of the account
- Area string
- Area of the account
- Birth
City string - City of birth
- Birth
Day string - Birth date
- City string
- City of the account
- Company
National stringIdentification Number - This is the national identification number of the company that possess this account
- Corporation
Type string - Type of corporation
- Country string
- Country of the account
- Currencies
List<Get
Me Currency> - Customer
Code string - The customer code of this account (a numerical value used for identification when contacting support via phone call)
- Email string
- Email address
- Fax string
- Fax number
- Firstname string
- First name
- Id string
- The provider-assigned unique ID for this managed resource.
- Italian
Sdi string - Italian SDI
- Language string
- Preferred language for this account
- Legalform string
- Legal form of the account
- Name string
- Name of the account holder
- National
Identification stringNumber - National Identification Number of this account
- Nichandle string
- Nic handle / customer identifier
- Organisation string
- Name of the organisation for this account
- Ovh
Company string - OVHcloud subsidiary
- Ovh
Subsidiary string - OVHcloud subsidiary
- Phone string
- Phone number
- Phone
Country string - Country code of the phone number
- Sex string
- Gender of the account holder
- Spare
Email string - Backup email address
- State string
- State of the postal address
- Vat string
- VAT number
- Zip string
- Zipcode of the address
- Account
URN string - The resource URN of the account, to be used when writing IAM policies
- Address string
- Postal address of the account
- Area string
- Area of the account
- Birth
City string - City of birth
- Birth
Day string - Birth date
- City string
- City of the account
- Company
National stringIdentification Number - This is the national identification number of the company that possess this account
- Corporation
Type string - Type of corporation
- Country string
- Country of the account
- Currencies
[]Get
Me Currency - Customer
Code string - The customer code of this account (a numerical value used for identification when contacting support via phone call)
- Email string
- Email address
- Fax string
- Fax number
- Firstname string
- First name
- Id string
- The provider-assigned unique ID for this managed resource.
- Italian
Sdi string - Italian SDI
- Language string
- Preferred language for this account
- Legalform string
- Legal form of the account
- Name string
- Name of the account holder
- National
Identification stringNumber - National Identification Number of this account
- Nichandle string
- Nic handle / customer identifier
- Organisation string
- Name of the organisation for this account
- Ovh
Company string - OVHcloud subsidiary
- Ovh
Subsidiary string - OVHcloud subsidiary
- Phone string
- Phone number
- Phone
Country string - Country code of the phone number
- Sex string
- Gender of the account holder
- Spare
Email string - Backup email address
- State string
- State of the postal address
- Vat string
- VAT number
- Zip string
- Zipcode of the address
- Account
URN String - The resource URN of the account, to be used when writing IAM policies
- address String
- Postal address of the account
- area String
- Area of the account
- birth
City String - City of birth
- birth
Day String - Birth date
- city String
- City of the account
- company
National StringIdentification Number - This is the national identification number of the company that possess this account
- corporation
Type String - Type of corporation
- country String
- Country of the account
- currencies
List<Get
Currency> - customer
Code String - The customer code of this account (a numerical value used for identification when contacting support via phone call)
- email String
- Email address
- fax String
- Fax number
- firstname String
- First name
- id String
- The provider-assigned unique ID for this managed resource.
- italian
Sdi String - Italian SDI
- language String
- Preferred language for this account
- legalform String
- Legal form of the account
- name String
- Name of the account holder
- national
Identification StringNumber - National Identification Number of this account
- nichandle String
- Nic handle / customer identifier
- organisation String
- Name of the organisation for this account
- ovh
Company String - OVHcloud subsidiary
- ovh
Subsidiary String - OVHcloud subsidiary
- phone String
- Phone number
- phone
Country String - Country code of the phone number
- sex String
- Gender of the account holder
- spare
Email String - Backup email address
- state String
- State of the postal address
- vat String
- VAT number
- zip String
- Zipcode of the address
- Account
URN string - The resource URN of the account, to be used when writing IAM policies
- address string
- Postal address of the account
- area string
- Area of the account
- birth
City string - City of birth
- birth
Day string - Birth date
- city string
- City of the account
- company
National stringIdentification Number - This is the national identification number of the company that possess this account
- corporation
Type string - Type of corporation
- country string
- Country of the account
- currencies
Get
Me Currency[] - customer
Code string - The customer code of this account (a numerical value used for identification when contacting support via phone call)
- email string
- Email address
- fax string
- Fax number
- firstname string
- First name
- id string
- The provider-assigned unique ID for this managed resource.
- italian
Sdi string - Italian SDI
- language string
- Preferred language for this account
- legalform string
- Legal form of the account
- name string
- Name of the account holder
- national
Identification stringNumber - National Identification Number of this account
- nichandle string
- Nic handle / customer identifier
- organisation string
- Name of the organisation for this account
- ovh
Company string - OVHcloud subsidiary
- ovh
Subsidiary string - OVHcloud subsidiary
- phone string
- Phone number
- phone
Country string - Country code of the phone number
- sex string
- Gender of the account holder
- spare
Email string - Backup email address
- state string
- State of the postal address
- vat string
- VAT number
- zip string
- Zipcode of the address
- account_
urn str - The resource URN of the account, to be used when writing IAM policies
- address str
- Postal address of the account
- area str
- Area of the account
- birth_
city str - City of birth
- birth_
day str - Birth date
- city str
- City of the account
- company_
national_ stridentification_ number - This is the national identification number of the company that possess this account
- corporation_
type str - Type of corporation
- country str
- Country of the account
- currencies
Sequence[me.
Get Me Currency] - customer_
code str - The customer code of this account (a numerical value used for identification when contacting support via phone call)
- email str
- Email address
- fax str
- Fax number
- firstname str
- First name
- id str
- The provider-assigned unique ID for this managed resource.
- italian_
sdi str - Italian SDI
- language str
- Preferred language for this account
- legalform str
- Legal form of the account
- name str
- Name of the account holder
- national_
identification_ strnumber - National Identification Number of this account
- nichandle str
- Nic handle / customer identifier
- organisation str
- Name of the organisation for this account
- ovh_
company str - OVHcloud subsidiary
- ovh_
subsidiary str - OVHcloud subsidiary
- phone str
- Phone number
- phone_
country str - Country code of the phone number
- sex str
- Gender of the account holder
- spare_
email str - Backup email address
- state str
- State of the postal address
- vat str
- VAT number
- zip str
- Zipcode of the address
- Account
URN String - The resource URN of the account, to be used when writing IAM policies
- address String
- Postal address of the account
- area String
- Area of the account
- birth
City String - City of birth
- birth
Day String - Birth date
- city String
- City of the account
- company
National StringIdentification Number - This is the national identification number of the company that possess this account
- corporation
Type String - Type of corporation
- country String
- Country of the account
- currencies List<Property Map>
- customer
Code String - The customer code of this account (a numerical value used for identification when contacting support via phone call)
- email String
- Email address
- fax String
- Fax number
- firstname String
- First name
- id String
- The provider-assigned unique ID for this managed resource.
- italian
Sdi String - Italian SDI
- language String
- Preferred language for this account
- legalform String
- Legal form of the account
- name String
- Name of the account holder
- national
Identification StringNumber - National Identification Number of this account
- nichandle String
- Nic handle / customer identifier
- organisation String
- Name of the organisation for this account
- ovh
Company String - OVHcloud subsidiary
- ovh
Subsidiary String - OVHcloud subsidiary
- phone String
- Phone number
- phone
Country String - Country code of the phone number
- sex String
- Gender of the account holder
- spare
Email String - Backup email address
- state String
- State of the postal address
- vat String
- VAT number
- zip String
- Zipcode of the address
Supporting Types
GetMeCurrency
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.