Show / Hide Table of Contents

Class ShareNetwork

Inheritance
System.Object
Resource
CustomResource
ShareNetwork
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.SharedFileSystem
Assembly: Pulumi.OpenStack.dll
Syntax
public class ShareNetwork : CustomResource

Constructors

View Source

ShareNetwork(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 Source

Cidr

The share network CIDR.

Declaration
public Output<string> Cidr { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

ProjectId

The owner of the Share Network.

Declaration
public Output<string> ProjectId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>>
View Source

SegmentationId

The share network segmentation ID.

Declaration
public Output<int> SegmentationId { get; }
Property Value
Type Description
Output<System.Int32>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.