Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

PartnerDestination

Event Grid Partner Destination. API Version: 2021-10-15-preview.

Example Usage

PartnerDestinations_CreateOrUpdate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var partnerDestination = new AzureNative.EventGrid.PartnerDestination("partnerDestination", new AzureNative.EventGrid.PartnerDestinationArgs
        {
            EndpointBaseUrl = "https://www.example/endpoint",
            EndpointServiceContext = "This is an example",
            ExpirationTimeIfNotActivatedUtc = "2022-03-14T19:33:43.430Z",
            Location = "westus2",
            MessageForActivation = "Sample Activation message",
            PartnerDestinationName = "examplePartnerDestinationName1",
            PartnerRegistrationImmutableId = "0bd70ee2-7d95-447e-ab1f-c4f320019404",
            ResourceGroupName = "examplerg",
        });
    }

}
package main

import (
	eventgrid "github.com/pulumi/pulumi-azure-native/sdk/go/azure/eventgrid"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eventgrid.NewPartnerDestination(ctx, "partnerDestination", &eventgrid.PartnerDestinationArgs{
			EndpointBaseUrl:                 pulumi.String("https://www.example/endpoint"),
			EndpointServiceContext:          pulumi.String("This is an example"),
			ExpirationTimeIfNotActivatedUtc: pulumi.String("2022-03-14T19:33:43.430Z"),
			Location:                        pulumi.String("westus2"),
			MessageForActivation:            pulumi.String("Sample Activation message"),
			PartnerDestinationName:          pulumi.String("examplePartnerDestinationName1"),
			PartnerRegistrationImmutableId:  pulumi.String("0bd70ee2-7d95-447e-ab1f-c4f320019404"),
			ResourceGroupName:               pulumi.String("examplerg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var partnerDestination = new PartnerDestination("partnerDestination", PartnerDestinationArgs.builder()        
            .endpointBaseUrl("https://www.example/endpoint")
            .endpointServiceContext("This is an example")
            .expirationTimeIfNotActivatedUtc("2022-03-14T19:33:43.430Z")
            .location("westus2")
            .messageForActivation("Sample Activation message")
            .partnerDestinationName("examplePartnerDestinationName1")
            .partnerRegistrationImmutableId("0bd70ee2-7d95-447e-ab1f-c4f320019404")
            .resourceGroupName("examplerg")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

partner_destination = azure_native.eventgrid.PartnerDestination("partnerDestination",
    endpoint_base_url="https://www.example/endpoint",
    endpoint_service_context="This is an example",
    expiration_time_if_not_activated_utc="2022-03-14T19:33:43.430Z",
    location="westus2",
    message_for_activation="Sample Activation message",
    partner_destination_name="examplePartnerDestinationName1",
    partner_registration_immutable_id="0bd70ee2-7d95-447e-ab1f-c4f320019404",
    resource_group_name="examplerg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const partnerDestination = new azure_native.eventgrid.PartnerDestination("partnerDestination", {
    endpointBaseUrl: "https://www.example/endpoint",
    endpointServiceContext: "This is an example",
    expirationTimeIfNotActivatedUtc: "2022-03-14T19:33:43.430Z",
    location: "westus2",
    messageForActivation: "Sample Activation message",
    partnerDestinationName: "examplePartnerDestinationName1",
    partnerRegistrationImmutableId: "0bd70ee2-7d95-447e-ab1f-c4f320019404",
    resourceGroupName: "examplerg",
});
resources:
  partnerDestination:
    type: azure-native:eventgrid:PartnerDestination
    properties:
      endpointBaseUrl: https://www.example/endpoint
      endpointServiceContext: This is an example
      expirationTimeIfNotActivatedUtc: 2022-03-14T19:33:43.430Z
      location: westus2
      messageForActivation: Sample Activation message
      partnerDestinationName: examplePartnerDestinationName1
      partnerRegistrationImmutableId: 0bd70ee2-7d95-447e-ab1f-c4f320019404
      resourceGroupName: examplerg

Create a PartnerDestination Resource

new PartnerDestination(name: string, args: PartnerDestinationArgs, opts?: CustomResourceOptions);
@overload
def PartnerDestination(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       activation_state: Optional[Union[str, PartnerDestinationActivationState]] = None,
                       endpoint_base_url: Optional[str] = None,
                       endpoint_service_context: Optional[str] = None,
                       expiration_time_if_not_activated_utc: Optional[str] = None,
                       location: Optional[str] = None,
                       message_for_activation: Optional[str] = None,
                       partner_destination_name: Optional[str] = None,
                       partner_registration_immutable_id: Optional[str] = None,
                       provisioning_state: Optional[Union[str, PartnerDestinationProvisioningState]] = None,
                       resource_group_name: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None)
@overload
def PartnerDestination(resource_name: str,
                       args: PartnerDestinationArgs,
                       opts: Optional[ResourceOptions] = None)
func NewPartnerDestination(ctx *Context, name string, args PartnerDestinationArgs, opts ...ResourceOption) (*PartnerDestination, error)
public PartnerDestination(string name, PartnerDestinationArgs args, CustomResourceOptions? opts = null)
public PartnerDestination(String name, PartnerDestinationArgs args)
public PartnerDestination(String name, PartnerDestinationArgs args, CustomResourceOptions options)
type: azure-native:eventgrid:PartnerDestination
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PartnerDestinationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PartnerDestinationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PartnerDestinationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PartnerDestinationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PartnerDestinationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PartnerDestination Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The PartnerDestination resource accepts the following input properties:

ResourceGroupName string

The name of the resource group within the user's subscription.

ActivationState string | Pulumi.AzureNative.EventGrid.PartnerDestinationActivationState

Activation state of the partner destination.

EndpointBaseUrl string

Endpoint Base URL of the partner destination

EndpointServiceContext string

Endpoint context associated with this partner destination.

ExpirationTimeIfNotActivatedUtc string

Expiration time of the partner destination. If this timer expires and the partner destination was never activated, the partner destination and corresponding channel are deleted.

Location string

Location of the resource.

MessageForActivation string

Context or helpful message that can be used during the approval process.

PartnerDestinationName string

Name of the partner destination.

PartnerRegistrationImmutableId string

The immutable Id of the corresponding partner registration.

ProvisioningState string | Pulumi.AzureNative.EventGrid.PartnerDestinationProvisioningState

Provisioning state of the partner destination.

Tags Dictionary<string, string>

Tags of the resource.

ResourceGroupName string

The name of the resource group within the user's subscription.

ActivationState string | PartnerDestinationActivationState

Activation state of the partner destination.

EndpointBaseUrl string

Endpoint Base URL of the partner destination

EndpointServiceContext string

Endpoint context associated with this partner destination.

ExpirationTimeIfNotActivatedUtc string

Expiration time of the partner destination. If this timer expires and the partner destination was never activated, the partner destination and corresponding channel are deleted.

Location string

Location of the resource.

MessageForActivation string

Context or helpful message that can be used during the approval process.

PartnerDestinationName string

Name of the partner destination.

PartnerRegistrationImmutableId string

The immutable Id of the corresponding partner registration.

ProvisioningState string | PartnerDestinationProvisioningState

Provisioning state of the partner destination.

Tags map[string]string

Tags of the resource.

resourceGroupName String

The name of the resource group within the user's subscription.

activationState String | PartnerDestinationActivationState

Activation state of the partner destination.

endpointBaseUrl String

Endpoint Base URL of the partner destination

endpointServiceContext String

Endpoint context associated with this partner destination.

expirationTimeIfNotActivatedUtc String

Expiration time of the partner destination. If this timer expires and the partner destination was never activated, the partner destination and corresponding channel are deleted.

location String

Location of the resource.

messageForActivation String

Context or helpful message that can be used during the approval process.

partnerDestinationName String

Name of the partner destination.

partnerRegistrationImmutableId String

The immutable Id of the corresponding partner registration.

provisioningState String | PartnerDestinationProvisioningState

Provisioning state of the partner destination.

tags Map<String,String>

Tags of the resource.

resourceGroupName string

The name of the resource group within the user's subscription.

activationState string | PartnerDestinationActivationState

Activation state of the partner destination.

endpointBaseUrl string

Endpoint Base URL of the partner destination

endpointServiceContext string

Endpoint context associated with this partner destination.

expirationTimeIfNotActivatedUtc string

Expiration time of the partner destination. If this timer expires and the partner destination was never activated, the partner destination and corresponding channel are deleted.

location string

Location of the resource.

messageForActivation string

Context or helpful message that can be used during the approval process.

partnerDestinationName string

Name of the partner destination.

partnerRegistrationImmutableId string

The immutable Id of the corresponding partner registration.

provisioningState string | PartnerDestinationProvisioningState

Provisioning state of the partner destination.

tags {[key: string]: string}

Tags of the resource.

resource_group_name str

The name of the resource group within the user's subscription.

activation_state str | PartnerDestinationActivationState

Activation state of the partner destination.

endpoint_base_url str

Endpoint Base URL of the partner destination

endpoint_service_context str

Endpoint context associated with this partner destination.

expiration_time_if_not_activated_utc str

Expiration time of the partner destination. If this timer expires and the partner destination was never activated, the partner destination and corresponding channel are deleted.

location str

Location of the resource.

message_for_activation str

Context or helpful message that can be used during the approval process.

partner_destination_name str

Name of the partner destination.

partner_registration_immutable_id str

The immutable Id of the corresponding partner registration.

provisioning_state str | PartnerDestinationProvisioningState

Provisioning state of the partner destination.

tags Mapping[str, str]

Tags of the resource.

resourceGroupName String

The name of the resource group within the user's subscription.

activationState String | "NeverActivated" | "Activated"

Activation state of the partner destination.

endpointBaseUrl String

Endpoint Base URL of the partner destination

endpointServiceContext String

Endpoint context associated with this partner destination.

expirationTimeIfNotActivatedUtc String

Expiration time of the partner destination. If this timer expires and the partner destination was never activated, the partner destination and corresponding channel are deleted.

location String

Location of the resource.

messageForActivation String

Context or helpful message that can be used during the approval process.

partnerDestinationName String

Name of the partner destination.

partnerRegistrationImmutableId String

The immutable Id of the corresponding partner registration.

provisioningState String | "Creating" | "Updating" | "Deleting" | "Succeeded" | "Canceled" | "Failed"

Provisioning state of the partner destination.

tags Map<String>

Tags of the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the PartnerDestination resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the resource.

SystemData Pulumi.AzureNative.EventGrid.Outputs.SystemDataResponse

The system metadata relating to Partner Destination resource.

Type string

Type of the resource.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the resource.

SystemData SystemDataResponse

The system metadata relating to Partner Destination resource.

Type string

Type of the resource.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the resource.

systemData SystemDataResponse

The system metadata relating to Partner Destination resource.

type String

Type of the resource.

id string

The provider-assigned unique ID for this managed resource.

name string

Name of the resource.

systemData SystemDataResponse

The system metadata relating to Partner Destination resource.

type string

Type of the resource.

id str

The provider-assigned unique ID for this managed resource.

name str

Name of the resource.

system_data SystemDataResponse

The system metadata relating to Partner Destination resource.

type str

Type of the resource.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the resource.

systemData Property Map

The system metadata relating to Partner Destination resource.

type String

Type of the resource.

Supporting Types

PartnerDestinationActivationState

NeverActivated
NeverActivated
Activated
Activated
PartnerDestinationActivationStateNeverActivated
NeverActivated
PartnerDestinationActivationStateActivated
Activated
NeverActivated
NeverActivated
Activated
Activated
NeverActivated
NeverActivated
Activated
Activated
NEVER_ACTIVATED
NeverActivated
ACTIVATED
Activated
"NeverActivated"
NeverActivated
"Activated"
Activated

PartnerDestinationProvisioningState

Creating
Creating
Updating
Updating
Deleting
Deleting
Succeeded
Succeeded
Canceled
Canceled
Failed
Failed
PartnerDestinationProvisioningStateCreating
Creating
PartnerDestinationProvisioningStateUpdating
Updating
PartnerDestinationProvisioningStateDeleting
Deleting
PartnerDestinationProvisioningStateSucceeded
Succeeded
PartnerDestinationProvisioningStateCanceled
Canceled
PartnerDestinationProvisioningStateFailed
Failed
Creating
Creating
Updating
Updating
Deleting
Deleting
Succeeded
Succeeded
Canceled
Canceled
Failed
Failed
Creating
Creating
Updating
Updating
Deleting
Deleting
Succeeded
Succeeded
Canceled
Canceled
Failed
Failed
CREATING
Creating
UPDATING
Updating
DELETING
Deleting
SUCCEEDED
Succeeded
CANCELED
Canceled
FAILED
Failed
"Creating"
Creating
"Updating"
Updating
"Deleting"
Deleting
"Succeeded"
Succeeded
"Canceled"
Canceled
"Failed"
Failed

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

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_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Import

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

$ pulumi import azure-native:eventgrid:PartnerDestination examplePartnerDestinationName1 /subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/partnerDestinations/examplePartnerDestinationName1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0