1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getPhoneProvider
Auth0 v3.16.0 published on Wednesday, Mar 12, 2025 by Pulumi

auth0.getPhoneProvider

Explore with Pulumi AI

auth0 logo
Auth0 v3.16.0 published on Wednesday, Mar 12, 2025 by Pulumi

    Data source to retrieve a specific Auth0 Phone Provider by id.

    Using getPhoneProvider

    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 getPhoneProvider(args: GetPhoneProviderArgs, opts?: InvokeOptions): Promise<GetPhoneProviderResult>
    function getPhoneProviderOutput(args: GetPhoneProviderOutputArgs, opts?: InvokeOptions): Output<GetPhoneProviderResult>
    def get_phone_provider(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPhoneProviderResult
    def get_phone_provider_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPhoneProviderResult]
    func LookupPhoneProvider(ctx *Context, args *LookupPhoneProviderArgs, opts ...InvokeOption) (*LookupPhoneProviderResult, error)
    func LookupPhoneProviderOutput(ctx *Context, args *LookupPhoneProviderOutputArgs, opts ...InvokeOption) LookupPhoneProviderResultOutput

    > Note: This function is named LookupPhoneProvider in the Go SDK.

    public static class GetPhoneProvider 
    {
        public static Task<GetPhoneProviderResult> InvokeAsync(GetPhoneProviderArgs args, InvokeOptions? opts = null)
        public static Output<GetPhoneProviderResult> Invoke(GetPhoneProviderInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPhoneProviderResult> getPhoneProvider(GetPhoneProviderArgs args, InvokeOptions options)
    public static Output<GetPhoneProviderResult> getPhoneProvider(GetPhoneProviderArgs args, InvokeOptions options)
    
    fn::invoke:
      function: auth0:index/getPhoneProvider:getPhoneProvider
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the Phone Provider.
    Id string
    The ID of the Phone Provider.
    id String
    The ID of the Phone Provider.
    id string
    The ID of the Phone Provider.
    id str
    The ID of the Phone Provider.
    id String
    The ID of the Phone Provider.

    getPhoneProvider Result

    The following output properties are available:

    Channel string
    The channel of the phone provider.
    Configurations List<GetPhoneProviderConfiguration>
    Specific phone provider settings.
    Credentials List<GetPhoneProviderCredential>
    Provider credentials required to use authenticate to the provider.
    Disabled bool
    Indicates whether the phone provider is enabled (false) or disabled (true).
    Id string
    The ID of the Phone Provider.
    Name string
    Name of the phone provider. Options include twilio, custom.
    Tenant string
    The tenant of the phone provider.
    Channel string
    The channel of the phone provider.
    Configurations []GetPhoneProviderConfiguration
    Specific phone provider settings.
    Credentials []GetPhoneProviderCredential
    Provider credentials required to use authenticate to the provider.
    Disabled bool
    Indicates whether the phone provider is enabled (false) or disabled (true).
    Id string
    The ID of the Phone Provider.
    Name string
    Name of the phone provider. Options include twilio, custom.
    Tenant string
    The tenant of the phone provider.
    channel String
    The channel of the phone provider.
    configurations List<GetPhoneProviderConfiguration>
    Specific phone provider settings.
    credentials List<GetPhoneProviderCredential>
    Provider credentials required to use authenticate to the provider.
    disabled Boolean
    Indicates whether the phone provider is enabled (false) or disabled (true).
    id String
    The ID of the Phone Provider.
    name String
    Name of the phone provider. Options include twilio, custom.
    tenant String
    The tenant of the phone provider.
    channel string
    The channel of the phone provider.
    configurations GetPhoneProviderConfiguration[]
    Specific phone provider settings.
    credentials GetPhoneProviderCredential[]
    Provider credentials required to use authenticate to the provider.
    disabled boolean
    Indicates whether the phone provider is enabled (false) or disabled (true).
    id string
    The ID of the Phone Provider.
    name string
    Name of the phone provider. Options include twilio, custom.
    tenant string
    The tenant of the phone provider.
    channel str
    The channel of the phone provider.
    configurations Sequence[GetPhoneProviderConfiguration]
    Specific phone provider settings.
    credentials Sequence[GetPhoneProviderCredential]
    Provider credentials required to use authenticate to the provider.
    disabled bool
    Indicates whether the phone provider is enabled (false) or disabled (true).
    id str
    The ID of the Phone Provider.
    name str
    Name of the phone provider. Options include twilio, custom.
    tenant str
    The tenant of the phone provider.
    channel String
    The channel of the phone provider.
    configurations List<Property Map>
    Specific phone provider settings.
    credentials List<Property Map>
    Provider credentials required to use authenticate to the provider.
    disabled Boolean
    Indicates whether the phone provider is enabled (false) or disabled (true).
    id String
    The ID of the Phone Provider.
    name String
    Name of the phone provider. Options include twilio, custom.
    tenant String
    The tenant of the phone provider.

    Supporting Types

    GetPhoneProviderConfiguration

    DefaultFrom string
    Default sender subject as "from" when no other value is specified.
    DeliveryMethods List<string>
    Media set supported by a given provider to deliver a notification
    Mssid string
    Twilio Messaging Service SID
    Sid string
    Twilio Account SID.
    DefaultFrom string
    Default sender subject as "from" when no other value is specified.
    DeliveryMethods []string
    Media set supported by a given provider to deliver a notification
    Mssid string
    Twilio Messaging Service SID
    Sid string
    Twilio Account SID.
    defaultFrom String
    Default sender subject as "from" when no other value is specified.
    deliveryMethods List<String>
    Media set supported by a given provider to deliver a notification
    mssid String
    Twilio Messaging Service SID
    sid String
    Twilio Account SID.
    defaultFrom string
    Default sender subject as "from" when no other value is specified.
    deliveryMethods string[]
    Media set supported by a given provider to deliver a notification
    mssid string
    Twilio Messaging Service SID
    sid string
    Twilio Account SID.
    default_from str
    Default sender subject as "from" when no other value is specified.
    delivery_methods Sequence[str]
    Media set supported by a given provider to deliver a notification
    mssid str
    Twilio Messaging Service SID
    sid str
    Twilio Account SID.
    defaultFrom String
    Default sender subject as "from" when no other value is specified.
    deliveryMethods List<String>
    Media set supported by a given provider to deliver a notification
    mssid String
    Twilio Messaging Service SID
    sid String
    Twilio Account SID.

    GetPhoneProviderCredential

    AuthToken string
    The Auth Token for the phone provider.
    AuthToken string
    The Auth Token for the phone provider.
    authToken String
    The Auth Token for the phone provider.
    authToken string
    The Auth Token for the phone provider.
    auth_token str
    The Auth Token for the phone provider.
    authToken String
    The Auth Token for the phone provider.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Auth0 v3.16.0 published on Wednesday, Mar 12, 2025 by Pulumi