Module sharedfilesystem
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-openstackrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-openstackrepo.
Resources
Functions
Others
- GetAvailbilityZonesArgs
- GetAvailbilityZonesResult
- GetShareArgs
- GetShareNetworkArgs
- GetShareNetworkResult
- GetShareResult
- GetSnapshotArgs
- GetSnapshotResult
- SecurityServiceArgs
- SecurityServiceState
- ShareAccessArgs
- ShareAccessState
- ShareArgs
- ShareNetworkArgs
- ShareNetworkState
- ShareState
Resources
Resource SecurityService
class SecurityService extends CustomResourceconstructor
new SecurityService(name: string, args: SecurityServiceArgs, opts?: pulumi.CustomResourceOptions)Create a SecurityService resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityServiceState, opts?: pulumi.CustomResourceOptions): SecurityServiceGet an existing SecurityService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SecurityServiceReturns true if the given object is an instance of SecurityService. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property description
public description: pulumi.Output<string | undefined>;The human-readable description for the security service. Changing this updates the description of the existing security service.
property dnsIp
public dnsIp: pulumi.Output<string | undefined>;The security service DNS IP address that is used inside the tenant network.
property domain
public domain: pulumi.Output<string | undefined>;The security service domain.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the security service. Changing this updates the name of the existing security service.
property ou
public ou: pulumi.Output<string | undefined>;The security service ou. An organizational unit can be added to specify where the share ends up. New in Manila microversion 2.44.
property password
public password: pulumi.Output<string | undefined>;The user password, if you specify a user.
property projectId
public projectId: pulumi.Output<string>;The owner of the Security Service.
property region
public region: pulumi.Output<string>;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.
property server
public server: pulumi.Output<string | undefined>;The security service host name or IP address.
property type
public type: pulumi.Output<string>;The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property user
public user: pulumi.Output<string | undefined>;The security service user or group name that is used by the tenant.
Resource Share
class Share extends CustomResourceUse this resource to configure a share.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const network1 = new openstack.networking.Network("network1", {
adminStateUp: true,
});
const subnet1 = new openstack.networking.Subnet("subnet1", {
cidr: "192.168.199.0/24",
ipVersion: 4,
networkId: network1.id,
});
const sharenetwork1 = new openstack.sharedfilesystem.ShareNetwork("sharenetwork1", {
description: "test share network with security services",
neutronNetId: network1.id,
neutronSubnetId: subnet1.id,
});
const share1 = new openstack.sharedfilesystem.Share("share1", {
description: "test share description",
shareNetworkId: sharenetwork1.id,
shareProto: "NFS",
size: 1,
});constructor
new Share(name: string, args: ShareArgs, opts?: pulumi.CustomResourceOptions)Create a Share resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ShareState, opts?: pulumi.CustomResourceOptions): ShareGet an existing Share resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ShareReturns true if the given object is an instance of Share. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property allMetadata
public allMetadata: pulumi.Output<{[key: string]: any}>;The map of metadata, assigned on the share, which has been explicitly and implicitly added.
property availabilityZone
public availabilityZone: pulumi.Output<string>;The share availability zone. Changing this creates a new share.
property description
public description: pulumi.Output<string | undefined>;The human-readable description for the share. Changing this updates the description of the existing share.
property exportLocations
public exportLocations: pulumi.Output<ShareExportLocation[]>;A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.
property hasReplicas
public hasReplicas: pulumi.Output<boolean>;Indicates whether a share has replicas or not.
property host
public host: pulumi.Output<string>;The share host name.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property isPublic
public isPublic: pulumi.Output<boolean | undefined>;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.
property metadata
public metadata: pulumi.Output<{[key: string]: any} | undefined>;One or more metadata key and value pairs as a dictionary of strings.
property name
public name: pulumi.Output<string>;The name of the share. Changing this updates the name of the existing share.
property projectId
public projectId: pulumi.Output<string>;The owner of the Share.
property region
public region: pulumi.Output<string>;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.
property replicationType
public replicationType: pulumi.Output<string>;The share replication type.
property shareNetworkId
public shareNetworkId: pulumi.Output<string>;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.
property shareProto
public shareProto: pulumi.Output<string>;The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
property shareServerId
public shareServerId: pulumi.Output<string>;The UUID of the share server.
property shareType
public shareType: pulumi.Output<string>;The share type name. If you omit this parameter, the default share type is used.
property size
public size: pulumi.Output<number>;The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
property snapshotId
public snapshotId: pulumi.Output<string | undefined>;The UUID of the share’s base snapshot. Changing this creates a new share.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ShareAccess
class ShareAccess extends CustomResourceconstructor
new ShareAccess(name: string, args: ShareAccessArgs, opts?: pulumi.CustomResourceOptions)Create a ShareAccess resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ShareAccessState, opts?: pulumi.CustomResourceOptions): ShareAccessGet an existing ShareAccess resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ShareAccessReturns true if the given object is an instance of ShareAccess. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property accessKey
public accessKey: pulumi.Output<string>;The access credential of the entity granted access.
property accessLevel
public accessLevel: pulumi.Output<string>;The access level to the share. Can either be rw or ro.
property accessTo
public accessTo: pulumi.Output<string>;The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.
property accessType
public accessType: pulumi.Output<string>;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.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property region
public region: pulumi.Output<string>;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.
property shareId
public shareId: pulumi.Output<string>;The UUID of the share to which you are granted access.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ShareNetwork
class ShareNetwork extends CustomResourceconstructor
new ShareNetwork(name: string, args: ShareNetworkArgs, opts?: pulumi.CustomResourceOptions)Create a ShareNetwork resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ShareNetworkState, opts?: pulumi.CustomResourceOptions): ShareNetworkGet an existing ShareNetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ShareNetworkReturns true if the given object is an instance of ShareNetwork. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property cidr
public cidr: pulumi.Output<string>;The share network CIDR.
property description
public description: pulumi.Output<string | undefined>;The human-readable description for the share network. Changing this updates the description of the existing share network.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ipVersion
public ipVersion: pulumi.Output<number>;The IP version of the share network. Can either be 4 or 6.
property name
public name: pulumi.Output<string>;The name for the share network. Changing this updates the name of the existing share network.
property networkType
public networkType: pulumi.Output<string>;The share network type. Can either be VLAN, VXLAN, GRE, or flat.
property neutronNetId
public neutronNetId: pulumi.Output<string>;The UUID of a neutron network when setting up or updating a share network. Changing this updates the existing share network if it’s not used by shares.
property neutronSubnetId
public neutronSubnetId: pulumi.Output<string>;The UUID of the neutron subnet when setting up or updating a share network. Changing this updates the existing share network if it’s not used by shares.
property projectId
public projectId: pulumi.Output<string>;The owner of the Share Network.
property region
public region: pulumi.Output<string>;The region in which to obtain the V2 Shared File System client.
A Shared File System client is needed to create a share network. If omitted, the
region argument of the provider is used. Changing this creates a new
share network.
property securityServiceIds
public securityServiceIds: pulumi.Output<string[] | undefined>;The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.
property segmentationId
public segmentationId: pulumi.Output<number>;The share network segmentation ID.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Functions
Function getAvailbilityZones
getAvailbilityZones(args?: GetAvailbilityZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetAvailbilityZonesResult>Use this data source to get a list of Shared File System availability zones from OpenStack
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const zones = pulumi.output(openstack.sharedfilesystem.getAvailbilityZones({ async: true }));Function getShare
getShare(args?: GetShareArgs, opts?: pulumi.InvokeOptions): Promise<GetShareResult>Use this data source to get the ID of an available Shared File System share.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const share1 = pulumi.output(openstack.sharedfilesystem.getShare({
name: "share1",
}, { async: true }));Function getShareNetwork
getShareNetwork(args?: GetShareNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetShareNetworkResult>Use this data source to get the ID of an available Shared File System share network.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const sharenetwork1 = pulumi.output(openstack.sharedfilesystem.getShareNetwork({
name: "sharenetwork1",
}, { async: true }));Function getSnapshot
getSnapshot(args?: GetSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetSnapshotResult>Use this data source to get the ID of an available Shared File System snapshot.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const snapshot1 = pulumi.output(openstack.sharedfilesystem.getSnapshot({
name: "snapshot1",
}, { async: true }));Others
interface GetAvailbilityZonesArgs
interface GetAvailbilityZonesArgsA collection of arguments for invoking getAvailbilityZones.
property region
region?: undefined | string;The region in which to obtain the V2 Shared File System
client. If omitted, the region argument of the provider is used.
interface GetAvailbilityZonesResult
interface GetAvailbilityZonesResultA collection of values returned by getAvailbilityZones.
property id
id: string;The provider-assigned unique ID for this managed resource.
property names
names: string[];The names of the availability zones, ordered alphanumerically.
property region
region: string;See Argument Reference above.
interface GetShareArgs
interface GetShareArgsA collection of arguments for invoking getShare.
property description
description?: undefined | string;The human-readable description for the share.
property exportLocationPath
exportLocationPath?: undefined | string;The export location path of the share. Available since Manila API version 2.35.
property isPublic
isPublic?: undefined | false | true;The level of visibility for the share. length.
property metadata
metadata?: undefined | {[key: string]: any};One or more metadata key and value pairs as a dictionary of strings.
property name
name?: undefined | string;The name of the share.
property region
region?: undefined | string;The region in which to obtain the V2 Shared File System client.
property shareNetworkId
shareNetworkId?: undefined | string;The UUID of the share’s share network.
property snapshotId
snapshotId?: undefined | string;The UUID of the share’s base snapshot.
property status
status?: undefined | string;A share status filter. A valid value is creating,
error, available, deleting, errorDeleting, manageStarting,
manageError, unmanageStarting, unmanageError, unmanaged,
extending, extendingError, shrinking, shrinkingError, or
shrinkingPossibleDataLossError.
interface GetShareNetworkArgs
interface GetShareNetworkArgsA collection of arguments for invoking getShareNetwork.
property description
description?: undefined | string;The human-readable description of the share network.
property ipVersion
ipVersion?: undefined | number;The IP version of the share network. Can either be 4 or 6.
property name
name?: undefined | string;The name of the share network.
property networkType
networkType?: undefined | string;The share network type. Can either be VLAN, VXLAN, GRE, or flat.
property neutronNetId
neutronNetId?: undefined | string;The neutron network UUID of the share network.
property neutronSubnetId
neutronSubnetId?: undefined | string;The neutron subnet UUID of the share network.
property region
region?: undefined | string;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.
property securityServiceId
securityServiceId?: undefined | string;The security service IDs associated with the share network.
property segmentationId
segmentationId?: undefined | number;The share network segmentation ID.
interface GetShareNetworkResult
interface GetShareNetworkResultA collection of values returned by getShareNetwork.
property cidr
cidr: string;See Argument Reference above.
property description
description: string;See Argument Reference above.
property id
id: string;The provider-assigned unique ID for this managed resource.
property ipVersion
ipVersion: number;See Argument Reference above.
property name
name: string;See Argument Reference above.
property networkType
networkType: string;See Argument Reference above.
property neutronNetId
neutronNetId: string;See Argument Reference above.
property neutronSubnetId
neutronSubnetId: string;See Argument Reference above.
property projectId
projectId: string;The owner of the Share Network.
property region
region: string;See Argument Reference above.
property securityServiceId
securityServiceId?: undefined | string;See Argument Reference above.
property securityServiceIds
securityServiceIds: string[];The list of security service IDs associated with the share network.
property segmentationId
segmentationId: number;See Argument Reference above.
interface GetShareResult
interface GetShareResultA collection of values returned by getShare.
property availabilityZone
availabilityZone: string;The share availability zone.
property description
description: string;See Argument Reference above.
property exportLocationPath
exportLocationPath?: undefined | string;See Argument Reference above.
property exportLocations
exportLocations: GetShareExportLocation[];A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.
property id
id: string;The provider-assigned unique ID for this managed resource.
property isPublic
isPublic: boolean;See Argument Reference above.
property metadata
metadata: {[key: string]: any};See Argument Reference above.
property name
name: string;See Argument Reference above.
property projectId
projectId: string;See Argument Reference above.
property region
region: string;The region in which to obtain the V2 Shared File System client.
property shareNetworkId
shareNetworkId: string;See Argument Reference above.
property shareProto
shareProto: string;The share protocol.
property size
size: number;The share size, in GBs.
property snapshotId
snapshotId: string;See Argument Reference above.
property status
status: string;See Argument Reference above.
interface GetSnapshotArgs
interface GetSnapshotArgsA collection of arguments for invoking getSnapshot.
property description
description?: undefined | string;The human-readable description of the snapshot.
property name
name?: undefined | string;The name of the snapshot.
property region
region?: undefined | string;The region in which to obtain the V2 Shared File System client.
property shareId
shareId?: undefined | string;The UUID of the source share that was used to create the snapshot.
property status
status?: undefined | string;A snapshot status filter. A valid value is available, error,
creating, deleting, manageStarting, manageError, unmanageStarting,
unmanageError or errorDeleting.
interface GetSnapshotResult
interface GetSnapshotResultA collection of values returned by getSnapshot.
property description
description: string;See Argument Reference above.
property id
id: string;The provider-assigned unique ID for this managed resource.
property name
name: string;See Argument Reference above.
property projectId
projectId: string;See Argument Reference above.
property region
region: string;property shareId
shareId: string;The UUID of the source share that was used to create the snapshot.
property shareProto
shareProto: string;The file system protocol of a share snapshot.
property shareSize
shareSize: number;The share snapshot size, in GBs.
property size
size: number;The snapshot size, in GBs.
property status
status: string;See Argument Reference above.
interface SecurityServiceArgs
interface SecurityServiceArgsThe set of arguments for constructing a SecurityService resource.
property description
description?: pulumi.Input<string>;The human-readable description for the security service. Changing this updates the description of the existing security service.
property dnsIp
dnsIp?: pulumi.Input<string>;The security service DNS IP address that is used inside the tenant network.
property domain
domain?: pulumi.Input<string>;The security service domain.
property name
name?: pulumi.Input<string>;The name of the security service. Changing this updates the name of the existing security service.
property ou
ou?: pulumi.Input<string>;The security service ou. An organizational unit can be added to specify where the share ends up. New in Manila microversion 2.44.
property password
password?: pulumi.Input<string>;The user password, if you specify a user.
property region
region?: pulumi.Input<string>;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.
property server
server?: pulumi.Input<string>;The security service host name or IP address.
property type
type: pulumi.Input<string>;The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
property user
user?: pulumi.Input<string>;The security service user or group name that is used by the tenant.
interface SecurityServiceState
interface SecurityServiceStateInput properties used for looking up and filtering SecurityService resources.
property description
description?: pulumi.Input<string>;The human-readable description for the security service. Changing this updates the description of the existing security service.
property dnsIp
dnsIp?: pulumi.Input<string>;The security service DNS IP address that is used inside the tenant network.
property domain
domain?: pulumi.Input<string>;The security service domain.
property name
name?: pulumi.Input<string>;The name of the security service. Changing this updates the name of the existing security service.
property ou
ou?: pulumi.Input<string>;The security service ou. An organizational unit can be added to specify where the share ends up. New in Manila microversion 2.44.
property password
password?: pulumi.Input<string>;The user password, if you specify a user.
property projectId
projectId?: pulumi.Input<string>;The owner of the Security Service.
property region
region?: pulumi.Input<string>;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.
property server
server?: pulumi.Input<string>;The security service host name or IP address.
property type
type?: pulumi.Input<string>;The security service type - can either be active_directory, kerberos or ldap. Changing this updates the existing security service.
property user
user?: pulumi.Input<string>;The security service user or group name that is used by the tenant.
interface ShareAccessArgs
interface ShareAccessArgsThe set of arguments for constructing a ShareAccess resource.
property accessLevel
accessLevel: pulumi.Input<string>;The access level to the share. Can either be rw or ro.
property accessTo
accessTo: pulumi.Input<string>;The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.
property accessType
accessType: pulumi.Input<string>;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.
property region
region?: pulumi.Input<string>;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.
property shareId
shareId: pulumi.Input<string>;The UUID of the share to which you are granted access.
interface ShareAccessState
interface ShareAccessStateInput properties used for looking up and filtering ShareAccess resources.
property accessKey
accessKey?: pulumi.Input<string>;The access credential of the entity granted access.
property accessLevel
accessLevel?: pulumi.Input<string>;The access level to the share. Can either be rw or ro.
property accessTo
accessTo?: pulumi.Input<string>;The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.
property accessType
accessType?: pulumi.Input<string>;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.
property region
region?: pulumi.Input<string>;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.
property shareId
shareId?: pulumi.Input<string>;The UUID of the share to which you are granted access.
interface ShareArgs
interface ShareArgsThe set of arguments for constructing a Share resource.
property availabilityZone
availabilityZone?: pulumi.Input<string>;The share availability zone. Changing this creates a new share.
property description
description?: pulumi.Input<string>;The human-readable description for the share. Changing this updates the description of the existing share.
property isPublic
isPublic?: pulumi.Input<boolean>;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.
property metadata
metadata?: pulumi.Input<{[key: string]: any}>;One or more metadata key and value pairs as a dictionary of strings.
property name
name?: pulumi.Input<string>;The name of the share. Changing this updates the name of the existing share.
property region
region?: pulumi.Input<string>;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.
property shareNetworkId
shareNetworkId?: pulumi.Input<string>;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.
property shareProto
shareProto: pulumi.Input<string>;The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
property shareType
shareType?: pulumi.Input<string>;The share type name. If you omit this parameter, the default share type is used.
property size
size: pulumi.Input<number>;The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
property snapshotId
snapshotId?: pulumi.Input<string>;The UUID of the share’s base snapshot. Changing this creates a new share.
interface ShareNetworkArgs
interface ShareNetworkArgsThe set of arguments for constructing a ShareNetwork resource.
property description
description?: pulumi.Input<string>;The human-readable description for the share network. Changing this updates the description of the existing share network.
property name
name?: pulumi.Input<string>;The name for the share network. Changing this updates the name of the existing share network.
property neutronNetId
neutronNetId: pulumi.Input<string>;The UUID of a neutron network when setting up or updating a share network. Changing this updates the existing share network if it’s not used by shares.
property neutronSubnetId
neutronSubnetId: pulumi.Input<string>;The UUID of the neutron subnet when setting up or updating a share network. Changing this updates the existing share network if it’s not used by shares.
property region
region?: pulumi.Input<string>;The region in which to obtain the V2 Shared File System client.
A Shared File System client is needed to create a share network. If omitted, the
region argument of the provider is used. Changing this creates a new
share network.
property securityServiceIds
securityServiceIds?: pulumi.Input<pulumi.Input<string>[]>;The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.
interface ShareNetworkState
interface ShareNetworkStateInput properties used for looking up and filtering ShareNetwork resources.
property cidr
cidr?: pulumi.Input<string>;The share network CIDR.
property description
description?: pulumi.Input<string>;The human-readable description for the share network. Changing this updates the description of the existing share network.
property ipVersion
ipVersion?: pulumi.Input<number>;The IP version of the share network. Can either be 4 or 6.
property name
name?: pulumi.Input<string>;The name for the share network. Changing this updates the name of the existing share network.
property networkType
networkType?: pulumi.Input<string>;The share network type. Can either be VLAN, VXLAN, GRE, or flat.
property neutronNetId
neutronNetId?: pulumi.Input<string>;The UUID of a neutron network when setting up or updating a share network. Changing this updates the existing share network if it’s not used by shares.
property neutronSubnetId
neutronSubnetId?: pulumi.Input<string>;The UUID of the neutron subnet when setting up or updating a share network. Changing this updates the existing share network if it’s not used by shares.
property projectId
projectId?: pulumi.Input<string>;The owner of the Share Network.
property region
region?: pulumi.Input<string>;The region in which to obtain the V2 Shared File System client.
A Shared File System client is needed to create a share network. If omitted, the
region argument of the provider is used. Changing this creates a new
share network.
property securityServiceIds
securityServiceIds?: pulumi.Input<pulumi.Input<string>[]>;The list of security service IDs to associate with the share network. The security service must be specified by ID and not name.
property segmentationId
segmentationId?: pulumi.Input<number>;The share network segmentation ID.
interface ShareState
interface ShareStateInput properties used for looking up and filtering Share resources.
property allMetadata
allMetadata?: pulumi.Input<{[key: string]: any}>;The map of metadata, assigned on the share, which has been explicitly and implicitly added.
property availabilityZone
availabilityZone?: pulumi.Input<string>;The share availability zone. Changing this creates a new share.
property description
description?: pulumi.Input<string>;The human-readable description for the share. Changing this updates the description of the existing share.
property exportLocations
exportLocations?: pulumi.Input<pulumi.Input<ShareExportLocation>[]>;A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.
property hasReplicas
hasReplicas?: pulumi.Input<boolean>;Indicates whether a share has replicas or not.
property host
host?: pulumi.Input<string>;The share host name.
property isPublic
isPublic?: pulumi.Input<boolean>;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.
property metadata
metadata?: pulumi.Input<{[key: string]: any}>;One or more metadata key and value pairs as a dictionary of strings.
property name
name?: pulumi.Input<string>;The name of the share. Changing this updates the name of the existing share.
property projectId
projectId?: pulumi.Input<string>;The owner of the Share.
property region
region?: pulumi.Input<string>;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.
property replicationType
replicationType?: pulumi.Input<string>;The share replication type.
property shareNetworkId
shareNetworkId?: pulumi.Input<string>;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.
property shareProto
shareProto?: pulumi.Input<string>;The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
property shareServerId
shareServerId?: pulumi.Input<string>;The UUID of the share server.
property shareType
shareType?: pulumi.Input<string>;The share type name. If you omit this parameter, the default share type is used.
property size
size?: pulumi.Input<number>;The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
property snapshotId
snapshotId?: pulumi.Input<string>;The UUID of the share’s base snapshot. Changing this creates a new share.