1. Packages
  2. Azure Native
  3. API Docs
  4. blockchain
  5. BlockchainMember
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.blockchain.BlockchainMember

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Payload of the blockchain member which is exposed in the request/response of the resource provider. Azure REST API version: 2018-06-01-preview. Prior API version in Azure Native 1.x: 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 = AzureNative.Blockchain.BlockchainProtocol.Quorum,
            ResourceGroupName = "mygroup",
            ValidatorNodesSku = new AzureNative.Blockchain.Inputs.BlockchainMemberNodesSkuArgs
            {
                Capacity = 2,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/blockchain/v2"
    	"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(blockchain.BlockchainProtocolQuorum),
    			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 com.pulumi.azurenative.blockchain.inputs.BlockchainMemberNodesSkuArgs;
    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(BlockchainMemberNodesSkuArgs.builder()
                    .capacity(2)
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    blockchain_member = azure_native.blockchain.BlockchainMember("blockchainMember",
        blockchain_member_name="contosemember1",
        consortium="ContoseConsortium",
        consortium_management_account_password="<consortiumManagementAccountPassword>",
        location="southeastasia",
        password="<password>",
        protocol=azure_native.blockchain.BlockchainProtocol.QUORUM,
        resource_group_name="mygroup",
        validator_nodes_sku=azure_native.blockchain.BlockchainMemberNodesSkuArgs(
            capacity=2,
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const blockchainMember = new azure_native.blockchain.BlockchainMember("blockchainMember", {
        blockchainMemberName: "contosemember1",
        consortium: "ContoseConsortium",
        consortiumManagementAccountPassword: "<consortiumManagementAccountPassword>",
        location: "southeastasia",
        password: "<password>",
        protocol: azure_native.blockchain.BlockchainProtocol.Quorum,
        resourceGroupName: "mygroup",
        validatorNodesSku: {
            capacity: 2,
        },
    });
    
    resources:
      blockchainMember:
        type: azure-native:blockchain:BlockchainMember
        properties:
          blockchainMemberName: contosemember1
          consortium: ContoseConsortium
          consortiumManagementAccountPassword: <consortiumManagementAccountPassword>
          location: southeastasia
          password: <password>
          protocol: Quorum
          resourceGroupName: mygroup
          validatorNodesSku:
            capacity: 2
    

    Create BlockchainMember Resource

    new BlockchainMember(name: string, args: BlockchainMemberArgs, opts?: CustomResourceOptions);
    @overload
    def BlockchainMember(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         blockchain_member_name: Optional[str] = None,
                         consortium: Optional[str] = None,
                         consortium_management_account_password: Optional[str] = None,
                         consortium_member_display_name: Optional[str] = None,
                         consortium_role: Optional[str] = None,
                         firewall_rules: Optional[Sequence[FirewallRuleArgs]] = None,
                         location: Optional[str] = None,
                         password: Optional[str] = None,
                         protocol: Optional[Union[str, BlockchainProtocol]] = None,
                         resource_group_name: Optional[str] = None,
                         sku: Optional[SkuArgs] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         validator_nodes_sku: Optional[BlockchainMemberNodesSkuArgs] = None)
    @overload
    def BlockchainMember(resource_name: str,
                         args: BlockchainMemberArgs,
                         opts: Optional[ResourceOptions] = None)
    func NewBlockchainMember(ctx *Context, name string, args BlockchainMemberArgs, opts ...ResourceOption) (*BlockchainMember, error)
    public BlockchainMember(string name, BlockchainMemberArgs args, CustomResourceOptions? opts = null)
    public BlockchainMember(String name, BlockchainMemberArgs args)
    public BlockchainMember(String name, BlockchainMemberArgs args, CustomResourceOptions options)
    
    type: azure-native:blockchain:BlockchainMember
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args BlockchainMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BlockchainMemberArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BlockchainMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BlockchainMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BlockchainMemberArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BlockchainMember Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The BlockchainMember resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    BlockchainMemberName string
    Blockchain member name.
    Consortium string
    Gets or sets the consortium for the blockchain member.
    ConsortiumManagementAccountPassword string
    Sets the managed consortium management account password.
    ConsortiumMemberDisplayName string
    Gets the display name of the member in the consortium.
    ConsortiumRole string
    Gets the role of the member in the consortium.
    FirewallRules List<Pulumi.AzureNative.Blockchain.Inputs.FirewallRule>
    Gets or sets firewall rules
    Location string
    The GEO location of the blockchain service.
    Password string
    Sets the basic auth password of the blockchain member.
    Protocol string | Pulumi.AzureNative.Blockchain.BlockchainProtocol
    Gets or sets the blockchain protocol.
    Sku Pulumi.AzureNative.Blockchain.Inputs.Sku
    Gets or sets the blockchain member Sku.
    Tags Dictionary<string, string>
    Tags of the service which is a list of key value pairs that describes the resource.
    ValidatorNodesSku Pulumi.AzureNative.Blockchain.Inputs.BlockchainMemberNodesSku
    Gets or sets the blockchain validator nodes Sku.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    BlockchainMemberName string
    Blockchain member name.
    Consortium string
    Gets or sets the consortium for the blockchain member.
    ConsortiumManagementAccountPassword string
    Sets the managed consortium management account password.
    ConsortiumMemberDisplayName string
    Gets the display name of the member in the consortium.
    ConsortiumRole string
    Gets the role of the member in the consortium.
    FirewallRules []FirewallRuleArgs
    Gets or sets firewall rules
    Location string
    The GEO location of the blockchain service.
    Password string
    Sets the basic auth password of the blockchain member.
    Protocol string | BlockchainProtocol
    Gets or sets the blockchain protocol.
    Sku SkuArgs
    Gets or sets the blockchain member Sku.
    Tags map[string]string
    Tags of the service which is a list of key value pairs that describes the resource.
    ValidatorNodesSku BlockchainMemberNodesSkuArgs
    Gets or sets the blockchain validator nodes Sku.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    blockchainMemberName String
    Blockchain member name.
    consortium String
    Gets or sets the consortium for the blockchain member.
    consortiumManagementAccountPassword String
    Sets the managed consortium management account password.
    consortiumMemberDisplayName String
    Gets the display name of the member in the consortium.
    consortiumRole String
    Gets the role of the member in the consortium.
    firewallRules List<FirewallRule>
    Gets or sets firewall rules
    location String
    The GEO location of the blockchain service.
    password String
    Sets the basic auth password of the blockchain member.
    protocol String | BlockchainProtocol
    Gets or sets the blockchain protocol.
    sku Sku
    Gets or sets the blockchain member Sku.
    tags Map<String,String>
    Tags of the service which is a list of key value pairs that describes the resource.
    validatorNodesSku BlockchainMemberNodesSku
    Gets or sets the blockchain validator nodes Sku.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    blockchainMemberName string
    Blockchain member name.
    consortium string
    Gets or sets the consortium for the blockchain member.
    consortiumManagementAccountPassword string
    Sets the managed consortium management account password.
    consortiumMemberDisplayName string
    Gets the display name of the member in the consortium.
    consortiumRole string
    Gets the role of the member in the consortium.
    firewallRules FirewallRule[]
    Gets or sets firewall rules
    location string
    The GEO location of the blockchain service.
    password string
    Sets the basic auth password of the blockchain member.
    protocol string | BlockchainProtocol
    Gets or sets the blockchain protocol.
    sku Sku
    Gets or sets the blockchain member Sku.
    tags {[key: string]: string}
    Tags of the service which is a list of key value pairs that describes the resource.
    validatorNodesSku BlockchainMemberNodesSku
    Gets or sets the blockchain validator nodes Sku.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    blockchain_member_name str
    Blockchain member name.
    consortium str
    Gets or sets the consortium for the blockchain member.
    consortium_management_account_password str
    Sets the managed consortium management account password.
    consortium_member_display_name str
    Gets the display name of the member in the consortium.
    consortium_role str
    Gets the role of the member in the consortium.
    firewall_rules Sequence[FirewallRuleArgs]
    Gets or sets firewall rules
    location str
    The GEO location of the blockchain service.
    password str
    Sets the basic auth password of the blockchain member.
    protocol str | BlockchainProtocol
    Gets or sets the blockchain protocol.
    sku SkuArgs
    Gets or sets the blockchain member Sku.
    tags Mapping[str, str]
    Tags of the service which is a list of key value pairs that describes the resource.
    validator_nodes_sku BlockchainMemberNodesSkuArgs
    Gets or sets the blockchain validator nodes Sku.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    blockchainMemberName String
    Blockchain member name.
    consortium String
    Gets or sets the consortium for the blockchain member.
    consortiumManagementAccountPassword String
    Sets the managed consortium management account password.
    consortiumMemberDisplayName String
    Gets the display name of the member in the consortium.
    consortiumRole String
    Gets the role of the member in the consortium.
    firewallRules List<Property Map>
    Gets or sets firewall rules
    location String
    The GEO location of the blockchain service.
    password String
    Sets the basic auth password of the blockchain member.
    protocol String | "NotSpecified" | "Parity" | "Quorum" | "Corda"
    Gets or sets the blockchain protocol.
    sku Property Map
    Gets or sets the blockchain member Sku.
    tags Map<String>
    Tags of the service which is a list of key value pairs that describes the resource.
    validatorNodesSku Property Map
    Gets or sets the blockchain validator nodes Sku.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BlockchainMember resource produces the following output properties:

    ConsortiumManagementAccountAddress string
    Gets the managed consortium management account address.
    Dns string
    Gets the dns endpoint of the blockchain member.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    Gets or sets the blockchain member provision state.
    PublicKey string
    Gets the public key of the blockchain member (default transaction node).
    RootContractAddress string
    Gets the Ethereum root contract address of the blockchain.
    Type string
    The type of the service - e.g. "Microsoft.Blockchain"
    UserName string
    Gets the auth user name of the blockchain member.
    ConsortiumManagementAccountAddress string
    Gets the managed consortium management account address.
    Dns string
    Gets the dns endpoint of the blockchain member.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    Gets or sets the blockchain member provision state.
    PublicKey string
    Gets the public key of the blockchain member (default transaction node).
    RootContractAddress string
    Gets the Ethereum root contract address of the blockchain.
    Type string
    The type of the service - e.g. "Microsoft.Blockchain"
    UserName string
    Gets the auth user name of the blockchain member.
    consortiumManagementAccountAddress String
    Gets the managed consortium management account address.
    dns String
    Gets the dns endpoint of the blockchain member.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    Gets or sets the blockchain member provision state.
    publicKey String
    Gets the public key of the blockchain member (default transaction node).
    rootContractAddress String
    Gets the Ethereum root contract address of the blockchain.
    type String
    The type of the service - e.g. "Microsoft.Blockchain"
    userName String
    Gets the auth user name of the blockchain member.
    consortiumManagementAccountAddress string
    Gets the managed consortium management account address.
    dns string
    Gets the dns endpoint of the blockchain member.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    provisioningState string
    Gets or sets the blockchain member provision state.
    publicKey string
    Gets the public key of the blockchain member (default transaction node).
    rootContractAddress string
    Gets the Ethereum root contract address of the blockchain.
    type string
    The type of the service - e.g. "Microsoft.Blockchain"
    userName string
    Gets the auth user name of the blockchain member.
    consortium_management_account_address str
    Gets the managed consortium management account address.
    dns str
    Gets the dns endpoint of the blockchain member.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    provisioning_state str
    Gets or sets the blockchain member provision state.
    public_key str
    Gets the public key of the blockchain member (default transaction node).
    root_contract_address str
    Gets the Ethereum root contract address of the blockchain.
    type str
    The type of the service - e.g. "Microsoft.Blockchain"
    user_name str
    Gets the auth user name of the blockchain member.
    consortiumManagementAccountAddress String
    Gets the managed consortium management account address.
    dns String
    Gets the dns endpoint of the blockchain member.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    Gets or sets the blockchain member provision state.
    publicKey String
    Gets the public key of the blockchain member (default transaction node).
    rootContractAddress String
    Gets the Ethereum root contract address of the blockchain.
    type String
    The type of the service - e.g. "Microsoft.Blockchain"
    userName String
    Gets the auth user name of the blockchain member.

    Supporting Types

    BlockchainMemberNodesSku, BlockchainMemberNodesSkuArgs

    Capacity int
    Gets or sets the nodes capacity.
    Capacity int
    Gets or sets the nodes capacity.
    capacity Integer
    Gets or sets the nodes capacity.
    capacity number
    Gets or sets the nodes capacity.
    capacity int
    Gets or sets the nodes capacity.
    capacity Number
    Gets or sets the nodes capacity.

    BlockchainMemberNodesSkuResponse, BlockchainMemberNodesSkuResponseArgs

    Capacity int
    Gets or sets the nodes capacity.
    Capacity int
    Gets or sets the nodes capacity.
    capacity Integer
    Gets or sets the nodes capacity.
    capacity number
    Gets or sets the nodes capacity.
    capacity int
    Gets or sets the nodes capacity.
    capacity Number
    Gets or sets the nodes capacity.

    BlockchainProtocol, BlockchainProtocolArgs

    NotSpecified
    NotSpecified
    Parity
    Parity
    Quorum
    Quorum
    Corda
    Corda
    BlockchainProtocolNotSpecified
    NotSpecified
    BlockchainProtocolParity
    Parity
    BlockchainProtocolQuorum
    Quorum
    BlockchainProtocolCorda
    Corda
    NotSpecified
    NotSpecified
    Parity
    Parity
    Quorum
    Quorum
    Corda
    Corda
    NotSpecified
    NotSpecified
    Parity
    Parity
    Quorum
    Quorum
    Corda
    Corda
    NOT_SPECIFIED
    NotSpecified
    PARITY
    Parity
    QUORUM
    Quorum
    CORDA
    Corda
    "NotSpecified"
    NotSpecified
    "Parity"
    Parity
    "Quorum"
    Quorum
    "Corda"
    Corda

    FirewallRule, FirewallRuleArgs

    EndIpAddress string
    Gets or sets the end IP address of the firewall rule range.
    RuleName string
    Gets or sets the name of the firewall rules.
    StartIpAddress string
    Gets or sets the start IP address of the firewall rule range.
    EndIpAddress string
    Gets or sets the end IP address of the firewall rule range.
    RuleName string
    Gets or sets the name of the firewall rules.
    StartIpAddress string
    Gets or sets the start IP address of the firewall rule range.
    endIpAddress String
    Gets or sets the end IP address of the firewall rule range.
    ruleName String
    Gets or sets the name of the firewall rules.
    startIpAddress String
    Gets or sets the start IP address of the firewall rule range.
    endIpAddress string
    Gets or sets the end IP address of the firewall rule range.
    ruleName string
    Gets or sets the name of the firewall rules.
    startIpAddress string
    Gets or sets the start IP address of the firewall rule range.
    end_ip_address str
    Gets or sets the end IP address of the firewall rule range.
    rule_name str
    Gets or sets the name of the firewall rules.
    start_ip_address str
    Gets or sets the start IP address of the firewall rule range.
    endIpAddress String
    Gets or sets the end IP address of the firewall rule range.
    ruleName String
    Gets or sets the name of the firewall rules.
    startIpAddress String
    Gets or sets the start IP address of the firewall rule range.

    FirewallRuleResponse, FirewallRuleResponseArgs

    EndIpAddress string
    Gets or sets the end IP address of the firewall rule range.
    RuleName string
    Gets or sets the name of the firewall rules.
    StartIpAddress string
    Gets or sets the start IP address of the firewall rule range.
    EndIpAddress string
    Gets or sets the end IP address of the firewall rule range.
    RuleName string
    Gets or sets the name of the firewall rules.
    StartIpAddress string
    Gets or sets the start IP address of the firewall rule range.
    endIpAddress String
    Gets or sets the end IP address of the firewall rule range.
    ruleName String
    Gets or sets the name of the firewall rules.
    startIpAddress String
    Gets or sets the start IP address of the firewall rule range.
    endIpAddress string
    Gets or sets the end IP address of the firewall rule range.
    ruleName string
    Gets or sets the name of the firewall rules.
    startIpAddress string
    Gets or sets the start IP address of the firewall rule range.
    end_ip_address str
    Gets or sets the end IP address of the firewall rule range.
    rule_name str
    Gets or sets the name of the firewall rules.
    start_ip_address str
    Gets or sets the start IP address of the firewall rule range.
    endIpAddress String
    Gets or sets the end IP address of the firewall rule range.
    ruleName String
    Gets or sets the name of the firewall rules.
    startIpAddress String
    Gets or sets the start IP address of the firewall rule range.

    Sku, SkuArgs

    Name string
    Gets or sets Sku name
    Tier string
    Gets or sets Sku tier
    Name string
    Gets or sets Sku name
    Tier string
    Gets or sets Sku tier
    name String
    Gets or sets Sku name
    tier String
    Gets or sets Sku tier
    name string
    Gets or sets Sku name
    tier string
    Gets or sets Sku tier
    name str
    Gets or sets Sku name
    tier str
    Gets or sets Sku tier
    name String
    Gets or sets Sku name
    tier String
    Gets or sets Sku tier

    SkuResponse, SkuResponseArgs

    Name string
    Gets or sets Sku name
    Tier string
    Gets or sets Sku tier
    Name string
    Gets or sets Sku name
    Tier string
    Gets or sets Sku tier
    name String
    Gets or sets Sku name
    tier String
    Gets or sets Sku tier
    name string
    Gets or sets Sku name
    tier string
    Gets or sets Sku tier
    name str
    Gets or sets Sku name
    tier str
    Gets or sets Sku tier
    name String
    Gets or sets Sku name
    tier String
    Gets or sets Sku tier

    Import

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

    $ pulumi import azure-native:blockchain:BlockchainMember contosemember1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Blockchain/blockchainMembers/{blockchainMemberName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi