![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.ReachabilityAnalysisRunArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin
import com.pulumi.azurenative.network.ReachabilityAnalysisRunArgs.builder
import com.pulumi.azurenative.network.kotlin.inputs.ReachabilityAnalysisRunPropertiesArgs
import com.pulumi.azurenative.network.kotlin.inputs.ReachabilityAnalysisRunPropertiesArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Configuration information for analysis run.
* Azure REST API version: 2024-01-01-preview.
* ## Example Usage
* ### ReachabilityAnalysisRunCreate
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var reachabilityAnalysisRun = new AzureNative.Network.ReachabilityAnalysisRun("reachabilityAnalysisRun", new()
* {
* NetworkManagerName = "testNetworkManager",
* Properties = new AzureNative.Network.Inputs.ReachabilityAnalysisRunPropertiesArgs
* {
* Description = "A sample reachability analysis run",
* IntentId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1",
* },
* ReachabilityAnalysisRunName = "testAnalysisRunName",
* ResourceGroupName = "rg1",
* WorkspaceName = "testWorkspace",
* });
* });
* ```
* ```go
* package main
* import (
* network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := network.NewReachabilityAnalysisRun(ctx, "reachabilityAnalysisRun", &network.ReachabilityAnalysisRunArgs{
* NetworkManagerName: pulumi.String("testNetworkManager"),
* Properties: &network.ReachabilityAnalysisRunPropertiesArgs{
* Description: pulumi.String("A sample reachability analysis run"),
* IntentId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1"),
* },
* ReachabilityAnalysisRunName: pulumi.String("testAnalysisRunName"),
* ResourceGroupName: pulumi.String("rg1"),
* WorkspaceName: pulumi.String("testWorkspace"),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.network.ReachabilityAnalysisRun;
* import com.pulumi.azurenative.network.ReachabilityAnalysisRunArgs;
* import com.pulumi.azurenative.network.inputs.ReachabilityAnalysisRunPropertiesArgs;
* 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 reachabilityAnalysisRun = new ReachabilityAnalysisRun("reachabilityAnalysisRun", ReachabilityAnalysisRunArgs.builder()
* .networkManagerName("testNetworkManager")
* .properties(ReachabilityAnalysisRunPropertiesArgs.builder()
* .description("A sample reachability analysis run")
* .intentId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1")
* .build())
* .reachabilityAnalysisRunName("testAnalysisRunName")
* .resourceGroupName("rg1")
* .workspaceName("testWorkspace")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:network:ReachabilityAnalysisRun testAnalysisRunName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}
* ```
* @property networkManagerName The name of the network manager.
* @property properties Represents the Reachability Analysis Run properties.
* @property reachabilityAnalysisRunName Reachability Analysis Run name.
* @property resourceGroupName The name of the resource group.
* @property workspaceName Workspace name.
*/
public data class ReachabilityAnalysisRunArgs(
public val networkManagerName: Output? = null,
public val properties: Output? = null,
public val reachabilityAnalysisRunName: Output? = null,
public val resourceGroupName: Output? = null,
public val workspaceName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.ReachabilityAnalysisRunArgs =
com.pulumi.azurenative.network.ReachabilityAnalysisRunArgs.builder()
.networkManagerName(networkManagerName?.applyValue({ args0 -> args0 }))
.properties(properties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.reachabilityAnalysisRunName(reachabilityAnalysisRunName?.applyValue({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.workspaceName(workspaceName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ReachabilityAnalysisRunArgs].
*/
@PulumiTagMarker
public class ReachabilityAnalysisRunArgsBuilder internal constructor() {
private var networkManagerName: Output? = null
private var properties: Output? = null
private var reachabilityAnalysisRunName: Output? = null
private var resourceGroupName: Output? = null
private var workspaceName: Output? = null
/**
* @param value The name of the network manager.
*/
@JvmName("enyounlydsgafegn")
public suspend fun networkManagerName(`value`: Output) {
this.networkManagerName = value
}
/**
* @param value Represents the Reachability Analysis Run properties.
*/
@JvmName("rcvlhgpsfgsmxnkv")
public suspend fun properties(`value`: Output) {
this.properties = value
}
/**
* @param value Reachability Analysis Run name.
*/
@JvmName("lrsupsfxtqxdbngi")
public suspend fun reachabilityAnalysisRunName(`value`: Output) {
this.reachabilityAnalysisRunName = value
}
/**
* @param value The name of the resource group.
*/
@JvmName("lcmoutpvyisulnob")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value Workspace name.
*/
@JvmName("agdjvkemskrmvhgm")
public suspend fun workspaceName(`value`: Output) {
this.workspaceName = value
}
/**
* @param value The name of the network manager.
*/
@JvmName("gnfkquvaccnexrja")
public suspend fun networkManagerName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.networkManagerName = mapped
}
/**
* @param value Represents the Reachability Analysis Run properties.
*/
@JvmName("ejrlqlbudrpgfalo")
public suspend fun properties(`value`: ReachabilityAnalysisRunPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.properties = mapped
}
/**
* @param argument Represents the Reachability Analysis Run properties.
*/
@JvmName("wnxbqiksjwkhddyp")
public suspend fun properties(argument: suspend ReachabilityAnalysisRunPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = ReachabilityAnalysisRunPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.properties = mapped
}
/**
* @param value Reachability Analysis Run name.
*/
@JvmName("bckbbuvpekwhblrf")
public suspend fun reachabilityAnalysisRunName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.reachabilityAnalysisRunName = mapped
}
/**
* @param value The name of the resource group.
*/
@JvmName("nmkbpeisbuhbknvc")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value Workspace name.
*/
@JvmName("xhmlgabnbecvqghh")
public suspend fun workspaceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.workspaceName = mapped
}
internal fun build(): ReachabilityAnalysisRunArgs = ReachabilityAnalysisRunArgs(
networkManagerName = networkManagerName,
properties = properties,
reachabilityAnalysisRunName = reachabilityAnalysisRunName,
resourceGroupName = resourceGroupName,
workspaceName = workspaceName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy