Class ShareNetwork
Inherited Members
Namespace: Pulumi.OpenStack.SharedFileSystem
Assembly: Pulumi.OpenStack.dll
Syntax
public class ShareNetwork : CustomResource
Constructors
View SourceShareNetwork(String, ShareNetworkArgs, CustomResourceOptions)
Create a ShareNetwork resource with the given unique name, arguments, and options.
Declaration
public ShareNetwork(string name, ShareNetworkArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ShareNetworkArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCidr
The share network CIDR.
Declaration
public Output<string> Cidr { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
The human-readable description for the share network. Changing this updates the description of the existing share network.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IpVersion
The IP version of the share network. Can either be 4 or 6.
Declaration
public Output<int> IpVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Name
The name for the share network. Changing this updates the name of the existing share network.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkType
The share network type. Can either be VLAN, VXLAN, GRE, or flat.
Declaration
public Output<string> NetworkType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NeutronNetId
The UUID of a neutron network when setting up or updating a share network. Changing this updates the existing share network if it's not used by shares.
Declaration
public Output<string> NeutronNetId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NeutronSubnetId
The UUID of the neutron subnet when setting up or updating a share network. Changing this updates the existing share network if it's not used by shares.
Declaration
public Output<string> NeutronSubnetId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProjectId
The owner of the Share Network.
Declaration
public Output<string> ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region in which to obtain the V2 Shared File System client.
A Shared File System client is needed to create a share network. If omitted, the
region argument of the provider is used. Changing this creates a new
share network.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecurityServiceIds
The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.
Declaration
public Output<ImmutableArray<string>> SecurityServiceIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
SegmentationId
The share network segmentation ID.
Declaration
public Output<int> SegmentationId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, ShareNetworkState, CustomResourceOptions)
Get an existing ShareNetwork resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ShareNetwork Get(string name, Input<string> id, ShareNetworkState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ShareNetworkState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ShareNetwork |