1. Packages
  2. Azure Native
  3. API Docs
  4. customproviders
  5. CustomResourceProvider
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.69.0 published on Monday, Oct 28, 2024 by Pulumi

azure-native.customproviders.CustomResourceProvider

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.69.0 published on Monday, Oct 28, 2024 by Pulumi

    A manifest file that defines the custom resource provider resources. Azure REST API version: 2018-09-01-preview. Prior API version in Azure Native 1.x: 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,
                },
            },
        });
    
    });
    
    package main
    
    import (
    	customproviders "github.com/pulumi/pulumi-azure-native-sdk/customproviders/v2"
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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,
        }])
    
    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,
        }],
    });
    
    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
    

    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 string
    The unique name of the resource.
    args CustomResourceProviderArgs
    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 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 string
    The unique name of the resource.
    args CustomResourceProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CustomResourceProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
            },
        },
    });
    
    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"),
    		},
    	},
    })
    
    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());
    
    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",
        }])
    
    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",
        }],
    });
    
    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
    

    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 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 string
    Resource location
    ResourceProviderName 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 string
    The name of the resource group.
    Actions []CustomRPActionRouteDefinitionArgs
    A list of actions that the custom resource provider implements.
    Location string
    Resource location
    ResourceProviderName 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 String
    The name of the resource group.
    actions List<CustomRPActionRouteDefinition>
    A list of actions that the custom resource provider implements.
    location String
    Resource location
    resourceProviderName 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 string
    The name of the resource group.
    actions CustomRPActionRouteDefinition[]
    A list of actions that the custom resource provider implements.
    location string
    Resource location
    resourceProviderName 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 str
    The name of the resource group.
    actions Sequence[CustomRPActionRouteDefinitionArgs]
    A list of actions that the custom resource provider implements.
    location str
    Resource location
    resource_provider_name 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 String
    The name of the resource group.
    actions List<Property Map>
    A list of actions that the custom resource provider implements.
    location String
    Resource location
    resourceProviderName 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:

    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
    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
    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
    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
    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
    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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.69.0 published on Monday, Oct 28, 2024 by Pulumi