Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.appplatform;
import com.pulumi.azure.Utilities;
import com.pulumi.azure.appplatform.SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs;
import com.pulumi.azure.appplatform.inputs.SpringCloudAppDynamicsApplicationPerformanceMonitoringState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* > **NOTE:** This resource is only applicable for Spring Cloud Service enterprise tier
*
* Manages a Spring Cloud Application Performance Monitoring resource for App Dynamics.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Spring Cloud Application Performance Monitoring resource for App Dynamics can be imported using the `resource id`, e.g.
*
* ```sh
* $ pulumi import azure:appplatform/springCloudAppDynamicsApplicationPerformanceMonitoring:SpringCloudAppDynamicsApplicationPerformanceMonitoring example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AppPlatform/spring/service1/apms/apm1
* ```
*
*/
@ResourceType(type="azure:appplatform/springCloudAppDynamicsApplicationPerformanceMonitoring:SpringCloudAppDynamicsApplicationPerformanceMonitoring")
public class SpringCloudAppDynamicsApplicationPerformanceMonitoring extends com.pulumi.resources.CustomResource {
/**
* Specifies the account access key used to authenticate with the Controller.
*
*/
@Export(name="agentAccountAccessKey", refs={String.class}, tree="[0]")
private Output agentAccountAccessKey;
/**
* @return Specifies the account access key used to authenticate with the Controller.
*
*/
public Output agentAccountAccessKey() {
return this.agentAccountAccessKey;
}
/**
* Specifies the account name of the App Dynamics account.
*
*/
@Export(name="agentAccountName", refs={String.class}, tree="[0]")
private Output agentAccountName;
/**
* @return Specifies the account name of the App Dynamics account.
*
*/
public Output agentAccountName() {
return this.agentAccountName;
}
/**
* Specifies the name of the logical business application that this JVM node belongs to.
*
*/
@Export(name="agentApplicationName", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> agentApplicationName;
/**
* @return Specifies the name of the logical business application that this JVM node belongs to.
*
*/
public Output> agentApplicationName() {
return Codegen.optional(this.agentApplicationName);
}
/**
* Specifies the name of the node. Where JVMs are dynamically created.
*
*/
@Export(name="agentNodeName", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> agentNodeName;
/**
* @return Specifies the name of the node. Where JVMs are dynamically created.
*
*/
public Output> agentNodeName() {
return Codegen.optional(this.agentNodeName);
}
/**
* Specifies the name of the tier that this JVM node belongs to.
*
*/
@Export(name="agentTierName", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> agentTierName;
/**
* @return Specifies the name of the tier that this JVM node belongs to.
*
*/
public Output> agentTierName() {
return Codegen.optional(this.agentTierName);
}
/**
* Specifies the unique host ID which is used to Logically partition a single physical host or virtual machine such that it appears to the Controller that the application is running on different machines.
*
*/
@Export(name="agentUniqueHostId", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> agentUniqueHostId;
/**
* @return Specifies the unique host ID which is used to Logically partition a single physical host or virtual machine such that it appears to the Controller that the application is running on different machines.
*
*/
public Output> agentUniqueHostId() {
return Codegen.optional(this.agentUniqueHostId);
}
/**
* Specifies the hostname or the IP address of the AppDynamics Controller.
*
*/
@Export(name="controllerHostName", refs={String.class}, tree="[0]")
private Output controllerHostName;
/**
* @return Specifies the hostname or the IP address of the AppDynamics Controller.
*
*/
public Output controllerHostName() {
return this.controllerHostName;
}
/**
* Specifies the HTTP(S) port of the AppDynamics Controller. This is the port used to access the AppDynamics browser-based user interface.
*
*/
@Export(name="controllerPort", refs={Integer.class}, tree="[0]")
private Output* @Nullable */ Integer> controllerPort;
/**
* @return Specifies the HTTP(S) port of the AppDynamics Controller. This is the port used to access the AppDynamics browser-based user interface.
*
*/
public Output> controllerPort() {
return Codegen.optional(this.controllerPort);
}
/**
* Specifies whether enable use SSL (HTTPS) to connect to the AppDynamics Controller.
*
*/
@Export(name="controllerSslEnabled", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> controllerSslEnabled;
/**
* @return Specifies whether enable use SSL (HTTPS) to connect to the AppDynamics Controller.
*
*/
public Output> controllerSslEnabled() {
return Codegen.optional(this.controllerSslEnabled);
}
/**
* Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`.
*
*/
@Export(name="globallyEnabled", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> globallyEnabled;
/**
* @return Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`.
*
*/
public Output> globallyEnabled() {
return Codegen.optional(this.globallyEnabled);
}
/**
* The name which should be used for this Spring Cloud Application Performance Monitoring resource for App Dynamics. Changing this forces a new resource to be created.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The name which should be used for this Spring Cloud Application Performance Monitoring resource for App Dynamics. Changing this forces a new resource to be created.
*
*/
public Output name() {
return this.name;
}
/**
* The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
*
*/
@Export(name="springCloudServiceId", refs={String.class}, tree="[0]")
private Output springCloudServiceId;
/**
* @return The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
*
*/
public Output springCloudServiceId() {
return this.springCloudServiceId;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public SpringCloudAppDynamicsApplicationPerformanceMonitoring(java.lang.String name) {
this(name, SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public SpringCloudAppDynamicsApplicationPerformanceMonitoring(java.lang.String name, SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public SpringCloudAppDynamicsApplicationPerformanceMonitoring(java.lang.String name, SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:appplatform/springCloudAppDynamicsApplicationPerformanceMonitoring:SpringCloudAppDynamicsApplicationPerformanceMonitoring", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private SpringCloudAppDynamicsApplicationPerformanceMonitoring(java.lang.String name, Output id, @Nullable SpringCloudAppDynamicsApplicationPerformanceMonitoringState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure:appplatform/springCloudAppDynamicsApplicationPerformanceMonitoring:SpringCloudAppDynamicsApplicationPerformanceMonitoring", name, state, makeResourceOptions(options, id), false);
}
private static SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs makeArgs(SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs.Empty : args;
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.additionalSecretOutputs(List.of(
"agentAccountAccessKey",
"agentAccountName"
))
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static SpringCloudAppDynamicsApplicationPerformanceMonitoring get(java.lang.String name, Output id, @Nullable SpringCloudAppDynamicsApplicationPerformanceMonitoringState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new SpringCloudAppDynamicsApplicationPerformanceMonitoring(name, id, state, options);
}
}