EndpointEventGridArgs

data class EndpointEventGridArgs(val deadLetterStorageSecret: Output<String>? = null, val digitalTwinsId: Output<String>? = null, val eventgridTopicEndpoint: Output<String>? = null, val eventgridTopicPrimaryAccessKey: Output<String>? = null, val eventgridTopicSecondaryAccessKey: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<EndpointEventGridArgs>

Manages a Digital Twins Event Grid Endpoint.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.digitaltwins.Instance;
import com.pulumi.azure.digitaltwins.InstanceArgs;
import com.pulumi.azure.eventgrid.Topic;
import com.pulumi.azure.eventgrid.TopicArgs;
import com.pulumi.azure.digitaltwins.EndpointEventGrid;
import com.pulumi.azure.digitaltwins.EndpointEventGridArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.build());
var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleEndpointEventGrid = new EndpointEventGrid("exampleEndpointEventGrid", EndpointEventGridArgs.builder()
.digitalTwinsId(exampleInstance.id())
.eventgridTopicEndpoint(exampleTopic.endpoint())
.eventgridTopicPrimaryAccessKey(exampleTopic.primaryAccessKey())
.eventgridTopicSecondaryAccessKey(exampleTopic.secondaryAccessKey())
.build());
}
}

Import

Digital Twins Eventgrid Endpoints can be imported using the resource id, e.g.

$ pulumi import azure:digitaltwins/endpointEventGrid:EndpointEventGrid example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DigitalTwins/digitalTwinsInstances/dt1/endpoints/ep1

Constructors

Link copied to clipboard
fun EndpointEventGridArgs(deadLetterStorageSecret: Output<String>? = null, digitalTwinsId: Output<String>? = null, eventgridTopicEndpoint: Output<String>? = null, eventgridTopicPrimaryAccessKey: Output<String>? = null, eventgridTopicSecondaryAccessKey: Output<String>? = null, name: Output<String>? = null)

Functions

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

Properties

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

The storage secret of the dead-lettering, whose format is https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.

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

The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Eventgrid Endpoint to be created.

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

The endpoint of the Event Grid Topic.

Link copied to clipboard

The primary access key of the Event Grid Topic.

Link copied to clipboard

The secondary access key of the Event Grid Topic.

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

The name which should be used for this Digital Twins Eventgrid Endpoint. Changing this forces a new Digital Twins Eventgrid Endpoint to be created.