azure-native.network.StaticMember
Explore with Pulumi AI
StaticMember Item. API Version: 2022-02-01-preview.
Example Usage
StaticMemberPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var staticMember = new AzureNative.Network.StaticMember("staticMember", new()
{
NetworkGroupName = "testNetworkGroup",
NetworkManagerName = "testNetworkManager",
ResourceGroupName = "rg1",
ResourceId = "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1",
StaticMemberName = "testStaticMember",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewStaticMember(ctx, "staticMember", &network.StaticMemberArgs{
NetworkGroupName: pulumi.String("testNetworkGroup"),
NetworkManagerName: pulumi.String("testNetworkManager"),
ResourceGroupName: pulumi.String("rg1"),
ResourceId: pulumi.String("/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1"),
StaticMemberName: pulumi.String("testStaticMember"),
})
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.network.StaticMember;
import com.pulumi.azurenative.network.StaticMemberArgs;
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 staticMember = new StaticMember("staticMember", StaticMemberArgs.builder()
.networkGroupName("testNetworkGroup")
.networkManagerName("testNetworkManager")
.resourceGroupName("rg1")
.resourceId("/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1")
.staticMemberName("testStaticMember")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
static_member = azure_native.network.StaticMember("staticMember",
network_group_name="testNetworkGroup",
network_manager_name="testNetworkManager",
resource_group_name="rg1",
resource_id="/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1",
static_member_name="testStaticMember")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const staticMember = new azure_native.network.StaticMember("staticMember", {
networkGroupName: "testNetworkGroup",
networkManagerName: "testNetworkManager",
resourceGroupName: "rg1",
resourceId: "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1",
staticMemberName: "testStaticMember",
});
resources:
staticMember:
type: azure-native:network:StaticMember
properties:
networkGroupName: testNetworkGroup
networkManagerName: testNetworkManager
resourceGroupName: rg1
resourceId: /subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1
staticMemberName: testStaticMember
Create StaticMember Resource
new StaticMember(name: string, args: StaticMemberArgs, opts?: CustomResourceOptions);
@overload
def StaticMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_group_name: Optional[str] = None,
network_manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_id: Optional[str] = None,
static_member_name: Optional[str] = None)
@overload
def StaticMember(resource_name: str,
args: StaticMemberArgs,
opts: Optional[ResourceOptions] = None)
func NewStaticMember(ctx *Context, name string, args StaticMemberArgs, opts ...ResourceOption) (*StaticMember, error)
public StaticMember(string name, StaticMemberArgs args, CustomResourceOptions? opts = null)
public StaticMember(String name, StaticMemberArgs args)
public StaticMember(String name, StaticMemberArgs args, CustomResourceOptions options)
type: azure-native:network:StaticMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StaticMemberArgs
- 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 StaticMemberArgs
- 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 StaticMemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StaticMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StaticMemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
StaticMember 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 StaticMember resource accepts the following input properties:
- Network
Group stringName The name of the network group.
- Network
Manager stringName The name of the network manager.
- Resource
Group stringName The name of the resource group.
- Resource
Id string Resource Id.
- Static
Member stringName The name of the static member.
- Network
Group stringName The name of the network group.
- Network
Manager stringName The name of the network manager.
- Resource
Group stringName The name of the resource group.
- Resource
Id string Resource Id.
- Static
Member stringName The name of the static member.
- network
Group StringName The name of the network group.
- network
Manager StringName The name of the network manager.
- resource
Group StringName The name of the resource group.
- resource
Id String Resource Id.
- static
Member StringName The name of the static member.
- network
Group stringName The name of the network group.
- network
Manager stringName The name of the network manager.
- resource
Group stringName The name of the resource group.
- resource
Id string Resource Id.
- static
Member stringName The name of the static member.
- network_
group_ strname The name of the network group.
- network_
manager_ strname The name of the network manager.
- resource_
group_ strname The name of the resource group.
- resource_
id str Resource Id.
- static_
member_ strname The name of the static member.
- network
Group StringName The name of the network group.
- network
Manager StringName The name of the network manager.
- resource
Group StringName The name of the resource group.
- resource
Id String Resource Id.
- static
Member StringName The name of the static member.
Outputs
All input properties are implicitly available as output properties. Additionally, the StaticMember resource produces the following output properties:
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Resource name.
- System
Data Pulumi.Azure Native. Network. Outputs. System Data Response The system metadata related to this resource.
- Type string
Resource type.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Resource name.
- System
Data SystemData Response The system metadata related to this resource.
- Type string
Resource type.
- etag String
A unique read-only string that changes whenever the resource is updated.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Resource name.
- system
Data SystemData Response The system metadata related to this resource.
- type String
Resource type.
- etag string
A unique read-only string that changes whenever the resource is updated.
- id string
The provider-assigned unique ID for this managed resource.
- name string
Resource name.
- system
Data SystemData Response The system metadata related to this resource.
- type string
Resource type.
- etag str
A unique read-only string that changes whenever the resource is updated.
- id str
The provider-assigned unique ID for this managed resource.
- name str
Resource name.
- system_
data SystemData Response The system metadata related to this resource.
- type str
Resource type.
- etag String
A unique read-only string that changes whenever the resource is updated.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Resource name.
- system
Data Property Map The system metadata related to this resource.
- type String
Resource type.
Supporting Types
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The type of identity that last modified the resource.
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The type of identity that last modified the resource.
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The type of identity that last modified the resource.
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The type of identity that last modified the resource.
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The type of identity that last modified the resource.
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The type of identity that last modified the resource.
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:StaticMember testStaticMember /subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0