1. Packages
  2. Azure Native v1
  3. API Docs
  4. blockchain
  5. TransactionNode
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.blockchain.TransactionNode

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Payload of the transaction node which is the request/response of the resource provider. API Version: 2018-06-01-preview.

    Example Usage

    TransactionNodes_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var transactionNode = new AzureNative.Blockchain.TransactionNode("transactionNode", new()
        {
            BlockchainMemberName = "contosemember1",
            Location = "southeastasia",
            Password = "<password>",
            ResourceGroupName = "mygroup",
            TransactionNodeName = "txnode2",
        });
    
    });
    
    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.NewTransactionNode(ctx, "transactionNode", &blockchain.TransactionNodeArgs{
    			BlockchainMemberName: pulumi.String("contosemember1"),
    			Location:             pulumi.String("southeastasia"),
    			Password:             pulumi.String("<password>"),
    			ResourceGroupName:    pulumi.String("mygroup"),
    			TransactionNodeName:  pulumi.String("txnode2"),
    		})
    		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.TransactionNode;
    import com.pulumi.azurenative.blockchain.TransactionNodeArgs;
    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 transactionNode = new TransactionNode("transactionNode", TransactionNodeArgs.builder()        
                .blockchainMemberName("contosemember1")
                .location("southeastasia")
                .password("<password>")
                .resourceGroupName("mygroup")
                .transactionNodeName("txnode2")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    transaction_node = azure_native.blockchain.TransactionNode("transactionNode",
        blockchain_member_name="contosemember1",
        location="southeastasia",
        password="<password>",
        resource_group_name="mygroup",
        transaction_node_name="txnode2")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const transactionNode = new azure_native.blockchain.TransactionNode("transactionNode", {
        blockchainMemberName: "contosemember1",
        location: "southeastasia",
        password: "<password>",
        resourceGroupName: "mygroup",
        transactionNodeName: "txnode2",
    });
    
    resources:
      transactionNode:
        type: azure-native:blockchain:TransactionNode
        properties:
          blockchainMemberName: contosemember1
          location: southeastasia
          password: <password>
          resourceGroupName: mygroup
          transactionNodeName: txnode2
    

    Create TransactionNode Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TransactionNode(name: string, args: TransactionNodeArgs, opts?: CustomResourceOptions);
    @overload
    def TransactionNode(resource_name: str,
                        args: TransactionNodeArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransactionNode(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        blockchain_member_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        firewall_rules: Optional[Sequence[FirewallRuleArgs]] = None,
                        location: Optional[str] = None,
                        password: Optional[str] = None,
                        transaction_node_name: Optional[str] = None)
    func NewTransactionNode(ctx *Context, name string, args TransactionNodeArgs, opts ...ResourceOption) (*TransactionNode, error)
    public TransactionNode(string name, TransactionNodeArgs args, CustomResourceOptions? opts = null)
    public TransactionNode(String name, TransactionNodeArgs args)
    public TransactionNode(String name, TransactionNodeArgs args, CustomResourceOptions options)
    
    type: azure-native:blockchain:TransactionNode
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TransactionNodeArgs
    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 TransactionNodeArgs
    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 TransactionNodeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransactionNodeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransactionNodeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var transactionNodeResource = new AzureNative.Blockchain.TransactionNode("transactionNodeResource", new()
    {
        BlockchainMemberName = "string",
        ResourceGroupName = "string",
        FirewallRules = new[]
        {
            
            {
                { "endIpAddress", "string" },
                { "ruleName", "string" },
                { "startIpAddress", "string" },
            },
        },
        Location = "string",
        Password = "string",
        TransactionNodeName = "string",
    });
    
    example, err := blockchain.NewTransactionNode(ctx, "transactionNodeResource", &blockchain.TransactionNodeArgs{
    	BlockchainMemberName: "string",
    	ResourceGroupName:    "string",
    	FirewallRules: []map[string]interface{}{
    		map[string]interface{}{
    			"endIpAddress":   "string",
    			"ruleName":       "string",
    			"startIpAddress": "string",
    		},
    	},
    	Location:            "string",
    	Password:            "string",
    	TransactionNodeName: "string",
    })
    
    var transactionNodeResource = new TransactionNode("transactionNodeResource", TransactionNodeArgs.builder()
        .blockchainMemberName("string")
        .resourceGroupName("string")
        .firewallRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .location("string")
        .password("string")
        .transactionNodeName("string")
        .build());
    
    transaction_node_resource = azure_native.blockchain.TransactionNode("transactionNodeResource",
        blockchain_member_name=string,
        resource_group_name=string,
        firewall_rules=[{
            endIpAddress: string,
            ruleName: string,
            startIpAddress: string,
        }],
        location=string,
        password=string,
        transaction_node_name=string)
    
    const transactionNodeResource = new azure_native.blockchain.TransactionNode("transactionNodeResource", {
        blockchainMemberName: "string",
        resourceGroupName: "string",
        firewallRules: [{
            endIpAddress: "string",
            ruleName: "string",
            startIpAddress: "string",
        }],
        location: "string",
        password: "string",
        transactionNodeName: "string",
    });
    
    type: azure-native:blockchain:TransactionNode
    properties:
        blockchainMemberName: string
        firewallRules:
            - endIpAddress: string
              ruleName: string
              startIpAddress: string
        location: string
        password: string
        resourceGroupName: string
        transactionNodeName: string
    

    TransactionNode Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TransactionNode resource accepts the following input properties:

    BlockchainMemberName string
    Blockchain member name.
    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.
    FirewallRules List<Pulumi.AzureNative.Blockchain.Inputs.FirewallRule>
    Gets or sets the firewall rules.
    Location string
    Gets or sets the transaction node location.
    Password string
    Sets the transaction node dns endpoint basic auth password.
    TransactionNodeName string
    Transaction node name.
    BlockchainMemberName string
    Blockchain member name.
    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.
    FirewallRules []FirewallRuleArgs
    Gets or sets the firewall rules.
    Location string
    Gets or sets the transaction node location.
    Password string
    Sets the transaction node dns endpoint basic auth password.
    TransactionNodeName string
    Transaction node name.
    blockchainMemberName String
    Blockchain member name.
    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.
    firewallRules List<FirewallRule>
    Gets or sets the firewall rules.
    location String
    Gets or sets the transaction node location.
    password String
    Sets the transaction node dns endpoint basic auth password.
    transactionNodeName String
    Transaction node name.
    blockchainMemberName string
    Blockchain member name.
    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.
    firewallRules FirewallRule[]
    Gets or sets the firewall rules.
    location string
    Gets or sets the transaction node location.
    password string
    Sets the transaction node dns endpoint basic auth password.
    transactionNodeName string
    Transaction node name.
    blockchain_member_name str
    Blockchain member name.
    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.
    firewall_rules Sequence[FirewallRuleArgs]
    Gets or sets the firewall rules.
    location str
    Gets or sets the transaction node location.
    password str
    Sets the transaction node dns endpoint basic auth password.
    transaction_node_name str
    Transaction node name.
    blockchainMemberName String
    Blockchain member name.
    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.
    firewallRules List<Property Map>
    Gets or sets the firewall rules.
    location String
    Gets or sets the transaction node location.
    password String
    Sets the transaction node dns endpoint basic auth password.
    transactionNodeName String
    Transaction node name.

    Outputs

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

    Dns string
    Gets or sets the transaction node dns endpoint.
    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 or sets the transaction node public key.
    Type string
    The type of the service - e.g. "Microsoft.Blockchain"
    UserName string
    Gets or sets the transaction node dns endpoint basic auth user name.
    Dns string
    Gets or sets the transaction node dns endpoint.
    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 or sets the transaction node public key.
    Type string
    The type of the service - e.g. "Microsoft.Blockchain"
    UserName string
    Gets or sets the transaction node dns endpoint basic auth user name.
    dns String
    Gets or sets the transaction node dns endpoint.
    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 or sets the transaction node public key.
    type String
    The type of the service - e.g. "Microsoft.Blockchain"
    userName String
    Gets or sets the transaction node dns endpoint basic auth user name.
    dns string
    Gets or sets the transaction node dns endpoint.
    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 or sets the transaction node public key.
    type string
    The type of the service - e.g. "Microsoft.Blockchain"
    userName string
    Gets or sets the transaction node dns endpoint basic auth user name.
    dns str
    Gets or sets the transaction node dns endpoint.
    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 or sets the transaction node public key.
    type str
    The type of the service - e.g. "Microsoft.Blockchain"
    user_name str
    Gets or sets the transaction node dns endpoint basic auth user name.
    dns String
    Gets or sets the transaction node dns endpoint.
    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 or sets the transaction node public key.
    type String
    The type of the service - e.g. "Microsoft.Blockchain"
    userName String
    Gets or sets the transaction node dns endpoint basic auth user name.

    Supporting Types

    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.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi