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 pulumi
import pulumi_azure_native as azure_native
custom_api = azure_native.web.CustomApi("customApi",
    api_name="testCustomApi",
    properties=azure_native.web.CustomApiPropertiesDefinitionArgs(
        api_definitions=azure_native.web.ApiResourceDefinitionsArgs(
            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")
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",
});
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=azure_native.web.CustomApiPropertiesDefinitionArgs(
        api_definitions=azure_native.web.ApiResourceDefinitionsArgs(
            modified_swagger_url="string",
            original_swagger_url="string",
        ),
        api_type="string",
        backend_service=azure_native.web.ApiResourceBackendServiceArgs(
            service_url="string",
        ),
        brand_color="string",
        capabilities=["string"],
        connection_parameters={
            "string": azure_native.web.ConnectionParameterArgs(
                o_auth_settings=azure_native.web.ApiOAuthSettingsArgs(
                    client_id="string",
                    client_secret="string",
                    custom_parameters={
                        "string": azure_native.web.ApiOAuthSettingsParameterArgs(
                            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=azure_native.web.WsdlDefinitionArgs(
            content="string",
            import_method="string",
            service=azure_native.web.WsdlServiceArgs(
                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
The CustomApi resource accepts the following input properties:
- Resource
Group stringName  - The resource group
 - Api
Name string - API name
 - Location string
 - Resource location
 - Properties
Pulumi.
Azure Native. Web. Inputs. Custom Api Properties Definition  - Custom API properties
 - Subscription
Id string - Subscription Id
 - Dictionary<string, string>
 - Resource tags
 
- Resource
Group stringName  - The resource group
 - Api
Name string - API name
 - Location string
 - Resource location
 - Properties
Custom
Api Properties Definition Args  - Custom API properties
 - Subscription
Id string - Subscription Id
 - map[string]string
 - Resource tags
 
- resource
Group StringName  - The resource group
 - api
Name String - API name
 - location String
 - Resource location
 - properties
Custom
Api Properties Definition  - Custom API properties
 - subscription
Id String - Subscription Id
 - Map<String,String>
 - Resource tags
 
- resource
Group stringName  - The resource group
 - api
Name string - API name
 - location string
 - Resource location
 - properties
Custom
Api Properties Definition  - Custom API properties
 - subscription
Id string - Subscription Id
 - {[key: string]: string}
 - Resource tags
 
- resource_
group_ strname  - The resource group
 - api_
name str - API name
 - location str
 - Resource location
 - properties
Custom
Api Properties Definition Args  - Custom API properties
 - subscription_
id str - Subscription Id
 - Mapping[str, str]
 - Resource tags
 
- resource
Group StringName  - The resource group
 - api
Name String - API name
 - location String
 - Resource location
 - properties Property Map
 - Custom API properties
 - subscription
Id 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      
- Client
Id string - Resource provider client id
 - Client
Secret string - Client Secret needed for OAuth
 - Custom
Parameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Api OAuth Settings Parameter>  - OAuth parameters key is the name of parameter
 - Identity
Provider string - Identity provider
 - Properties object
 - Read only properties for this oauth setting.
 - Redirect
Url string - Url
 - Scopes List<string>
 - OAuth scopes
 
- Client
Id string - Resource provider client id
 - Client
Secret string - Client Secret needed for OAuth
 - Custom
Parameters map[string]ApiOAuth Settings Parameter  - OAuth parameters key is the name of parameter
 - Identity
Provider string - Identity provider
 - Properties interface{}
 - Read only properties for this oauth setting.
 - Redirect
Url string - Url
 - Scopes []string
 - OAuth scopes
 
- client
Id String - Resource provider client id
 - client
Secret String - Client Secret needed for OAuth
 - custom
Parameters Map<String,ApiOAuth Settings Parameter>  - OAuth parameters key is the name of parameter
 - identity
Provider String - Identity provider
 - properties Object
 - Read only properties for this oauth setting.
 - redirect
Url String - Url
 - scopes List<String>
 - OAuth scopes
 
- client
Id string - Resource provider client id
 - client
Secret string - Client Secret needed for OAuth
 - custom
Parameters {[key: string]: ApiOAuth Settings Parameter}  - OAuth parameters key is the name of parameter
 - identity
Provider string - Identity provider
 - properties any
 - Read only properties for this oauth setting.
 - redirect
Url 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
 
- client
Id String - Resource provider client id
 - client
Secret String - Client Secret needed for OAuth
 - custom
Parameters Map<Property Map> - OAuth parameters key is the name of parameter
 - identity
Provider String - Identity provider
 - properties Any
 - Read only properties for this oauth setting.
 - redirect
Url String - Url
 - scopes List<String>
 - OAuth scopes
 
ApiOAuthSettingsParameter, ApiOAuthSettingsParameterArgs        
- Options object
 - Options available to this parameter
 - Ui
Definition object - UI definitions per culture as caller can specify the culture
 - Value string
 - Value of the setting
 
- Options interface{}
 - Options available to this parameter
 - Ui
Definition interface{} - UI definitions per culture as caller can specify the culture
 - Value string
 - Value of the setting
 
- options Object
 - Options available to this parameter
 - ui
Definition Object - 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 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
 - ui
Definition 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
 - Ui
Definition object - UI definitions per culture as caller can specify the culture
 - Value string
 - Value of the setting
 
- Options interface{}
 - Options available to this parameter
 - Ui
Definition interface{} - UI definitions per culture as caller can specify the culture
 - Value string
 - Value of the setting
 
- options Object
 - Options available to this parameter
 - ui
Definition Object - 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 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
 - ui
Definition Any - UI definitions per culture as caller can specify the culture
 - value String
 - Value of the setting
 
ApiOAuthSettingsResponse, ApiOAuthSettingsResponseArgs        
- Client
Id string - Resource provider client id
 - Client
Secret string - Client Secret needed for OAuth
 - Custom
Parameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Api OAuth Settings Parameter Response>  - OAuth parameters key is the name of parameter
 - Identity
Provider string - Identity provider
 - Properties object
 - Read only properties for this oauth setting.
 - Redirect
Url string - Url
 - Scopes List<string>
 - OAuth scopes
 
- Client
Id string - Resource provider client id
 - Client
Secret string - Client Secret needed for OAuth
 - Custom
Parameters map[string]ApiOAuth Settings Parameter Response  - OAuth parameters key is the name of parameter
 - Identity
Provider string - Identity provider
 - Properties interface{}
 - Read only properties for this oauth setting.
 - Redirect
Url string - Url
 - Scopes []string
 - OAuth scopes
 
- client
Id String - Resource provider client id
 - client
Secret String - Client Secret needed for OAuth
 - custom
Parameters Map<String,ApiOAuth Settings Parameter Response>  - OAuth parameters key is the name of parameter
 - identity
Provider String - Identity provider
 - properties Object
 - Read only properties for this oauth setting.
 - redirect
Url String - Url
 - scopes List<String>
 - OAuth scopes
 
- client
Id string - Resource provider client id
 - client
Secret string - Client Secret needed for OAuth
 - custom
Parameters {[key: string]: ApiOAuth Settings Parameter Response}  - OAuth parameters key is the name of parameter
 - identity
Provider string - Identity provider
 - properties any
 - Read only properties for this oauth setting.
 - redirect
Url 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
 
- client
Id String - Resource provider client id
 - client
Secret String - Client Secret needed for OAuth
 - custom
Parameters Map<Property Map> - OAuth parameters key is the name of parameter
 - identity
Provider String - Identity provider
 - properties Any
 - Read only properties for this oauth setting.
 - redirect
Url String - Url
 - scopes List<String>
 - OAuth scopes
 
ApiResourceBackendService, ApiResourceBackendServiceArgs        
- Service
Url string - The service URL
 
- Service
Url string - The service URL
 
- service
Url String - The service URL
 
- service
Url string - The service URL
 
- service_
url str - The service URL
 
- service
Url String - The service URL
 
ApiResourceBackendServiceResponse, ApiResourceBackendServiceResponseArgs          
- Service
Url string - The service URL
 
- Service
Url string - The service URL
 
- service
Url String - The service URL
 
- service
Url string - The service URL
 
- service_
url str - The service URL
 
- service
Url String - The service URL
 
ApiResourceDefinitions, ApiResourceDefinitionsArgs      
- Modified
Swagger stringUrl  - The modified swagger URL
 - Original
Swagger stringUrl  - The original swagger URL
 
- Modified
Swagger stringUrl  - The modified swagger URL
 - Original
Swagger stringUrl  - The original swagger URL
 
- modified
Swagger StringUrl  - The modified swagger URL
 - original
Swagger StringUrl  - The original swagger URL
 
- modified
Swagger stringUrl  - The modified swagger URL
 - original
Swagger stringUrl  - The original swagger URL
 
- modified_
swagger_ strurl  - The modified swagger URL
 - original_
swagger_ strurl  - The original swagger URL
 
- modified
Swagger StringUrl  - The modified swagger URL
 - original
Swagger StringUrl  - The original swagger URL
 
ApiResourceDefinitionsResponse, ApiResourceDefinitionsResponseArgs        
- Modified
Swagger stringUrl  - The modified swagger URL
 - Original
Swagger stringUrl  - The original swagger URL
 
- Modified
Swagger stringUrl  - The modified swagger URL
 - Original
Swagger stringUrl  - The original swagger URL
 
- modified
Swagger StringUrl  - The modified swagger URL
 - original
Swagger StringUrl  - The original swagger URL
 
- modified
Swagger stringUrl  - The modified swagger URL
 - original
Swagger stringUrl  - The original swagger URL
 
- modified_
swagger_ strurl  - The modified swagger URL
 - original_
swagger_ strurl  - The original swagger URL
 
- modified
Swagger StringUrl  - The modified swagger URL
 - original
Swagger StringUrl  - The original swagger URL
 
ApiType, ApiTypeArgs    
- Not
Specified  - NotSpecified
 - Rest
 - Rest
 - Soap
 - Soap
 
- Api
Type Not Specified  - NotSpecified
 - Api
Type Rest  - Rest
 - Api
Type Soap  - Soap
 
- Not
Specified  - NotSpecified
 - Rest
 - Rest
 - Soap
 - Soap
 
- Not
Specified  - NotSpecified
 - Rest
 - Rest
 - Soap
 - Soap
 
- NOT_SPECIFIED
 - NotSpecified
 - REST
 - Rest
 - SOAP
 - Soap
 
- "Not
Specified"  - NotSpecified
 - "Rest"
 - Rest
 - "Soap"
 - Soap
 
ConnectionParameter, ConnectionParameterArgs    
- OAuth
Settings 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
 
- OAuth
Settings ApiOAuth Settings  - OAuth settings for the connection provider
 - Type
Connection
Parameter Type  - Type of the parameter
 
- o
Auth ApiSettings OAuth Settings  - OAuth settings for the connection provider
 - type
Connection
Parameter Type  - Type of the parameter
 
- o
Auth ApiSettings OAuth Settings  - OAuth settings for the connection provider
 - type
Connection
Parameter Type  - Type of the parameter
 
- o_
auth_ Apisettings OAuth Settings  - OAuth settings for the connection provider
 - type
Connection
Parameter Type  - Type of the parameter
 
- o
Auth Property MapSettings  - OAuth settings for the connection provider
 - type
"string" | "securestring" | "secureobject" | "int" | "bool" | "object" | "array" | "oauth
Setting" | "connection"  - Type of the parameter
 
ConnectionParameterResponse, ConnectionParameterResponseArgs      
- OAuth
Settings Pulumi.Azure Native. Web. Inputs. Api OAuth Settings Response  - OAuth settings for the connection provider
 - Type string
 - Type of the parameter
 
- OAuth
Settings ApiOAuth 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 String
 - Type of the parameter
 
- o
Auth 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
 
- o
Auth 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
 - Oauth
Setting  - oauthSetting
 - Connection
 - connection
 
- Connection
Parameter Type String  - string
 - Connection
Parameter Type Securestring  - securestring
 - Connection
Parameter Type Secureobject  - secureobject
 - Connection
Parameter Type Int  - int
 - Connection
Parameter Type Bool  - bool
 - Connection
Parameter Type Object  - object
 - Connection
Parameter Type Array  - array
 - Connection
Parameter Type Oauth Setting  - oauthSetting
 - Connection
Parameter Type 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
 - Oauth
Setting  - 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
 - "oauth
Setting"  - oauthSetting
 - "connection"
 - connection
 
CustomApiPropertiesDefinition, CustomApiPropertiesDefinitionArgs        
- Api
Definitions Pulumi.Azure Native. Web. Inputs. Api Resource Definitions  - API Definitions
 - Api
Type string | Pulumi.Azure Native. Web. Api Type  - The API type
 - Backend
Service Pulumi.Azure Native. Web. Inputs. Api Resource Backend Service  - The API backend service
 - Brand
Color string - Brand color
 - Capabilities List<string>
 - The custom API capabilities
 - Connection
Parameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Connection Parameter>  - Connection parameters
 - Description string
 - The custom API description
 - Display
Name string - The display name
 - Icon
Uri string - The icon URI
 - Runtime
Urls List<string> - Runtime URLs
 - Swagger object
 - The JSON representation of the swagger
 - Wsdl
Definition Pulumi.Azure Native. Web. Inputs. Wsdl Definition  - The WSDL definition
 
- Api
Definitions ApiResource Definitions  - API Definitions
 - Api
Type string | ApiType  - The API type
 - Backend
Service ApiResource Backend Service  - The API backend service
 - Brand
Color string - Brand color
 - Capabilities []string
 - The custom API capabilities
 - Connection
Parameters map[string]ConnectionParameter  - Connection parameters
 - Description string
 - The custom API description
 - Display
Name string - The display name
 - Icon
Uri string - The icon URI
 - Runtime
Urls []string - Runtime URLs
 - Swagger interface{}
 - The JSON representation of the swagger
 - Wsdl
Definition WsdlDefinition  - The WSDL definition
 
- api
Definitions ApiResource Definitions  - API Definitions
 - api
Type String | ApiType  - The API type
 - backend
Service ApiResource Backend Service  - The API backend service
 - brand
Color String - Brand color
 - capabilities List<String>
 - The custom API capabilities
 - connection
Parameters Map<String,ConnectionParameter>  - Connection parameters
 - description String
 - The custom API description
 - display
Name String - The display name
 - icon
Uri String - The icon URI
 - runtime
Urls List<String> - Runtime URLs
 - swagger Object
 - The JSON representation of the swagger
 - wsdl
Definition WsdlDefinition  - The WSDL definition
 
- api
Definitions ApiResource Definitions  - API Definitions
 - api
Type string | ApiType  - The API type
 - backend
Service ApiResource Backend Service  - The API backend service
 - brand
Color string - Brand color
 - capabilities string[]
 - The custom API capabilities
 - connection
Parameters {[key: string]: ConnectionParameter}  - Connection parameters
 - description string
 - The custom API description
 - display
Name string - The display name
 - icon
Uri string - The icon URI
 - runtime
Urls string[] - Runtime URLs
 - swagger any
 - The JSON representation of the swagger
 - wsdl
Definition 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
 
- api
Definitions Property Map - API Definitions
 - api
Type String | "NotSpecified" | "Rest" | "Soap"  - The API type
 - backend
Service Property Map - The API backend service
 - brand
Color String - Brand color
 - capabilities List<String>
 - The custom API capabilities
 - connection
Parameters Map<Property Map> - Connection parameters
 - description String
 - The custom API description
 - display
Name String - The display name
 - icon
Uri String - The icon URI
 - runtime
Urls List<String> - Runtime URLs
 - swagger Any
 - The JSON representation of the swagger
 - wsdl
Definition Property Map - The WSDL definition
 
CustomApiPropertiesDefinitionResponse, CustomApiPropertiesDefinitionResponseArgs          
- Api
Definitions Pulumi.Azure Native. Web. Inputs. Api Resource Definitions Response  - API Definitions
 - Api
Type string - The API type
 - Backend
Service Pulumi.Azure Native. Web. Inputs. Api Resource Backend Service Response  - The API backend service
 - Brand
Color string - Brand color
 - Capabilities List<string>
 - The custom API capabilities
 - Connection
Parameters Dictionary<string, Pulumi.Azure Native. Web. Inputs. Connection Parameter Response>  - Connection parameters
 - Description string
 - The custom API description
 - Display
Name string - The display name
 - Icon
Uri string - The icon URI
 - Runtime
Urls List<string> - Runtime URLs
 - Swagger object
 - The JSON representation of the swagger
 - Wsdl
Definition Pulumi.Azure Native. Web. Inputs. Wsdl Definition Response  - The WSDL definition
 
- Api
Definitions ApiResource Definitions Response  - API Definitions
 - Api
Type string - The API type
 - Backend
Service ApiResource Backend Service Response  - The API backend service
 - Brand
Color string - Brand color
 - Capabilities []string
 - The custom API capabilities
 - Connection
Parameters map[string]ConnectionParameter Response  - Connection parameters
 - Description string
 - The custom API description
 - Display
Name string - The display name
 - Icon
Uri string - The icon URI
 - Runtime
Urls []string - Runtime URLs
 - Swagger interface{}
 - The JSON representation of the swagger
 - Wsdl
Definition WsdlDefinition Response  - The WSDL definition
 
- api
Definitions ApiResource Definitions Response  - API Definitions
 - api
Type String - The API type
 - backend
Service ApiResource Backend Service Response  - The API backend service
 - brand
Color String - Brand color
 - capabilities List<String>
 - The custom API capabilities
 - connection
Parameters Map<String,ConnectionParameter Response>  - Connection parameters
 - description String
 - The custom API description
 - display
Name String - The display name
 - icon
Uri String - The icon URI
 - runtime
Urls List<String> - Runtime URLs
 - swagger Object
 - The JSON representation of the swagger
 - wsdl
Definition WsdlDefinition Response  - The WSDL definition
 
- api
Definitions ApiResource Definitions Response  - API Definitions
 - api
Type string - The API type
 - backend
Service ApiResource Backend Service Response  - The API backend service
 - brand
Color string - Brand color
 - capabilities string[]
 - The custom API capabilities
 - connection
Parameters {[key: string]: ConnectionParameter Response}  - Connection parameters
 - description string
 - The custom API description
 - display
Name string - The display name
 - icon
Uri string - The icon URI
 - runtime
Urls string[] - Runtime URLs
 - swagger any
 - The JSON representation of the swagger
 - wsdl
Definition 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
 
- api
Definitions Property Map - API Definitions
 - api
Type String - The API type
 - backend
Service Property Map - The API backend service
 - brand
Color String - Brand color
 - capabilities List<String>
 - The custom API capabilities
 - connection
Parameters Map<Property Map> - Connection parameters
 - description String
 - The custom API description
 - display
Name String - The display name
 - icon
Uri String - The icon URI
 - runtime
Urls List<String> - Runtime URLs
 - swagger Any
 - The JSON representation of the swagger
 - wsdl
Definition Property Map - The WSDL definition
 
WsdlDefinition, WsdlDefinitionArgs    
- Content string
 - The WSDL content
 - Import
Method 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
 - Import
Method string | WsdlImport Method  - The WSDL import method
 - Service
Wsdl
Service  - The service with name and endpoint names
 - Url string
 - The WSDL URL
 
- content String
 - The WSDL content
 - import
Method String | WsdlImport Method  - The WSDL import method
 - service
Wsdl
Service  - The service with name and endpoint names
 - url String
 - The WSDL URL
 
- content string
 - The WSDL content
 - import
Method string | WsdlImport Method  - The WSDL import method
 - service
Wsdl
Service  - 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
Wsdl
Service  - The service with name and endpoint names
 - url str
 - The WSDL URL
 
- content String
 - The WSDL content
 - import
Method 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
 - Import
Method 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
 - Import
Method string - The WSDL import method
 - Service
Wsdl
Service Response  - The service with name and endpoint names
 - Url string
 - The WSDL URL
 
- content String
 - The WSDL content
 - import
Method String - The WSDL import method
 - service
Wsdl
Service Response  - The service with name and endpoint names
 - url String
 - The WSDL URL
 
- content string
 - The WSDL content
 - import
Method string - The WSDL import method
 - service
Wsdl
Service 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
Wsdl
Service Response  - The service with name and endpoint names
 - url str
 - The WSDL URL
 
- content String
 - The WSDL content
 - import
Method String - The WSDL import method
 - service Property Map
 - The service with name and endpoint names
 - url String
 - The WSDL URL
 
WsdlImportMethod, WsdlImportMethodArgs      
- Not
Specified  - NotSpecified
 - Soap
To Rest  - SoapToRest
 - Soap
Pass Through  - SoapPassThrough
 
- Wsdl
Import Method Not Specified  - NotSpecified
 - Wsdl
Import Method Soap To Rest  - SoapToRest
 - Wsdl
Import Method Soap Pass Through  - SoapPassThrough
 
- Not
Specified  - NotSpecified
 - Soap
To Rest  - SoapToRest
 - Soap
Pass Through  - SoapPassThrough
 
- Not
Specified  - NotSpecified
 - Soap
To Rest  - SoapToRest
 - Soap
Pass Through  - SoapPassThrough
 
- NOT_SPECIFIED
 - NotSpecified
 - SOAP_TO_REST
 - SoapToRest
 - SOAP_PASS_THROUGH
 - SoapPassThrough
 
- "Not
Specified"  - NotSpecified
 - "Soap
To Rest"  - SoapToRest
 - "Soap
Pass Through"  - SoapPassThrough
 
WsdlService, WsdlServiceArgs    
- Qualified
Name string - The service's qualified name
 - Endpoint
Qualified List<string>Names  - List of the endpoints' qualified names
 
- Qualified
Name string - The service's qualified name
 - Endpoint
Qualified []stringNames  - List of the endpoints' qualified names
 
- qualified
Name String - The service's qualified name
 - endpoint
Qualified List<String>Names  - List of the endpoints' qualified names
 
- qualified
Name string - The service's qualified name
 - endpoint
Qualified 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
 
- qualified
Name String - The service's qualified name
 - endpoint
Qualified List<String>Names  - List of the endpoints' qualified names
 
WsdlServiceResponse, WsdlServiceResponseArgs      
- Qualified
Name string - The service's qualified name
 - Endpoint
Qualified List<string>Names  - List of the endpoints' qualified names
 
- Qualified
Name string - The service's qualified name
 - Endpoint
Qualified []stringNames  - List of the endpoints' qualified names
 
- qualified
Name String - The service's qualified name
 - endpoint
Qualified List<String>Names  - List of the endpoints' qualified names
 
- qualified
Name string - The service's qualified name
 - endpoint
Qualified 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
 
- qualified
Name String - The service's qualified name
 - endpoint
Qualified 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