BlockchainMember

class BlockchainMember : KotlinCustomResource

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

Properties

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

Gets or sets the consortium for the blockchain member.

Link copied to clipboard

Gets the managed consortium management account address.

Link copied to clipboard

Sets the managed consortium management account password.

Link copied to clipboard

Gets the display name of the member in the consortium.

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

Gets the role of the member in the consortium.

Link copied to clipboard
val dns: Output<String>

Gets the dns endpoint of the blockchain member.

Link copied to clipboard

Gets or sets firewall rules

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

The GEO location of the blockchain service.

Link copied to clipboard
val name: Output<String>

The name of the resource.

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

Sets the basic auth password of the blockchain member.

Link copied to clipboard
val protocol: Output<String>?

Gets or sets the blockchain protocol.

Link copied to clipboard

Gets or sets the blockchain member provision state.

Link copied to clipboard
val publicKey: Output<String>

Gets the public key of the blockchain member (default transaction node).

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Gets the Ethereum root contract address of the blockchain.

Link copied to clipboard
val sku: Output<SkuResponse>?

Gets or sets the blockchain member Sku.

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

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

Link copied to clipboard
val type: Output<String>

The type of the service - e.g. "Microsoft.Blockchain"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userName: Output<String>

Gets the auth user name of the blockchain member.

Link copied to clipboard

Gets or sets the blockchain validator nodes Sku.