1. Packages
  2. OVH
  3. API Docs
  4. Me
  5. getMe
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

ovh.Me.getMe

Explore with Pulumi AI

ovh logo
OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud

    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:

    AccountURN 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
    BirthCity string
    City of birth
    BirthDay string
    Birth date
    City string
    City of the account
    CompanyNationalIdentificationNumber string
    This is the national identification number of the company that possess this account
    CorporationType string
    Type of corporation
    Country string
    Country of the account
    Currencies List<GetMeCurrency>
    CustomerCode 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.
    ItalianSdi string
    Italian SDI
    Language string
    Preferred language for this account
    Legalform string
    Legal form of the account
    Name string
    Name of the account holder
    NationalIdentificationNumber string
    National Identification Number of this account
    Nichandle string
    Nic handle / customer identifier
    Organisation string
    Name of the organisation for this account
    OvhCompany string
    OVHcloud subsidiary
    OvhSubsidiary string
    OVHcloud subsidiary
    Phone string
    Phone number
    PhoneCountry string
    Country code of the phone number
    Sex string
    Gender of the account holder
    SpareEmail string
    Backup email address
    State string
    State of the postal address
    Vat string
    VAT number
    Zip string
    Zipcode of the address
    AccountURN 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
    BirthCity string
    City of birth
    BirthDay string
    Birth date
    City string
    City of the account
    CompanyNationalIdentificationNumber string
    This is the national identification number of the company that possess this account
    CorporationType string
    Type of corporation
    Country string
    Country of the account
    Currencies []GetMeCurrency
    CustomerCode 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.
    ItalianSdi string
    Italian SDI
    Language string
    Preferred language for this account
    Legalform string
    Legal form of the account
    Name string
    Name of the account holder
    NationalIdentificationNumber string
    National Identification Number of this account
    Nichandle string
    Nic handle / customer identifier
    Organisation string
    Name of the organisation for this account
    OvhCompany string
    OVHcloud subsidiary
    OvhSubsidiary string
    OVHcloud subsidiary
    Phone string
    Phone number
    PhoneCountry string
    Country code of the phone number
    Sex string
    Gender of the account holder
    SpareEmail string
    Backup email address
    State string
    State of the postal address
    Vat string
    VAT number
    Zip string
    Zipcode of the address
    AccountURN 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
    birthCity String
    City of birth
    birthDay String
    Birth date
    city String
    City of the account
    companyNationalIdentificationNumber String
    This is the national identification number of the company that possess this account
    corporationType String
    Type of corporation
    country String
    Country of the account
    currencies List<GetCurrency>
    customerCode 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.
    italianSdi String
    Italian SDI
    language String
    Preferred language for this account
    legalform String
    Legal form of the account
    name String
    Name of the account holder
    nationalIdentificationNumber String
    National Identification Number of this account
    nichandle String
    Nic handle / customer identifier
    organisation String
    Name of the organisation for this account
    ovhCompany String
    OVHcloud subsidiary
    ovhSubsidiary String
    OVHcloud subsidiary
    phone String
    Phone number
    phoneCountry String
    Country code of the phone number
    sex String
    Gender of the account holder
    spareEmail String
    Backup email address
    state String
    State of the postal address
    vat String
    VAT number
    zip String
    Zipcode of the address
    AccountURN 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
    birthCity string
    City of birth
    birthDay string
    Birth date
    city string
    City of the account
    companyNationalIdentificationNumber string
    This is the national identification number of the company that possess this account
    corporationType string
    Type of corporation
    country string
    Country of the account
    currencies GetMeCurrency[]
    customerCode 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.
    italianSdi string
    Italian SDI
    language string
    Preferred language for this account
    legalform string
    Legal form of the account
    name string
    Name of the account holder
    nationalIdentificationNumber string
    National Identification Number of this account
    nichandle string
    Nic handle / customer identifier
    organisation string
    Name of the organisation for this account
    ovhCompany string
    OVHcloud subsidiary
    ovhSubsidiary string
    OVHcloud subsidiary
    phone string
    Phone number
    phoneCountry string
    Country code of the phone number
    sex string
    Gender of the account holder
    spareEmail 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_identification_number str
    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.GetMeCurrency]
    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_number str
    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
    AccountURN 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
    birthCity String
    City of birth
    birthDay String
    Birth date
    city String
    City of the account
    companyNationalIdentificationNumber String
    This is the national identification number of the company that possess this account
    corporationType String
    Type of corporation
    country String
    Country of the account
    currencies List<Property Map>
    customerCode 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.
    italianSdi String
    Italian SDI
    language String
    Preferred language for this account
    legalform String
    Legal form of the account
    name String
    Name of the account holder
    nationalIdentificationNumber String
    National Identification Number of this account
    nichandle String
    Nic handle / customer identifier
    organisation String
    Name of the organisation for this account
    ovhCompany String
    OVHcloud subsidiary
    ovhSubsidiary String
    OVHcloud subsidiary
    phone String
    Phone number
    phoneCountry String
    Country code of the phone number
    sex String
    Gender of the account holder
    spareEmail String
    Backup email address
    state String
    State of the postal address
    vat String
    VAT number
    zip String
    Zipcode of the address

    Supporting Types

    GetMeCurrency

    Code string
    Currency code used by this account (e.g EUR, USD, ...)
    Symbol string
    Currency symbol used by this account (e.g €, $, ...)
    Code string
    Currency code used by this account (e.g EUR, USD, ...)
    Symbol string
    Currency symbol used by this account (e.g €, $, ...)
    code String
    Currency code used by this account (e.g EUR, USD, ...)
    symbol String
    Currency symbol used by this account (e.g €, $, ...)
    code string
    Currency code used by this account (e.g EUR, USD, ...)
    symbol string
    Currency symbol used by this account (e.g €, $, ...)
    code str
    Currency code used by this account (e.g EUR, USD, ...)
    symbol str
    Currency symbol used by this account (e.g €, $, ...)
    code String
    Currency code used by this account (e.g EUR, USD, ...)
    symbol String
    Currency symbol used by this account (e.g €, $, ...)

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud