BlockchainMemberArgs

data class BlockchainMemberArgs(val blockchainMemberName: Output<String>? = null, val consortium: Output<String>? = null, val consortiumManagementAccountPassword: Output<String>? = null, val consortiumMemberDisplayName: Output<String>? = null, val consortiumRole: Output<String>? = null, val firewallRules: Output<List<FirewallRuleArgs>>? = null, val location: Output<String>? = null, val password: Output<String>? = null, val protocol: Output<Either<String, BlockchainProtocol>>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val validatorNodesSku: Output<BlockchainMemberNodesSkuArgs>? = null) : ConvertibleToJava<BlockchainMemberArgs>

Payload of the blockchain member which is exposed in the request/response of the resource provider. API Version: 2018-06-01-preview.

Example Usage

BlockchainMembers_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var blockchainMember = new AzureNative.Blockchain.BlockchainMember("blockchainMember", new()
{
BlockchainMemberName = "contosemember1",
Consortium = "ContoseConsortium",
ConsortiumManagementAccountPassword = "<consortiumManagementAccountPassword>",
Location = "southeastasia",
Password = "<password>",
Protocol = "Quorum",
ResourceGroupName = "mygroup",
ValidatorNodesSku = new AzureNative.Blockchain.Inputs.BlockchainMemberNodesSkuArgs
{
Capacity = 2,
},
});
});
package main
import (
blockchain "github.com/pulumi/pulumi-azure-native-sdk/blockchain"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := blockchain.NewBlockchainMember(ctx, "blockchainMember", &blockchain.BlockchainMemberArgs{
BlockchainMemberName: pulumi.String("contosemember1"),
Consortium: pulumi.String("ContoseConsortium"),
ConsortiumManagementAccountPassword: pulumi.String("<consortiumManagementAccountPassword>"),
Location: pulumi.String("southeastasia"),
Password: pulumi.String("<password>"),
Protocol: pulumi.String("Quorum"),
ResourceGroupName: pulumi.String("mygroup"),
ValidatorNodesSku: &blockchain.BlockchainMemberNodesSkuArgs{
Capacity: pulumi.Int(2),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.blockchain.BlockchainMember;
import com.pulumi.azurenative.blockchain.BlockchainMemberArgs;
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 blockchainMember = new BlockchainMember("blockchainMember", BlockchainMemberArgs.builder()
.blockchainMemberName("contosemember1")
.consortium("ContoseConsortium")
.consortiumManagementAccountPassword("<consortiumManagementAccountPassword>")
.location("southeastasia")
.password("<password>")
.protocol("Quorum")
.resourceGroupName("mygroup")
.validatorNodesSku(Map.of("capacity", 2))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:blockchain:BlockchainMember contosemember1 /subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1

Constructors

Link copied to clipboard
constructor(blockchainMemberName: Output<String>? = null, consortium: Output<String>? = null, consortiumManagementAccountPassword: Output<String>? = null, consortiumMemberDisplayName: Output<String>? = null, consortiumRole: Output<String>? = null, firewallRules: Output<List<FirewallRuleArgs>>? = null, location: Output<String>? = null, password: Output<String>? = null, protocol: Output<Either<String, BlockchainProtocol>>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null, validatorNodesSku: Output<BlockchainMemberNodesSkuArgs>? = null)

Properties

Link copied to clipboard
val blockchainMemberName: Output<String>? = null

Blockchain member name.

Link copied to clipboard
val consortium: Output<String>? = null

Gets or sets the consortium for the blockchain member.

Link copied to clipboard

Sets the managed consortium management account password.

Link copied to clipboard
val consortiumMemberDisplayName: Output<String>? = null

Gets the display name of the member in the consortium.

Link copied to clipboard
val consortiumRole: Output<String>? = null

Gets the role of the member in the consortium.

Link copied to clipboard
val firewallRules: Output<List<FirewallRuleArgs>>? = null

Gets or sets firewall rules

Link copied to clipboard
val location: Output<String>? = null

The GEO location of the blockchain service.

Link copied to clipboard
val password: Output<String>? = null

Sets the basic auth password of the blockchain member.

Link copied to clipboard
val protocol: Output<Either<String, BlockchainProtocol>>? = null

Gets or sets the blockchain protocol.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

Link copied to clipboard
val sku: Output<SkuArgs>? = null

Gets or sets the blockchain member Sku.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Tags of the service which is a list of key value pairs that describes the resource.

Link copied to clipboard

Gets or sets the blockchain validator nodes Sku.

Functions

Link copied to clipboard
open override fun toJava(): BlockchainMemberArgs