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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.servicefabricmesh.kotlin
import com.pulumi.azurenative.servicefabricmesh.SecretValueArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* This type describes a value of a secret resource. The name of this resource is the version identifier corresponding to this secret value.
* Azure REST API version: 2018-09-01-preview. Prior API version in Azure Native 1.x: 2018-09-01-preview.
* ## Example Usage
* ### CreateSecretValue
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var secretValue = new AzureNative.ServiceFabricMesh.SecretValue("secretValue", new()
* {
* Location = "West US",
* ResourceGroupName = "sbz_demo",
* SecretResourceName = "dbConnectionString",
* SecretValueResourceName = "v1",
* Value = "mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true",
* });
* });
* ```
* ```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.NewSecretValue(ctx, "secretValue", &servicefabricmesh.SecretValueArgs{
* Location: pulumi.String("West US"),
* ResourceGroupName: pulumi.String("sbz_demo"),
* SecretResourceName: pulumi.String("dbConnectionString"),
* SecretValueResourceName: pulumi.String("v1"),
* Value: pulumi.String("mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true"),
* })
* 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.SecretValue;
* import com.pulumi.azurenative.servicefabricmesh.SecretValueArgs;
* 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 secretValue = new SecretValue("secretValue", SecretValueArgs.builder()
* .location("West US")
* .resourceGroupName("sbz_demo")
* .secretResourceName("dbConnectionString")
* .secretValueResourceName("v1")
* .value("mongodb://contoso123:0Fc3IolnL12312asdfawejunASDF@asdfYXX2t8a97kghVcUzcDv98hawelufhawefafnoQRGwNj2nMPL1Y9qsIr9Srdw==@contoso123.documents.azure.com:10255/mydatabase?ssl=true")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:servicefabricmesh:SecretValue v1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}
* ```
* @property location The geo-location where the resource lives
* @property resourceGroupName Azure resource group name
* @property secretResourceName The name of the secret resource.
* @property secretValueResourceName The name of the secret resource value which is typically the version identifier for the value.
* @property tags Resource tags.
* @property value The actual value of the secret.
*/
public data class SecretValueArgs(
public val location: Output? = null,
public val resourceGroupName: Output? = null,
public val secretResourceName: Output? = null,
public val secretValueResourceName: Output? = null,
public val tags: Output