NotificationRecipientUserArgs

data class NotificationRecipientUserArgs(val notificationName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null, val userId: Output<String>? = null) : ConvertibleToJava<NotificationRecipientUserArgs>

Recipient User details. API Version: 2020-12-01.

Example Usage

ApiManagementCreateNotificationRecipientUser

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var notificationRecipientUser = new AzureNative.ApiManagement.NotificationRecipientUser("notificationRecipientUser", new()
{
NotificationName = "RequestPublisherNotificationMessage",
ResourceGroupName = "rg1",
ServiceName = "apimService1",
UserId = "576823d0a40f7e74ec07d642",
});
});
package main
import (
apimanagement "github.com/pulumi/pulumi-azure-native-sdk/apimanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := apimanagement.NewNotificationRecipientUser(ctx, "notificationRecipientUser", &apimanagement.NotificationRecipientUserArgs{
NotificationName: pulumi.String("RequestPublisherNotificationMessage"),
ResourceGroupName: pulumi.String("rg1"),
ServiceName: pulumi.String("apimService1"),
UserId: pulumi.String("576823d0a40f7e74ec07d642"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.apimanagement.NotificationRecipientUser;
import com.pulumi.azurenative.apimanagement.NotificationRecipientUserArgs;
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) {
var notificationRecipientUser = new NotificationRecipientUser("notificationRecipientUser", NotificationRecipientUserArgs.builder()
.notificationName("RequestPublisherNotificationMessage")
.resourceGroupName("rg1")
.serviceName("apimService1")
.userId("576823d0a40f7e74ec07d642")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:apimanagement:NotificationRecipientUser 576823d0a40f7e74ec07d642 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage/recipientUsers/576823d0a40f7e74ec07d642

Constructors

Link copied to clipboard
constructor(notificationName: Output<String>? = null, resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null, userId: Output<String>? = null)

Properties

Link copied to clipboard
val notificationName: Output<String>? = null

Notification Name Identifier.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard
val serviceName: Output<String>? = null

The name of the API Management service.

Link copied to clipboard
val userId: Output<String>? = null

User identifier. Must be unique in the current API Management service instance.

Functions

Link copied to clipboard
open override fun toJava(): NotificationRecipientUserArgs