azure-native.eventgrid.PartnerRegistration

Explore with Pulumi AI

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

Example Usage

PartnerRegistrations_CreateOrUpdate

using System.Collections.Generic;
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/go/azure/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 pulumi
import pulumi_azure_native as azure_native

partner_registration = azure_native.eventgrid.PartnerRegistration("partnerRegistration",
    authorized_azure_subscription_ids=["d48566a8-2428-4a6c-8347-9675d09fb851"],
    location="global",
    logo_uri="https://www.example.com/logo.png",
    partner_name="ContosoCorp",
    partner_registration_name="examplePartnerRegistrationName1",
    partner_resource_type_description="ContocoCorp Accounts Description Text",
    partner_resource_type_display_name="ContocoCorp Accounts DisplayName Text",
    partner_resource_type_name="ContosoCorp.Accounts",
    resource_group_name="examplerg",
    setup_uri="https://www.example.com/setup.html",
    tags={
        "key1": "value1",
        "key2": "Value2",
        "key3": "Value3",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const partnerRegistration = new azure_native.eventgrid.PartnerRegistration("partnerRegistration", {
    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: {
        key1: "value1",
        key2: "Value2",
        key3: "Value3",
    },
});
resources:
  partnerRegistration:
    type: azure-native:eventgrid:PartnerRegistration
    properties:
      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:
        key1: value1
        key2: Value2
        key3: Value3

Create PartnerRegistration Resource

new PartnerRegistration(name: string, args: PartnerRegistrationArgs, opts?: CustomResourceOptions);
@overload
def PartnerRegistration(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        authorized_azure_subscription_ids: Optional[Sequence[str]] = None,
                        customer_service_uri: Optional[str] = None,
                        location: Optional[str] = None,
                        logo_uri: Optional[str] = None,
                        long_description: Optional[str] = None,
                        partner_customer_service_extension: Optional[str] = None,
                        partner_customer_service_number: Optional[str] = None,
                        partner_name: Optional[str] = None,
                        partner_registration_name: Optional[str] = None,
                        partner_resource_type_description: Optional[str] = None,
                        partner_resource_type_display_name: Optional[str] = None,
                        partner_resource_type_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        setup_uri: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        visibility_state: Optional[Union[str, PartnerRegistrationVisibilityState]] = None)
@overload
def PartnerRegistration(resource_name: str,
                        args: PartnerRegistrationArgs,
                        opts: Optional[ResourceOptions] = None)
func NewPartnerRegistration(ctx *Context, name string, args PartnerRegistrationArgs, opts ...ResourceOption) (*PartnerRegistration, error)
public PartnerRegistration(string name, PartnerRegistrationArgs args, CustomResourceOptions? opts = null)
public PartnerRegistration(String name, PartnerRegistrationArgs args)
public PartnerRegistration(String name, PartnerRegistrationArgs args, CustomResourceOptions options)
type: azure-native:eventgrid:PartnerRegistration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PartnerRegistrationArgs
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 PartnerRegistrationArgs
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 PartnerRegistrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PartnerRegistrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PartnerRegistrationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PartnerRegistration 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 PartnerRegistration resource accepts the following input properties:

ResourceGroupName string

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

AuthorizedAzureSubscriptionIds List<string>

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.

CustomerServiceUri string

The extension of the customer service URI of the publisher.

Location string

Location of the resource.

LogoUri string

URI of the logo.

LongDescription 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.

PartnerCustomerServiceExtension string

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

PartnerCustomerServiceNumber string

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

PartnerName string

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

PartnerRegistrationName string

Name of the partner registration.

PartnerResourceTypeDescription string

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

PartnerResourceTypeDisplayName string

Display name of the partner resource type.

PartnerResourceTypeName string

Name of the partner resource type.

SetupUri string

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

Tags Dictionary<string, string>

Tags of the resource.

VisibilityState string | Pulumi.AzureNative.EventGrid.PartnerRegistrationVisibilityState

Visibility state of the partner registration.

ResourceGroupName string

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

AuthorizedAzureSubscriptionIds []string

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.

CustomerServiceUri string

The extension of the customer service URI of the publisher.

Location string

Location of the resource.

LogoUri string

URI of the logo.

LongDescription 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.

PartnerCustomerServiceExtension string

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

PartnerCustomerServiceNumber string

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

PartnerName string

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

PartnerRegistrationName string

Name of the partner registration.

PartnerResourceTypeDescription string

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

PartnerResourceTypeDisplayName string

Display name of the partner resource type.

PartnerResourceTypeName string

Name of the partner resource type.

SetupUri string

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

Tags map[string]string

Tags of the resource.

VisibilityState string | PartnerRegistrationVisibilityState

Visibility state of the partner registration.

resourceGroupName String

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

authorizedAzureSubscriptionIds List<String>

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.

customerServiceUri String

The extension of the customer service URI of the publisher.

location String

Location of the resource.

logoUri String

URI of the logo.

longDescription 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.

partnerCustomerServiceExtension String

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

partnerCustomerServiceNumber String

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

partnerName String

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

partnerRegistrationName String

Name of the partner registration.

partnerResourceTypeDescription String

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

partnerResourceTypeDisplayName String

Display name of the partner resource type.

partnerResourceTypeName String

Name of the partner resource type.

setupUri String

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

tags Map<String,String>

Tags of the resource.

visibilityState String | PartnerRegistrationVisibilityState

Visibility state of the partner registration.

resourceGroupName string

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

authorizedAzureSubscriptionIds string[]

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.

customerServiceUri string

The extension of the customer service URI of the publisher.

location string

Location of the resource.

logoUri string

URI of the logo.

longDescription 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.

partnerCustomerServiceExtension string

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

partnerCustomerServiceNumber string

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

partnerName string

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

partnerRegistrationName string

Name of the partner registration.

partnerResourceTypeDescription string

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

partnerResourceTypeDisplayName string

Display name of the partner resource type.

partnerResourceTypeName string

Name of the partner resource type.

setupUri string

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

tags {[key: string]: string}

Tags of the resource.

visibilityState string | PartnerRegistrationVisibilityState

Visibility state of the partner registration.

resource_group_name str

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

authorized_azure_subscription_ids Sequence[str]

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.

customer_service_uri str

The extension of the customer service URI of the publisher.

location str

Location of the resource.

logo_uri str

URI of the logo.

long_description str

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.

partner_customer_service_extension str

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

partner_customer_service_number str

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

partner_name str

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

partner_registration_name str

Name of the partner registration.

partner_resource_type_description str

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

partner_resource_type_display_name str

Display name of the partner resource type.

partner_resource_type_name str

Name of the partner resource type.

setup_uri str

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

tags Mapping[str, str]

Tags of the resource.

visibility_state str | PartnerRegistrationVisibilityState

Visibility state of the partner registration.

resourceGroupName String

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

authorizedAzureSubscriptionIds List<String>

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.

customerServiceUri String

The extension of the customer service URI of the publisher.

location String

Location of the resource.

logoUri String

URI of the logo.

longDescription 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.

partnerCustomerServiceExtension String

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

partnerCustomerServiceNumber String

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

partnerName String

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

partnerRegistrationName String

Name of the partner registration.

partnerResourceTypeDescription String

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

partnerResourceTypeDisplayName String

Display name of the partner resource type.

partnerResourceTypeName String

Name of the partner resource type.

setupUri String

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

tags Map<String>

Tags of the resource.

visibilityState String | "Hidden" | "PublicPreview" | "GenerallyAvailable"

Visibility state of the partner registration.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the resource.

ProvisioningState string

Provisioning state of the partner registration.

SystemData Pulumi.AzureNative.EventGrid.Outputs.SystemDataResponse

The system metadata relating to Partner Registration resource.

Type string

Type of the resource.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the resource.

ProvisioningState string

Provisioning state of the partner registration.

SystemData SystemDataResponse

The system metadata relating to Partner Registration resource.

Type string

Type of the resource.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the resource.

provisioningState String

Provisioning state of the partner registration.

systemData SystemDataResponse

The system metadata relating to Partner Registration resource.

type String

Type of the resource.

id string

The provider-assigned unique ID for this managed resource.

name string

Name of the resource.

provisioningState string

Provisioning state of the partner registration.

systemData SystemDataResponse

The system metadata relating to Partner Registration resource.

type string

Type of the resource.

id str

The provider-assigned unique ID for this managed resource.

name str

Name of the resource.

provisioning_state str

Provisioning state of the partner registration.

system_data SystemDataResponse

The system metadata relating to Partner Registration resource.

type str

Type of the resource.

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the resource.

provisioningState String

Provisioning state of the partner registration.

systemData Property Map

The system metadata relating to Partner Registration resource.

type String

Type of the resource.

Supporting Types

PartnerRegistrationVisibilityState

Hidden
Hidden
PublicPreview
PublicPreview
GenerallyAvailable
GenerallyAvailable
PartnerRegistrationVisibilityStateHidden
Hidden
PartnerRegistrationVisibilityStatePublicPreview
PublicPreview
PartnerRegistrationVisibilityStateGenerallyAvailable
GenerallyAvailable
Hidden
Hidden
PublicPreview
PublicPreview
GenerallyAvailable
GenerallyAvailable
Hidden
Hidden
PublicPreview
PublicPreview
GenerallyAvailable
GenerallyAvailable
HIDDEN
Hidden
PUBLIC_PREVIEW
PublicPreview
GENERALLY_AVAILABLE
GenerallyAvailable
"Hidden"
Hidden
"PublicPreview"
PublicPreview
"GenerallyAvailable"
GenerallyAvailable

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:PartnerRegistration examplePartnerRegistrationName1 /subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/partnerRegistrations/examplePartnerRegistrationName1 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0