1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getPhoneProvider
Auth0 v3.17.0 published on Wednesday, Apr 9, 2025 by Pulumi

auth0.getPhoneProvider

Explore with Pulumi AI

Auth0 v3.17.0 published on Wednesday, Apr 9, 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>
Copy
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]
Copy
func LookupPhoneProvider(ctx *Context, args *LookupPhoneProviderArgs, opts ...InvokeOption) (*LookupPhoneProviderResult, error)
func LookupPhoneProviderOutput(ctx *Context, args *LookupPhoneProviderOutputArgs, opts ...InvokeOption) LookupPhoneProviderResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPhoneProviderResult> getPhoneProvider(GetPhoneProviderArgs args, InvokeOptions options)
public static Output<GetPhoneProviderResult> getPhoneProvider(GetPhoneProviderArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: auth0:index/getPhoneProvider:getPhoneProvider
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The ID of the Phone Provider.
Id This property is required. string
The ID of the Phone Provider.
id This property is required. String
The ID of the Phone Provider.
id This property is required. string
The ID of the Phone Provider.
id This property is required. str
The ID of the Phone Provider.
id This property is required. 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 This property is required. string
Default sender subject as "from" when no other value is specified.
DeliveryMethods This property is required. List<string>
Media set supported by a given provider to deliver a notification
Mssid This property is required. string
Twilio Messaging Service SID
Sid This property is required. string
Twilio Account SID.
DefaultFrom This property is required. string
Default sender subject as "from" when no other value is specified.
DeliveryMethods This property is required. []string
Media set supported by a given provider to deliver a notification
Mssid This property is required. string
Twilio Messaging Service SID
Sid This property is required. string
Twilio Account SID.
defaultFrom This property is required. String
Default sender subject as "from" when no other value is specified.
deliveryMethods This property is required. List<String>
Media set supported by a given provider to deliver a notification
mssid This property is required. String
Twilio Messaging Service SID
sid This property is required. String
Twilio Account SID.
defaultFrom This property is required. string
Default sender subject as "from" when no other value is specified.
deliveryMethods This property is required. string[]
Media set supported by a given provider to deliver a notification
mssid This property is required. string
Twilio Messaging Service SID
sid This property is required. string
Twilio Account SID.
default_from This property is required. str
Default sender subject as "from" when no other value is specified.
delivery_methods This property is required. Sequence[str]
Media set supported by a given provider to deliver a notification
mssid This property is required. str
Twilio Messaging Service SID
sid This property is required. str
Twilio Account SID.
defaultFrom This property is required. String
Default sender subject as "from" when no other value is specified.
deliveryMethods This property is required. List<String>
Media set supported by a given provider to deliver a notification
mssid This property is required. String
Twilio Messaging Service SID
sid This property is required. String
Twilio Account SID.

GetPhoneProviderCredential

AuthToken This property is required. string
The Auth Token for the phone provider.
AuthToken This property is required. string
The Auth Token for the phone provider.
authToken This property is required. String
The Auth Token for the phone provider.
authToken This property is required. string
The Auth Token for the phone provider.
auth_token This property is required. str
The Auth Token for the phone provider.
authToken This property is required. 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 v3.17.0 published on Wednesday, Apr 9, 2025 by Pulumi