Partner Registration
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
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.
The extension of the customer service URI of the publisher.
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.
The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10.
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
Official name of the partner name. For example: "Contoso".
Short description of the partner resource type. The length of this description should not exceed 256 characters.
Display name of the partner resource type.
Name of the partner resource type.
Provisioning state of the partner registration.
The system metadata relating to Partner Registration resource.
Visibility state of the partner registration.