Package com.pulumi.azurenative.network
Class StaticMember
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.azurenative.network.StaticMember
-
public class StaticMember extends com.pulumi.resources.CustomResource
StaticMember Item. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-02-01-preview. Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01. ## Example Usage ### StaticMemberPut ```java 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/00000000-0000-0000-0000-000000000000/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1") .staticMemberName("testStaticMember") .build()); } } ``` ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:network:StaticMember testStaticMember /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName} ```
-
-
Constructor Summary
Constructors Constructor Description StaticMember(java.lang.String name)
StaticMember(java.lang.String name, StaticMemberArgs args)
StaticMember(java.lang.String name, StaticMemberArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
etag()
static StaticMember
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
provisioningState()
com.pulumi.core.Output<java.lang.String>
region()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
resourceId()
com.pulumi.core.Output<SystemDataResponse>
systemData()
com.pulumi.core.Output<java.lang.String>
type()
-
-
-
Constructor Detail
-
StaticMember
public StaticMember(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
StaticMember
public StaticMember(java.lang.String name, StaticMemberArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
StaticMember
public StaticMember(java.lang.String name, StaticMemberArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
etag
public com.pulumi.core.Output<java.lang.String> etag()
- Returns:
- A unique read-only string that changes whenever the resource is updated.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Resource name.
-
provisioningState
public com.pulumi.core.Output<java.lang.String> provisioningState()
- Returns:
- The provisioning state of the scope assignment resource.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Resource region.
-
resourceId
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> resourceId()
- Returns:
- Resource Id.
-
systemData
public com.pulumi.core.Output<SystemDataResponse> systemData()
- Returns:
- The system metadata related to this resource.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- Resource type.
-
get
public static StaticMember get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.options
- Optional settings to control the behavior of the CustomResource.
-
-