sharedfilesystem

package
v3.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAvailbilityZonesArgs

type GetAvailbilityZonesArgs struct {
	// The region in which to obtain the V2 Shared File System
	// client. If omitted, the `region` argument of the provider is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getAvailbilityZones.

type GetAvailbilityZonesOutputArgs added in v3.5.0

type GetAvailbilityZonesOutputArgs struct {
	// The region in which to obtain the V2 Shared File System
	// client. If omitted, the `region` argument of the provider is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getAvailbilityZones.

func (GetAvailbilityZonesOutputArgs) ElementType added in v3.5.0

type GetAvailbilityZonesResult

type GetAvailbilityZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The names of the availability zones, ordered alphanumerically.
	Names []string `pulumi:"names"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
}

A collection of values returned by getAvailbilityZones.

func GetAvailbilityZones

func GetAvailbilityZones(ctx *pulumi.Context, args *GetAvailbilityZonesArgs, opts ...pulumi.InvokeOption) (*GetAvailbilityZonesResult, error)

Use this data source to get a list of Shared File System availability zones from OpenStack

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sharedfilesystem.GetAvailbilityZones(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetAvailbilityZonesResultOutput added in v3.5.0

type GetAvailbilityZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAvailbilityZones.

func GetAvailbilityZonesOutput added in v3.5.0

func (GetAvailbilityZonesResultOutput) ElementType added in v3.5.0

func (GetAvailbilityZonesResultOutput) Id added in v3.5.0

The provider-assigned unique ID for this managed resource.

func (GetAvailbilityZonesResultOutput) Names added in v3.5.0

The names of the availability zones, ordered alphanumerically.

func (GetAvailbilityZonesResultOutput) Region added in v3.5.0

See Argument Reference above.

func (GetAvailbilityZonesResultOutput) ToGetAvailbilityZonesResultOutput added in v3.5.0

func (o GetAvailbilityZonesResultOutput) ToGetAvailbilityZonesResultOutput() GetAvailbilityZonesResultOutput

func (GetAvailbilityZonesResultOutput) ToGetAvailbilityZonesResultOutputWithContext added in v3.5.0

func (o GetAvailbilityZonesResultOutput) ToGetAvailbilityZonesResultOutputWithContext(ctx context.Context) GetAvailbilityZonesResultOutput

type GetShareExportLocation

type GetShareExportLocation struct {
	Path      string `pulumi:"path"`
	Preferred string `pulumi:"preferred"`
}

type GetShareExportLocationArgs

type GetShareExportLocationArgs struct {
	Path      pulumi.StringInput `pulumi:"path"`
	Preferred pulumi.StringInput `pulumi:"preferred"`
}

func (GetShareExportLocationArgs) ElementType

func (GetShareExportLocationArgs) ElementType() reflect.Type

func (GetShareExportLocationArgs) ToGetShareExportLocationOutput

func (i GetShareExportLocationArgs) ToGetShareExportLocationOutput() GetShareExportLocationOutput

func (GetShareExportLocationArgs) ToGetShareExportLocationOutputWithContext

func (i GetShareExportLocationArgs) ToGetShareExportLocationOutputWithContext(ctx context.Context) GetShareExportLocationOutput

type GetShareExportLocationArray

type GetShareExportLocationArray []GetShareExportLocationInput

func (GetShareExportLocationArray) ElementType

func (GetShareExportLocationArray) ToGetShareExportLocationArrayOutput

func (i GetShareExportLocationArray) ToGetShareExportLocationArrayOutput() GetShareExportLocationArrayOutput

func (GetShareExportLocationArray) ToGetShareExportLocationArrayOutputWithContext

func (i GetShareExportLocationArray) ToGetShareExportLocationArrayOutputWithContext(ctx context.Context) GetShareExportLocationArrayOutput

type GetShareExportLocationArrayInput

type GetShareExportLocationArrayInput interface {
	pulumi.Input

	ToGetShareExportLocationArrayOutput() GetShareExportLocationArrayOutput
	ToGetShareExportLocationArrayOutputWithContext(context.Context) GetShareExportLocationArrayOutput
}

GetShareExportLocationArrayInput is an input type that accepts GetShareExportLocationArray and GetShareExportLocationArrayOutput values. You can construct a concrete instance of `GetShareExportLocationArrayInput` via:

GetShareExportLocationArray{ GetShareExportLocationArgs{...} }

type GetShareExportLocationArrayOutput

type GetShareExportLocationArrayOutput struct{ *pulumi.OutputState }

func (GetShareExportLocationArrayOutput) ElementType

func (GetShareExportLocationArrayOutput) Index

func (GetShareExportLocationArrayOutput) ToGetShareExportLocationArrayOutput

func (o GetShareExportLocationArrayOutput) ToGetShareExportLocationArrayOutput() GetShareExportLocationArrayOutput

func (GetShareExportLocationArrayOutput) ToGetShareExportLocationArrayOutputWithContext

func (o GetShareExportLocationArrayOutput) ToGetShareExportLocationArrayOutputWithContext(ctx context.Context) GetShareExportLocationArrayOutput

type GetShareExportLocationInput

type GetShareExportLocationInput interface {
	pulumi.Input

	ToGetShareExportLocationOutput() GetShareExportLocationOutput
	ToGetShareExportLocationOutputWithContext(context.Context) GetShareExportLocationOutput
}

GetShareExportLocationInput is an input type that accepts GetShareExportLocationArgs and GetShareExportLocationOutput values. You can construct a concrete instance of `GetShareExportLocationInput` via:

GetShareExportLocationArgs{...}

type GetShareExportLocationOutput

type GetShareExportLocationOutput struct{ *pulumi.OutputState }

func (GetShareExportLocationOutput) ElementType

func (GetShareExportLocationOutput) Path

func (GetShareExportLocationOutput) Preferred

func (GetShareExportLocationOutput) ToGetShareExportLocationOutput

func (o GetShareExportLocationOutput) ToGetShareExportLocationOutput() GetShareExportLocationOutput

func (GetShareExportLocationOutput) ToGetShareExportLocationOutputWithContext

func (o GetShareExportLocationOutput) ToGetShareExportLocationOutputWithContext(ctx context.Context) GetShareExportLocationOutput

type GetSnapshotArgs

type GetSnapshotArgs struct {
	// The human-readable description of the snapshot.
	Description *string `pulumi:"description"`
	// The name of the snapshot.
	Name *string `pulumi:"name"`
	// The region in which to obtain the V2 Shared File System client.
	Region *string `pulumi:"region"`
	// The UUID of the source share that was used to create the snapshot.
	ShareId *string `pulumi:"shareId"`
	// A snapshot status filter. A valid value is `available`, `error`,
	// `creating`, `deleting`, `manageStarting`, `manageError`, `unmanageStarting`,
	// `unmanageError` or `errorDeleting`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getSnapshot.

type GetSnapshotOutputArgs added in v3.5.0

type GetSnapshotOutputArgs struct {
	// The human-readable description of the snapshot.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of the snapshot.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region in which to obtain the V2 Shared File System client.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The UUID of the source share that was used to create the snapshot.
	ShareId pulumi.StringPtrInput `pulumi:"shareId"`
	// A snapshot status filter. A valid value is `available`, `error`,
	// `creating`, `deleting`, `manageStarting`, `manageError`, `unmanageStarting`,
	// `unmanageError` or `errorDeleting`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getSnapshot.

func (GetSnapshotOutputArgs) ElementType added in v3.5.0

func (GetSnapshotOutputArgs) ElementType() reflect.Type

type GetSnapshotResult

type GetSnapshotResult struct {
	// See Argument Reference above.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	Name string `pulumi:"name"`
	// See Argument Reference above.
	ProjectId string `pulumi:"projectId"`
	Region    string `pulumi:"region"`
	// The UUID of the source share that was used to create the snapshot.
	ShareId string `pulumi:"shareId"`
	// The file system protocol of a share snapshot.
	ShareProto string `pulumi:"shareProto"`
	// The share snapshot size, in GBs.
	ShareSize int `pulumi:"shareSize"`
	// The snapshot size, in GBs.
	Size int `pulumi:"size"`
	// See Argument Reference above.
	Status string `pulumi:"status"`
}

A collection of values returned by getSnapshot.

func GetSnapshot

func GetSnapshot(ctx *pulumi.Context, args *GetSnapshotArgs, opts ...pulumi.InvokeOption) (*GetSnapshotResult, error)

Use this data source to get the ID of an available Shared File System snapshot.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sharedfilesystem.GetSnapshot(ctx, &sharedfilesystem.GetSnapshotArgs{
			Name: pulumi.StringRef("snapshot_1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetSnapshotResultOutput added in v3.5.0

type GetSnapshotResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSnapshot.

func GetSnapshotOutput added in v3.5.0

func GetSnapshotOutput(ctx *pulumi.Context, args GetSnapshotOutputArgs, opts ...pulumi.InvokeOption) GetSnapshotResultOutput

func (GetSnapshotResultOutput) Description added in v3.5.0

See Argument Reference above.

func (GetSnapshotResultOutput) ElementType added in v3.5.0

func (GetSnapshotResultOutput) ElementType() reflect.Type

func (GetSnapshotResultOutput) Id added in v3.5.0

The provider-assigned unique ID for this managed resource.

func (GetSnapshotResultOutput) Name added in v3.5.0

See Argument Reference above.

func (GetSnapshotResultOutput) ProjectId added in v3.5.0

See Argument Reference above.

func (GetSnapshotResultOutput) Region added in v3.5.0

func (GetSnapshotResultOutput) ShareId added in v3.5.0

The UUID of the source share that was used to create the snapshot.

func (GetSnapshotResultOutput) ShareProto added in v3.5.0

The file system protocol of a share snapshot.

func (GetSnapshotResultOutput) ShareSize added in v3.5.0

The share snapshot size, in GBs.

func (GetSnapshotResultOutput) Size added in v3.5.0

The snapshot size, in GBs.

func (GetSnapshotResultOutput) Status added in v3.5.0

See Argument Reference above.

func (GetSnapshotResultOutput) ToGetSnapshotResultOutput added in v3.5.0

func (o GetSnapshotResultOutput) ToGetSnapshotResultOutput() GetSnapshotResultOutput

func (GetSnapshotResultOutput) ToGetSnapshotResultOutputWithContext added in v3.5.0

func (o GetSnapshotResultOutput) ToGetSnapshotResultOutputWithContext(ctx context.Context) GetSnapshotResultOutput

type LookupShareArgs

type LookupShareArgs struct {
	// The human-readable description for the share.
	Description *string `pulumi:"description"`
	// The export location path of the share. Available
	// since Manila API version 2.35.
	ExportLocationPath *string `pulumi:"exportLocationPath"`
	// The level of visibility for the share.
	// length.
	IsPublic *bool `pulumi:"isPublic"`
	// One or more metadata key and value pairs as a dictionary of
	// strings.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// The name of the share.
	Name *string `pulumi:"name"`
	// The region in which to obtain the V2 Shared File System client.
	Region *string `pulumi:"region"`
	// The UUID of the share's share network.
	ShareNetworkId *string `pulumi:"shareNetworkId"`
	// The UUID of the share's base snapshot.
	SnapshotId *string `pulumi:"snapshotId"`
	// A share status filter. A valid value is `creating`,
	// `error`, `available`, `deleting`, `errorDeleting`, `manageStarting`,
	// `manageError`, `unmanageStarting`, `unmanageError`, `unmanaged`,
	// `extending`, `extendingError`, `shrinking`, `shrinkingError`, or
	// `shrinkingPossibleDataLossError`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getShare.

type LookupShareNetworkArgs

type LookupShareNetworkArgs struct {
	// The human-readable description of the share network.
	Description *string `pulumi:"description"`
	// The IP version of the share network. Can either be 4 or 6.
	IpVersion *int `pulumi:"ipVersion"`
	// The name of the share network.
	Name *string `pulumi:"name"`
	// The share network type. Can either be VLAN, VXLAN,
	// GRE, or flat.
	NetworkType *string `pulumi:"networkType"`
	// The neutron network UUID of the share network.
	NeutronNetId *string `pulumi:"neutronNetId"`
	// The neutron subnet UUID of the share network.
	NeutronSubnetId *string `pulumi:"neutronSubnetId"`
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to read a share network. If omitted, the
	// `region` argument of the provider is used.
	Region *string `pulumi:"region"`
	// The security service IDs associated with
	// the share network.
	SecurityServiceId *string `pulumi:"securityServiceId"`
	// The share network segmentation ID.
	SegmentationId *int `pulumi:"segmentationId"`
}

A collection of arguments for invoking getShareNetwork.

type LookupShareNetworkOutputArgs added in v3.5.0

type LookupShareNetworkOutputArgs struct {
	// The human-readable description of the share network.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The IP version of the share network. Can either be 4 or 6.
	IpVersion pulumi.IntPtrInput `pulumi:"ipVersion"`
	// The name of the share network.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The share network type. Can either be VLAN, VXLAN,
	// GRE, or flat.
	NetworkType pulumi.StringPtrInput `pulumi:"networkType"`
	// The neutron network UUID of the share network.
	NeutronNetId pulumi.StringPtrInput `pulumi:"neutronNetId"`
	// The neutron subnet UUID of the share network.
	NeutronSubnetId pulumi.StringPtrInput `pulumi:"neutronSubnetId"`
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to read a share network. If omitted, the
	// `region` argument of the provider is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The security service IDs associated with
	// the share network.
	SecurityServiceId pulumi.StringPtrInput `pulumi:"securityServiceId"`
	// The share network segmentation ID.
	SegmentationId pulumi.IntPtrInput `pulumi:"segmentationId"`
}

A collection of arguments for invoking getShareNetwork.

func (LookupShareNetworkOutputArgs) ElementType added in v3.5.0

type LookupShareNetworkResult

type LookupShareNetworkResult struct {
	// See Argument Reference above.
	Cidr string `pulumi:"cidr"`
	// See Argument Reference above.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	IpVersion int `pulumi:"ipVersion"`
	// See Argument Reference above.
	Name string `pulumi:"name"`
	// See Argument Reference above.
	NetworkType string `pulumi:"networkType"`
	// See Argument Reference above.
	NeutronNetId string `pulumi:"neutronNetId"`
	// See Argument Reference above.
	NeutronSubnetId string `pulumi:"neutronSubnetId"`
	// The owner of the Share Network.
	ProjectId string `pulumi:"projectId"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	SecurityServiceId *string `pulumi:"securityServiceId"`
	// The list of security service IDs associated with
	// the share network.
	SecurityServiceIds []string `pulumi:"securityServiceIds"`
	// See Argument Reference above.
	SegmentationId int `pulumi:"segmentationId"`
}

A collection of values returned by getShareNetwork.

func LookupShareNetwork

func LookupShareNetwork(ctx *pulumi.Context, args *LookupShareNetworkArgs, opts ...pulumi.InvokeOption) (*LookupShareNetworkResult, error)

Use this data source to get the ID of an available Shared File System share network.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sharedfilesystem.LookupShareNetwork(ctx, &sharedfilesystem.LookupShareNetworkArgs{
			Name: pulumi.StringRef("sharenetwork_1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupShareNetworkResultOutput added in v3.5.0

type LookupShareNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getShareNetwork.

func LookupShareNetworkOutput added in v3.5.0

func (LookupShareNetworkResultOutput) Cidr added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) Description added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) ElementType added in v3.5.0

func (LookupShareNetworkResultOutput) Id added in v3.5.0

The provider-assigned unique ID for this managed resource.

func (LookupShareNetworkResultOutput) IpVersion added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) Name added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) NetworkType added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) NeutronNetId added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) NeutronSubnetId added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) ProjectId added in v3.5.0

The owner of the Share Network.

func (LookupShareNetworkResultOutput) Region added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) SecurityServiceId added in v3.5.0

See Argument Reference above.

func (LookupShareNetworkResultOutput) SecurityServiceIds added in v3.5.0

The list of security service IDs associated with the share network.

func (LookupShareNetworkResultOutput) SegmentationId added in v3.5.0

func (o LookupShareNetworkResultOutput) SegmentationId() pulumi.IntOutput

See Argument Reference above.

func (LookupShareNetworkResultOutput) ToLookupShareNetworkResultOutput added in v3.5.0

func (o LookupShareNetworkResultOutput) ToLookupShareNetworkResultOutput() LookupShareNetworkResultOutput

func (LookupShareNetworkResultOutput) ToLookupShareNetworkResultOutputWithContext added in v3.5.0

func (o LookupShareNetworkResultOutput) ToLookupShareNetworkResultOutputWithContext(ctx context.Context) LookupShareNetworkResultOutput

type LookupShareOutputArgs added in v3.5.0

type LookupShareOutputArgs struct {
	// The human-readable description for the share.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The export location path of the share. Available
	// since Manila API version 2.35.
	ExportLocationPath pulumi.StringPtrInput `pulumi:"exportLocationPath"`
	// The level of visibility for the share.
	// length.
	IsPublic pulumi.BoolPtrInput `pulumi:"isPublic"`
	// One or more metadata key and value pairs as a dictionary of
	// strings.
	Metadata pulumi.MapInput `pulumi:"metadata"`
	// The name of the share.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The region in which to obtain the V2 Shared File System client.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The UUID of the share's share network.
	ShareNetworkId pulumi.StringPtrInput `pulumi:"shareNetworkId"`
	// The UUID of the share's base snapshot.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
	// A share status filter. A valid value is `creating`,
	// `error`, `available`, `deleting`, `errorDeleting`, `manageStarting`,
	// `manageError`, `unmanageStarting`, `unmanageError`, `unmanaged`,
	// `extending`, `extendingError`, `shrinking`, `shrinkingError`, or
	// `shrinkingPossibleDataLossError`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getShare.

func (LookupShareOutputArgs) ElementType added in v3.5.0

func (LookupShareOutputArgs) ElementType() reflect.Type

type LookupShareResult

type LookupShareResult struct {
	// The share availability zone.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// See Argument Reference above.
	Description string `pulumi:"description"`
	// See Argument Reference above.
	ExportLocationPath *string `pulumi:"exportLocationPath"`
	// A list of export locations. For example, when a share
	// server has more than one network interface, it can have multiple export
	// locations.
	ExportLocations []GetShareExportLocation `pulumi:"exportLocations"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	IsPublic bool `pulumi:"isPublic"`
	// See Argument Reference above.
	Metadata map[string]interface{} `pulumi:"metadata"`
	// See Argument Reference above.
	Name string `pulumi:"name"`
	// See Argument Reference above.
	ProjectId string `pulumi:"projectId"`
	// The region in which to obtain the V2 Shared File System client.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	ShareNetworkId string `pulumi:"shareNetworkId"`
	// The share protocol.
	ShareProto string `pulumi:"shareProto"`
	// The share size, in GBs.
	Size int `pulumi:"size"`
	// See Argument Reference above.
	SnapshotId string `pulumi:"snapshotId"`
	// See Argument Reference above.
	Status string `pulumi:"status"`
}

A collection of values returned by getShare.

func LookupShare

func LookupShare(ctx *pulumi.Context, args *LookupShareArgs, opts ...pulumi.InvokeOption) (*LookupShareResult, error)

Use this data source to get the ID of an available Shared File System share.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sharedfilesystem.LookupShare(ctx, &sharedfilesystem.LookupShareArgs{
			Name: pulumi.StringRef("share_1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupShareResultOutput added in v3.5.0

type LookupShareResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getShare.

func LookupShareOutput added in v3.5.0

func LookupShareOutput(ctx *pulumi.Context, args LookupShareOutputArgs, opts ...pulumi.InvokeOption) LookupShareResultOutput

func (LookupShareResultOutput) AvailabilityZone added in v3.5.0

func (o LookupShareResultOutput) AvailabilityZone() pulumi.StringOutput

The share availability zone.

func (LookupShareResultOutput) Description added in v3.5.0

See Argument Reference above.

func (LookupShareResultOutput) ElementType added in v3.5.0

func (LookupShareResultOutput) ElementType() reflect.Type

func (LookupShareResultOutput) ExportLocationPath added in v3.5.0

func (o LookupShareResultOutput) ExportLocationPath() pulumi.StringPtrOutput

See Argument Reference above.

func (LookupShareResultOutput) ExportLocations added in v3.5.0

A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.

func (LookupShareResultOutput) Id added in v3.5.0

The provider-assigned unique ID for this managed resource.

func (LookupShareResultOutput) IsPublic added in v3.5.0

See Argument Reference above.

func (LookupShareResultOutput) Metadata added in v3.5.0

See Argument Reference above.

func (LookupShareResultOutput) Name added in v3.5.0

See Argument Reference above.

func (LookupShareResultOutput) ProjectId added in v3.5.0

See Argument Reference above.

func (LookupShareResultOutput) Region added in v3.5.0

The region in which to obtain the V2 Shared File System client.

func (LookupShareResultOutput) ShareNetworkId added in v3.5.0

func (o LookupShareResultOutput) ShareNetworkId() pulumi.StringOutput

See Argument Reference above.

func (LookupShareResultOutput) ShareProto added in v3.5.0

The share protocol.

func (LookupShareResultOutput) Size added in v3.5.0

The share size, in GBs.

func (LookupShareResultOutput) SnapshotId added in v3.5.0

See Argument Reference above.

func (LookupShareResultOutput) Status added in v3.5.0

See Argument Reference above.

func (LookupShareResultOutput) ToLookupShareResultOutput added in v3.5.0

func (o LookupShareResultOutput) ToLookupShareResultOutput() LookupShareResultOutput

func (LookupShareResultOutput) ToLookupShareResultOutputWithContext added in v3.5.0

func (o LookupShareResultOutput) ToLookupShareResultOutputWithContext(ctx context.Context) LookupShareResultOutput

type SecurityService

type SecurityService struct {
	pulumi.CustomResourceState

	// The human-readable description for the security service.
	// Changing this updates the description of the existing security service.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The security service DNS IP address that is used inside the
	// tenant network.
	DnsIp pulumi.StringPtrOutput `pulumi:"dnsIp"`
	// The security service domain.
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// The name of the security service. Changing this updates the name
	// of the existing security service.
	Name pulumi.StringOutput `pulumi:"name"`
	// The security service ou. An organizational unit can be added to
	// specify where the share ends up. New in Manila microversion 2.44.
	Ou pulumi.StringPtrOutput `pulumi:"ou"`
	// The user password, if you specify a user.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The owner of the Security Service.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a security service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// security service.
	Region pulumi.StringOutput `pulumi:"region"`
	// The security service host name or IP address.
	Server pulumi.StringPtrOutput `pulumi:"server"`
	// The security service type - can either be active\_directory,
	// kerberos or ldap.  Changing this updates the existing security service.
	Type pulumi.StringOutput `pulumi:"type"`
	// The security service user or group name that is used by the
	// tenant.
	User pulumi.StringPtrOutput `pulumi:"user"`
}

Use this resource to configure a security service.

> **Note:** All arguments including the security service password will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).

A security service stores configuration information for clients for authentication and authorization (AuthN/AuthZ). For example, a share server will be the client for an existing service such as LDAP, Kerberos, or Microsoft Active Directory.

Minimum supported Manila microversion is 2.7.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sharedfilesystem.NewSecurityService(ctx, "securityservice1", &sharedfilesystem.SecurityServiceArgs{
			Description: pulumi.String("created by terraform"),
			DnsIp:       pulumi.String("192.168.199.10"),
			Domain:      pulumi.String("example.com"),
			Ou:          pulumi.String("CN=Computers,DC=example,DC=com"),
			Password:    pulumi.String("s8cret"),
			Server:      pulumi.String("192.168.199.10"),
			Type:        pulumi.String("active_directory"),
			User:        pulumi.String("joinDomainUser"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported by specifying the ID of the security service:

```sh $ pulumi import openstack:sharedfilesystem/securityService:SecurityService securityservice_1 id ```

func GetSecurityService

func GetSecurityService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SecurityServiceState, opts ...pulumi.ResourceOption) (*SecurityService, error)

GetSecurityService gets an existing SecurityService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSecurityService

func NewSecurityService(ctx *pulumi.Context,
	name string, args *SecurityServiceArgs, opts ...pulumi.ResourceOption) (*SecurityService, error)

NewSecurityService registers a new resource with the given unique name, arguments, and options.

func (*SecurityService) ElementType

func (*SecurityService) ElementType() reflect.Type

func (*SecurityService) ToSecurityServiceOutput

func (i *SecurityService) ToSecurityServiceOutput() SecurityServiceOutput

func (*SecurityService) ToSecurityServiceOutputWithContext

func (i *SecurityService) ToSecurityServiceOutputWithContext(ctx context.Context) SecurityServiceOutput

type SecurityServiceArgs

type SecurityServiceArgs struct {
	// The human-readable description for the security service.
	// Changing this updates the description of the existing security service.
	Description pulumi.StringPtrInput
	// The security service DNS IP address that is used inside the
	// tenant network.
	DnsIp pulumi.StringPtrInput
	// The security service domain.
	Domain pulumi.StringPtrInput
	// The name of the security service. Changing this updates the name
	// of the existing security service.
	Name pulumi.StringPtrInput
	// The security service ou. An organizational unit can be added to
	// specify where the share ends up. New in Manila microversion 2.44.
	Ou pulumi.StringPtrInput
	// The user password, if you specify a user.
	Password pulumi.StringPtrInput
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a security service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// security service.
	Region pulumi.StringPtrInput
	// The security service host name or IP address.
	Server pulumi.StringPtrInput
	// The security service type - can either be active\_directory,
	// kerberos or ldap.  Changing this updates the existing security service.
	Type pulumi.StringInput
	// The security service user or group name that is used by the
	// tenant.
	User pulumi.StringPtrInput
}

The set of arguments for constructing a SecurityService resource.

func (SecurityServiceArgs) ElementType

func (SecurityServiceArgs) ElementType() reflect.Type

type SecurityServiceArray

type SecurityServiceArray []SecurityServiceInput

func (SecurityServiceArray) ElementType

func (SecurityServiceArray) ElementType() reflect.Type

func (SecurityServiceArray) ToSecurityServiceArrayOutput

func (i SecurityServiceArray) ToSecurityServiceArrayOutput() SecurityServiceArrayOutput

func (SecurityServiceArray) ToSecurityServiceArrayOutputWithContext

func (i SecurityServiceArray) ToSecurityServiceArrayOutputWithContext(ctx context.Context) SecurityServiceArrayOutput

type SecurityServiceArrayInput

type SecurityServiceArrayInput interface {
	pulumi.Input

	ToSecurityServiceArrayOutput() SecurityServiceArrayOutput
	ToSecurityServiceArrayOutputWithContext(context.Context) SecurityServiceArrayOutput
}

SecurityServiceArrayInput is an input type that accepts SecurityServiceArray and SecurityServiceArrayOutput values. You can construct a concrete instance of `SecurityServiceArrayInput` via:

SecurityServiceArray{ SecurityServiceArgs{...} }

type SecurityServiceArrayOutput

type SecurityServiceArrayOutput struct{ *pulumi.OutputState }

func (SecurityServiceArrayOutput) ElementType

func (SecurityServiceArrayOutput) ElementType() reflect.Type

func (SecurityServiceArrayOutput) Index

func (SecurityServiceArrayOutput) ToSecurityServiceArrayOutput

func (o SecurityServiceArrayOutput) ToSecurityServiceArrayOutput() SecurityServiceArrayOutput

func (SecurityServiceArrayOutput) ToSecurityServiceArrayOutputWithContext

func (o SecurityServiceArrayOutput) ToSecurityServiceArrayOutputWithContext(ctx context.Context) SecurityServiceArrayOutput

type SecurityServiceInput

type SecurityServiceInput interface {
	pulumi.Input

	ToSecurityServiceOutput() SecurityServiceOutput
	ToSecurityServiceOutputWithContext(ctx context.Context) SecurityServiceOutput
}

type SecurityServiceMap

type SecurityServiceMap map[string]SecurityServiceInput

func (SecurityServiceMap) ElementType

func (SecurityServiceMap) ElementType() reflect.Type

func (SecurityServiceMap) ToSecurityServiceMapOutput

func (i SecurityServiceMap) ToSecurityServiceMapOutput() SecurityServiceMapOutput

func (SecurityServiceMap) ToSecurityServiceMapOutputWithContext

func (i SecurityServiceMap) ToSecurityServiceMapOutputWithContext(ctx context.Context) SecurityServiceMapOutput

type SecurityServiceMapInput

type SecurityServiceMapInput interface {
	pulumi.Input

	ToSecurityServiceMapOutput() SecurityServiceMapOutput
	ToSecurityServiceMapOutputWithContext(context.Context) SecurityServiceMapOutput
}

SecurityServiceMapInput is an input type that accepts SecurityServiceMap and SecurityServiceMapOutput values. You can construct a concrete instance of `SecurityServiceMapInput` via:

SecurityServiceMap{ "key": SecurityServiceArgs{...} }

type SecurityServiceMapOutput

type SecurityServiceMapOutput struct{ *pulumi.OutputState }

func (SecurityServiceMapOutput) ElementType

func (SecurityServiceMapOutput) ElementType() reflect.Type

func (SecurityServiceMapOutput) MapIndex

func (SecurityServiceMapOutput) ToSecurityServiceMapOutput

func (o SecurityServiceMapOutput) ToSecurityServiceMapOutput() SecurityServiceMapOutput

func (SecurityServiceMapOutput) ToSecurityServiceMapOutputWithContext

func (o SecurityServiceMapOutput) ToSecurityServiceMapOutputWithContext(ctx context.Context) SecurityServiceMapOutput

type SecurityServiceOutput

type SecurityServiceOutput struct{ *pulumi.OutputState }

func (SecurityServiceOutput) Description added in v3.9.0

The human-readable description for the security service. Changing this updates the description of the existing security service.

func (SecurityServiceOutput) DnsIp added in v3.9.0

The security service DNS IP address that is used inside the tenant network.

func (SecurityServiceOutput) Domain added in v3.9.0

The security service domain.

func (SecurityServiceOutput) ElementType

func (SecurityServiceOutput) ElementType() reflect.Type

func (SecurityServiceOutput) Name added in v3.9.0

The name of the security service. Changing this updates the name of the existing security service.

func (SecurityServiceOutput) Ou added in v3.9.0

The security service ou. An organizational unit can be added to specify where the share ends up. New in Manila microversion 2.44.

func (SecurityServiceOutput) Password added in v3.9.0

The user password, if you specify a user.

func (SecurityServiceOutput) ProjectId added in v3.9.0

The owner of the Security Service.

func (SecurityServiceOutput) Region added in v3.9.0

The region in which to obtain the V2 Shared File System client. A Shared File System client is needed to create a security service. If omitted, the `region` argument of the provider is used. Changing this creates a new security service.

func (SecurityServiceOutput) Server added in v3.9.0

The security service host name or IP address.

func (SecurityServiceOutput) ToSecurityServiceOutput

func (o SecurityServiceOutput) ToSecurityServiceOutput() SecurityServiceOutput

func (SecurityServiceOutput) ToSecurityServiceOutputWithContext

func (o SecurityServiceOutput) ToSecurityServiceOutputWithContext(ctx context.Context) SecurityServiceOutput

func (SecurityServiceOutput) Type added in v3.9.0

The security service type - can either be active\_directory, kerberos or ldap. Changing this updates the existing security service.

func (SecurityServiceOutput) User added in v3.9.0

The security service user or group name that is used by the tenant.

type SecurityServiceState

type SecurityServiceState struct {
	// The human-readable description for the security service.
	// Changing this updates the description of the existing security service.
	Description pulumi.StringPtrInput
	// The security service DNS IP address that is used inside the
	// tenant network.
	DnsIp pulumi.StringPtrInput
	// The security service domain.
	Domain pulumi.StringPtrInput
	// The name of the security service. Changing this updates the name
	// of the existing security service.
	Name pulumi.StringPtrInput
	// The security service ou. An organizational unit can be added to
	// specify where the share ends up. New in Manila microversion 2.44.
	Ou pulumi.StringPtrInput
	// The user password, if you specify a user.
	Password pulumi.StringPtrInput
	// The owner of the Security Service.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a security service. If omitted, the
	// `region` argument of the provider is used. Changing this creates a new
	// security service.
	Region pulumi.StringPtrInput
	// The security service host name or IP address.
	Server pulumi.StringPtrInput
	// The security service type - can either be active\_directory,
	// kerberos or ldap.  Changing this updates the existing security service.
	Type pulumi.StringPtrInput
	// The security service user or group name that is used by the
	// tenant.
	User pulumi.StringPtrInput
}

func (SecurityServiceState) ElementType

func (SecurityServiceState) ElementType() reflect.Type

type Share

type Share struct {
	pulumi.CustomResourceState

	// The map of metadata, assigned on the share, which has been
	// explicitly and implicitly added.
	AllMetadata pulumi.MapOutput `pulumi:"allMetadata"`
	// The share availability zone. Changing this creates a
	// new share.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// The human-readable description for the share.
	// Changing this updates the description of the existing share.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A list of export locations. For example, when a share server
	// has more than one network interface, it can have multiple export locations.
	ExportLocations ShareExportLocationArrayOutput `pulumi:"exportLocations"`
	// Indicates whether a share has replicas or not.
	HasReplicas pulumi.BoolOutput `pulumi:"hasReplicas"`
	// The share host name.
	Host pulumi.StringOutput `pulumi:"host"`
	// The level of visibility for the share. Set to true to make
	// share public. Set to false to make it private. Default value is false. Changing this
	// updates the existing share.
	IsPublic pulumi.BoolPtrOutput `pulumi:"isPublic"`
	// One or more metadata key and value pairs as a dictionary of
	// strings.
	Metadata pulumi.MapOutput `pulumi:"metadata"`
	// The name of the share. Changing this updates the name
	// of the existing share.
	Name pulumi.StringOutput `pulumi:"name"`
	// The owner of the Share.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a share. Changing this
	// creates a new share.
	Region pulumi.StringOutput `pulumi:"region"`
	// The share replication type.
	ReplicationType pulumi.StringOutput `pulumi:"replicationType"`
	// The UUID of a share network where the share server exists
	// or will be created. If `shareNetworkId` is not set and you provide a `snapshotId`,
	// the shareNetworkId value from the snapshot is used. Changing this creates a new share.
	ShareNetworkId pulumi.StringOutput `pulumi:"shareNetworkId"`
	// The share protocol - can either be NFS, CIFS,
	// CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
	ShareProto pulumi.StringOutput `pulumi:"shareProto"`
	// The UUID of the share server.
	ShareServerId pulumi.StringOutput `pulumi:"shareServerId"`
	// The share type name. If you omit this parameter, the default
	// share type is used.
	ShareType pulumi.StringOutput `pulumi:"shareType"`
	// The share size, in GBs. The requested share size cannot be greater
	// than the allowed GB quota. Changing this resizes the existing share.
	Size pulumi.IntOutput `pulumi:"size"`
	// The UUID of the share's base snapshot. Changing this creates
	// a new share.
	SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"`
}

Use this resource to configure a share.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking"
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network1, err := networking.NewNetwork(ctx, "network1", &networking.NetworkArgs{
			AdminStateUp: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		subnet1, err := networking.NewSubnet(ctx, "subnet1", &networking.SubnetArgs{
			Cidr:      pulumi.String("192.168.199.0/24"),
			IpVersion: pulumi.Int(4),
			NetworkId: network1.ID(),
		})
		if err != nil {
			return err
		}
		sharenetwork1, err := sharedfilesystem.NewShareNetwork(ctx, "sharenetwork1", &sharedfilesystem.ShareNetworkArgs{
			Description:     pulumi.String("test share network with security services"),
			NeutronNetId:    network1.ID(),
			NeutronSubnetId: subnet1.ID(),
		})
		if err != nil {
			return err
		}
		_, err = sharedfilesystem.NewShare(ctx, "share1", &sharedfilesystem.ShareArgs{
			Description:    pulumi.String("test share description"),
			ShareProto:     pulumi.String("NFS"),
			Size:           pulumi.Int(1),
			ShareNetworkId: sharenetwork1.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported by specifying the ID of the share:

```sh $ pulumi import openstack:sharedfilesystem/share:Share share_1 id ```

func GetShare

func GetShare(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareState, opts ...pulumi.ResourceOption) (*Share, error)

GetShare gets an existing Share resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewShare

func NewShare(ctx *pulumi.Context,
	name string, args *ShareArgs, opts ...pulumi.ResourceOption) (*Share, error)

NewShare registers a new resource with the given unique name, arguments, and options.

func (*Share) ElementType

func (*Share) ElementType() reflect.Type

func (*Share) ToShareOutput

func (i *Share) ToShareOutput() ShareOutput

func (*Share) ToShareOutputWithContext

func (i *Share) ToShareOutputWithContext(ctx context.Context) ShareOutput

type ShareAccess

type ShareAccess struct {
	pulumi.CustomResourceState

	// The access credential of the entity granted access.
	AccessKey pulumi.StringOutput `pulumi:"accessKey"`
	// The access level to the share. Can either be `rw` or `ro`.
	AccessLevel pulumi.StringOutput `pulumi:"accessLevel"`
	// The value that defines the access. Can either be an IP
	// address or a username verified by configured Security Service of the Share Network.
	AccessTo pulumi.StringOutput `pulumi:"accessTo"`
	// The access rule type. Can either be an ip, user,
	// cert, or cephx. cephx support requires an OpenStack environment that supports
	// Shared Filesystem microversion 2.13 (Mitaka) or later.
	AccessType pulumi.StringOutput `pulumi:"accessType"`
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a share access. Changing this
	// creates a new share access.
	Region pulumi.StringOutput `pulumi:"region"`
	// The UUID of the share to which you are granted access.
	ShareId pulumi.StringOutput `pulumi:"shareId"`
	// The share access state.
	State pulumi.StringOutput `pulumi:"state"`
}

## Example Usage

### NFS

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking"
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network1, err := networking.NewNetwork(ctx, "network1", &networking.NetworkArgs{
			AdminStateUp: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		subnet1, err := networking.NewSubnet(ctx, "subnet1", &networking.SubnetArgs{
			Cidr:      pulumi.String("192.168.199.0/24"),
			IpVersion: pulumi.Int(4),
			NetworkId: network1.ID(),
		})
		if err != nil {
			return err
		}
		sharenetwork1, err := sharedfilesystem.NewShareNetwork(ctx, "sharenetwork1", &sharedfilesystem.ShareNetworkArgs{
			Description:     pulumi.String("test share network with security services"),
			NeutronNetId:    network1.ID(),
			NeutronSubnetId: subnet1.ID(),
		})
		if err != nil {
			return err
		}
		share1, err := sharedfilesystem.NewShare(ctx, "share1", &sharedfilesystem.ShareArgs{
			Description:    pulumi.String("test share description"),
			ShareProto:     pulumi.String("NFS"),
			Size:           pulumi.Int(1),
			ShareNetworkId: sharenetwork1.ID(),
		})
		if err != nil {
			return err
		}
		_, err = sharedfilesystem.NewShareAccess(ctx, "shareAccess1", &sharedfilesystem.ShareAccessArgs{
			ShareId:     share1.ID(),
			AccessType:  pulumi.String("ip"),
			AccessTo:    pulumi.String("192.168.199.10"),
			AccessLevel: pulumi.String("rw"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### CIFS

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking"
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network1, err := networking.NewNetwork(ctx, "network1", &networking.NetworkArgs{
			AdminStateUp: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		subnet1, err := networking.NewSubnet(ctx, "subnet1", &networking.SubnetArgs{
			Cidr:      pulumi.String("192.168.199.0/24"),
			IpVersion: pulumi.Int(4),
			NetworkId: network1.ID(),
		})
		if err != nil {
			return err
		}
		securityservice1, err := sharedfilesystem.NewSecurityService(ctx, "securityservice1", &sharedfilesystem.SecurityServiceArgs{
			Description: pulumi.String("created by terraform"),
			Type:        pulumi.String("active_directory"),
			Server:      pulumi.String("192.168.199.10"),
			DnsIp:       pulumi.String("192.168.199.10"),
			Domain:      pulumi.String("example.com"),
			Ou:          pulumi.String("CN=Computers,DC=example,DC=com"),
			User:        pulumi.String("joinDomainUser"),
			Password:    pulumi.String("s8cret"),
		})
		if err != nil {
			return err
		}
		sharenetwork1, err := sharedfilesystem.NewShareNetwork(ctx, "sharenetwork1", &sharedfilesystem.ShareNetworkArgs{
			Description:     pulumi.String("share the secure love"),
			NeutronNetId:    network1.ID(),
			NeutronSubnetId: subnet1.ID(),
			SecurityServiceIds: pulumi.StringArray{
				securityservice1.ID(),
			},
		})
		if err != nil {
			return err
		}
		share1, err := sharedfilesystem.NewShare(ctx, "share1", &sharedfilesystem.ShareArgs{
			ShareProto:     pulumi.String("CIFS"),
			Size:           pulumi.Int(1),
			ShareNetworkId: sharenetwork1.ID(),
		})
		if err != nil {
			return err
		}
		_, err = sharedfilesystem.NewShareAccess(ctx, "shareAccess1", &sharedfilesystem.ShareAccessArgs{
			ShareId:     share1.ID(),
			AccessType:  pulumi.String("user"),
			AccessTo:    pulumi.String("windows"),
			AccessLevel: pulumi.String("ro"),
		})
		if err != nil {
			return err
		}
		_, err = sharedfilesystem.NewShareAccess(ctx, "shareAccess2", &sharedfilesystem.ShareAccessArgs{
			ShareId:     share1.ID(),
			AccessType:  pulumi.String("user"),
			AccessTo:    pulumi.String("linux"),
			AccessLevel: pulumi.String("rw"),
		})
		if err != nil {
			return err
		}
		ctx.Export("exportLocations", share1.ExportLocations)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported by specifying the ID of the share and the ID of the share access, separated by a slash, e.g.:

```sh $ pulumi import openstack:sharedfilesystem/shareAccess:ShareAccess share_access_1 share_id/share_access_id ```

func GetShareAccess

func GetShareAccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareAccessState, opts ...pulumi.ResourceOption) (*ShareAccess, error)

GetShareAccess gets an existing ShareAccess resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewShareAccess

func NewShareAccess(ctx *pulumi.Context,
	name string, args *ShareAccessArgs, opts ...pulumi.ResourceOption) (*ShareAccess, error)

NewShareAccess registers a new resource with the given unique name, arguments, and options.

func (*ShareAccess) ElementType

func (*ShareAccess) ElementType() reflect.Type

func (*ShareAccess) ToShareAccessOutput

func (i *ShareAccess) ToShareAccessOutput() ShareAccessOutput

func (*ShareAccess) ToShareAccessOutputWithContext

func (i *ShareAccess) ToShareAccessOutputWithContext(ctx context.Context) ShareAccessOutput

type ShareAccessArgs

type ShareAccessArgs struct {
	// The access level to the share. Can either be `rw` or `ro`.
	AccessLevel pulumi.StringInput
	// The value that defines the access. Can either be an IP
	// address or a username verified by configured Security Service of the Share Network.
	AccessTo pulumi.StringInput
	// The access rule type. Can either be an ip, user,
	// cert, or cephx. cephx support requires an OpenStack environment that supports
	// Shared Filesystem microversion 2.13 (Mitaka) or later.
	AccessType pulumi.StringInput
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a share access. Changing this
	// creates a new share access.
	Region pulumi.StringPtrInput
	// The UUID of the share to which you are granted access.
	ShareId pulumi.StringInput
}

The set of arguments for constructing a ShareAccess resource.

func (ShareAccessArgs) ElementType

func (ShareAccessArgs) ElementType() reflect.Type

type ShareAccessArray

type ShareAccessArray []ShareAccessInput

func (ShareAccessArray) ElementType

func (ShareAccessArray) ElementType() reflect.Type

func (ShareAccessArray) ToShareAccessArrayOutput

func (i ShareAccessArray) ToShareAccessArrayOutput() ShareAccessArrayOutput

func (ShareAccessArray) ToShareAccessArrayOutputWithContext

func (i ShareAccessArray) ToShareAccessArrayOutputWithContext(ctx context.Context) ShareAccessArrayOutput

type ShareAccessArrayInput

type ShareAccessArrayInput interface {
	pulumi.Input

	ToShareAccessArrayOutput() ShareAccessArrayOutput
	ToShareAccessArrayOutputWithContext(context.Context) ShareAccessArrayOutput
}

ShareAccessArrayInput is an input type that accepts ShareAccessArray and ShareAccessArrayOutput values. You can construct a concrete instance of `ShareAccessArrayInput` via:

ShareAccessArray{ ShareAccessArgs{...} }

type ShareAccessArrayOutput

type ShareAccessArrayOutput struct{ *pulumi.OutputState }

func (ShareAccessArrayOutput) ElementType

func (ShareAccessArrayOutput) ElementType() reflect.Type

func (ShareAccessArrayOutput) Index

func (ShareAccessArrayOutput) ToShareAccessArrayOutput

func (o ShareAccessArrayOutput) ToShareAccessArrayOutput() ShareAccessArrayOutput

func (ShareAccessArrayOutput) ToShareAccessArrayOutputWithContext

func (o ShareAccessArrayOutput) ToShareAccessArrayOutputWithContext(ctx context.Context) ShareAccessArrayOutput

type ShareAccessInput

type ShareAccessInput interface {
	pulumi.Input

	ToShareAccessOutput() ShareAccessOutput
	ToShareAccessOutputWithContext(ctx context.Context) ShareAccessOutput
}

type ShareAccessMap

type ShareAccessMap map[string]ShareAccessInput

func (ShareAccessMap) ElementType

func (ShareAccessMap) ElementType() reflect.Type

func (ShareAccessMap) ToShareAccessMapOutput

func (i ShareAccessMap) ToShareAccessMapOutput() ShareAccessMapOutput

func (ShareAccessMap) ToShareAccessMapOutputWithContext

func (i ShareAccessMap) ToShareAccessMapOutputWithContext(ctx context.Context) ShareAccessMapOutput

type ShareAccessMapInput

type ShareAccessMapInput interface {
	pulumi.Input

	ToShareAccessMapOutput() ShareAccessMapOutput
	ToShareAccessMapOutputWithContext(context.Context) ShareAccessMapOutput
}

ShareAccessMapInput is an input type that accepts ShareAccessMap and ShareAccessMapOutput values. You can construct a concrete instance of `ShareAccessMapInput` via:

ShareAccessMap{ "key": ShareAccessArgs{...} }

type ShareAccessMapOutput

type ShareAccessMapOutput struct{ *pulumi.OutputState }

func (ShareAccessMapOutput) ElementType

func (ShareAccessMapOutput) ElementType() reflect.Type

func (ShareAccessMapOutput) MapIndex

func (ShareAccessMapOutput) ToShareAccessMapOutput

func (o ShareAccessMapOutput) ToShareAccessMapOutput() ShareAccessMapOutput

func (ShareAccessMapOutput) ToShareAccessMapOutputWithContext

func (o ShareAccessMapOutput) ToShareAccessMapOutputWithContext(ctx context.Context) ShareAccessMapOutput

type ShareAccessOutput

type ShareAccessOutput struct{ *pulumi.OutputState }

func (ShareAccessOutput) AccessKey added in v3.9.0

func (o ShareAccessOutput) AccessKey() pulumi.StringOutput

The access credential of the entity granted access.

func (ShareAccessOutput) AccessLevel added in v3.9.0

func (o ShareAccessOutput) AccessLevel() pulumi.StringOutput

The access level to the share. Can either be `rw` or `ro`.

func (ShareAccessOutput) AccessTo added in v3.9.0

func (o ShareAccessOutput) AccessTo() pulumi.StringOutput

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

func (ShareAccessOutput) AccessType added in v3.9.0

func (o ShareAccessOutput) AccessType() pulumi.StringOutput

The access rule type. Can either be an ip, user, cert, or cephx. cephx support requires an OpenStack environment that supports Shared Filesystem microversion 2.13 (Mitaka) or later.

func (ShareAccessOutput) ElementType

func (ShareAccessOutput) ElementType() reflect.Type

func (ShareAccessOutput) Region added in v3.9.0

The region in which to obtain the V2 Shared File System client. A Shared File System client is needed to create a share access. Changing this creates a new share access.

func (ShareAccessOutput) ShareId added in v3.9.0

The UUID of the share to which you are granted access.

func (ShareAccessOutput) State added in v3.13.0

The share access state.

func (ShareAccessOutput) ToShareAccessOutput

func (o ShareAccessOutput) ToShareAccessOutput() ShareAccessOutput

func (ShareAccessOutput) ToShareAccessOutputWithContext

func (o ShareAccessOutput) ToShareAccessOutputWithContext(ctx context.Context) ShareAccessOutput

type ShareAccessState

type ShareAccessState struct {
	// The access credential of the entity granted access.
	AccessKey pulumi.StringPtrInput
	// The access level to the share. Can either be `rw` or `ro`.
	AccessLevel pulumi.StringPtrInput
	// The value that defines the access. Can either be an IP
	// address or a username verified by configured Security Service of the Share Network.
	AccessTo pulumi.StringPtrInput
	// The access rule type. Can either be an ip, user,
	// cert, or cephx. cephx support requires an OpenStack environment that supports
	// Shared Filesystem microversion 2.13 (Mitaka) or later.
	AccessType pulumi.StringPtrInput
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a share access. Changing this
	// creates a new share access.
	Region pulumi.StringPtrInput
	// The UUID of the share to which you are granted access.
	ShareId pulumi.StringPtrInput
	// The share access state.
	State pulumi.StringPtrInput
}

func (ShareAccessState) ElementType

func (ShareAccessState) ElementType() reflect.Type

type ShareArgs

type ShareArgs struct {
	// The share availability zone. Changing this creates a
	// new share.
	AvailabilityZone pulumi.StringPtrInput
	// The human-readable description for the share.
	// Changing this updates the description of the existing share.
	Description pulumi.StringPtrInput
	// The level of visibility for the share. Set to true to make
	// share public. Set to false to make it private. Default value is false. Changing this
	// updates the existing share.
	IsPublic pulumi.BoolPtrInput
	// One or more metadata key and value pairs as a dictionary of
	// strings.
	Metadata pulumi.MapInput
	// The name of the share. Changing this updates the name
	// of the existing share.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a share. Changing this
	// creates a new share.
	Region pulumi.StringPtrInput
	// The UUID of a share network where the share server exists
	// or will be created. If `shareNetworkId` is not set and you provide a `snapshotId`,
	// the shareNetworkId value from the snapshot is used. Changing this creates a new share.
	ShareNetworkId pulumi.StringPtrInput
	// The share protocol - can either be NFS, CIFS,
	// CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
	ShareProto pulumi.StringInput
	// The share type name. If you omit this parameter, the default
	// share type is used.
	ShareType pulumi.StringPtrInput
	// The share size, in GBs. The requested share size cannot be greater
	// than the allowed GB quota. Changing this resizes the existing share.
	Size pulumi.IntInput
	// The UUID of the share's base snapshot. Changing this creates
	// a new share.
	SnapshotId pulumi.StringPtrInput
}

The set of arguments for constructing a Share resource.

func (ShareArgs) ElementType

func (ShareArgs) ElementType() reflect.Type

type ShareArray

type ShareArray []ShareInput

func (ShareArray) ElementType

func (ShareArray) ElementType() reflect.Type

func (ShareArray) ToShareArrayOutput

func (i ShareArray) ToShareArrayOutput() ShareArrayOutput

func (ShareArray) ToShareArrayOutputWithContext

func (i ShareArray) ToShareArrayOutputWithContext(ctx context.Context) ShareArrayOutput

type ShareArrayInput

type ShareArrayInput interface {
	pulumi.Input

	ToShareArrayOutput() ShareArrayOutput
	ToShareArrayOutputWithContext(context.Context) ShareArrayOutput
}

ShareArrayInput is an input type that accepts ShareArray and ShareArrayOutput values. You can construct a concrete instance of `ShareArrayInput` via:

ShareArray{ ShareArgs{...} }

type ShareArrayOutput

type ShareArrayOutput struct{ *pulumi.OutputState }

func (ShareArrayOutput) ElementType

func (ShareArrayOutput) ElementType() reflect.Type

func (ShareArrayOutput) Index

func (ShareArrayOutput) ToShareArrayOutput

func (o ShareArrayOutput) ToShareArrayOutput() ShareArrayOutput

func (ShareArrayOutput) ToShareArrayOutputWithContext

func (o ShareArrayOutput) ToShareArrayOutputWithContext(ctx context.Context) ShareArrayOutput

type ShareExportLocation

type ShareExportLocation struct {
	Path      *string `pulumi:"path"`
	Preferred *string `pulumi:"preferred"`
}

type ShareExportLocationArgs

type ShareExportLocationArgs struct {
	Path      pulumi.StringPtrInput `pulumi:"path"`
	Preferred pulumi.StringPtrInput `pulumi:"preferred"`
}

func (ShareExportLocationArgs) ElementType

func (ShareExportLocationArgs) ElementType() reflect.Type

func (ShareExportLocationArgs) ToShareExportLocationOutput

func (i ShareExportLocationArgs) ToShareExportLocationOutput() ShareExportLocationOutput

func (ShareExportLocationArgs) ToShareExportLocationOutputWithContext

func (i ShareExportLocationArgs) ToShareExportLocationOutputWithContext(ctx context.Context) ShareExportLocationOutput

type ShareExportLocationArray

type ShareExportLocationArray []ShareExportLocationInput

func (ShareExportLocationArray) ElementType

func (ShareExportLocationArray) ElementType() reflect.Type

func (ShareExportLocationArray) ToShareExportLocationArrayOutput

func (i ShareExportLocationArray) ToShareExportLocationArrayOutput() ShareExportLocationArrayOutput

func (ShareExportLocationArray) ToShareExportLocationArrayOutputWithContext

func (i ShareExportLocationArray) ToShareExportLocationArrayOutputWithContext(ctx context.Context) ShareExportLocationArrayOutput

type ShareExportLocationArrayInput

type ShareExportLocationArrayInput interface {
	pulumi.Input

	ToShareExportLocationArrayOutput() ShareExportLocationArrayOutput
	ToShareExportLocationArrayOutputWithContext(context.Context) ShareExportLocationArrayOutput
}

ShareExportLocationArrayInput is an input type that accepts ShareExportLocationArray and ShareExportLocationArrayOutput values. You can construct a concrete instance of `ShareExportLocationArrayInput` via:

ShareExportLocationArray{ ShareExportLocationArgs{...} }

type ShareExportLocationArrayOutput

type ShareExportLocationArrayOutput struct{ *pulumi.OutputState }

func (ShareExportLocationArrayOutput) ElementType

func (ShareExportLocationArrayOutput) Index

func (ShareExportLocationArrayOutput) ToShareExportLocationArrayOutput

func (o ShareExportLocationArrayOutput) ToShareExportLocationArrayOutput() ShareExportLocationArrayOutput

func (ShareExportLocationArrayOutput) ToShareExportLocationArrayOutputWithContext

func (o ShareExportLocationArrayOutput) ToShareExportLocationArrayOutputWithContext(ctx context.Context) ShareExportLocationArrayOutput

type ShareExportLocationInput

type ShareExportLocationInput interface {
	pulumi.Input

	ToShareExportLocationOutput() ShareExportLocationOutput
	ToShareExportLocationOutputWithContext(context.Context) ShareExportLocationOutput
}

ShareExportLocationInput is an input type that accepts ShareExportLocationArgs and ShareExportLocationOutput values. You can construct a concrete instance of `ShareExportLocationInput` via:

ShareExportLocationArgs{...}

type ShareExportLocationOutput

type ShareExportLocationOutput struct{ *pulumi.OutputState }

func (ShareExportLocationOutput) ElementType

func (ShareExportLocationOutput) ElementType() reflect.Type

func (ShareExportLocationOutput) Path

func (ShareExportLocationOutput) Preferred

func (ShareExportLocationOutput) ToShareExportLocationOutput

func (o ShareExportLocationOutput) ToShareExportLocationOutput() ShareExportLocationOutput

func (ShareExportLocationOutput) ToShareExportLocationOutputWithContext

func (o ShareExportLocationOutput) ToShareExportLocationOutputWithContext(ctx context.Context) ShareExportLocationOutput

type ShareInput

type ShareInput interface {
	pulumi.Input

	ToShareOutput() ShareOutput
	ToShareOutputWithContext(ctx context.Context) ShareOutput
}

type ShareMap

type ShareMap map[string]ShareInput

func (ShareMap) ElementType

func (ShareMap) ElementType() reflect.Type

func (ShareMap) ToShareMapOutput

func (i ShareMap) ToShareMapOutput() ShareMapOutput

func (ShareMap) ToShareMapOutputWithContext

func (i ShareMap) ToShareMapOutputWithContext(ctx context.Context) ShareMapOutput

type ShareMapInput

type ShareMapInput interface {
	pulumi.Input

	ToShareMapOutput() ShareMapOutput
	ToShareMapOutputWithContext(context.Context) ShareMapOutput
}

ShareMapInput is an input type that accepts ShareMap and ShareMapOutput values. You can construct a concrete instance of `ShareMapInput` via:

ShareMap{ "key": ShareArgs{...} }

type ShareMapOutput

type ShareMapOutput struct{ *pulumi.OutputState }

func (ShareMapOutput) ElementType

func (ShareMapOutput) ElementType() reflect.Type

func (ShareMapOutput) MapIndex

func (ShareMapOutput) ToShareMapOutput

func (o ShareMapOutput) ToShareMapOutput() ShareMapOutput

func (ShareMapOutput) ToShareMapOutputWithContext

func (o ShareMapOutput) ToShareMapOutputWithContext(ctx context.Context) ShareMapOutput

type ShareNetwork

type ShareNetwork struct {
	pulumi.CustomResourceState

	// The share network CIDR.
	Cidr pulumi.StringOutput `pulumi:"cidr"`
	// The human-readable description for the share network.
	// Changing this updates the description of the existing share network.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The IP version of the share network. Can either be 4 or 6.
	IpVersion pulumi.IntOutput `pulumi:"ipVersion"`
	// The name for the share network. Changing this updates the name
	// of the existing share network.
	Name pulumi.StringOutput `pulumi:"name"`
	// The share network type. Can either be VLAN, VXLAN, GRE, or flat.
	NetworkType pulumi.StringOutput `pulumi:"networkType"`
	// 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.
	NeutronNetId pulumi.StringOutput `pulumi:"neutronNetId"`
	// 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.
	NeutronSubnetId pulumi.StringOutput `pulumi:"neutronSubnetId"`
	// The owner of the Share Network.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// 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.
	Region pulumi.StringOutput `pulumi:"region"`
	// The list of security service IDs to associate with
	// the share network. The security service must be specified by ID and not name.
	SecurityServiceIds pulumi.StringArrayOutput `pulumi:"securityServiceIds"`
	// The share network segmentation ID.
	SegmentationId pulumi.IntOutput `pulumi:"segmentationId"`
}

Use this resource to configure a share network.

A share network stores network information that share servers can use when shares are created.

## Example Usage

### Basic share network

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking"
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network1, err := networking.NewNetwork(ctx, "network1", &networking.NetworkArgs{
			AdminStateUp: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		subnet1, err := networking.NewSubnet(ctx, "subnet1", &networking.SubnetArgs{
			Cidr:      pulumi.String("192.168.199.0/24"),
			IpVersion: pulumi.Int(4),
			NetworkId: network1.ID(),
		})
		if err != nil {
			return err
		}
		_, err = sharedfilesystem.NewShareNetwork(ctx, "sharenetwork1", &sharedfilesystem.ShareNetworkArgs{
			Description:     pulumi.String("test share network"),
			NeutronNetId:    network1.ID(),
			NeutronSubnetId: subnet1.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Share network with associated security services

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/networking"
"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/sharedfilesystem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		network1, err := networking.NewNetwork(ctx, "network1", &networking.NetworkArgs{
			AdminStateUp: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		subnet1, err := networking.NewSubnet(ctx, "subnet1", &networking.SubnetArgs{
			Cidr:      pulumi.String("192.168.199.0/24"),
			IpVersion: pulumi.Int(4),
			NetworkId: network1.ID(),
		})
		if err != nil {
			return err
		}
		securityservice1, err := sharedfilesystem.NewSecurityService(ctx, "securityservice1", &sharedfilesystem.SecurityServiceArgs{
			Description: pulumi.String("created by terraform"),
			Type:        pulumi.String("active_directory"),
			Server:      pulumi.String("192.168.199.10"),
			DnsIp:       pulumi.String("192.168.199.10"),
			Domain:      pulumi.String("example.com"),
			Ou:          pulumi.String("CN=Computers,DC=example,DC=com"),
			User:        pulumi.String("joinDomainUser"),
			Password:    pulumi.String("s8cret"),
		})
		if err != nil {
			return err
		}
		_, err = sharedfilesystem.NewShareNetwork(ctx, "sharenetwork1", &sharedfilesystem.ShareNetworkArgs{
			Description:     pulumi.String("test share network with security services"),
			NeutronNetId:    network1.ID(),
			NeutronSubnetId: subnet1.ID(),
			SecurityServiceIds: pulumi.StringArray{
				securityservice1.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported by specifying the ID of the share network:

```sh $ pulumi import openstack:sharedfilesystem/shareNetwork:ShareNetwork sharenetwork_1 id ```

func GetShareNetwork

func GetShareNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareNetworkState, opts ...pulumi.ResourceOption) (*ShareNetwork, error)

GetShareNetwork gets an existing ShareNetwork resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewShareNetwork

func NewShareNetwork(ctx *pulumi.Context,
	name string, args *ShareNetworkArgs, opts ...pulumi.ResourceOption) (*ShareNetwork, error)

NewShareNetwork registers a new resource with the given unique name, arguments, and options.

func (*ShareNetwork) ElementType

func (*ShareNetwork) ElementType() reflect.Type

func (*ShareNetwork) ToShareNetworkOutput

func (i *ShareNetwork) ToShareNetworkOutput() ShareNetworkOutput

func (*ShareNetwork) ToShareNetworkOutputWithContext

func (i *ShareNetwork) ToShareNetworkOutputWithContext(ctx context.Context) ShareNetworkOutput

type ShareNetworkArgs

type ShareNetworkArgs struct {
	// The human-readable description for the share network.
	// Changing this updates the description of the existing share network.
	Description pulumi.StringPtrInput
	// The name for the share network. Changing this updates the name
	// of the existing share network.
	Name pulumi.StringPtrInput
	// 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.
	NeutronNetId pulumi.StringInput
	// 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.
	NeutronSubnetId pulumi.StringInput
	// 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.
	Region pulumi.StringPtrInput
	// The list of security service IDs to associate with
	// the share network. The security service must be specified by ID and not name.
	SecurityServiceIds pulumi.StringArrayInput
}

The set of arguments for constructing a ShareNetwork resource.

func (ShareNetworkArgs) ElementType

func (ShareNetworkArgs) ElementType() reflect.Type

type ShareNetworkArray

type ShareNetworkArray []ShareNetworkInput

func (ShareNetworkArray) ElementType

func (ShareNetworkArray) ElementType() reflect.Type

func (ShareNetworkArray) ToShareNetworkArrayOutput

func (i ShareNetworkArray) ToShareNetworkArrayOutput() ShareNetworkArrayOutput

func (ShareNetworkArray) ToShareNetworkArrayOutputWithContext

func (i ShareNetworkArray) ToShareNetworkArrayOutputWithContext(ctx context.Context) ShareNetworkArrayOutput

type ShareNetworkArrayInput

type ShareNetworkArrayInput interface {
	pulumi.Input

	ToShareNetworkArrayOutput() ShareNetworkArrayOutput
	ToShareNetworkArrayOutputWithContext(context.Context) ShareNetworkArrayOutput
}

ShareNetworkArrayInput is an input type that accepts ShareNetworkArray and ShareNetworkArrayOutput values. You can construct a concrete instance of `ShareNetworkArrayInput` via:

ShareNetworkArray{ ShareNetworkArgs{...} }

type ShareNetworkArrayOutput

type ShareNetworkArrayOutput struct{ *pulumi.OutputState }

func (ShareNetworkArrayOutput) ElementType

func (ShareNetworkArrayOutput) ElementType() reflect.Type

func (ShareNetworkArrayOutput) Index

func (ShareNetworkArrayOutput) ToShareNetworkArrayOutput

func (o ShareNetworkArrayOutput) ToShareNetworkArrayOutput() ShareNetworkArrayOutput

func (ShareNetworkArrayOutput) ToShareNetworkArrayOutputWithContext

func (o ShareNetworkArrayOutput) ToShareNetworkArrayOutputWithContext(ctx context.Context) ShareNetworkArrayOutput

type ShareNetworkInput

type ShareNetworkInput interface {
	pulumi.Input

	ToShareNetworkOutput() ShareNetworkOutput
	ToShareNetworkOutputWithContext(ctx context.Context) ShareNetworkOutput
}

type ShareNetworkMap

type ShareNetworkMap map[string]ShareNetworkInput

func (ShareNetworkMap) ElementType

func (ShareNetworkMap) ElementType() reflect.Type

func (ShareNetworkMap) ToShareNetworkMapOutput

func (i ShareNetworkMap) ToShareNetworkMapOutput() ShareNetworkMapOutput

func (ShareNetworkMap) ToShareNetworkMapOutputWithContext

func (i ShareNetworkMap) ToShareNetworkMapOutputWithContext(ctx context.Context) ShareNetworkMapOutput

type ShareNetworkMapInput

type ShareNetworkMapInput interface {
	pulumi.Input

	ToShareNetworkMapOutput() ShareNetworkMapOutput
	ToShareNetworkMapOutputWithContext(context.Context) ShareNetworkMapOutput
}

ShareNetworkMapInput is an input type that accepts ShareNetworkMap and ShareNetworkMapOutput values. You can construct a concrete instance of `ShareNetworkMapInput` via:

ShareNetworkMap{ "key": ShareNetworkArgs{...} }

type ShareNetworkMapOutput

type ShareNetworkMapOutput struct{ *pulumi.OutputState }

func (ShareNetworkMapOutput) ElementType

func (ShareNetworkMapOutput) ElementType() reflect.Type

func (ShareNetworkMapOutput) MapIndex

func (ShareNetworkMapOutput) ToShareNetworkMapOutput

func (o ShareNetworkMapOutput) ToShareNetworkMapOutput() ShareNetworkMapOutput

func (ShareNetworkMapOutput) ToShareNetworkMapOutputWithContext

func (o ShareNetworkMapOutput) ToShareNetworkMapOutputWithContext(ctx context.Context) ShareNetworkMapOutput

type ShareNetworkOutput

type ShareNetworkOutput struct{ *pulumi.OutputState }

func (ShareNetworkOutput) Cidr added in v3.9.0

The share network CIDR.

func (ShareNetworkOutput) Description added in v3.9.0

func (o ShareNetworkOutput) Description() pulumi.StringPtrOutput

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

func (ShareNetworkOutput) ElementType

func (ShareNetworkOutput) ElementType() reflect.Type

func (ShareNetworkOutput) IpVersion added in v3.9.0

func (o ShareNetworkOutput) IpVersion() pulumi.IntOutput

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

func (ShareNetworkOutput) Name added in v3.9.0

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

func (ShareNetworkOutput) NetworkType added in v3.9.0

func (o ShareNetworkOutput) NetworkType() pulumi.StringOutput

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

func (ShareNetworkOutput) NeutronNetId added in v3.9.0

func (o ShareNetworkOutput) NeutronNetId() pulumi.StringOutput

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.

func (ShareNetworkOutput) NeutronSubnetId added in v3.9.0

func (o ShareNetworkOutput) NeutronSubnetId() pulumi.StringOutput

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.

func (ShareNetworkOutput) ProjectId added in v3.9.0

func (o ShareNetworkOutput) ProjectId() pulumi.StringOutput

The owner of the Share Network.

func (ShareNetworkOutput) Region added in v3.9.0

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.

func (ShareNetworkOutput) SecurityServiceIds added in v3.9.0

func (o ShareNetworkOutput) SecurityServiceIds() pulumi.StringArrayOutput

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

func (ShareNetworkOutput) SegmentationId added in v3.9.0

func (o ShareNetworkOutput) SegmentationId() pulumi.IntOutput

The share network segmentation ID.

func (ShareNetworkOutput) ToShareNetworkOutput

func (o ShareNetworkOutput) ToShareNetworkOutput() ShareNetworkOutput

func (ShareNetworkOutput) ToShareNetworkOutputWithContext

func (o ShareNetworkOutput) ToShareNetworkOutputWithContext(ctx context.Context) ShareNetworkOutput

type ShareNetworkState

type ShareNetworkState struct {
	// The share network CIDR.
	Cidr pulumi.StringPtrInput
	// The human-readable description for the share network.
	// Changing this updates the description of the existing share network.
	Description pulumi.StringPtrInput
	// The IP version of the share network. Can either be 4 or 6.
	IpVersion pulumi.IntPtrInput
	// The name for the share network. Changing this updates the name
	// of the existing share network.
	Name pulumi.StringPtrInput
	// The share network type. Can either be VLAN, VXLAN, GRE, or flat.
	NetworkType pulumi.StringPtrInput
	// 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.
	NeutronNetId pulumi.StringPtrInput
	// 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.
	NeutronSubnetId pulumi.StringPtrInput
	// The owner of the Share Network.
	ProjectId pulumi.StringPtrInput
	// 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.
	Region pulumi.StringPtrInput
	// The list of security service IDs to associate with
	// the share network. The security service must be specified by ID and not name.
	SecurityServiceIds pulumi.StringArrayInput
	// The share network segmentation ID.
	SegmentationId pulumi.IntPtrInput
}

func (ShareNetworkState) ElementType

func (ShareNetworkState) ElementType() reflect.Type

type ShareOutput

type ShareOutput struct{ *pulumi.OutputState }

func (ShareOutput) AllMetadata added in v3.9.0

func (o ShareOutput) AllMetadata() pulumi.MapOutput

The map of metadata, assigned on the share, which has been explicitly and implicitly added.

func (ShareOutput) AvailabilityZone added in v3.9.0

func (o ShareOutput) AvailabilityZone() pulumi.StringOutput

The share availability zone. Changing this creates a new share.

func (ShareOutput) Description added in v3.9.0

func (o ShareOutput) Description() pulumi.StringPtrOutput

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

func (ShareOutput) ElementType

func (ShareOutput) ElementType() reflect.Type

func (ShareOutput) ExportLocations added in v3.9.0

func (o ShareOutput) ExportLocations() ShareExportLocationArrayOutput

A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.

func (ShareOutput) HasReplicas added in v3.9.0

func (o ShareOutput) HasReplicas() pulumi.BoolOutput

Indicates whether a share has replicas or not.

func (ShareOutput) Host added in v3.9.0

func (o ShareOutput) Host() pulumi.StringOutput

The share host name.

func (ShareOutput) IsPublic added in v3.9.0

func (o ShareOutput) IsPublic() pulumi.BoolPtrOutput

The level of visibility for the share. Set to true to make share public. Set to false to make it private. Default value is false. Changing this updates the existing share.

func (ShareOutput) Metadata added in v3.9.0

func (o ShareOutput) Metadata() pulumi.MapOutput

One or more metadata key and value pairs as a dictionary of strings.

func (ShareOutput) Name added in v3.9.0

func (o ShareOutput) Name() pulumi.StringOutput

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

func (ShareOutput) ProjectId added in v3.9.0

func (o ShareOutput) ProjectId() pulumi.StringOutput

The owner of the Share.

func (ShareOutput) Region added in v3.9.0

func (o ShareOutput) Region() pulumi.StringOutput

The region in which to obtain the V2 Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.

func (ShareOutput) ReplicationType added in v3.9.0

func (o ShareOutput) ReplicationType() pulumi.StringOutput

The share replication type.

func (ShareOutput) ShareNetworkId added in v3.9.0

func (o ShareOutput) ShareNetworkId() pulumi.StringOutput

The UUID of a share network where the share server exists or will be created. If `shareNetworkId` is not set and you provide a `snapshotId`, the shareNetworkId value from the snapshot is used. Changing this creates a new share.

func (ShareOutput) ShareProto added in v3.9.0

func (o ShareOutput) ShareProto() pulumi.StringOutput

The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.

func (ShareOutput) ShareServerId added in v3.9.0

func (o ShareOutput) ShareServerId() pulumi.StringOutput

The UUID of the share server.

func (ShareOutput) ShareType added in v3.9.0

func (o ShareOutput) ShareType() pulumi.StringOutput

The share type name. If you omit this parameter, the default share type is used.

func (ShareOutput) Size added in v3.9.0

func (o ShareOutput) Size() pulumi.IntOutput

The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.

func (ShareOutput) SnapshotId added in v3.9.0

func (o ShareOutput) SnapshotId() pulumi.StringPtrOutput

The UUID of the share's base snapshot. Changing this creates a new share.

func (ShareOutput) ToShareOutput

func (o ShareOutput) ToShareOutput() ShareOutput

func (ShareOutput) ToShareOutputWithContext

func (o ShareOutput) ToShareOutputWithContext(ctx context.Context) ShareOutput

type ShareState

type ShareState struct {
	// The map of metadata, assigned on the share, which has been
	// explicitly and implicitly added.
	AllMetadata pulumi.MapInput
	// The share availability zone. Changing this creates a
	// new share.
	AvailabilityZone pulumi.StringPtrInput
	// The human-readable description for the share.
	// Changing this updates the description of the existing share.
	Description pulumi.StringPtrInput
	// A list of export locations. For example, when a share server
	// has more than one network interface, it can have multiple export locations.
	ExportLocations ShareExportLocationArrayInput
	// Indicates whether a share has replicas or not.
	HasReplicas pulumi.BoolPtrInput
	// The share host name.
	Host pulumi.StringPtrInput
	// The level of visibility for the share. Set to true to make
	// share public. Set to false to make it private. Default value is false. Changing this
	// updates the existing share.
	IsPublic pulumi.BoolPtrInput
	// One or more metadata key and value pairs as a dictionary of
	// strings.
	Metadata pulumi.MapInput
	// The name of the share. Changing this updates the name
	// of the existing share.
	Name pulumi.StringPtrInput
	// The owner of the Share.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V2 Shared File System client.
	// A Shared File System client is needed to create a share. Changing this
	// creates a new share.
	Region pulumi.StringPtrInput
	// The share replication type.
	ReplicationType pulumi.StringPtrInput
	// The UUID of a share network where the share server exists
	// or will be created. If `shareNetworkId` is not set and you provide a `snapshotId`,
	// the shareNetworkId value from the snapshot is used. Changing this creates a new share.
	ShareNetworkId pulumi.StringPtrInput
	// The share protocol - can either be NFS, CIFS,
	// CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
	ShareProto pulumi.StringPtrInput
	// The UUID of the share server.
	ShareServerId pulumi.StringPtrInput
	// The share type name. If you omit this parameter, the default
	// share type is used.
	ShareType pulumi.StringPtrInput
	// The share size, in GBs. The requested share size cannot be greater
	// than the allowed GB quota. Changing this resizes the existing share.
	Size pulumi.IntPtrInput
	// The UUID of the share's base snapshot. Changing this creates
	// a new share.
	SnapshotId pulumi.StringPtrInput
}

func (ShareState) ElementType

func (ShareState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL