ShareNetwork

Create a ShareNetwork Resource

def ShareNetwork(resource_name, opts=None, description=None, name=None, neutron_net_id=None, neutron_subnet_id=None, region=None, security_service_ids=None, __props__=None);
func NewShareNetwork(ctx *Context, name string, args ShareNetworkArgs, opts ...ResourceOption) (*ShareNetwork, error)
name string
The unique name of the resource.
args ShareNetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ShareNetworkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ShareNetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ShareNetwork Resource Properties

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

Inputs

The ShareNetwork resource accepts the following input properties:

NeutronNetId string

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.

NeutronSubnetId string

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.

Description string

The human-readable description for the share network. Changing this updates the description of the existing share network.

Name string

The name for the share network. Changing this updates the name of the existing share network.

Region string

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.

SecurityServiceIds List<string>

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

NeutronNetId string

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.

NeutronSubnetId string

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.

Description string

The human-readable description for the share network. Changing this updates the description of the existing share network.

Name string

The name for the share network. Changing this updates the name of the existing share network.

Region string

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.

SecurityServiceIds []string

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

neutronNetId string

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.

neutronSubnetId string

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.

description string

The human-readable description for the share network. Changing this updates the description of the existing share network.

name string

The name for the share network. Changing this updates the name of the existing share network.

region string

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.

securityServiceIds string[]

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

neutron_net_id str

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.

neutron_subnet_id str

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.

description str

The human-readable description for the share network. Changing this updates the description of the existing share network.

name str

The name for the share network. Changing this updates the name of the existing share network.

region str

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.

security_service_ids List[str]

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

Outputs

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

Cidr string

The share network CIDR.

Id string
The provider-assigned unique ID for this managed resource.
IpVersion int

The IP version of the share network. Can either be 4 or 6.

NetworkType string

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

ProjectId string

The owner of the Share Network.

SegmentationId int

The share network segmentation ID.

Cidr string

The share network CIDR.

Id string
The provider-assigned unique ID for this managed resource.
IpVersion int

The IP version of the share network. Can either be 4 or 6.

NetworkType string

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

ProjectId string

The owner of the Share Network.

SegmentationId int

The share network segmentation ID.

cidr string

The share network CIDR.

id string
The provider-assigned unique ID for this managed resource.
ipVersion number

The IP version of the share network. Can either be 4 or 6.

networkType string

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

projectId string

The owner of the Share Network.

segmentationId number

The share network segmentation ID.

cidr str

The share network CIDR.

id str
The provider-assigned unique ID for this managed resource.
ip_version float

The IP version of the share network. Can either be 4 or 6.

network_type str

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

project_id str

The owner of the Share Network.

segmentation_id float

The share network segmentation ID.

Look up an Existing ShareNetwork Resource

Get an existing ShareNetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ShareNetworkState, opts?: CustomResourceOptions): ShareNetwork
static get(resource_name, id, opts=None, cidr=None, description=None, ip_version=None, name=None, network_type=None, neutron_net_id=None, neutron_subnet_id=None, project_id=None, region=None, security_service_ids=None, segmentation_id=None, __props__=None);
func GetShareNetwork(ctx *Context, name string, id IDInput, state *ShareNetworkState, opts ...ResourceOption) (*ShareNetwork, error)
public static ShareNetwork Get(string name, Input<string> id, ShareNetworkState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Cidr string

The share network CIDR.

Description string

The human-readable description for the share network. Changing this updates the description of the existing share network.

IpVersion int

The IP version of the share network. Can either be 4 or 6.

Name string

The name for the share network. Changing this updates the name of the existing share network.

NetworkType string

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

NeutronNetId string

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.

NeutronSubnetId string

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.

ProjectId string

The owner of the Share Network.

Region string

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.

SecurityServiceIds List<string>

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

SegmentationId int

The share network segmentation ID.

Cidr string

The share network CIDR.

Description string

The human-readable description for the share network. Changing this updates the description of the existing share network.

IpVersion int

The IP version of the share network. Can either be 4 or 6.

Name string

The name for the share network. Changing this updates the name of the existing share network.

NetworkType string

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

NeutronNetId string

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.

NeutronSubnetId string

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.

ProjectId string

The owner of the Share Network.

Region string

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.

SecurityServiceIds []string

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

SegmentationId int

The share network segmentation ID.

cidr string

The share network CIDR.

description string

The human-readable description for the share network. Changing this updates the description of the existing share network.

ipVersion number

The IP version of the share network. Can either be 4 or 6.

name string

The name for the share network. Changing this updates the name of the existing share network.

networkType string

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

neutronNetId string

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.

neutronSubnetId string

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.

projectId string

The owner of the Share Network.

region string

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.

securityServiceIds string[]

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

segmentationId number

The share network segmentation ID.

cidr str

The share network CIDR.

description str

The human-readable description for the share network. Changing this updates the description of the existing share network.

ip_version float

The IP version of the share network. Can either be 4 or 6.

name str

The name for the share network. Changing this updates the name of the existing share network.

network_type str

The share network type. Can either be VLAN, VXLAN, GRE, or flat.

neutron_net_id str

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.

neutron_subnet_id str

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.

project_id str

The owner of the Share Network.

region str

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.

security_service_ids List[str]

The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.

segmentation_id float

The share network segmentation ID.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.