1. Packages
  2. Azure Native
  3. API Docs
  4. customproviders
  5. CustomResourceProvider
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.customproviders.CustomResourceProvider

Explore with Pulumi AI

A manifest file that defines the custom resource provider resources.

Uses Azure REST API version 2018-09-01-preview. In version 2.x of the Azure Native provider, it used API version 2018-09-01-preview.

Example Usage

Create or update the custom resource provider

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var customResourceProvider = new AzureNative.CustomProviders.CustomResourceProvider("customResourceProvider", new()
    {
        Actions = new[]
        {
            new AzureNative.CustomProviders.Inputs.CustomRPActionRouteDefinitionArgs
            {
                Endpoint = "https://mytestendpoint/",
                Name = "TestAction",
                RoutingType = AzureNative.CustomProviders.ActionRouting.Proxy,
            },
        },
        Location = "eastus",
        ResourceGroupName = "testRG",
        ResourceProviderName = "newrp",
        ResourceTypes = new[]
        {
            new AzureNative.CustomProviders.Inputs.CustomRPResourceTypeRouteDefinitionArgs
            {
                Endpoint = "https://mytestendpoint2/",
                Name = "TestResource",
                RoutingType = AzureNative.CustomProviders.ResourceTypeRouting.Proxy_Cache,
            },
        },
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := customproviders.NewCustomResourceProvider(ctx, "customResourceProvider", &customproviders.CustomResourceProviderArgs{
			Actions: customproviders.CustomRPActionRouteDefinitionArray{
				&customproviders.CustomRPActionRouteDefinitionArgs{
					Endpoint:    pulumi.String("https://mytestendpoint/"),
					Name:        pulumi.String("TestAction"),
					RoutingType: pulumi.String(customproviders.ActionRoutingProxy),
				},
			},
			Location:             pulumi.String("eastus"),
			ResourceGroupName:    pulumi.String("testRG"),
			ResourceProviderName: pulumi.String("newrp"),
			ResourceTypes: customproviders.CustomRPResourceTypeRouteDefinitionArray{
				&customproviders.CustomRPResourceTypeRouteDefinitionArgs{
					Endpoint:    pulumi.String("https://mytestendpoint2/"),
					Name:        pulumi.String("TestResource"),
					RoutingType: pulumi.String(customproviders.ResourceTypeRouting_Proxy_Cache),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.customproviders.CustomResourceProvider;
import com.pulumi.azurenative.customproviders.CustomResourceProviderArgs;
import com.pulumi.azurenative.customproviders.inputs.CustomRPActionRouteDefinitionArgs;
import com.pulumi.azurenative.customproviders.inputs.CustomRPResourceTypeRouteDefinitionArgs;
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 customResourceProvider = new CustomResourceProvider("customResourceProvider", CustomResourceProviderArgs.builder()
            .actions(CustomRPActionRouteDefinitionArgs.builder()
                .endpoint("https://mytestendpoint/")
                .name("TestAction")
                .routingType("Proxy")
                .build())
            .location("eastus")
            .resourceGroupName("testRG")
            .resourceProviderName("newrp")
            .resourceTypes(CustomRPResourceTypeRouteDefinitionArgs.builder()
                .endpoint("https://mytestendpoint2/")
                .name("TestResource")
                .routingType("Proxy,Cache")
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const customResourceProvider = new azure_native.customproviders.CustomResourceProvider("customResourceProvider", {
    actions: [{
        endpoint: "https://mytestendpoint/",
        name: "TestAction",
        routingType: azure_native.customproviders.ActionRouting.Proxy,
    }],
    location: "eastus",
    resourceGroupName: "testRG",
    resourceProviderName: "newrp",
    resourceTypes: [{
        endpoint: "https://mytestendpoint2/",
        name: "TestResource",
        routingType: azure_native.customproviders.ResourceTypeRouting.Proxy_Cache,
    }],
});
Copy
import pulumi
import pulumi_azure_native as azure_native

custom_resource_provider = azure_native.customproviders.CustomResourceProvider("customResourceProvider",
    actions=[{
        "endpoint": "https://mytestendpoint/",
        "name": "TestAction",
        "routing_type": azure_native.customproviders.ActionRouting.PROXY,
    }],
    location="eastus",
    resource_group_name="testRG",
    resource_provider_name="newrp",
    resource_types=[{
        "endpoint": "https://mytestendpoint2/",
        "name": "TestResource",
        "routing_type": azure_native.customproviders.ResourceTypeRouting.PROXY_CACHE,
    }])
Copy
resources:
  customResourceProvider:
    type: azure-native:customproviders:CustomResourceProvider
    properties:
      actions:
        - endpoint: https://mytestendpoint/
          name: TestAction
          routingType: Proxy
      location: eastus
      resourceGroupName: testRG
      resourceProviderName: newrp
      resourceTypes:
        - endpoint: https://mytestendpoint2/
          name: TestResource
          routingType: Proxy,Cache
Copy

Create CustomResourceProvider Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CustomResourceProvider(name: string, args: CustomResourceProviderArgs, opts?: CustomResourceOptions);
@overload
def CustomResourceProvider(resource_name: str,
                           args: CustomResourceProviderArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def CustomResourceProvider(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           resource_group_name: Optional[str] = None,
                           actions: Optional[Sequence[CustomRPActionRouteDefinitionArgs]] = None,
                           location: Optional[str] = None,
                           resource_provider_name: Optional[str] = None,
                           resource_types: Optional[Sequence[CustomRPResourceTypeRouteDefinitionArgs]] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           validations: Optional[Sequence[CustomRPValidationsArgs]] = None)
func NewCustomResourceProvider(ctx *Context, name string, args CustomResourceProviderArgs, opts ...ResourceOption) (*CustomResourceProvider, error)
public CustomResourceProvider(string name, CustomResourceProviderArgs args, CustomResourceOptions? opts = null)
public CustomResourceProvider(String name, CustomResourceProviderArgs args)
public CustomResourceProvider(String name, CustomResourceProviderArgs args, CustomResourceOptions options)
type: azure-native:customproviders:CustomResourceProvider
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var customResourceProviderResource = new AzureNative.CustomProviders.CustomResourceProvider("customResourceProviderResource", new()
{
    ResourceGroupName = "string",
    Actions = new[]
    {
        new AzureNative.CustomProviders.Inputs.CustomRPActionRouteDefinitionArgs
        {
            Endpoint = "string",
            Name = "string",
            RoutingType = "string",
        },
    },
    Location = "string",
    ResourceProviderName = "string",
    ResourceTypes = new[]
    {
        new AzureNative.CustomProviders.Inputs.CustomRPResourceTypeRouteDefinitionArgs
        {
            Endpoint = "string",
            Name = "string",
            RoutingType = "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    Validations = new[]
    {
        new AzureNative.CustomProviders.Inputs.CustomRPValidationsArgs
        {
            Specification = "string",
            ValidationType = "string",
        },
    },
});
Copy
example, err := customproviders.NewCustomResourceProvider(ctx, "customResourceProviderResource", &customproviders.CustomResourceProviderArgs{
	ResourceGroupName: pulumi.String("string"),
	Actions: customproviders.CustomRPActionRouteDefinitionArray{
		&customproviders.CustomRPActionRouteDefinitionArgs{
			Endpoint:    pulumi.String("string"),
			Name:        pulumi.String("string"),
			RoutingType: pulumi.String("string"),
		},
	},
	Location:             pulumi.String("string"),
	ResourceProviderName: pulumi.String("string"),
	ResourceTypes: customproviders.CustomRPResourceTypeRouteDefinitionArray{
		&customproviders.CustomRPResourceTypeRouteDefinitionArgs{
			Endpoint:    pulumi.String("string"),
			Name:        pulumi.String("string"),
			RoutingType: pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Validations: customproviders.CustomRPValidationsArray{
		&customproviders.CustomRPValidationsArgs{
			Specification:  pulumi.String("string"),
			ValidationType: pulumi.String("string"),
		},
	},
})
Copy
var customResourceProviderResource = new CustomResourceProvider("customResourceProviderResource", CustomResourceProviderArgs.builder()
    .resourceGroupName("string")
    .actions(CustomRPActionRouteDefinitionArgs.builder()
        .endpoint("string")
        .name("string")
        .routingType("string")
        .build())
    .location("string")
    .resourceProviderName("string")
    .resourceTypes(CustomRPResourceTypeRouteDefinitionArgs.builder()
        .endpoint("string")
        .name("string")
        .routingType("string")
        .build())
    .tags(Map.of("string", "string"))
    .validations(CustomRPValidationsArgs.builder()
        .specification("string")
        .validationType("string")
        .build())
    .build());
Copy
custom_resource_provider_resource = azure_native.customproviders.CustomResourceProvider("customResourceProviderResource",
    resource_group_name="string",
    actions=[{
        "endpoint": "string",
        "name": "string",
        "routing_type": "string",
    }],
    location="string",
    resource_provider_name="string",
    resource_types=[{
        "endpoint": "string",
        "name": "string",
        "routing_type": "string",
    }],
    tags={
        "string": "string",
    },
    validations=[{
        "specification": "string",
        "validation_type": "string",
    }])
Copy
const customResourceProviderResource = new azure_native.customproviders.CustomResourceProvider("customResourceProviderResource", {
    resourceGroupName: "string",
    actions: [{
        endpoint: "string",
        name: "string",
        routingType: "string",
    }],
    location: "string",
    resourceProviderName: "string",
    resourceTypes: [{
        endpoint: "string",
        name: "string",
        routingType: "string",
    }],
    tags: {
        string: "string",
    },
    validations: [{
        specification: "string",
        validationType: "string",
    }],
});
Copy
type: azure-native:customproviders:CustomResourceProvider
properties:
    actions:
        - endpoint: string
          name: string
          routingType: string
    location: string
    resourceGroupName: string
    resourceProviderName: string
    resourceTypes:
        - endpoint: string
          name: string
          routingType: string
    tags:
        string: string
    validations:
        - specification: string
          validationType: string
Copy

CustomResourceProvider Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The CustomResourceProvider resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Actions List<Pulumi.AzureNative.CustomProviders.Inputs.CustomRPActionRouteDefinition>
A list of actions that the custom resource provider implements.
Location Changes to this property will trigger replacement. string
Resource location
ResourceProviderName Changes to this property will trigger replacement. string
The name of the resource provider.
ResourceTypes List<Pulumi.AzureNative.CustomProviders.Inputs.CustomRPResourceTypeRouteDefinition>
A list of resource types that the custom resource provider implements.
Tags Dictionary<string, string>
Resource tags
Validations List<Pulumi.AzureNative.CustomProviders.Inputs.CustomRPValidations>
A list of validations to run on the custom resource provider's requests.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Actions []CustomRPActionRouteDefinitionArgs
A list of actions that the custom resource provider implements.
Location Changes to this property will trigger replacement. string
Resource location
ResourceProviderName Changes to this property will trigger replacement. string
The name of the resource provider.
ResourceTypes []CustomRPResourceTypeRouteDefinitionArgs
A list of resource types that the custom resource provider implements.
Tags map[string]string
Resource tags
Validations []CustomRPValidationsArgs
A list of validations to run on the custom resource provider's requests.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
actions List<CustomRPActionRouteDefinition>
A list of actions that the custom resource provider implements.
location Changes to this property will trigger replacement. String
Resource location
resourceProviderName Changes to this property will trigger replacement. String
The name of the resource provider.
resourceTypes List<CustomRPResourceTypeRouteDefinition>
A list of resource types that the custom resource provider implements.
tags Map<String,String>
Resource tags
validations List<CustomRPValidations>
A list of validations to run on the custom resource provider's requests.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
actions CustomRPActionRouteDefinition[]
A list of actions that the custom resource provider implements.
location Changes to this property will trigger replacement. string
Resource location
resourceProviderName Changes to this property will trigger replacement. string
The name of the resource provider.
resourceTypes CustomRPResourceTypeRouteDefinition[]
A list of resource types that the custom resource provider implements.
tags {[key: string]: string}
Resource tags
validations CustomRPValidations[]
A list of validations to run on the custom resource provider's requests.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
actions Sequence[CustomRPActionRouteDefinitionArgs]
A list of actions that the custom resource provider implements.
location Changes to this property will trigger replacement. str
Resource location
resource_provider_name Changes to this property will trigger replacement. str
The name of the resource provider.
resource_types Sequence[CustomRPResourceTypeRouteDefinitionArgs]
A list of resource types that the custom resource provider implements.
tags Mapping[str, str]
Resource tags
validations Sequence[CustomRPValidationsArgs]
A list of validations to run on the custom resource provider's requests.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
actions List<Property Map>
A list of actions that the custom resource provider implements.
location Changes to this property will trigger replacement. String
Resource location
resourceProviderName Changes to this property will trigger replacement. String
The name of the resource provider.
resourceTypes List<Property Map>
A list of resource types that the custom resource provider implements.
tags Map<String>
Resource tags
validations List<Property Map>
A list of validations to run on the custom resource provider's requests.

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
ProvisioningState string
The provisioning state of the resource provider.
Type string
Resource type
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
ProvisioningState string
The provisioning state of the resource provider.
Type string
Resource type
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
provisioningState String
The provisioning state of the resource provider.
type String
Resource type
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name
provisioningState string
The provisioning state of the resource provider.
type string
Resource type
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name
provisioning_state str
The provisioning state of the resource provider.
type str
Resource type
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
provisioningState String
The provisioning state of the resource provider.
type String
Resource type

Supporting Types

ActionRouting
, ActionRoutingArgs

Proxy
Proxy
ActionRoutingProxy
Proxy
Proxy
Proxy
Proxy
Proxy
PROXY
Proxy
"Proxy"
Proxy

CustomRPActionRouteDefinition
, CustomRPActionRouteDefinitionArgs

Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string | Pulumi.AzureNative.CustomProviders.ActionRouting
The routing types that are supported for action requests.
Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string | ActionRouting
The routing types that are supported for action requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String | ActionRouting
The routing types that are supported for action requests.
endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType string | ActionRouting
The routing types that are supported for action requests.
endpoint This property is required. str
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. str
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routing_type str | ActionRouting
The routing types that are supported for action requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String | "Proxy"
The routing types that are supported for action requests.

CustomRPActionRouteDefinitionResponse
, CustomRPActionRouteDefinitionResponseArgs

Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string
The routing types that are supported for action requests.
Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string
The routing types that are supported for action requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String
The routing types that are supported for action requests.
endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType string
The routing types that are supported for action requests.
endpoint This property is required. str
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. str
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routing_type str
The routing types that are supported for action requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String
The routing types that are supported for action requests.

CustomRPResourceTypeRouteDefinition
, CustomRPResourceTypeRouteDefinitionArgs

Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string | Pulumi.AzureNative.CustomProviders.ResourceTypeRouting
The routing types that are supported for resource requests.
Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string | ResourceTypeRouting
The routing types that are supported for resource requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String | ResourceTypeRouting
The routing types that are supported for resource requests.
endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType string | ResourceTypeRouting
The routing types that are supported for resource requests.
endpoint This property is required. str
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. str
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routing_type str | ResourceTypeRouting
The routing types that are supported for resource requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String | "Proxy" | "Proxy,Cache"
The routing types that are supported for resource requests.

CustomRPResourceTypeRouteDefinitionResponse
, CustomRPResourceTypeRouteDefinitionResponseArgs

Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string
The routing types that are supported for resource requests.
Endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
Name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
RoutingType string
The routing types that are supported for resource requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String
The routing types that are supported for resource requests.
endpoint This property is required. string
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. string
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType string
The routing types that are supported for resource requests.
endpoint This property is required. str
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. str
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routing_type str
The routing types that are supported for resource requests.
endpoint This property is required. String
The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')
name This property is required. String
The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')
routingType String
The routing types that are supported for resource requests.

CustomRPValidations
, CustomRPValidationsArgs

Specification This property is required. string
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
ValidationType string | Pulumi.AzureNative.CustomProviders.ValidationType
The type of validation to run against a matching request.
Specification This property is required. string
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
ValidationType string | ValidationType
The type of validation to run against a matching request.
specification This property is required. String
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validationType String | ValidationType
The type of validation to run against a matching request.
specification This property is required. string
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validationType string | ValidationType
The type of validation to run against a matching request.
specification This property is required. str
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validation_type str | ValidationType
The type of validation to run against a matching request.
specification This property is required. String
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validationType String | "Swagger"
The type of validation to run against a matching request.

CustomRPValidationsResponse
, CustomRPValidationsResponseArgs

Specification This property is required. string
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
ValidationType string
The type of validation to run against a matching request.
Specification This property is required. string
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
ValidationType string
The type of validation to run against a matching request.
specification This property is required. String
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validationType String
The type of validation to run against a matching request.
specification This property is required. string
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validationType string
The type of validation to run against a matching request.
specification This property is required. str
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validation_type str
The type of validation to run against a matching request.
specification This property is required. String
A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.
validationType String
The type of validation to run against a matching request.

ResourceTypeRouting
, ResourceTypeRoutingArgs

Proxy
Proxy
Proxy_Cache
Proxy,Cache
ResourceTypeRoutingProxy
Proxy
ResourceTypeRouting_Proxy_Cache
Proxy,Cache
Proxy
Proxy
Proxy_Cache
Proxy,Cache
Proxy
Proxy
Proxy_Cache
Proxy,Cache
PROXY
Proxy
PROXY_CACHE
Proxy,Cache
"Proxy"
Proxy
"Proxy,Cache"
Proxy,Cache

ValidationType
, ValidationTypeArgs

Swagger
Swagger
ValidationTypeSwagger
Swagger
Swagger
Swagger
Swagger
Swagger
SWAGGER
Swagger
"Swagger"
Swagger

Import

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

$ pulumi import azure-native:customproviders:CustomResourceProvider newrp /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

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