This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi
azure-native.communication.getSmtpUsername
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi
Get a SmtpUsernameResource.
Uses Azure REST API version 2024-09-01-preview.
Using getSmtpUsername
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 getSmtpUsername(args: GetSmtpUsernameArgs, opts?: InvokeOptions): Promise<GetSmtpUsernameResult>
function getSmtpUsernameOutput(args: GetSmtpUsernameOutputArgs, opts?: InvokeOptions): Output<GetSmtpUsernameResult>
def get_smtp_username(communication_service_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
smtp_username: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSmtpUsernameResult
def get_smtp_username_output(communication_service_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
smtp_username: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSmtpUsernameResult]
func LookupSmtpUsername(ctx *Context, args *LookupSmtpUsernameArgs, opts ...InvokeOption) (*LookupSmtpUsernameResult, error)
func LookupSmtpUsernameOutput(ctx *Context, args *LookupSmtpUsernameOutputArgs, opts ...InvokeOption) LookupSmtpUsernameResultOutput
> Note: This function is named LookupSmtpUsername
in the Go SDK.
public static class GetSmtpUsername
{
public static Task<GetSmtpUsernameResult> InvokeAsync(GetSmtpUsernameArgs args, InvokeOptions? opts = null)
public static Output<GetSmtpUsernameResult> Invoke(GetSmtpUsernameInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSmtpUsernameResult> getSmtpUsername(GetSmtpUsernameArgs args, InvokeOptions options)
public static Output<GetSmtpUsernameResult> getSmtpUsername(GetSmtpUsernameArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:communication:getSmtpUsername
arguments:
# arguments dictionary
The following arguments are supported:
- Communication
Service stringName - The name of the CommunicationService resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Smtp
Username string - The name of the SmtpUsernameResource.
- Communication
Service stringName - The name of the CommunicationService resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Smtp
Username string - The name of the SmtpUsernameResource.
- communication
Service StringName - The name of the CommunicationService resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- smtp
Username String - The name of the SmtpUsernameResource.
- communication
Service stringName - The name of the CommunicationService resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- smtp
Username string - The name of the SmtpUsernameResource.
- communication_
service_ strname - The name of the CommunicationService resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- smtp_
username str - The name of the SmtpUsernameResource.
- communication
Service StringName - The name of the CommunicationService resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- smtp
Username String - The name of the SmtpUsernameResource.
getSmtpUsername Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Entra
Application stringId - The application Id for the linked Entra Application.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Communication. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Tenant
Id string - The tenant of the linked Entra Application.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Username string
- The SMTP username. Could be free form or in the email address format.
- Azure
Api stringVersion - The Azure API version of the resource.
- Entra
Application stringId - The application Id for the linked Entra Application.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Tenant
Id string - The tenant of the linked Entra Application.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Username string
- The SMTP username. Could be free form or in the email address format.
- azure
Api StringVersion - The Azure API version of the resource.
- entra
Application StringId - The application Id for the linked Entra Application.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tenant
Id String - The tenant of the linked Entra Application.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- username String
- The SMTP username. Could be free form or in the email address format.
- azure
Api stringVersion - The Azure API version of the resource.
- entra
Application stringId - The application Id for the linked Entra Application.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tenant
Id string - The tenant of the linked Entra Application.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- username string
- The SMTP username. Could be free form or in the email address format.
- azure_
api_ strversion - The Azure API version of the resource.
- entra_
application_ strid - The application Id for the linked Entra Application.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tenant_
id str - The tenant of the linked Entra Application.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- username str
- The SMTP username. Could be free form or in the email address format.
- azure
Api StringVersion - The Azure API version of the resource.
- entra
Application StringId - The application Id for the linked Entra Application.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tenant
Id String - The tenant of the linked Entra Application.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- username String
- The SMTP username. Could be free form or in the email address format.
Supporting Types
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi