Service
Manages an API Management Service.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleService = new Azure.ApiManagement.Service("exampleService", new Azure.ApiManagement.ServiceArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
PublisherName = "My Company",
PublisherEmail = "company@exmaple.com",
SkuName = "Developer_1",
Policy = new Azure.ApiManagement.Inputs.ServicePolicyArgs
{
XmlContent = @" <policies>
<inbound />
<backend />
<outbound />
<on-error />
</policies>
",
},
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/apimanagement"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = apimanagement.NewService(ctx, "exampleService", &apimanagement.ServiceArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
PublisherName: pulumi.String("My Company"),
PublisherEmail: pulumi.String("company@exmaple.com"),
SkuName: pulumi.String("Developer_1"),
Policy: &apimanagement.ServicePolicyArgs{
XmlContent: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v", " <policies>\n", " <inbound />\n", " <backend />\n", " <outbound />\n", " <on-error />\n", " </policies>\n")),
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_service = azure.apimanagement.Service("exampleService",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
publisher_name="My Company",
publisher_email="company@exmaple.com",
sku_name="Developer_1",
policy={
"xml_content": """ <policies>
<inbound />
<backend />
<outbound />
<on-error />
</policies>
""",
})import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleService = new azure.apimanagement.Service("exampleService", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
publisherName: "My Company",
publisherEmail: "company@exmaple.com",
skuName: "Developer_1",
policy: {
xmlContent: ` <policies>
<inbound />
<backend />
<outbound />
<on-error />
</policies>
`,
},
});Create a Service Resource
new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);def Service(resource_name, opts=None, additional_locations=None, certificates=None, hostname_configuration=None, identity=None, location=None, name=None, notification_sender_email=None, policy=None, protocols=None, publisher_email=None, publisher_name=None, resource_group_name=None, security=None, sign_in=None, sign_up=None, sku_name=None, tags=None, virtual_network_configuration=None, virtual_network_type=None, __props__=None);func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Service Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Service resource accepts the following input properties:
- Publisher
Email string The email of publisher/company.
- Publisher
Name string The name of publisher/company.
- Resource
Group stringName The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- Sku
Name string sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- Additional
Locations List<ServiceAdditional Location Args> One or more
additional_locationblocks as defined below.- Certificates
List<Service
Certificate Args> One or more (up to 10)
certificateblocks as defined below.- Hostname
Configuration ServiceHostname Configuration Args A
hostname_configurationblock as defined below.- Identity
Service
Identity Args An
identityblock is documented below.- Location string
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- Name string
The name of the API Management Service. Changing this forces a new resource to be created.
- Notification
Sender stringEmail Email address from which the notification will be sent.
- Policy
Service
Policy Args A
policyblock as defined below.- Protocols
Service
Protocols Args A
protocolsblock as defined below.- Security
Service
Security Args A
securityblock as defined below.- Sign
In ServiceSign In Args A
sign_inblock as defined below.- Sign
Up ServiceSign Up Args A
sign_upblock as defined below.- Dictionary<string, string>
A mapping of tags assigned to the resource.
- Virtual
Network ServiceConfiguration Virtual Network Configuration Args A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- Virtual
Network stringType The type of virtual network you want to use, valid values include:
None,External,Internal.
- Publisher
Email string The email of publisher/company.
- Publisher
Name string The name of publisher/company.
- Resource
Group stringName The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- Sku
Name string sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- Additional
Locations []ServiceAdditional Location One or more
additional_locationblocks as defined below.- Certificates
[]Service
Certificate One or more (up to 10)
certificateblocks as defined below.- Hostname
Configuration ServiceHostname Configuration A
hostname_configurationblock as defined below.- Identity
Service
Identity An
identityblock is documented below.- Location string
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- Name string
The name of the API Management Service. Changing this forces a new resource to be created.
- Notification
Sender stringEmail Email address from which the notification will be sent.
- Policy
Service
Policy A
policyblock as defined below.- Protocols
Service
Protocols A
protocolsblock as defined below.- Security
Service
Security A
securityblock as defined below.- Sign
In ServiceSign In A
sign_inblock as defined below.- Sign
Up ServiceSign Up A
sign_upblock as defined below.- map[string]string
A mapping of tags assigned to the resource.
- Virtual
Network ServiceConfiguration Virtual Network Configuration A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- Virtual
Network stringType The type of virtual network you want to use, valid values include:
None,External,Internal.
- publisher
Email string The email of publisher/company.
- publisher
Name string The name of publisher/company.
- resource
Group stringName The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- sku
Name string sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- additional
Locations ServiceAdditional Location[] One or more
additional_locationblocks as defined below.- certificates
Service
Certificate[] One or more (up to 10)
certificateblocks as defined below.- hostname
Configuration ServiceHostname Configuration A
hostname_configurationblock as defined below.- identity
Service
Identity An
identityblock is documented below.- location string
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- name string
The name of the API Management Service. Changing this forces a new resource to be created.
- notification
Sender stringEmail Email address from which the notification will be sent.
- policy
Service
Policy A
policyblock as defined below.- protocols
Service
Protocols A
protocolsblock as defined below.- security
Service
Security A
securityblock as defined below.- sign
In ServiceSign In A
sign_inblock as defined below.- sign
Up ServiceSign Up A
sign_upblock as defined below.- {[key: string]: string}
A mapping of tags assigned to the resource.
- virtual
Network ServiceConfiguration Virtual Network Configuration A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- virtual
Network stringType The type of virtual network you want to use, valid values include:
None,External,Internal.
- publisher_
email str The email of publisher/company.
- publisher_
name str The name of publisher/company.
- resource_
group_ strname The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- sku_
name str sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- additional_
locations List[ServiceAdditional Location] One or more
additional_locationblocks as defined below.- certificates
List[Service
Certificate] One or more (up to 10)
certificateblocks as defined below.- hostname_
configuration Dict[ServiceHostname Configuration] A
hostname_configurationblock as defined below.- identity
Dict[Service
Identity] An
identityblock is documented below.- location str
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- name str
The name of the API Management Service. Changing this forces a new resource to be created.
- notification_
sender_ stremail Email address from which the notification will be sent.
- policy
Dict[Service
Policy] A
policyblock as defined below.- protocols
Dict[Service
Protocols] A
protocolsblock as defined below.- security
Dict[Service
Security] A
securityblock as defined below.- sign_
in Dict[ServiceSign In] A
sign_inblock as defined below.- sign_
up Dict[ServiceSign Up] A
sign_upblock as defined below.- Dict[str, str]
A mapping of tags assigned to the resource.
- virtual_
network_ Dict[Serviceconfiguration Virtual Network Configuration] A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- virtual_
network_ strtype The type of virtual network you want to use, valid values include:
None,External,Internal.
Outputs
All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:
- Developer
Portal stringUrl The URL for the Developer Portal associated with this API Management service.
- Gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- Gateway
Url string The URL of the Gateway for the API Management Service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Management
Api stringUrl The URL for the Management API associated with this API Management service.
- Portal
Url string The URL for the Publisher Portal associated with this API Management service.
- Private
Ip List<string>Addresses - Public
Ip List<string>Addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- Scm
Url string The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
- Developer
Portal stringUrl The URL for the Developer Portal associated with this API Management service.
- Gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- Gateway
Url string The URL of the Gateway for the API Management Service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Management
Api stringUrl The URL for the Management API associated with this API Management service.
- Portal
Url string The URL for the Publisher Portal associated with this API Management service.
- Private
Ip []stringAddresses - Public
Ip []stringAddresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- Scm
Url string The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
- developer
Portal stringUrl The URL for the Developer Portal associated with this API Management service.
- gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- gateway
Url string The URL of the Gateway for the API Management Service.
- id string
- The provider-assigned unique ID for this managed resource.
- management
Api stringUrl The URL for the Management API associated with this API Management service.
- portal
Url string The URL for the Publisher Portal associated with this API Management service.
- private
Ip string[]Addresses - public
Ip string[]Addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- scm
Url string The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
- developer_
portal_ strurl The URL for the Developer Portal associated with this API Management service.
- gateway_
regional_ strurl The URL of the Regional Gateway for the API Management Service in the specified region.
- gateway_
url str The URL of the Gateway for the API Management Service.
- id str
- The provider-assigned unique ID for this managed resource.
- management_
api_ strurl The URL for the Management API associated with this API Management service.
- portal_
url str The URL for the Publisher Portal associated with this API Management service.
- private_
ip_ List[str]addresses - public_
ip_ List[str]addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- scm_
url str The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
Look up an Existing Service Resource
Get an existing Service resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServiceState, opts?: CustomResourceOptions): Servicestatic get(resource_name, id, opts=None, additional_locations=None, certificates=None, developer_portal_url=None, gateway_regional_url=None, gateway_url=None, hostname_configuration=None, identity=None, location=None, management_api_url=None, name=None, notification_sender_email=None, policy=None, portal_url=None, private_ip_addresses=None, protocols=None, public_ip_addresses=None, publisher_email=None, publisher_name=None, resource_group_name=None, scm_url=None, security=None, sign_in=None, sign_up=None, sku_name=None, tags=None, virtual_network_configuration=None, virtual_network_type=None, __props__=None);func GetService(ctx *Context, name string, id IDInput, state *ServiceState, opts ...ResourceOption) (*Service, error)public static Service Get(string name, Input<string> id, ServiceState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Additional
Locations List<ServiceAdditional Location Args> One or more
additional_locationblocks as defined below.- Certificates
List<Service
Certificate Args> One or more (up to 10)
certificateblocks as defined below.- Developer
Portal stringUrl The URL for the Developer Portal associated with this API Management service.
- Gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- Gateway
Url string The URL of the Gateway for the API Management Service.
- Hostname
Configuration ServiceHostname Configuration Args A
hostname_configurationblock as defined below.- Identity
Service
Identity Args An
identityblock is documented below.- Location string
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- Management
Api stringUrl The URL for the Management API associated with this API Management service.
- Name string
The name of the API Management Service. Changing this forces a new resource to be created.
- Notification
Sender stringEmail Email address from which the notification will be sent.
- Policy
Service
Policy Args A
policyblock as defined below.- Portal
Url string The URL for the Publisher Portal associated with this API Management service.
- Private
Ip List<string>Addresses - Protocols
Service
Protocols Args A
protocolsblock as defined below.- Public
Ip List<string>Addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- Publisher
Email string The email of publisher/company.
- Publisher
Name string The name of publisher/company.
- Resource
Group stringName The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- Scm
Url string The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
- Security
Service
Security Args A
securityblock as defined below.- Sign
In ServiceSign In Args A
sign_inblock as defined below.- Sign
Up ServiceSign Up Args A
sign_upblock as defined below.- Sku
Name string sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- Dictionary<string, string>
A mapping of tags assigned to the resource.
- Virtual
Network ServiceConfiguration Virtual Network Configuration Args A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- Virtual
Network stringType The type of virtual network you want to use, valid values include:
None,External,Internal.
- Additional
Locations []ServiceAdditional Location One or more
additional_locationblocks as defined below.- Certificates
[]Service
Certificate One or more (up to 10)
certificateblocks as defined below.- Developer
Portal stringUrl The URL for the Developer Portal associated with this API Management service.
- Gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- Gateway
Url string The URL of the Gateway for the API Management Service.
- Hostname
Configuration ServiceHostname Configuration A
hostname_configurationblock as defined below.- Identity
Service
Identity An
identityblock is documented below.- Location string
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- Management
Api stringUrl The URL for the Management API associated with this API Management service.
- Name string
The name of the API Management Service. Changing this forces a new resource to be created.
- Notification
Sender stringEmail Email address from which the notification will be sent.
- Policy
Service
Policy A
policyblock as defined below.- Portal
Url string The URL for the Publisher Portal associated with this API Management service.
- Private
Ip []stringAddresses - Protocols
Service
Protocols A
protocolsblock as defined below.- Public
Ip []stringAddresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- Publisher
Email string The email of publisher/company.
- Publisher
Name string The name of publisher/company.
- Resource
Group stringName The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- Scm
Url string The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
- Security
Service
Security A
securityblock as defined below.- Sign
In ServiceSign In A
sign_inblock as defined below.- Sign
Up ServiceSign Up A
sign_upblock as defined below.- Sku
Name string sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- map[string]string
A mapping of tags assigned to the resource.
- Virtual
Network ServiceConfiguration Virtual Network Configuration A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- Virtual
Network stringType The type of virtual network you want to use, valid values include:
None,External,Internal.
- additional
Locations ServiceAdditional Location[] One or more
additional_locationblocks as defined below.- certificates
Service
Certificate[] One or more (up to 10)
certificateblocks as defined below.- developer
Portal stringUrl The URL for the Developer Portal associated with this API Management service.
- gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- gateway
Url string The URL of the Gateway for the API Management Service.
- hostname
Configuration ServiceHostname Configuration A
hostname_configurationblock as defined below.- identity
Service
Identity An
identityblock is documented below.- location string
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- management
Api stringUrl The URL for the Management API associated with this API Management service.
- name string
The name of the API Management Service. Changing this forces a new resource to be created.
- notification
Sender stringEmail Email address from which the notification will be sent.
- policy
Service
Policy A
policyblock as defined below.- portal
Url string The URL for the Publisher Portal associated with this API Management service.
- private
Ip string[]Addresses - protocols
Service
Protocols A
protocolsblock as defined below.- public
Ip string[]Addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- publisher
Email string The email of publisher/company.
- publisher
Name string The name of publisher/company.
- resource
Group stringName The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- scm
Url string The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
- security
Service
Security A
securityblock as defined below.- sign
In ServiceSign In A
sign_inblock as defined below.- sign
Up ServiceSign Up A
sign_upblock as defined below.- sku
Name string sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- {[key: string]: string}
A mapping of tags assigned to the resource.
- virtual
Network ServiceConfiguration Virtual Network Configuration A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- virtual
Network stringType The type of virtual network you want to use, valid values include:
None,External,Internal.
- additional_
locations List[ServiceAdditional Location] One or more
additional_locationblocks as defined below.- certificates
List[Service
Certificate] One or more (up to 10)
certificateblocks as defined below.- developer_
portal_ strurl The URL for the Developer Portal associated with this API Management service.
- gateway_
regional_ strurl The URL of the Regional Gateway for the API Management Service in the specified region.
- gateway_
url str The URL of the Gateway for the API Management Service.
- hostname_
configuration Dict[ServiceHostname Configuration] A
hostname_configurationblock as defined below.- identity
Dict[Service
Identity] An
identityblock is documented below.- location str
The Azure location where the API Management Service exists. Changing this forces a new resource to be created.
- management_
api_ strurl The URL for the Management API associated with this API Management service.
- name str
The name of the API Management Service. Changing this forces a new resource to be created.
- notification_
sender_ stremail Email address from which the notification will be sent.
- policy
Dict[Service
Policy] A
policyblock as defined below.- portal_
url str The URL for the Publisher Portal associated with this API Management service.
- private_
ip_ List[str]addresses - protocols
Dict[Service
Protocols] A
protocolsblock as defined below.- public_
ip_ List[str]addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- publisher_
email str The email of publisher/company.
- publisher_
name str The name of publisher/company.
- resource_
group_ strname The name of the Resource Group in which the API Management Service should be exist. Changing this forces a new resource to be created.
- scm_
url str The URL for the SCM (Source Code Management) Endpoint associated with this API Management service.
- security
Dict[Service
Security] A
securityblock as defined below.- sign_
in Dict[ServiceSign In] A
sign_inblock as defined below.- sign_
up Dict[ServiceSign Up] A
sign_upblock as defined below.- sku_
name str sku_nameis a string consisting of two parts separated by an underscore(_). The fist part is thename, valid values include:Consumption,Developer,Basic,StandardandPremium. The second part is thecapacity(e.g. the number of deployed units of thesku), which must be a positiveinteger(e.g.Developer_1).- Dict[str, str]
A mapping of tags assigned to the resource.
- virtual_
network_ Dict[Serviceconfiguration Virtual Network Configuration] A
virtual_network_configurationblock as defined below. Required whenvirtual_network_typeisExternalorInternal.- virtual_
network_ strtype The type of virtual network you want to use, valid values include:
None,External,Internal.
Supporting Types
ServiceAdditionalLocation
- Location string
The name of the Azure Region in which the API Management Service should be expanded to.
- Gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- Public
Ip List<string>Addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- Location string
The name of the Azure Region in which the API Management Service should be expanded to.
- Gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- Public
Ip []stringAddresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- location string
The name of the Azure Region in which the API Management Service should be expanded to.
- gateway
Regional stringUrl The URL of the Regional Gateway for the API Management Service in the specified region.
- public
Ip string[]Addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
- location str
The name of the Azure Region in which the API Management Service should be expanded to.
- gateway_
regional_ strurl The URL of the Regional Gateway for the API Management Service in the specified region.
- public_
ip_ List[str]addresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
ServiceCertificate
- Certificate
Password string The password for the certificate.
- Encoded
Certificate string The Base64 Encoded PFX Certificate.
- Store
Name string The name of the Certificate Store where this certificate should be stored. Possible values are
CertificateAuthorityandRoot.
- Certificate
Password string The password for the certificate.
- Encoded
Certificate string The Base64 Encoded PFX Certificate.
- Store
Name string The name of the Certificate Store where this certificate should be stored. Possible values are
CertificateAuthorityandRoot.
- certificate
Password string The password for the certificate.
- encoded
Certificate string The Base64 Encoded PFX Certificate.
- store
Name string The name of the Certificate Store where this certificate should be stored. Possible values are
CertificateAuthorityandRoot.
- certificate
Password str The password for the certificate.
- encoded
Certificate str The Base64 Encoded PFX Certificate.
- store
Name str The name of the Certificate Store where this certificate should be stored. Possible values are
CertificateAuthorityandRoot.
ServiceHostnameConfiguration
- Developer
Portals List<ServiceHostname Configuration Developer Portal Args> One or more
developer_portalblocks as documented below.- Managements
List<Service
Hostname Configuration Management Args> One or more
managementblocks as documented below.- Portals
List<Service
Hostname Configuration Portal Args> One or more
portalblocks as documented below.- Proxies
List<Service
Hostname Configuration Proxy Args> One or more
proxyblocks as documented below.- Scms
List<Service
Hostname Configuration Scm Args> One or more
scmblocks as documented below.
- Developer
Portals []ServiceHostname Configuration Developer Portal One or more
developer_portalblocks as documented below.- Managements
[]Service
Hostname Configuration Management One or more
managementblocks as documented below.- Portals
[]Service
Hostname Configuration Portal One or more
portalblocks as documented below.- Proxies
[]Service
Hostname Configuration Proxy One or more
proxyblocks as documented below.- Scms
[]Service
Hostname Configuration Scm One or more
scmblocks as documented below.
- developer
Portals ServiceHostname Configuration Developer Portal[] One or more
developer_portalblocks as documented below.- managements
Service
Hostname Configuration Management[] One or more
managementblocks as documented below.- portals
Service
Hostname Configuration Portal[] One or more
portalblocks as documented below.- proxies
Service
Hostname Configuration Proxy[] One or more
proxyblocks as documented below.- scms
Service
Hostname Configuration Scm[] One or more
scmblocks as documented below.
- developer
Portals List[ServiceHostname Configuration Developer Portal] One or more
developer_portalblocks as documented below.- managements
List[Service
Hostname Configuration Management] One or more
managementblocks as documented below.- portals
List[Service
Hostname Configuration Portal] One or more
portalblocks as documented below.- proxies
List[Service
Hostname Configuration Proxy] One or more
proxyblocks as documented below.- scms
List[Service
Hostname Configuration Scm] One or more
scmblocks as documented below.
ServiceHostnameConfigurationDeveloperPortal
- Host
Name string The Hostname to use for the Management API.
- Certificate string
One or more (up to 10)
certificateblocks as defined below.- Certificate
Password string The password for the certificate.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- Host
Name string The Hostname to use for the Management API.
- Certificate string
One or more (up to 10)
certificateblocks as defined below.- Certificate
Password string The password for the certificate.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host
Name string The Hostname to use for the Management API.
- certificate string
One or more (up to 10)
certificateblocks as defined below.- certificate
Password string The password for the certificate.
- key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client booleanCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host_
name str The Hostname to use for the Management API.
- certificate str
One or more (up to 10)
certificateblocks as defined below.- certificate
Password str The password for the certificate.
- key_
vault_ strid The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
ServiceHostnameConfigurationManagement
- Host
Name string The Hostname to use for the Management API.
- Certificate string
The Base64 Encoded Certificate.
- Certificate
Password string The password associated with the certificate provided above.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- Host
Name string The Hostname to use for the Management API.
- Certificate string
The Base64 Encoded Certificate.
- Certificate
Password string The password associated with the certificate provided above.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host
Name string The Hostname to use for the Management API.
- certificate string
The Base64 Encoded Certificate.
- certificate
Password string The password associated with the certificate provided above.
- key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client booleanCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host_
name str The Hostname to use for the Management API.
- certificate str
The Base64 Encoded Certificate.
- certificate
Password str The password associated with the certificate provided above.
- key_
vault_ strid The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
ServiceHostnameConfigurationPortal
- Host
Name string The Hostname to use for the Management API.
- Certificate string
One or more (up to 10)
certificateblocks as defined below.- Certificate
Password string The password for the certificate.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- Host
Name string The Hostname to use for the Management API.
- Certificate string
One or more (up to 10)
certificateblocks as defined below.- Certificate
Password string The password for the certificate.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host
Name string The Hostname to use for the Management API.
- certificate string
One or more (up to 10)
certificateblocks as defined below.- certificate
Password string The password for the certificate.
- key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client booleanCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host_
name str The Hostname to use for the Management API.
- certificate str
One or more (up to 10)
certificateblocks as defined below.- certificate
Password str The password for the certificate.
- key_
vault_ strid The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
ServiceHostnameConfigurationProxy
- Host
Name string The Hostname to use for the Management API.
- Certificate string
The Base64 Encoded Certificate.
- Certificate
Password string The password associated with the certificate provided above.
- Default
Ssl boolBinding Is the certificate associated with this Hostname the Default SSL Certificate? This is used when an SNI header isn’t specified by a client. Defaults to
false.- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- Host
Name string The Hostname to use for the Management API.
- Certificate string
The Base64 Encoded Certificate.
- Certificate
Password string The password associated with the certificate provided above.
- Default
Ssl boolBinding Is the certificate associated with this Hostname the Default SSL Certificate? This is used when an SNI header isn’t specified by a client. Defaults to
false.- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host
Name string The Hostname to use for the Management API.
- certificate string
The Base64 Encoded Certificate.
- certificate
Password string The password associated with the certificate provided above.
- default
Ssl booleanBinding Is the certificate associated with this Hostname the Default SSL Certificate? This is used when an SNI header isn’t specified by a client. Defaults to
false.- key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client booleanCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host_
name str The Hostname to use for the Management API.
- certificate str
The Base64 Encoded Certificate.
- certificate
Password str The password associated with the certificate provided above.
- default
Ssl boolBinding Is the certificate associated with this Hostname the Default SSL Certificate? This is used when an SNI header isn’t specified by a client. Defaults to
false.- key_
vault_ strid The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
ServiceHostnameConfigurationScm
- Host
Name string The Hostname to use for the Management API.
- Certificate string
One or more (up to 10)
certificateblocks as defined below.- Certificate
Password string The password for the certificate.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- Host
Name string The Hostname to use for the Management API.
- Certificate string
One or more (up to 10)
certificateblocks as defined below.- Certificate
Password string The password for the certificate.
- Key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- Negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host
Name string The Hostname to use for the Management API.
- certificate string
One or more (up to 10)
certificateblocks as defined below.- certificate
Password string The password for the certificate.
- key
Vault stringId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client booleanCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
- host_
name str The Hostname to use for the Management API.
- certificate str
One or more (up to 10)
certificateblocks as defined below.- certificate
Password str The password for the certificate.
- key_
vault_ strid The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type
application/x-pkcs12.- negotiate
Client boolCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to
false.
ServiceIdentity
- Identity
Ids List<string> A list of IDs for User Assigned Managed Identity resources to be assigned.
- Principal
Id string The Principal ID associated with this Managed Service Identity.
- Tenant
Id string The Tenant ID associated with this Managed Service Identity.
- Type string
Specifies the type of Managed Service Identity that should be configured on this API Management Service. Possible values are
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned(to enable both).
- Identity
Ids []string A list of IDs for User Assigned Managed Identity resources to be assigned.
- Principal
Id string The Principal ID associated with this Managed Service Identity.
- Tenant
Id string The Tenant ID associated with this Managed Service Identity.
- Type string
Specifies the type of Managed Service Identity that should be configured on this API Management Service. Possible values are
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned(to enable both).
- identity
Ids string[] A list of IDs for User Assigned Managed Identity resources to be assigned.
- principal
Id string The Principal ID associated with this Managed Service Identity.
- tenant
Id string The Tenant ID associated with this Managed Service Identity.
- type string
Specifies the type of Managed Service Identity that should be configured on this API Management Service. Possible values are
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned(to enable both).
- identity
Ids List[str] A list of IDs for User Assigned Managed Identity resources to be assigned.
- principal_
id str The Principal ID associated with this Managed Service Identity.
- tenant_
id str The Tenant ID associated with this Managed Service Identity.
- type str
Specifies the type of Managed Service Identity that should be configured on this API Management Service. Possible values are
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned(to enable both).
ServicePolicy
- Xml
Content string The XML Content for this Policy.
- Xml
Link string A link to an API Management Policy XML Document, which must be publicly available.
- Xml
Content string The XML Content for this Policy.
- Xml
Link string A link to an API Management Policy XML Document, which must be publicly available.
- xml
Content string The XML Content for this Policy.
- xml
Link string A link to an API Management Policy XML Document, which must be publicly available.
- xml_
content str The XML Content for this Policy.
- xml_
link str A link to an API Management Policy XML Document, which must be publicly available.
ServiceProtocols
- Enable
Http2 bool Should HTTP/2 be supported by the API Management Service? Defaults to
false.
- Enable
Http2 bool Should HTTP/2 be supported by the API Management Service? Defaults to
false.
- enable
Http2 boolean Should HTTP/2 be supported by the API Management Service? Defaults to
false.
- enable_
http2 bool Should HTTP/2 be supported by the API Management Service? Defaults to
false.
ServiceSecurity
- Enable
Backend boolSsl30 Should SSL 3.0 be enabled on the backend of the gateway? Defaults to
false.- Enable
Backend boolTls10 Should TLS 1.0 be enabled on the backend of the gateway? Defaults to
false.- Enable
Backend boolTls11 Should TLS 1.1 be enabled on the backend of the gateway? Defaults to
false.- Enable
Frontend boolSsl30 Should SSL 3.0 be enabled on the frontend of the gateway? Defaults to
false.- Enable
Frontend boolTls10 Should TLS 1.0 be enabled on the frontend of the gateway? Defaults to
false.- Enable
Frontend boolTls11 Should TLS 1.1 be enabled on the frontend of the gateway? Defaults to
false.- Enable
Triple boolDes Ciphers Should the
TLS_RSA_WITH_3DES_EDE_CBC_SHAcipher be enabled for alL TLS versions (1.0, 1.1 and 1.2)? Defaults tofalse.
- Enable
Backend boolSsl30 Should SSL 3.0 be enabled on the backend of the gateway? Defaults to
false.- Enable
Backend boolTls10 Should TLS 1.0 be enabled on the backend of the gateway? Defaults to
false.- Enable
Backend boolTls11 Should TLS 1.1 be enabled on the backend of the gateway? Defaults to
false.- Enable
Frontend boolSsl30 Should SSL 3.0 be enabled on the frontend of the gateway? Defaults to
false.- Enable
Frontend boolTls10 Should TLS 1.0 be enabled on the frontend of the gateway? Defaults to
false.- Enable
Frontend boolTls11 Should TLS 1.1 be enabled on the frontend of the gateway? Defaults to
false.- Enable
Triple boolDes Ciphers Should the
TLS_RSA_WITH_3DES_EDE_CBC_SHAcipher be enabled for alL TLS versions (1.0, 1.1 and 1.2)? Defaults tofalse.
- enable
Backend booleanSsl30 Should SSL 3.0 be enabled on the backend of the gateway? Defaults to
false.- enable
Backend booleanTls10 Should TLS 1.0 be enabled on the backend of the gateway? Defaults to
false.- enable
Backend booleanTls11 Should TLS 1.1 be enabled on the backend of the gateway? Defaults to
false.- enable
Frontend booleanSsl30 Should SSL 3.0 be enabled on the frontend of the gateway? Defaults to
false.- enable
Frontend booleanTls10 Should TLS 1.0 be enabled on the frontend of the gateway? Defaults to
false.- enable
Frontend booleanTls11 Should TLS 1.1 be enabled on the frontend of the gateway? Defaults to
false.- enable
Triple booleanDes Ciphers Should the
TLS_RSA_WITH_3DES_EDE_CBC_SHAcipher be enabled for alL TLS versions (1.0, 1.1 and 1.2)? Defaults tofalse.
- enable
Backend boolSsl30 Should SSL 3.0 be enabled on the backend of the gateway? Defaults to
false.- enable
Backend boolTls10 Should TLS 1.0 be enabled on the backend of the gateway? Defaults to
false.- enable
Backend boolTls11 Should TLS 1.1 be enabled on the backend of the gateway? Defaults to
false.- enable
Frontend boolSsl30 Should SSL 3.0 be enabled on the frontend of the gateway? Defaults to
false.- enable
Frontend boolTls10 Should TLS 1.0 be enabled on the frontend of the gateway? Defaults to
false.- enable
Frontend boolTls11 Should TLS 1.1 be enabled on the frontend of the gateway? Defaults to
false.- enable
Triple boolDes Ciphers Should the
TLS_RSA_WITH_3DES_EDE_CBC_SHAcipher be enabled for alL TLS versions (1.0, 1.1 and 1.2)? Defaults tofalse.
ServiceSignIn
ServiceSignUp
- Enabled bool
Can users sign up on the development portal?
- Terms
Of ServiceService Sign Up Terms Of Service Args A
terms_of_serviceblock as defined below.
- Enabled bool
Can users sign up on the development portal?
- Terms
Of ServiceService Sign Up Terms Of Service A
terms_of_serviceblock as defined below.
- enabled boolean
Can users sign up on the development portal?
- terms
Of ServiceService Sign Up Terms Of Service A
terms_of_serviceblock as defined below.
- enabled bool
Can users sign up on the development portal?
- terms
Of Dict[ServiceService Sign Up Terms Of Service] A
terms_of_serviceblock as defined below.
ServiceSignUpTermsOfService
ServiceVirtualNetworkConfiguration
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.