azure-native.web.CustomApi
Explore with Pulumi AI
A custom API Azure REST API version: 2016-06-01. Prior API version in Azure Native 1.x: 2016-06-01.
Example Usage
Replace a custom API
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var customApi = new AzureNative.Web.CustomApi("customApi", new()
    {
        ApiName = "testCustomApi",
        Properties = new AzureNative.Web.Inputs.CustomApiPropertiesDefinitionArgs
        {
            ApiDefinitions = new AzureNative.Web.Inputs.ApiResourceDefinitionsArgs
            {
                OriginalSwaggerUrl = "https://tempuri.org/swagger.json",
            },
            ApiType = AzureNative.Web.ApiType.Rest,
            Capabilities = new() { },
            Description = "",
            DisplayName = "testCustomApi",
            IconUri = "/testIcon.svg",
        },
        ResourceGroupName = "testResourceGroup",
    });
});
package main
import (
	web "github.com/pulumi/pulumi-azure-native-sdk/web/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := web.NewCustomApi(ctx, "customApi", &web.CustomApiArgs{
			ApiName: pulumi.String("testCustomApi"),
			Properties: &web.CustomApiPropertiesDefinitionArgs{
				ApiDefinitions: &web.ApiResourceDefinitionsArgs{
					OriginalSwaggerUrl: pulumi.String("https://tempuri.org/swagger.json"),
				},
				ApiType:      pulumi.String(web.ApiTypeRest),
				Capabilities: pulumi.StringArray{},
				Description:  pulumi.String(""),
				DisplayName:  pulumi.String("testCustomApi"),
				IconUri:      pulumi.String("/testIcon.svg"),
			},
			ResourceGroupName: pulumi.String("testResourceGroup"),
		})
		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.web.CustomApi;
import com.pulumi.azurenative.web.CustomApiArgs;
import com.pulumi.azurenative.web.inputs.CustomApiPropertiesDefinitionArgs;
import com.pulumi.azurenative.web.inputs.ApiResourceDefinitionsArgs;
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 customApi = new CustomApi("customApi", CustomApiArgs.builder()
            .apiName("testCustomApi")
            .properties(CustomApiPropertiesDefinitionArgs.builder()
                .apiDefinitions(ApiResourceDefinitionsArgs.builder()
                    .originalSwaggerUrl("https://tempuri.org/swagger.json")
                    .build())
                .apiType("Rest")
                .capabilities()
                .description("")
                .displayName("testCustomApi")
                .iconUri("/testIcon.svg")
                .build())
            .resourceGroupName("testResourceGroup")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const customApi = new azure_native.web.CustomApi("customApi", {
    apiName: "testCustomApi",
    properties: {
        apiDefinitions: {
            originalSwaggerUrl: "https://tempuri.org/swagger.json",
        },
        apiType: azure_native.web.ApiType.Rest,
        capabilities: [],
        description: "",
        displayName: "testCustomApi",
        iconUri: "/testIcon.svg",
    },
    resourceGroupName: "testResourceGroup",
});
import pulumi
import pulumi_azure_native as azure_native
custom_api = azure_native.web.CustomApi("customApi",
    api_name="testCustomApi",
    properties={
        "api_definitions": {
            "original_swagger_url": "https://tempuri.org/swagger.json",
        },
        "api_type": azure_native.web.ApiType.REST,
        "capabilities": [],
        "description": "",
        "display_name": "testCustomApi",
        "icon_uri": "/testIcon.svg",
    },
    resource_group_name="testResourceGroup")
resources:
  customApi:
    type: azure-native:web:CustomApi
    properties:
      apiName: testCustomApi
      properties:
        apiDefinitions:
          originalSwaggerUrl: https://tempuri.org/swagger.json
        apiType: Rest
        capabilities: []
        description: ""
        displayName: testCustomApi
        iconUri: /testIcon.svg
      resourceGroupName: testResourceGroup
Create CustomApi Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomApi(name: string, args: CustomApiArgs, opts?: CustomResourceOptions);@overload
def CustomApi(resource_name: str,
              args: CustomApiArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def CustomApi(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              resource_group_name: Optional[str] = None,
              api_name: Optional[str] = None,
              location: Optional[str] = None,
              properties: Optional[CustomApiPropertiesDefinitionArgs] = None,
              subscription_id: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None)func NewCustomApi(ctx *Context, name string, args CustomApiArgs, opts ...ResourceOption) (*CustomApi, error)public CustomApi(string name, CustomApiArgs args, CustomResourceOptions? opts = null)
public CustomApi(String name, CustomApiArgs args)
public CustomApi(String name, CustomApiArgs args, CustomResourceOptions options)
type: azure-native:web:CustomApi
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 CustomApiArgs
- 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 CustomApiArgs
- 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 CustomApiArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomApiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomApiArgs
- 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 customApiResource = new AzureNative.Web.CustomApi("customApiResource", new()
{
    ResourceGroupName = "string",
    ApiName = "string",
    Location = "string",
    Properties = new AzureNative.Web.Inputs.CustomApiPropertiesDefinitionArgs
    {
        ApiDefinitions = new AzureNative.Web.Inputs.ApiResourceDefinitionsArgs
        {
            ModifiedSwaggerUrl = "string",
            OriginalSwaggerUrl = "string",
        },
        ApiType = "string",
        BackendService = new AzureNative.Web.Inputs.ApiResourceBackendServiceArgs
        {
            ServiceUrl = "string",
        },
        BrandColor = "string",
        Capabilities = new[]
        {
            "string",
        },
        ConnectionParameters = 
        {
            { "string", new AzureNative.Web.Inputs.ConnectionParameterArgs
            {
                OAuthSettings = new AzureNative.Web.Inputs.ApiOAuthSettingsArgs
                {
                    ClientId = "string",
                    ClientSecret = "string",
                    CustomParameters = 
                    {
                        { "string", new AzureNative.Web.Inputs.ApiOAuthSettingsParameterArgs
                        {
                            Options = "any",
                            UiDefinition = "any",
                            Value = "string",
                        } },
                    },
                    IdentityProvider = "string",
                    Properties = "any",
                    RedirectUrl = "string",
                    Scopes = new[]
                    {
                        "string",
                    },
                },
                Type = AzureNative.Web.ConnectionParameterType.@String,
            } },
        },
        Description = "string",
        DisplayName = "string",
        IconUri = "string",
        RuntimeUrls = new[]
        {
            "string",
        },
        Swagger = "any",
        WsdlDefinition = new AzureNative.Web.Inputs.WsdlDefinitionArgs
        {
            Content = "string",
            ImportMethod = "string",
            Service = new AzureNative.Web.Inputs.WsdlServiceArgs
            {
                QualifiedName = "string",
                EndpointQualifiedNames = new[]
                {
                    "string",
                },
            },
            Url = "string",
        },
    },
    SubscriptionId = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := web.NewCustomApi(ctx, "customApiResource", &web.CustomApiArgs{
	ResourceGroupName: pulumi.String("string"),
	ApiName:           pulumi.String("string"),
	Location:          pulumi.String("string"),
	Properties: &web.CustomApiPropertiesDefinitionArgs{
		ApiDefinitions: &web.ApiResourceDefinitionsArgs{
			ModifiedSwaggerUrl: pulumi.String("string"),
			OriginalSwaggerUrl: pulumi.String("string"),
		},
		ApiType: pulumi.String("string"),
		BackendService: &web.ApiResourceBackendServiceArgs{
			ServiceUrl: pulumi.String("string"),
		},
		BrandColor: pulumi.String("string"),
		Capabilities: pulumi.StringArray{
			pulumi.String("string"),
		},
		ConnectionParameters: web.ConnectionParameterMap{
			"string": &web.ConnectionParameterArgs{
				OAuthSettings: &web.ApiOAuthSettingsArgs{
					ClientId:     pulumi.String("string"),
					ClientSecret: pulumi.String("string"),
					CustomParameters: web.ApiOAuthSettingsParameterMap{
						"string": &web.ApiOAuthSettingsParameterArgs{
							Options:      pulumi.Any("any"),
							UiDefinition: pulumi.Any("any"),
							Value:        pulumi.String("string"),
						},
					},
					IdentityProvider: pulumi.String("string"),
					Properties:       pulumi.Any("any"),
					RedirectUrl:      pulumi.String("string"),
					Scopes: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
				Type: web.ConnectionParameterTypeString,
			},
		},
		Description: pulumi.String("string"),
		DisplayName: pulumi.String("string"),
		IconUri:     pulumi.String("string"),
		RuntimeUrls: pulumi.StringArray{
			pulumi.String("string"),
		},
		Swagger: pulumi.Any("any"),
		WsdlDefinition: &web.WsdlDefinitionArgs{
			Content:      pulumi.String("string"),
			ImportMethod: pulumi.String("string"),
			Service: &web.WsdlServiceArgs{
				QualifiedName: pulumi.String("string"),
				EndpointQualifiedNames: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
			Url: pulumi.String("string"),
		},
	},
	SubscriptionId: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var customApiResource = new CustomApi("customApiResource", CustomApiArgs.builder()
    .resourceGroupName("string")
    .apiName("string")
    .location("string")
    .properties(CustomApiPropertiesDefinitionArgs.builder()
        .apiDefinitions(ApiResourceDefinitionsArgs.builder()
            .modifiedSwaggerUrl("string")
            .originalSwaggerUrl("string")
            .build())
        .apiType("string")
        .backendService(ApiResourceBackendServiceArgs.builder()
            .serviceUrl("string")
            .build())
        .brandColor("string")
        .capabilities("string")
        .connectionParameters(Map.of("string", Map.ofEntries(
            Map.entry("oAuthSettings", Map.ofEntries(
                Map.entry("clientId", "string"),
                Map.entry("clientSecret", "string"),
                Map.entry("customParameters", Map.of("string", Map.ofEntries(
                    Map.entry("options", "any"),
                    Map.entry("uiDefinition", "any"),
                    Map.entry("value", "string")
                ))),
                Map.entry("identityProvider", "string"),
                Map.entry("properties", "any"),
                Map.entry("redirectUrl", "string"),
                Map.entry("scopes", "string")
            )),
            Map.entry("type", "string")
        )))
        .description("string")
        .displayName("string")
        .iconUri("string")
        .runtimeUrls("string")
        .swagger("any")
        .wsdlDefinition(WsdlDefinitionArgs.builder()
            .content("string")
            .importMethod("string")
            .service(WsdlServiceArgs.builder()
                .qualifiedName("string")
                .endpointQualifiedNames("string")
                .build())
            .url("string")
            .build())
        .build())
    .subscriptionId("string")
    .tags(Map.of("string", "string"))
    .build());
custom_api_resource = azure_native.web.CustomApi("customApiResource",
    resource_group_name="string",
    api_name="string",
    location="string",
    properties={
        "api_definitions": {
            "modified_swagger_url": "string",
            "original_swagger_url": "string",
        },
        "api_type": "string",
        "backend_service": {
            "service_url": "string",
        },
        "brand_color": "string",
        "capabilities": ["string"],
        "connection_parameters": {
            "string": {
                "o_auth_settings": {
                    "client_id": "string",
                    "client_secret": "string",
                    "custom_parameters": {
                        "string": {
                            "options": "any",
                            "ui_definition": "any",
                            "value": "string",
                        },
                    },
                    "identity_provider": "string",
                    "properties": "any",
                    "redirect_url": "string",
                    "scopes": ["string"],
                },
                "type": azure_native.web.ConnectionParameterType.STRING,
            },
        },
        "description": "string",
        "display_name": "string",
        "icon_uri": "string",
        "runtime_urls": ["string"],
        "swagger": "any",
        "wsdl_definition": {
            "content": "string",
            "import_method": "string",
            "service": {
                "qualified_name": "string",
                "endpoint_qualified_names": ["string"],
            },
            "url": "string",
        },
    },
    subscription_id="string",
    tags={
        "string": "string",
    })
const customApiResource = new azure_native.web.CustomApi("customApiResource", {
    resourceGroupName: "string",
    apiName: "string",
    location: "string",
    properties: {
        apiDefinitions: {
            modifiedSwaggerUrl: "string",
            originalSwaggerUrl: "string",
        },
        apiType: "string",
        backendService: {
            serviceUrl: "string",
        },
        brandColor: "string",
        capabilities: ["string"],
        connectionParameters: {
            string: {
                oAuthSettings: {
                    clientId: "string",
                    clientSecret: "string",
                    customParameters: {
                        string: {
                            options: "any",
                            uiDefinition: "any",
                            value: "string",
                        },
                    },
                    identityProvider: "string",
                    properties: "any",
                    redirectUrl: "string",
                    scopes: ["string"],
                },
                type: azure_native.web.ConnectionParameterType.String,
            },
        },
        description: "string",
        displayName: "string",
        iconUri: "string",
        runtimeUrls: ["string"],
        swagger: "any",
        wsdlDefinition: {
            content: "string",
            importMethod: "string",
            service: {
                qualifiedName: "string",
                endpointQualifiedNames: ["string"],
            },
            url: "string",
        },
    },
    subscriptionId: "string",
    tags: {
        string: "string",
    },
});
type: azure-native:web:CustomApi
properties:
    apiName: string
    location: string
    properties:
        apiDefinitions:
            modifiedSwaggerUrl: string
            originalSwaggerUrl: string
        apiType: string
        backendService:
            serviceUrl: string
        brandColor: string
        capabilities:
            - string
        connectionParameters:
            string:
                oAuthSettings:
                    clientId: string
                    clientSecret: string
                    customParameters:
                        string:
                            options: any
                            uiDefinition: any
                            value: string
                    identityProvider: string
                    properties: any
                    redirectUrl: string
                    scopes:
                        - string
                type: string
        description: string
        displayName: string
        iconUri: string
        runtimeUrls:
            - string
        swagger: any
        wsdlDefinition:
            content: string
            importMethod: string
            service:
                endpointQualifiedNames:
                    - string
                qualifiedName: string
            url: string
    resourceGroupName: string
    subscriptionId: string
    tags:
        string: string
CustomApi 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 CustomApi resource accepts the following input properties:
- ResourceGroup stringName 
- The resource group
- ApiName string
- API name
- Location string
- Resource location
- Properties
Pulumi.Azure Native. Web. Inputs. Custom Api Properties Definition 
- Custom API properties
- SubscriptionId string
- Subscription Id
- Dictionary<string, string>
- Resource tags
- ResourceGroup stringName 
- The resource group
- ApiName string
- API name
- Location string
- Resource location
- Properties
CustomApi Properties Definition Args 
- Custom API properties
- SubscriptionId string
- Subscription Id
- map[string]string
- Resource tags
- resourceGroup StringName 
- The resource group
- apiName String
- API name
- location String
- Resource location
- properties
CustomApi Properties Definition 
- Custom API properties
- subscriptionId String
- Subscription Id
- Map<String,String>
- Resource tags
- resourceGroup stringName 
- The resource group
- apiName string
- API name
- location string
- Resource location
- properties
CustomApi Properties Definition 
- Custom API properties
- subscriptionId string
- Subscription Id
- {[key: string]: string}
- Resource tags
- resource_group_ strname 
- The resource group
- api_name str
- API name
- location str
- Resource location
- properties
CustomApi Properties Definition Args 
- Custom API properties
- subscription_id str
- Subscription Id
- Mapping[str, str]
- Resource tags
- resourceGroup StringName 
- The resource group
- apiName String
- API name
- location String
- Resource location
- properties Property Map
- Custom API properties
- subscriptionId String
- Subscription Id
- Map<String>
- Resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomApi resource produces the following output properties:
Supporting Types
ApiOAuthSettings, ApiOAuthSettingsArgs      
- ClientId string
- Resource provider client id
- ClientSecret string
- Client Secret needed for OAuth
- CustomParameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Api OAuth Settings Parameter> 
- OAuth parameters key is the name of parameter
- IdentityProvider string
- Identity provider
- Properties object
- Read only properties for this oauth setting.
- RedirectUrl string
- Url
- Scopes List<string>
- OAuth scopes
- ClientId string
- Resource provider client id
- ClientSecret string
- Client Secret needed for OAuth
- CustomParameters map[string]ApiOAuth Settings Parameter 
- OAuth parameters key is the name of parameter
- IdentityProvider string
- Identity provider
- Properties interface{}
- Read only properties for this oauth setting.
- RedirectUrl string
- Url
- Scopes []string
- OAuth scopes
- clientId String
- Resource provider client id
- clientSecret String
- Client Secret needed for OAuth
- customParameters Map<String,ApiOAuth Settings Parameter> 
- OAuth parameters key is the name of parameter
- identityProvider String
- Identity provider
- properties Object
- Read only properties for this oauth setting.
- redirectUrl String
- Url
- scopes List<String>
- OAuth scopes
- clientId string
- Resource provider client id
- clientSecret string
- Client Secret needed for OAuth
- customParameters {[key: string]: ApiOAuth Settings Parameter} 
- OAuth parameters key is the name of parameter
- identityProvider string
- Identity provider
- properties any
- Read only properties for this oauth setting.
- redirectUrl string
- Url
- scopes string[]
- OAuth scopes
- client_id str
- Resource provider client id
- client_secret str
- Client Secret needed for OAuth
- custom_parameters Mapping[str, ApiOAuth Settings Parameter] 
- OAuth parameters key is the name of parameter
- identity_provider str
- Identity provider
- properties Any
- Read only properties for this oauth setting.
- redirect_url str
- Url
- scopes Sequence[str]
- OAuth scopes
- clientId String
- Resource provider client id
- clientSecret String
- Client Secret needed for OAuth
- customParameters Map<Property Map>
- OAuth parameters key is the name of parameter
- identityProvider String
- Identity provider
- properties Any
- Read only properties for this oauth setting.
- redirectUrl String
- Url
- scopes List<String>
- OAuth scopes
ApiOAuthSettingsParameter, ApiOAuthSettingsParameterArgs        
- Options object
- Options available to this parameter
- UiDefinition object
- UI definitions per culture as caller can specify the culture
- Value string
- Value of the setting
- Options interface{}
- Options available to this parameter
- UiDefinition interface{}
- UI definitions per culture as caller can specify the culture
- Value string
- Value of the setting
- options Object
- Options available to this parameter
- uiDefinition Object
- UI definitions per culture as caller can specify the culture
- value String
- Value of the setting
- options any
- Options available to this parameter
- uiDefinition any
- UI definitions per culture as caller can specify the culture
- value string
- Value of the setting
- options Any
- Options available to this parameter
- ui_definition Any
- UI definitions per culture as caller can specify the culture
- value str
- Value of the setting
- options Any
- Options available to this parameter
- uiDefinition Any
- UI definitions per culture as caller can specify the culture
- value String
- Value of the setting
ApiOAuthSettingsParameterResponse, ApiOAuthSettingsParameterResponseArgs          
- Options object
- Options available to this parameter
- UiDefinition object
- UI definitions per culture as caller can specify the culture
- Value string
- Value of the setting
- Options interface{}
- Options available to this parameter
- UiDefinition interface{}
- UI definitions per culture as caller can specify the culture
- Value string
- Value of the setting
- options Object
- Options available to this parameter
- uiDefinition Object
- UI definitions per culture as caller can specify the culture
- value String
- Value of the setting
- options any
- Options available to this parameter
- uiDefinition any
- UI definitions per culture as caller can specify the culture
- value string
- Value of the setting
- options Any
- Options available to this parameter
- ui_definition Any
- UI definitions per culture as caller can specify the culture
- value str
- Value of the setting
- options Any
- Options available to this parameter
- uiDefinition Any
- UI definitions per culture as caller can specify the culture
- value String
- Value of the setting
ApiOAuthSettingsResponse, ApiOAuthSettingsResponseArgs        
- ClientId string
- Resource provider client id
- ClientSecret string
- Client Secret needed for OAuth
- CustomParameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Api OAuth Settings Parameter Response> 
- OAuth parameters key is the name of parameter
- IdentityProvider string
- Identity provider
- Properties object
- Read only properties for this oauth setting.
- RedirectUrl string
- Url
- Scopes List<string>
- OAuth scopes
- ClientId string
- Resource provider client id
- ClientSecret string
- Client Secret needed for OAuth
- CustomParameters map[string]ApiOAuth Settings Parameter Response 
- OAuth parameters key is the name of parameter
- IdentityProvider string
- Identity provider
- Properties interface{}
- Read only properties for this oauth setting.
- RedirectUrl string
- Url
- Scopes []string
- OAuth scopes
- clientId String
- Resource provider client id
- clientSecret String
- Client Secret needed for OAuth
- customParameters Map<String,ApiOAuth Settings Parameter Response> 
- OAuth parameters key is the name of parameter
- identityProvider String
- Identity provider
- properties Object
- Read only properties for this oauth setting.
- redirectUrl String
- Url
- scopes List<String>
- OAuth scopes
- clientId string
- Resource provider client id
- clientSecret string
- Client Secret needed for OAuth
- customParameters {[key: string]: ApiOAuth Settings Parameter Response} 
- OAuth parameters key is the name of parameter
- identityProvider string
- Identity provider
- properties any
- Read only properties for this oauth setting.
- redirectUrl string
- Url
- scopes string[]
- OAuth scopes
- client_id str
- Resource provider client id
- client_secret str
- Client Secret needed for OAuth
- custom_parameters Mapping[str, ApiOAuth Settings Parameter Response] 
- OAuth parameters key is the name of parameter
- identity_provider str
- Identity provider
- properties Any
- Read only properties for this oauth setting.
- redirect_url str
- Url
- scopes Sequence[str]
- OAuth scopes
- clientId String
- Resource provider client id
- clientSecret String
- Client Secret needed for OAuth
- customParameters Map<Property Map>
- OAuth parameters key is the name of parameter
- identityProvider String
- Identity provider
- properties Any
- Read only properties for this oauth setting.
- redirectUrl String
- Url
- scopes List<String>
- OAuth scopes
ApiResourceBackendService, ApiResourceBackendServiceArgs        
- ServiceUrl string
- The service URL
- ServiceUrl string
- The service URL
- serviceUrl String
- The service URL
- serviceUrl string
- The service URL
- service_url str
- The service URL
- serviceUrl String
- The service URL
ApiResourceBackendServiceResponse, ApiResourceBackendServiceResponseArgs          
- ServiceUrl string
- The service URL
- ServiceUrl string
- The service URL
- serviceUrl String
- The service URL
- serviceUrl string
- The service URL
- service_url str
- The service URL
- serviceUrl String
- The service URL
ApiResourceDefinitions, ApiResourceDefinitionsArgs      
- ModifiedSwagger stringUrl 
- The modified swagger URL
- OriginalSwagger stringUrl 
- The original swagger URL
- ModifiedSwagger stringUrl 
- The modified swagger URL
- OriginalSwagger stringUrl 
- The original swagger URL
- modifiedSwagger StringUrl 
- The modified swagger URL
- originalSwagger StringUrl 
- The original swagger URL
- modifiedSwagger stringUrl 
- The modified swagger URL
- originalSwagger stringUrl 
- The original swagger URL
- modified_swagger_ strurl 
- The modified swagger URL
- original_swagger_ strurl 
- The original swagger URL
- modifiedSwagger StringUrl 
- The modified swagger URL
- originalSwagger StringUrl 
- The original swagger URL
ApiResourceDefinitionsResponse, ApiResourceDefinitionsResponseArgs        
- ModifiedSwagger stringUrl 
- The modified swagger URL
- OriginalSwagger stringUrl 
- The original swagger URL
- ModifiedSwagger stringUrl 
- The modified swagger URL
- OriginalSwagger stringUrl 
- The original swagger URL
- modifiedSwagger StringUrl 
- The modified swagger URL
- originalSwagger StringUrl 
- The original swagger URL
- modifiedSwagger stringUrl 
- The modified swagger URL
- originalSwagger stringUrl 
- The original swagger URL
- modified_swagger_ strurl 
- The modified swagger URL
- original_swagger_ strurl 
- The original swagger URL
- modifiedSwagger StringUrl 
- The modified swagger URL
- originalSwagger StringUrl 
- The original swagger URL
ApiType, ApiTypeArgs    
- NotSpecified 
- NotSpecified
- Rest
- Rest
- Soap
- Soap
- ApiType Not Specified 
- NotSpecified
- ApiType Rest 
- Rest
- ApiType Soap 
- Soap
- NotSpecified 
- NotSpecified
- Rest
- Rest
- Soap
- Soap
- NotSpecified 
- NotSpecified
- Rest
- Rest
- Soap
- Soap
- NOT_SPECIFIED
- NotSpecified
- REST
- Rest
- SOAP
- Soap
- "NotSpecified" 
- NotSpecified
- "Rest"
- Rest
- "Soap"
- Soap
ConnectionParameter, ConnectionParameterArgs    
- OAuthSettings Pulumi.Azure Native. Web. Inputs. Api OAuth Settings 
- OAuth settings for the connection provider
- Type
Pulumi.Azure Native. Web. Connection Parameter Type 
- Type of the parameter
- OAuthSettings ApiOAuth Settings 
- OAuth settings for the connection provider
- Type
ConnectionParameter Type 
- Type of the parameter
- oAuth ApiSettings OAuth Settings 
- OAuth settings for the connection provider
- type
ConnectionParameter Type 
- Type of the parameter
- oAuth ApiSettings OAuth Settings 
- OAuth settings for the connection provider
- type
ConnectionParameter Type 
- Type of the parameter
- o_auth_ Apisettings OAuth Settings 
- OAuth settings for the connection provider
- type
ConnectionParameter Type 
- Type of the parameter
- oAuth Property MapSettings 
- OAuth settings for the connection provider
- type
"string" | "securestring" | "secureobject" | "int" | "bool" | "object" | "array" | "oauthSetting" | "connection" 
- Type of the parameter
ConnectionParameterResponse, ConnectionParameterResponseArgs      
- OAuthSettings Pulumi.Azure Native. Web. Inputs. Api OAuth Settings Response 
- OAuth settings for the connection provider
- Type string
- Type of the parameter
- OAuthSettings ApiOAuth Settings Response 
- OAuth settings for the connection provider
- Type string
- Type of the parameter
- oAuth ApiSettings OAuth Settings Response 
- OAuth settings for the connection provider
- type String
- Type of the parameter
- oAuth ApiSettings OAuth Settings Response 
- OAuth settings for the connection provider
- type string
- Type of the parameter
- o_auth_ Apisettings OAuth Settings Response 
- OAuth settings for the connection provider
- type str
- Type of the parameter
- oAuth Property MapSettings 
- OAuth settings for the connection provider
- type String
- Type of the parameter
ConnectionParameterType, ConnectionParameterTypeArgs      
- @String
- string
- Securestring
- securestring
- Secureobject
- secureobject
- @Int
- int
- @Bool
- bool
- @Object
- object
- Array
- array
- OauthSetting 
- oauthSetting
- Connection
- connection
- ConnectionParameter Type String 
- string
- ConnectionParameter Type Securestring 
- securestring
- ConnectionParameter Type Secureobject 
- secureobject
- ConnectionParameter Type Int 
- int
- ConnectionParameter Type Bool 
- bool
- ConnectionParameter Type Object 
- object
- ConnectionParameter Type Array 
- array
- ConnectionParameter Type Oauth Setting 
- oauthSetting
- ConnectionParameter Type Connection 
- connection
- String
- string
- Securestring
- securestring
- Secureobject
- secureobject
- Int_
- int
- Bool
- bool
- Object
- object
- Array
- array
- OauthSetting 
- oauthSetting
- Connection
- connection
- String
- string
- Securestring
- securestring
- Secureobject
- secureobject
- Int
- int
- Bool
- bool
- Object
- object
- Array
- array
- OauthSetting 
- oauthSetting
- Connection
- connection
- STRING
- string
- SECURESTRING
- securestring
- SECUREOBJECT
- secureobject
- INT
- int
- BOOL
- bool
- OBJECT
- object
- ARRAY
- array
- OAUTH_SETTING
- oauthSetting
- CONNECTION
- connection
- "string"
- string
- "securestring"
- securestring
- "secureobject"
- secureobject
- "int"
- int
- "bool"
- bool
- "object"
- object
- "array"
- array
- "oauthSetting" 
- oauthSetting
- "connection"
- connection
CustomApiPropertiesDefinition, CustomApiPropertiesDefinitionArgs        
- ApiDefinitions Pulumi.Azure Native. Web. Inputs. Api Resource Definitions 
- API Definitions
- ApiType string | Pulumi.Azure Native. Web. Api Type 
- The API type
- BackendService Pulumi.Azure Native. Web. Inputs. Api Resource Backend Service 
- The API backend service
- BrandColor string
- Brand color
- Capabilities List<string>
- The custom API capabilities
- ConnectionParameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Connection Parameter> 
- Connection parameters
- Description string
- The custom API description
- DisplayName string
- The display name
- IconUri string
- The icon URI
- RuntimeUrls List<string>
- Runtime URLs
- Swagger object
- The JSON representation of the swagger
- WsdlDefinition Pulumi.Azure Native. Web. Inputs. Wsdl Definition 
- The WSDL definition
- ApiDefinitions ApiResource Definitions 
- API Definitions
- ApiType string | ApiType 
- The API type
- BackendService ApiResource Backend Service 
- The API backend service
- BrandColor string
- Brand color
- Capabilities []string
- The custom API capabilities
- ConnectionParameters map[string]ConnectionParameter 
- Connection parameters
- Description string
- The custom API description
- DisplayName string
- The display name
- IconUri string
- The icon URI
- RuntimeUrls []string
- Runtime URLs
- Swagger interface{}
- The JSON representation of the swagger
- WsdlDefinition WsdlDefinition 
- The WSDL definition
- apiDefinitions ApiResource Definitions 
- API Definitions
- apiType String | ApiType 
- The API type
- backendService ApiResource Backend Service 
- The API backend service
- brandColor String
- Brand color
- capabilities List<String>
- The custom API capabilities
- connectionParameters Map<String,ConnectionParameter> 
- Connection parameters
- description String
- The custom API description
- displayName String
- The display name
- iconUri String
- The icon URI
- runtimeUrls List<String>
- Runtime URLs
- swagger Object
- The JSON representation of the swagger
- wsdlDefinition WsdlDefinition 
- The WSDL definition
- apiDefinitions ApiResource Definitions 
- API Definitions
- apiType string | ApiType 
- The API type
- backendService ApiResource Backend Service 
- The API backend service
- brandColor string
- Brand color
- capabilities string[]
- The custom API capabilities
- connectionParameters {[key: string]: ConnectionParameter} 
- Connection parameters
- description string
- The custom API description
- displayName string
- The display name
- iconUri string
- The icon URI
- runtimeUrls string[]
- Runtime URLs
- swagger any
- The JSON representation of the swagger
- wsdlDefinition WsdlDefinition 
- The WSDL definition
- api_definitions ApiResource Definitions 
- API Definitions
- api_type str | ApiType 
- The API type
- backend_service ApiResource Backend Service 
- The API backend service
- brand_color str
- Brand color
- capabilities Sequence[str]
- The custom API capabilities
- connection_parameters Mapping[str, ConnectionParameter] 
- Connection parameters
- description str
- The custom API description
- display_name str
- The display name
- icon_uri str
- The icon URI
- runtime_urls Sequence[str]
- Runtime URLs
- swagger Any
- The JSON representation of the swagger
- wsdl_definition WsdlDefinition 
- The WSDL definition
- apiDefinitions Property Map
- API Definitions
- apiType String | "NotSpecified" | "Rest" | "Soap" 
- The API type
- backendService Property Map
- The API backend service
- brandColor String
- Brand color
- capabilities List<String>
- The custom API capabilities
- connectionParameters Map<Property Map>
- Connection parameters
- description String
- The custom API description
- displayName String
- The display name
- iconUri String
- The icon URI
- runtimeUrls List<String>
- Runtime URLs
- swagger Any
- The JSON representation of the swagger
- wsdlDefinition Property Map
- The WSDL definition
CustomApiPropertiesDefinitionResponse, CustomApiPropertiesDefinitionResponseArgs          
- ApiDefinitions Pulumi.Azure Native. Web. Inputs. Api Resource Definitions Response 
- API Definitions
- ApiType string
- The API type
- BackendService Pulumi.Azure Native. Web. Inputs. Api Resource Backend Service Response 
- The API backend service
- BrandColor string
- Brand color
- Capabilities List<string>
- The custom API capabilities
- ConnectionParameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Connection Parameter Response> 
- Connection parameters
- Description string
- The custom API description
- DisplayName string
- The display name
- IconUri string
- The icon URI
- RuntimeUrls List<string>
- Runtime URLs
- Swagger object
- The JSON representation of the swagger
- WsdlDefinition Pulumi.Azure Native. Web. Inputs. Wsdl Definition Response 
- The WSDL definition
- ApiDefinitions ApiResource Definitions Response 
- API Definitions
- ApiType string
- The API type
- BackendService ApiResource Backend Service Response 
- The API backend service
- BrandColor string
- Brand color
- Capabilities []string
- The custom API capabilities
- ConnectionParameters map[string]ConnectionParameter Response 
- Connection parameters
- Description string
- The custom API description
- DisplayName string
- The display name
- IconUri string
- The icon URI
- RuntimeUrls []string
- Runtime URLs
- Swagger interface{}
- The JSON representation of the swagger
- WsdlDefinition WsdlDefinition Response 
- The WSDL definition
- apiDefinitions ApiResource Definitions Response 
- API Definitions
- apiType String
- The API type
- backendService ApiResource Backend Service Response 
- The API backend service
- brandColor String
- Brand color
- capabilities List<String>
- The custom API capabilities
- connectionParameters Map<String,ConnectionParameter Response> 
- Connection parameters
- description String
- The custom API description
- displayName String
- The display name
- iconUri String
- The icon URI
- runtimeUrls List<String>
- Runtime URLs
- swagger Object
- The JSON representation of the swagger
- wsdlDefinition WsdlDefinition Response 
- The WSDL definition
- apiDefinitions ApiResource Definitions Response 
- API Definitions
- apiType string
- The API type
- backendService ApiResource Backend Service Response 
- The API backend service
- brandColor string
- Brand color
- capabilities string[]
- The custom API capabilities
- connectionParameters {[key: string]: ConnectionParameter Response} 
- Connection parameters
- description string
- The custom API description
- displayName string
- The display name
- iconUri string
- The icon URI
- runtimeUrls string[]
- Runtime URLs
- swagger any
- The JSON representation of the swagger
- wsdlDefinition WsdlDefinition Response 
- The WSDL definition
- api_definitions ApiResource Definitions Response 
- API Definitions
- api_type str
- The API type
- backend_service ApiResource Backend Service Response 
- The API backend service
- brand_color str
- Brand color
- capabilities Sequence[str]
- The custom API capabilities
- connection_parameters Mapping[str, ConnectionParameter Response] 
- Connection parameters
- description str
- The custom API description
- display_name str
- The display name
- icon_uri str
- The icon URI
- runtime_urls Sequence[str]
- Runtime URLs
- swagger Any
- The JSON representation of the swagger
- wsdl_definition WsdlDefinition Response 
- The WSDL definition
- apiDefinitions Property Map
- API Definitions
- apiType String
- The API type
- backendService Property Map
- The API backend service
- brandColor String
- Brand color
- capabilities List<String>
- The custom API capabilities
- connectionParameters Map<Property Map>
- Connection parameters
- description String
- The custom API description
- displayName String
- The display name
- iconUri String
- The icon URI
- runtimeUrls List<String>
- Runtime URLs
- swagger Any
- The JSON representation of the swagger
- wsdlDefinition Property Map
- The WSDL definition
WsdlDefinition, WsdlDefinitionArgs    
- Content string
- The WSDL content
- ImportMethod string | Pulumi.Azure Native. Web. Wsdl Import Method 
- The WSDL import method
- Service
Pulumi.Azure Native. Web. Inputs. Wsdl Service 
- The service with name and endpoint names
- Url string
- The WSDL URL
- Content string
- The WSDL content
- ImportMethod string | WsdlImport Method 
- The WSDL import method
- Service
WsdlService 
- The service with name and endpoint names
- Url string
- The WSDL URL
- content String
- The WSDL content
- importMethod String | WsdlImport Method 
- The WSDL import method
- service
WsdlService 
- The service with name and endpoint names
- url String
- The WSDL URL
- content string
- The WSDL content
- importMethod string | WsdlImport Method 
- The WSDL import method
- service
WsdlService 
- The service with name and endpoint names
- url string
- The WSDL URL
- content str
- The WSDL content
- import_method str | WsdlImport Method 
- The WSDL import method
- service
WsdlService 
- The service with name and endpoint names
- url str
- The WSDL URL
- content String
- The WSDL content
- importMethod String | "NotSpecified" | "Soap To Rest" | "Soap Pass Through" 
- The WSDL import method
- service Property Map
- The service with name and endpoint names
- url String
- The WSDL URL
WsdlDefinitionResponse, WsdlDefinitionResponseArgs      
- Content string
- The WSDL content
- ImportMethod string
- The WSDL import method
- Service
Pulumi.Azure Native. Web. Inputs. Wsdl Service Response 
- The service with name and endpoint names
- Url string
- The WSDL URL
- Content string
- The WSDL content
- ImportMethod string
- The WSDL import method
- Service
WsdlService Response 
- The service with name and endpoint names
- Url string
- The WSDL URL
- content String
- The WSDL content
- importMethod String
- The WSDL import method
- service
WsdlService Response 
- The service with name and endpoint names
- url String
- The WSDL URL
- content string
- The WSDL content
- importMethod string
- The WSDL import method
- service
WsdlService Response 
- The service with name and endpoint names
- url string
- The WSDL URL
- content str
- The WSDL content
- import_method str
- The WSDL import method
- service
WsdlService Response 
- The service with name and endpoint names
- url str
- The WSDL URL
- content String
- The WSDL content
- importMethod String
- The WSDL import method
- service Property Map
- The service with name and endpoint names
- url String
- The WSDL URL
WsdlImportMethod, WsdlImportMethodArgs      
- NotSpecified 
- NotSpecified
- SoapTo Rest 
- SoapToRest
- SoapPass Through 
- SoapPassThrough
- WsdlImport Method Not Specified 
- NotSpecified
- WsdlImport Method Soap To Rest 
- SoapToRest
- WsdlImport Method Soap Pass Through 
- SoapPassThrough
- NotSpecified 
- NotSpecified
- SoapTo Rest 
- SoapToRest
- SoapPass Through 
- SoapPassThrough
- NotSpecified 
- NotSpecified
- SoapTo Rest 
- SoapToRest
- SoapPass Through 
- SoapPassThrough
- NOT_SPECIFIED
- NotSpecified
- SOAP_TO_REST
- SoapToRest
- SOAP_PASS_THROUGH
- SoapPassThrough
- "NotSpecified" 
- NotSpecified
- "SoapTo Rest" 
- SoapToRest
- "SoapPass Through" 
- SoapPassThrough
WsdlService, WsdlServiceArgs    
- QualifiedName string
- The service's qualified name
- EndpointQualified List<string>Names 
- List of the endpoints' qualified names
- QualifiedName string
- The service's qualified name
- EndpointQualified []stringNames 
- List of the endpoints' qualified names
- qualifiedName String
- The service's qualified name
- endpointQualified List<String>Names 
- List of the endpoints' qualified names
- qualifiedName string
- The service's qualified name
- endpointQualified string[]Names 
- List of the endpoints' qualified names
- qualified_name str
- The service's qualified name
- endpoint_qualified_ Sequence[str]names 
- List of the endpoints' qualified names
- qualifiedName String
- The service's qualified name
- endpointQualified List<String>Names 
- List of the endpoints' qualified names
WsdlServiceResponse, WsdlServiceResponseArgs      
- QualifiedName string
- The service's qualified name
- EndpointQualified List<string>Names 
- List of the endpoints' qualified names
- QualifiedName string
- The service's qualified name
- EndpointQualified []stringNames 
- List of the endpoints' qualified names
- qualifiedName String
- The service's qualified name
- endpointQualified List<String>Names 
- List of the endpoints' qualified names
- qualifiedName string
- The service's qualified name
- endpointQualified string[]Names 
- List of the endpoints' qualified names
- qualified_name str
- The service's qualified name
- endpoint_qualified_ Sequence[str]names 
- List of the endpoints' qualified names
- qualifiedName String
- The service's qualified name
- endpointQualified List<String>Names 
- List of the endpoints' qualified names
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:CustomApi testCustomApi /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0