Module sharedfilesystem
@pulumi/openstack > sharedfilesystem
Index ▹
class SecurityService
extends CustomResource
Use this resource to configure a security service.
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
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const securityservice1 = new openstack.sharedfilesystem.SecurityService("securityservice_1", {
description: "created by terraform",
dnsIp: "192.168.199.10",
domain: "example.com",
ou: "CN=Computers,DC=example,DC=com",
password: "s8cret",
server: "192.168.199.10",
type: "active_directory",
user: "joinDomainUser",
});
constructor
new SecurityService(name: string, args: SecurityServiceArgs, opts?: pulumi.CustomResourceOptions)
Create a SecurityService resource with the given unique name, arguments, and options.
name
The unique name of the resource.args
The arguments to use to populate this resource's properties.opts
A 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): SecurityService
Get an existing SecurityService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
method isInstance
static isInstance(obj: any): boolean
Returns true if the given object is an instance of CustomResource. 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.
class Share
extends CustomResource
Use 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("network_1", {
adminStateUp: true,
});
const subnet1 = new openstack.networking.Subnet("subnet_1", {
cidr: "192.168.199.0/24",
ipVersion: 4,
networkId: network1.id,
});
const sharenetwork1 = new openstack.sharedfilesystem.ShareNetwork("sharenetwork_1", {
description: "test share network with security services",
neutronNetId: network1.id,
neutronSubnetId: subnet1.id,
});
const share1 = new openstack.sharedfilesystem.Share("share_1", {
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.
name
The unique name of the resource.args
The arguments to use to populate this resource's properties.opts
A 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): Share
Get an existing Share resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
method isInstance
static isInstance(obj: any): boolean
Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
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<{ path: string; preferred: string; }[]>;
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 share_network_id
is not set and you provide a snapshot_id
,
the share_network_id 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
class ShareAccess
extends CustomResource
Use this resource to control the share access lists.
Example Usage
NFS
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const network1 = new openstack.networking.Network("network_1", {
adminStateUp: true,
});
const subnet1 = new openstack.networking.Subnet("subnet_1", {
cidr: "192.168.199.0/24",
ipVersion: 4,
networkId: network1.id,
});
const sharenetwork1 = new openstack.sharedfilesystem.ShareNetwork("sharenetwork_1", {
description: "test share network with security services",
neutronNetId: network1.id,
neutronSubnetId: subnet1.id,
});
const share1 = new openstack.sharedfilesystem.Share("share_1", {
description: "test share description",
shareNetworkId: sharenetwork1.id,
shareProto: "NFS",
size: 1,
});
const shareAccess1 = new openstack.sharedfilesystem.ShareAccess("share_access_1", {
accessLevel: "rw",
accessTo: "192.168.199.10",
accessType: "ip",
shareId: share1.id,
});
CIFS
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const network1 = new openstack.networking.Network("network_1", {
adminStateUp: true,
});
const securityservice1 = new openstack.sharedfilesystem.SecurityService("securityservice_1", {
description: "created by terraform",
dnsIp: "192.168.199.10",
domain: "example.com",
ou: "CN=Computers,DC=example,DC=com",
password: "s8cret",
server: "192.168.199.10",
type: "active_directory",
user: "joinDomainUser",
});
const subnet1 = new openstack.networking.Subnet("subnet_1", {
cidr: "192.168.199.0/24",
ipVersion: 4,
networkId: network1.id,
});
const sharenetwork1 = new openstack.sharedfilesystem.ShareNetwork("sharenetwork_1", {
description: "share the secure love",
neutronNetId: network1.id,
neutronSubnetId: subnet1.id,
securityServiceIds: [securityservice1.id],
});
const share1 = new openstack.sharedfilesystem.Share("share_1", {
shareNetworkId: sharenetwork1.id,
shareProto: "CIFS",
size: 1,
});
const shareAccess1 = new openstack.sharedfilesystem.ShareAccess("share_access_1", {
accessLevel: "ro",
accessTo: "windows",
accessType: "user",
shareId: share1.id,
});
const shareAccess2 = new openstack.sharedfilesystem.ShareAccess("share_access_2", {
accessLevel: "rw",
accessTo: "linux",
accessType: "user",
shareId: share1.id,
});
export const exportLocations = share1.exportLocations;
constructor
new ShareAccess(name: string, args: ShareAccessArgs, opts?: pulumi.CustomResourceOptions)
Create a ShareAccess resource with the given unique name, arguments, and options.
name
The unique name of the resource.args
The arguments to use to populate this resource's properties.opts
A 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): ShareAccess
Get an existing ShareAccess resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
method isInstance
static isInstance(obj: any): boolean
Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
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 or cert.
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
class ShareNetwork
extends CustomResource
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
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const network1 = new openstack.networking.Network("network_1", {
adminStateUp: true,
});
const subnet1 = new openstack.networking.Subnet("subnet_1", {
cidr: "192.168.199.0/24",
ipVersion: 4,
networkId: network1.id,
});
const sharenetwork1 = new openstack.sharedfilesystem.ShareNetwork("sharenetwork_1", {
description: "test share network",
neutronNetId: network1.id,
neutronSubnetId: subnet1.id,
});
Share network with associated security services
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const network1 = new openstack.networking.Network("network_1", {
adminStateUp: true,
});
const securityservice1 = new openstack.sharedfilesystem.SecurityService("securityservice_1", {
description: "created by terraform",
dnsIp: "192.168.199.10",
domain: "example.com",
ou: "CN=Computers,DC=example,DC=com",
password: "s8cret",
server: "192.168.199.10",
type: "active_directory",
user: "joinDomainUser",
});
const subnet1 = new openstack.networking.Subnet("subnet_1", {
cidr: "192.168.199.0/24",
ipVersion: 4,
networkId: network1.id,
});
const sharenetwork1 = new openstack.sharedfilesystem.ShareNetwork("sharenetwork_1", {
description: "test share network with security services",
neutronNetId: network1.id,
neutronSubnetId: subnet1.id,
securityServiceIds: [securityservice1.id],
});
constructor
new ShareNetwork(name: string, args: ShareNetworkArgs, opts?: pulumi.CustomResourceOptions)
Create a ShareNetwork resource with the given unique name, arguments, and options.
name
The unique name of the resource.args
The arguments to use to populate this resource's properties.opts
A 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): ShareNetwork
Get an existing ShareNetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
method isInstance
static isInstance(obj: any): boolean
Returns true if the given object is an instance of CustomResource. 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
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: "share_1",
}));
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: "sharenetwork_1",
}));
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: "snapshot_1",
}));
interface GetShareArgs
A collection of arguments for invoking getShare.
property description
description?: string;
The human-readable description for the share.
property exportLocationPath
exportLocationPath?: string;
The export location path of the share. Available since Manila API version 2.35.
property isPublic
isPublic?: boolean;
The level of visibility for the share. length.
property metadata
metadata?: {[key: string]: any};
One or more metadata key and value pairs as a dictionary of strings.
property name
name?: string;
The name of the share.
property region
region?: string;
property shareNetworkId
shareNetworkId?: string;
The UUID of the share’s share network.
property snapshotId
snapshotId?: string;
The UUID of the share’s base snapshot.
property status
status?: string;
A share status filter. A valid value is creating
,
error
, available
, deleting
, error_deleting
, manage_starting
,
manage_error
, unmanage_starting
, unmanage_error
, unmanaged
,
extending
, extending_error
, shrinking
, shrinking_error
, or
shrinking_possible_data_loss_error
.
interface GetShareNetworkArgs
A collection of arguments for invoking getShareNetwork.
property description
description?: string;
The human-readable description of the share network.
property ipVersion
ipVersion?: number;
The IP version of the share network. Can either be 4 or 6.
property name
name?: string;
The name of the share network.
property networkType
networkType?: string;
The share network type. Can either be VLAN, VXLAN, GRE, or flat.
property neutronNetId
neutronNetId?: string;
The neutron network UUID of the share network.
property neutronSubnetId
neutronSubnetId?: string;
The neutron subnet UUID of the share network.
property region
region?: 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?: string;
The security service IDs associated with the share network.
property segmentationId
segmentationId?: number;
The share network segmentation ID.
interface GetShareNetworkResult
A 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;
id is 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 securityServiceIds
securityServiceIds: string[];
The list of security service IDs associated with the share network.
property segmentationId
segmentationId: number;
See Argument Reference above.
interface GetShareResult
A collection of values returned by getShare.
property availabilityZone
availabilityZone: string;
The share availability zone.
property description
description: string;
See Argument Reference above.
property exportLocations
exportLocations: { path: string; preferred: string; }[];
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;
id is the provider-assigned unique ID for this managed resource.
property isPublic
isPublic: boolean;
See Argument Reference above.
property metadata
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
A collection of arguments for invoking getSnapshot.
property description
description?: string;
The human-readable description of the snapshot.
property name
name?: string;
The name of the snapshot.
property region
region?: string;
The region in which to obtain the V2 Shared File System client.
property shareId
shareId?: string;
property status
status?: string;
A snapshot status filter. A valid value is available
, error
,
creating
, deleting
, manage_starting
, manage_error
, unmanage_starting
,
unmanage_error
or error_deleting
.
interface GetSnapshotResult
A collection of values returned by getSnapshot.
property description
description: string;
See Argument Reference above.
property id
id: string;
id is 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
The 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
Input 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
The 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 or cert.
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
Input properties used for looking up and filtering ShareAccess resources.
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 or cert.
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
The 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 share_network_id
is not set and you provide a snapshot_id
,
the share_network_id 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
The 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
Input 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
Input properties used for looking up and filtering Share resources.
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<{ path: pulumi.Input<string>; preferred: pulumi.Input<string>; }>[]>;
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 share_network_id
is not set and you provide a snapshot_id
,
the share_network_id 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.