azure-native.customproviders.CustomResourceProvider
Explore with Pulumi AI
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=[azure_native.customproviders.CustomRPActionRouteDefinitionArgs(
endpoint="https://mytestendpoint/",
name="TestAction",
routing_type=azure_native.customproviders.ActionRouting.PROXY,
)],
location="eastus",
resource_group_name="testRG",
resource_provider_name="newrp",
resource_types=[azure_native.customproviders.CustomRPResourceTypeRouteDefinitionArgs(
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=[azure_native.customproviders.CustomRPActionRouteDefinitionArgs(
endpoint="string",
name="string",
routing_type="string",
)],
location="string",
resource_provider_name="string",
resource_types=[azure_native.customproviders.CustomRPResourceTypeRouteDefinitionArgs(
endpoint="string",
name="string",
routing_type="string",
)],
tags={
"string": "string",
},
validations=[azure_native.customproviders.CustomRPValidationsArgs(
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
The CustomResourceProvider resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group.
- Actions
List<Pulumi.
Azure Native. Custom Providers. Inputs. Custom RPAction Route Definition> - A list of actions that the custom resource provider implements.
- Location string
- Resource location
- Resource
Provider stringName - The name of the resource provider.
- Resource
Types List<Pulumi.Azure Native. Custom Providers. Inputs. Custom RPResource Type Route Definition> - A list of resource types that the custom resource provider implements.
- Dictionary<string, string>
- Resource tags
- Validations
List<Pulumi.
Azure Native. Custom Providers. Inputs. Custom RPValidations> - A list of validations to run on the custom resource provider's requests.
- Resource
Group stringName - The name of the resource group.
- Actions
[]Custom
RPAction Route Definition Args - A list of actions that the custom resource provider implements.
- Location string
- Resource location
- Resource
Provider stringName - The name of the resource provider.
- Resource
Types []CustomRPResource Type Route Definition Args - A list of resource types that the custom resource provider implements.
- map[string]string
- Resource tags
- Validations
[]Custom
RPValidations Args - A list of validations to run on the custom resource provider's requests.
- resource
Group StringName - The name of the resource group.
- actions
List<Custom
RPAction Route Definition> - A list of actions that the custom resource provider implements.
- location String
- Resource location
- resource
Provider StringName - The name of the resource provider.
- resource
Types List<CustomRPResource Type Route Definition> - A list of resource types that the custom resource provider implements.
- Map<String,String>
- Resource tags
- validations
List<Custom
RPValidations> - A list of validations to run on the custom resource provider's requests.
- resource
Group stringName - The name of the resource group.
- actions
Custom
RPAction Route Definition[] - A list of actions that the custom resource provider implements.
- location string
- Resource location
- resource
Provider stringName - The name of the resource provider.
- resource
Types CustomRPResource Type Route Definition[] - A list of resource types that the custom resource provider implements.
- {[key: string]: string}
- Resource tags
- validations
Custom
RPValidations[] - A list of validations to run on the custom resource provider's requests.
- resource_
group_ strname - The name of the resource group.
- actions
Sequence[Custom
RPAction Route Definition Args] - A list of actions that the custom resource provider implements.
- location str
- Resource location
- resource_
provider_ strname - The name of the resource provider.
- resource_
types Sequence[CustomRPResource Type Route Definition Args] - A list of resource types that the custom resource provider implements.
- Mapping[str, str]
- Resource tags
- validations
Sequence[Custom
RPValidations Args] - A list of validations to run on the custom resource provider's requests.
- resource
Group StringName - The name of the resource group.
- actions List<Property Map>
- A list of actions that the custom resource provider implements.
- location String
- Resource location
- resource
Provider StringName - The name of the resource provider.
- resource
Types List<Property Map> - A list of resource types that the custom resource provider implements.
- 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
- Provisioning
State 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
- Provisioning
State 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
- provisioning
State 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
- provisioning
State 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
- provisioning
State String - The provisioning state of the resource provider.
- type String
- Resource type
Supporting Types
ActionRouting, ActionRoutingArgs
- Proxy
- Proxy
- Action
Routing Proxy - 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}')
- Routing
Type string | Pulumi.Azure Native. Custom Providers. Action Routing - 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}')
- Routing
Type 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}')
- routing
Type 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}')
- routing
Type 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}')
- routing
Type 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}')
- Routing
Type 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}')
- Routing
Type 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}')
- routing
Type 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}')
- routing
Type 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}')
- routing
Type 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}')
- Routing
Type string | Pulumi.Azure Native. Custom Providers. Resource Type Routing - 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}')
- Routing
Type string | ResourceType Routing - 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}')
- routing
Type String | ResourceType Routing - 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}')
- routing
Type string | ResourceType Routing - 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 | ResourceType Routing - 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}')
- routing
Type 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}')
- Routing
Type 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}')
- Routing
Type 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}')
- routing
Type 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}')
- routing
Type 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}')
- routing
Type 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.
- Validation
Type string | Pulumi.Azure Native. Custom Providers. Validation Type - 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.
- Validation
Type 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.
- validation
Type 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.
- validation
Type 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.
- validation
Type 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.
- Validation
Type 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.
- Validation
Type 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.
- validation
Type 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.
- validation
Type 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.
- validation
Type String - The type of validation to run against a matching request.
ResourceTypeRouting, ResourceTypeRoutingArgs
- Proxy
- Proxy
- Proxy_Cache
- Proxy,Cache
- Resource
Type Routing Proxy - Proxy
- Resource
Type Routing_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
- Validation
Type Swagger - 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