ShareNetwork
Create a ShareNetwork Resource
new ShareNetwork(name: string, args: ShareNetworkArgs, opts?: CustomResourceOptions);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)public ShareNetwork(string name, ShareNetworkArgs args, CustomResourceOptions? opts = null)- 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:
- Neutron
Net stringId 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 stringId 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
regionargument of the provider is used. Changing this creates a new share network.- Security
Service List<string>Ids 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 stringId 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 stringId 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
regionargument of the provider is used. Changing this creates a new share network.- Security
Service []stringIds 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 stringId 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 stringId 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
regionargument of the provider is used. Changing this creates a new share network.- security
Service string[]Ids 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_ strid 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_ strid 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
regionargument of the provider is used. Changing this creates a new share network.- security_
service_ List[str]ids 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.
- Ip
Version int The IP version of the share network. Can either be 4 or 6.
- Network
Type string The share network type. Can either be VLAN, VXLAN, GRE, or flat.
- Project
Id string The owner of the Share Network.
- Segmentation
Id int The share network segmentation ID.
- Cidr string
The share network CIDR.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Version int The IP version of the share network. Can either be 4 or 6.
- Network
Type string The share network type. Can either be VLAN, VXLAN, GRE, or flat.
- Project
Id string The owner of the Share Network.
- Segmentation
Id int The share network segmentation ID.
- cidr string
The share network CIDR.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Version number The IP version of the share network. Can either be 4 or 6.
- network
Type string The share network type. Can either be VLAN, VXLAN, GRE, or flat.
- project
Id string The owner of the Share Network.
- segmentation
Id 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): ShareNetworkstatic 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.
- Ip
Version 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.
- Network
Type string The share network type. Can either be VLAN, VXLAN, GRE, or flat.
- Neutron
Net stringId 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 stringId 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 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
regionargument of the provider is used. Changing this creates a new share network.- Security
Service List<string>Ids 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 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.
- Ip
Version 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.
- Network
Type string The share network type. Can either be VLAN, VXLAN, GRE, or flat.
- Neutron
Net stringId 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 stringId 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 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
regionargument of the provider is used. Changing this creates a new share network.- Security
Service []stringIds 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 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.
- ip
Version 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.
- network
Type string The share network type. Can either be VLAN, VXLAN, GRE, or flat.
- neutron
Net stringId 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 stringId 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 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
regionargument of the provider is used. Changing this creates a new share network.- security
Service string[]Ids 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 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_ strid 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_ strid 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
regionargument of the provider is used. Changing this creates a new share network.- security_
service_ List[str]ids 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
openstackTerraform Provider.