azure-native.blockchain.TransactionNode
Explore with Pulumi AI
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
The TransactionNode resource accepts the following input properties:
- Blockchain
Member stringName - Blockchain member name.
- Resource
Group stringName - 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 List<Pulumi.Azure Native. Blockchain. Inputs. Firewall Rule> - 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.
- Transaction
Node stringName - Transaction node name.
- Blockchain
Member stringName - Blockchain member name.
- Resource
Group stringName - 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 []FirewallRule Args - 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.
- Transaction
Node stringName - Transaction node name.
- blockchain
Member StringName - Blockchain member name.
- resource
Group StringName - 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 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.
- transaction
Node StringName - Transaction node name.
- blockchain
Member stringName - Blockchain member name.
- resource
Group stringName - 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 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.
- transaction
Node stringName - Transaction node name.
- blockchain_
member_ strname - Blockchain member name.
- resource_
group_ strname - 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[FirewallRule Args] - 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_ strname - Transaction node name.
- blockchain
Member StringName - Blockchain member name.
- resource
Group StringName - 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 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.
- transaction
Node StringName - 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.
- Provisioning
State string - Gets or sets the blockchain member provision state.
- Public
Key string - Gets or sets the transaction node public key.
- Type string
- The type of the service - e.g. "Microsoft.Blockchain"
- User
Name 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.
- Provisioning
State string - Gets or sets the blockchain member provision state.
- Public
Key string - Gets or sets the transaction node public key.
- Type string
- The type of the service - e.g. "Microsoft.Blockchain"
- User
Name 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.
- provisioning
State String - Gets or sets the blockchain member provision state.
- public
Key String - Gets or sets the transaction node public key.
- type String
- The type of the service - e.g. "Microsoft.Blockchain"
- user
Name 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.
- provisioning
State string - Gets or sets the blockchain member provision state.
- public
Key string - Gets or sets the transaction node public key.
- type string
- The type of the service - e.g. "Microsoft.Blockchain"
- user
Name 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.
- provisioning
State String - Gets or sets the blockchain member provision state.
- public
Key String - Gets or sets the transaction node public key.
- type String
- The type of the service - e.g. "Microsoft.Blockchain"
- user
Name String - Gets or sets the transaction node dns endpoint basic auth user name.
Supporting Types
FirewallRule, FirewallRuleArgs
- End
Ip stringAddress - Gets or sets the end IP address of the firewall rule range.
- Rule
Name string - Gets or sets the name of the firewall rules.
- Start
Ip stringAddress - Gets or sets the start IP address of the firewall rule range.
- End
Ip stringAddress - Gets or sets the end IP address of the firewall rule range.
- Rule
Name string - Gets or sets the name of the firewall rules.
- Start
Ip stringAddress - Gets or sets the start IP address of the firewall rule range.
- end
Ip StringAddress - Gets or sets the end IP address of the firewall rule range.
- rule
Name String - Gets or sets the name of the firewall rules.
- start
Ip StringAddress - Gets or sets the start IP address of the firewall rule range.
- end
Ip stringAddress - Gets or sets the end IP address of the firewall rule range.
- rule
Name string - Gets or sets the name of the firewall rules.
- start
Ip stringAddress - Gets or sets the start IP address of the firewall rule range.
- end_
ip_ straddress - 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_ straddress - Gets or sets the start IP address of the firewall rule range.
- end
Ip StringAddress - Gets or sets the end IP address of the firewall rule range.
- rule
Name String - Gets or sets the name of the firewall rules.
- start
Ip StringAddress - Gets or sets the start IP address of the firewall rule range.
FirewallRuleResponse, FirewallRuleResponseArgs
- End
Ip stringAddress - Gets or sets the end IP address of the firewall rule range.
- Rule
Name string - Gets or sets the name of the firewall rules.
- Start
Ip stringAddress - Gets or sets the start IP address of the firewall rule range.
- End
Ip stringAddress - Gets or sets the end IP address of the firewall rule range.
- Rule
Name string - Gets or sets the name of the firewall rules.
- Start
Ip stringAddress - Gets or sets the start IP address of the firewall rule range.
- end
Ip StringAddress - Gets or sets the end IP address of the firewall rule range.
- rule
Name String - Gets or sets the name of the firewall rules.
- start
Ip StringAddress - Gets or sets the start IP address of the firewall rule range.
- end
Ip stringAddress - Gets or sets the end IP address of the firewall rule range.
- rule
Name string - Gets or sets the name of the firewall rules.
- start
Ip stringAddress - Gets or sets the start IP address of the firewall rule range.
- end_
ip_ straddress - 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_ straddress - Gets or sets the start IP address of the firewall rule range.
- end
Ip StringAddress - Gets or sets the end IP address of the firewall rule range.
- rule
Name String - Gets or sets the name of the firewall rules.
- start
Ip StringAddress - 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