PartnerRegistration

class PartnerRegistration : KotlinCustomResource

Information about a partner registration. API Version: 2021-06-01-preview.

Example Usage

PartnerRegistrations_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var partnerRegistration = new AzureNative.EventGrid.PartnerRegistration("partnerRegistration", new()
{
AuthorizedAzureSubscriptionIds = new[]
{
"d48566a8-2428-4a6c-8347-9675d09fb851",
},
Location = "global",
LogoUri = "https://www.example.com/logo.png",
PartnerName = "ContosoCorp",
PartnerRegistrationName = "examplePartnerRegistrationName1",
PartnerResourceTypeDescription = "ContocoCorp Accounts Description Text",
PartnerResourceTypeDisplayName = "ContocoCorp Accounts DisplayName Text",
PartnerResourceTypeName = "ContosoCorp.Accounts",
ResourceGroupName = "examplerg",
SetupUri = "https://www.example.com/setup.html",
Tags =
{
{ "key1", "value1" },
{ "key2", "Value2" },
{ "key3", "Value3" },
},
});
});
package main
import (
eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := eventgrid.NewPartnerRegistration(ctx, "partnerRegistration", &eventgrid.PartnerRegistrationArgs{
AuthorizedAzureSubscriptionIds: pulumi.StringArray{
pulumi.String("d48566a8-2428-4a6c-8347-9675d09fb851"),
},
Location: pulumi.String("global"),
LogoUri: pulumi.String("https://www.example.com/logo.png"),
PartnerName: pulumi.String("ContosoCorp"),
PartnerRegistrationName: pulumi.String("examplePartnerRegistrationName1"),
PartnerResourceTypeDescription: pulumi.String("ContocoCorp Accounts Description Text"),
PartnerResourceTypeDisplayName: pulumi.String("ContocoCorp Accounts DisplayName Text"),
PartnerResourceTypeName: pulumi.String("ContosoCorp.Accounts"),
ResourceGroupName: pulumi.String("examplerg"),
SetupUri: pulumi.String("https://www.example.com/setup.html"),
Tags: pulumi.StringMap{
"key1": pulumi.String("value1"),
"key2": pulumi.String("Value2"),
"key3": pulumi.String("Value3"),
},
})
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.eventgrid.PartnerRegistration;
import com.pulumi.azurenative.eventgrid.PartnerRegistrationArgs;
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 partnerRegistration = new PartnerRegistration("partnerRegistration", PartnerRegistrationArgs.builder()
.authorizedAzureSubscriptionIds("d48566a8-2428-4a6c-8347-9675d09fb851")
.location("global")
.logoUri("https://www.example.com/logo.png")
.partnerName("ContosoCorp")
.partnerRegistrationName("examplePartnerRegistrationName1")
.partnerResourceTypeDescription("ContocoCorp Accounts Description Text")
.partnerResourceTypeDisplayName("ContocoCorp Accounts DisplayName Text")
.partnerResourceTypeName("ContosoCorp.Accounts")
.resourceGroupName("examplerg")
.setupUri("https://www.example.com/setup.html")
.tags(Map.ofEntries(
Map.entry("key1", "value1"),
Map.entry("key2", "Value2"),
Map.entry("key3", "Value3")
))
.build());
}
}

Import

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

$ pulumi import azure-native:eventgrid:PartnerRegistration examplePartnerRegistrationName1 /subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/partnerRegistrations/examplePartnerRegistrationName1

Properties

Link copied to clipboard

List of Azure subscription Ids that are authorized to create a partner namespace associated with this partner registration. This is an optional property. Creating partner namespaces is always permitted under the same Azure subscription as the one used for creating the partner registration.

Link copied to clipboard

The extension of the customer service URI of the publisher.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Location of the resource.

Link copied to clipboard
val logoUri: Output<String>?

URI of the logo.

Link copied to clipboard
val longDescription: Output<String>?

Long description for the custom scenarios and integration to be displayed in the portal if needed. Length of this description should not exceed 2048 characters.

Link copied to clipboard
val name: Output<String>

Name of the resource.

Link copied to clipboard

The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10.

Link copied to clipboard

The customer service number of the publisher. The expected phone format should start with a '+' sign followed by the country code. The remaining digits are then followed. Only digits and spaces are allowed and its length cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1 515 123 4567 and +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43

Link copied to clipboard
val partnerName: Output<String>?

Official name of the partner name. For example: "Contoso".

Link copied to clipboard

Short description of the partner resource type. The length of this description should not exceed 256 characters.

Link copied to clipboard

Display name of the partner resource type.

Link copied to clipboard

Name of the partner resource type.

Link copied to clipboard

Provisioning state of the partner registration.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val setupUri: Output<String>?

URI of the partner website that can be used by Azure customers to setup Event Grid integration on an event source.

Link copied to clipboard

The system metadata relating to Partner Registration resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Tags of the resource.

Link copied to clipboard
val type: Output<String>

Type of the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val visibilityState: Output<String>?

Visibility state of the partner registration.