Service Args
data class ServiceArgs(val additionalLocations: Output<List<ServiceAdditionalLocationArgs>>? = null, val certificates: Output<List<ServiceCertificateArgs>>? = null, val clientCertificateEnabled: Output<Boolean>? = null, val delegation: Output<ServiceDelegationArgs>? = null, val gatewayDisabled: Output<Boolean>? = null, val hostnameConfiguration: Output<ServiceHostnameConfigurationArgs>? = null, val identity: Output<ServiceIdentityArgs>? = null, val location: Output<String>? = null, val minApiVersion: Output<String>? = null, val name: Output<String>? = null, val notificationSenderEmail: Output<String>? = null, val policy: Output<ServicePolicyArgs>? = null, val protocols: Output<ServiceProtocolsArgs>? = null, val publicIpAddressId: Output<String>? = null, val publicNetworkAccessEnabled: Output<Boolean>? = null, val publisherEmail: Output<String>? = null, val publisherName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val security: Output<ServiceSecurityArgs>? = null, val signIn: Output<ServiceSignInArgs>? = null, val signUp: Output<ServiceSignUpArgs>? = null, val skuName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tenantAccess: Output<ServiceTenantAccessArgs>? = null, val virtualNetworkConfiguration: Output<ServiceVirtualNetworkConfigurationArgs>? = null, val virtualNetworkType: Output<String>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<ServiceArgs>
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.apimanagement.Service;
import com.pulumi.azure.apimanagement.ServiceArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleService = new Service("exampleService", ServiceArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.publisherName("My Company")
.publisherEmail("company@exmaple.com")
.skuName("Developer_1")
.build());
}
}
Content copied to clipboard
Import
API Management Services can be imported using the resource id
, e.g.
$ pulumi import azure:apimanagement/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1
Content copied to clipboard
Constructors
Link copied to clipboard
fun ServiceArgs(additionalLocations: Output<List<ServiceAdditionalLocationArgs>>? = null, certificates: Output<List<ServiceCertificateArgs>>? = null, clientCertificateEnabled: Output<Boolean>? = null, delegation: Output<ServiceDelegationArgs>? = null, gatewayDisabled: Output<Boolean>? = null, hostnameConfiguration: Output<ServiceHostnameConfigurationArgs>? = null, identity: Output<ServiceIdentityArgs>? = null, location: Output<String>? = null, minApiVersion: Output<String>? = null, name: Output<String>? = null, notificationSenderEmail: Output<String>? = null, policy: Output<ServicePolicyArgs>? = null, protocols: Output<ServiceProtocolsArgs>? = null, publicIpAddressId: Output<String>? = null, publicNetworkAccessEnabled: Output<Boolean>? = null, publisherEmail: Output<String>? = null, publisherName: Output<String>? = null, resourceGroupName: Output<String>? = null, security: Output<ServiceSecurityArgs>? = null, signIn: Output<ServiceSignInArgs>? = null, signUp: Output<ServiceSignUpArgs>? = null, skuName: Output<String>? = null, tags: Output<Map<String, String>>? = null, tenantAccess: Output<ServiceTenantAccessArgs>? = null, virtualNetworkConfiguration: Output<ServiceVirtualNetworkConfigurationArgs>? = null, virtualNetworkType: Output<String>? = null, zones: Output<List<String>>? = null)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sku_name
is a string consisting of two parts separated by an underscore(\_). The first part is the name
, valid values include: Consumption
, Developer
, Basic
, Standard
and Premium
. The second part is the capacity
(e.g. the number of deployed units of the sku
), which must be a positive integer
(e.g. Developer_1
).
Link copied to clipboard