![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.servicefabricmesh.kotlin.NetworkArgs.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.servicefabricmesh.kotlin
import com.pulumi.azurenative.servicefabricmesh.NetworkArgs.builder
import com.pulumi.azurenative.servicefabricmesh.kotlin.inputs.NetworkResourcePropertiesArgs
import com.pulumi.azurenative.servicefabricmesh.kotlin.inputs.NetworkResourcePropertiesArgsBuilder
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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* This type describes a network resource.
* Azure REST API version: 2018-09-01-preview. Prior API version in Azure Native 1.x: 2018-09-01-preview.
* Other available API versions: 2018-07-01-preview.
* ## Example Usage
* ### CreateOrUpdateNetwork
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var network = new AzureNative.ServiceFabricMesh.Network("network", new()
* {
* Location = "EastUS",
* NetworkResourceName = "sampleNetwork",
* Properties = null,
* ResourceGroupName = "sbz_demo",
* Tags = null,
* });
* });
* ```
* ```go
* package main
* import (
* servicefabricmesh "github.com/pulumi/pulumi-azure-native-sdk/servicefabricmesh/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := servicefabricmesh.NewNetwork(ctx, "network", &servicefabricmesh.NetworkArgs{
* Location: pulumi.String("EastUS"),
* NetworkResourceName: pulumi.String("sampleNetwork"),
* Properties: nil,
* ResourceGroupName: pulumi.String("sbz_demo"),
* Tags: nil,
* })
* 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.servicefabricmesh.Network;
* import com.pulumi.azurenative.servicefabricmesh.NetworkArgs;
* import com.pulumi.azurenative.servicefabricmesh.inputs.NetworkResourcePropertiesArgs;
* 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 network = new Network("network", NetworkArgs.builder()
* .location("EastUS")
* .networkResourceName("sampleNetwork")
* .properties()
* .resourceGroupName("sbz_demo")
* .tags()
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:servicefabricmesh:Network sampleNetwork /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}
* ```
* @property location The geo-location where the resource lives
* @property networkResourceName The identity of the network.
* @property properties Describes properties of a network resource.
* @property resourceGroupName Azure resource group name
* @property tags Resource tags.
*/
public data class NetworkArgs(
public val location: Output? = null,
public val networkResourceName: Output? = null,
public val properties: Output? = null,
public val resourceGroupName: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy