Documentation
¶
Index ¶
- type ActiveDirectory
- type ActiveDirectoryArgs
- type ActiveDirectoryArray
- type ActiveDirectoryArrayInput
- type ActiveDirectoryArrayOutput
- func (ActiveDirectoryArrayOutput) ElementType() reflect.Type
- func (o ActiveDirectoryArrayOutput) Index(i pulumi.IntInput) ActiveDirectoryOutput
- func (o ActiveDirectoryArrayOutput) ToActiveDirectoryArrayOutput() ActiveDirectoryArrayOutput
- func (o ActiveDirectoryArrayOutput) ToActiveDirectoryArrayOutputWithContext(ctx context.Context) ActiveDirectoryArrayOutput
- type ActiveDirectoryInput
- type ActiveDirectoryMap
- type ActiveDirectoryMapInput
- type ActiveDirectoryMapOutput
- func (ActiveDirectoryMapOutput) ElementType() reflect.Type
- func (o ActiveDirectoryMapOutput) MapIndex(k pulumi.StringInput) ActiveDirectoryOutput
- func (o ActiveDirectoryMapOutput) ToActiveDirectoryMapOutput() ActiveDirectoryMapOutput
- func (o ActiveDirectoryMapOutput) ToActiveDirectoryMapOutputWithContext(ctx context.Context) ActiveDirectoryMapOutput
- type ActiveDirectoryOutput
- func (o ActiveDirectoryOutput) AesEncryption() pulumi.BoolPtrOutput
- func (o ActiveDirectoryOutput) BackupOperators() pulumi.StringArrayOutput
- func (o ActiveDirectoryOutput) CreateTime() pulumi.StringOutput
- func (o ActiveDirectoryOutput) Description() pulumi.StringPtrOutput
- func (o ActiveDirectoryOutput) Dns() pulumi.StringOutput
- func (o ActiveDirectoryOutput) Domain() pulumi.StringOutput
- func (o ActiveDirectoryOutput) EffectiveLabels() pulumi.StringMapOutput
- func (ActiveDirectoryOutput) ElementType() reflect.Type
- func (o ActiveDirectoryOutput) EncryptDcConnections() pulumi.BoolPtrOutput
- func (o ActiveDirectoryOutput) KdcHostname() pulumi.StringPtrOutput
- func (o ActiveDirectoryOutput) KdcIp() pulumi.StringPtrOutput
- func (o ActiveDirectoryOutput) Labels() pulumi.StringMapOutput
- func (o ActiveDirectoryOutput) LdapSigning() pulumi.BoolPtrOutput
- func (o ActiveDirectoryOutput) Location() pulumi.StringOutput
- func (o ActiveDirectoryOutput) Name() pulumi.StringOutput
- func (o ActiveDirectoryOutput) NetBiosPrefix() pulumi.StringOutput
- func (o ActiveDirectoryOutput) NfsUsersWithLdap() pulumi.BoolPtrOutput
- func (o ActiveDirectoryOutput) OrganizationalUnit() pulumi.StringOutput
- func (o ActiveDirectoryOutput) Password() pulumi.StringOutput
- func (o ActiveDirectoryOutput) Project() pulumi.StringOutput
- func (o ActiveDirectoryOutput) PulumiLabels() pulumi.StringMapOutput
- func (o ActiveDirectoryOutput) SecurityOperators() pulumi.StringArrayOutput
- func (o ActiveDirectoryOutput) Site() pulumi.StringPtrOutput
- func (o ActiveDirectoryOutput) State() pulumi.StringOutput
- func (o ActiveDirectoryOutput) StateDetails() pulumi.StringOutput
- func (o ActiveDirectoryOutput) ToActiveDirectoryOutput() ActiveDirectoryOutput
- func (o ActiveDirectoryOutput) ToActiveDirectoryOutputWithContext(ctx context.Context) ActiveDirectoryOutput
- func (o ActiveDirectoryOutput) Username() pulumi.StringOutput
- type ActiveDirectoryState
- type BackupVault
- type BackupVaultArgs
- type BackupVaultArray
- type BackupVaultArrayInput
- type BackupVaultArrayOutput
- func (BackupVaultArrayOutput) ElementType() reflect.Type
- func (o BackupVaultArrayOutput) Index(i pulumi.IntInput) BackupVaultOutput
- func (o BackupVaultArrayOutput) ToBackupVaultArrayOutput() BackupVaultArrayOutput
- func (o BackupVaultArrayOutput) ToBackupVaultArrayOutputWithContext(ctx context.Context) BackupVaultArrayOutput
- type BackupVaultInput
- type BackupVaultMap
- type BackupVaultMapInput
- type BackupVaultMapOutput
- func (BackupVaultMapOutput) ElementType() reflect.Type
- func (o BackupVaultMapOutput) MapIndex(k pulumi.StringInput) BackupVaultOutput
- func (o BackupVaultMapOutput) ToBackupVaultMapOutput() BackupVaultMapOutput
- func (o BackupVaultMapOutput) ToBackupVaultMapOutputWithContext(ctx context.Context) BackupVaultMapOutput
- type BackupVaultOutput
- func (o BackupVaultOutput) CreateTime() pulumi.StringOutput
- func (o BackupVaultOutput) Description() pulumi.StringPtrOutput
- func (o BackupVaultOutput) EffectiveLabels() pulumi.StringMapOutput
- func (BackupVaultOutput) ElementType() reflect.Type
- func (o BackupVaultOutput) Labels() pulumi.StringMapOutput
- func (o BackupVaultOutput) Location() pulumi.StringOutput
- func (o BackupVaultOutput) Name() pulumi.StringOutput
- func (o BackupVaultOutput) Project() pulumi.StringOutput
- func (o BackupVaultOutput) PulumiLabels() pulumi.StringMapOutput
- func (o BackupVaultOutput) State() pulumi.StringOutput
- func (o BackupVaultOutput) ToBackupVaultOutput() BackupVaultOutput
- func (o BackupVaultOutput) ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput
- type BackupVaultState
- type Kmsconfig
- type KmsconfigArgs
- type KmsconfigArray
- type KmsconfigArrayInput
- type KmsconfigArrayOutput
- func (KmsconfigArrayOutput) ElementType() reflect.Type
- func (o KmsconfigArrayOutput) Index(i pulumi.IntInput) KmsconfigOutput
- func (o KmsconfigArrayOutput) ToKmsconfigArrayOutput() KmsconfigArrayOutput
- func (o KmsconfigArrayOutput) ToKmsconfigArrayOutputWithContext(ctx context.Context) KmsconfigArrayOutput
- type KmsconfigInput
- type KmsconfigMap
- type KmsconfigMapInput
- type KmsconfigMapOutput
- type KmsconfigOutput
- func (o KmsconfigOutput) CryptoKeyName() pulumi.StringOutput
- func (o KmsconfigOutput) Description() pulumi.StringPtrOutput
- func (o KmsconfigOutput) EffectiveLabels() pulumi.StringMapOutput
- func (KmsconfigOutput) ElementType() reflect.Type
- func (o KmsconfigOutput) Instructions() pulumi.StringOutput
- func (o KmsconfigOutput) Labels() pulumi.StringMapOutput
- func (o KmsconfigOutput) Location() pulumi.StringOutput
- func (o KmsconfigOutput) Name() pulumi.StringOutput
- func (o KmsconfigOutput) Project() pulumi.StringOutput
- func (o KmsconfigOutput) PulumiLabels() pulumi.StringMapOutput
- func (o KmsconfigOutput) ServiceAccount() pulumi.StringOutput
- func (o KmsconfigOutput) ToKmsconfigOutput() KmsconfigOutput
- func (o KmsconfigOutput) ToKmsconfigOutputWithContext(ctx context.Context) KmsconfigOutput
- type KmsconfigState
- type StoragePool
- type StoragePoolArgs
- type StoragePoolArray
- type StoragePoolArrayInput
- type StoragePoolArrayOutput
- func (StoragePoolArrayOutput) ElementType() reflect.Type
- func (o StoragePoolArrayOutput) Index(i pulumi.IntInput) StoragePoolOutput
- func (o StoragePoolArrayOutput) ToStoragePoolArrayOutput() StoragePoolArrayOutput
- func (o StoragePoolArrayOutput) ToStoragePoolArrayOutputWithContext(ctx context.Context) StoragePoolArrayOutput
- type StoragePoolInput
- type StoragePoolMap
- type StoragePoolMapInput
- type StoragePoolMapOutput
- func (StoragePoolMapOutput) ElementType() reflect.Type
- func (o StoragePoolMapOutput) MapIndex(k pulumi.StringInput) StoragePoolOutput
- func (o StoragePoolMapOutput) ToStoragePoolMapOutput() StoragePoolMapOutput
- func (o StoragePoolMapOutput) ToStoragePoolMapOutputWithContext(ctx context.Context) StoragePoolMapOutput
- type StoragePoolOutput
- func (o StoragePoolOutput) ActiveDirectory() pulumi.StringPtrOutput
- func (o StoragePoolOutput) CapacityGib() pulumi.StringOutput
- func (o StoragePoolOutput) Description() pulumi.StringPtrOutput
- func (o StoragePoolOutput) EffectiveLabels() pulumi.StringMapOutput
- func (StoragePoolOutput) ElementType() reflect.Type
- func (o StoragePoolOutput) EncryptionType() pulumi.StringOutput
- func (o StoragePoolOutput) KmsConfig() pulumi.StringPtrOutput
- func (o StoragePoolOutput) Labels() pulumi.StringMapOutput
- func (o StoragePoolOutput) LdapEnabled() pulumi.BoolPtrOutput
- func (o StoragePoolOutput) Location() pulumi.StringOutput
- func (o StoragePoolOutput) Name() pulumi.StringOutput
- func (o StoragePoolOutput) Network() pulumi.StringOutput
- func (o StoragePoolOutput) Project() pulumi.StringOutput
- func (o StoragePoolOutput) PulumiLabels() pulumi.StringMapOutput
- func (o StoragePoolOutput) ServiceLevel() pulumi.StringOutput
- func (o StoragePoolOutput) ToStoragePoolOutput() StoragePoolOutput
- func (o StoragePoolOutput) ToStoragePoolOutputWithContext(ctx context.Context) StoragePoolOutput
- func (o StoragePoolOutput) VolumeCapacityGib() pulumi.StringOutput
- func (o StoragePoolOutput) VolumeCount() pulumi.IntOutput
- type StoragePoolState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveDirectory ¶ added in v7.5.0
type ActiveDirectory struct { pulumi.CustomResourceState // Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory. AesEncryption pulumi.BoolPtrOutput `pulumi:"aesEncryption"` // Domain user/group accounts to be added to the Backup Operators group of the SMB service. The Backup Operators group allows members to backup and restore files regardless of whether they have read or write access to the files. Comma-separated list. BackupOperators pulumi.StringArrayOutput `pulumi:"backupOperators"` // Create time of the active directory. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z". CreateTime pulumi.StringOutput `pulumi:"createTime"` // An optional description of this resource. Description pulumi.StringPtrOutput `pulumi:"description"` // Comma separated list of DNS server IP addresses for the Active Directory domain. Dns pulumi.StringOutput `pulumi:"dns"` // Fully qualified domain name for the Active Directory domain. Domain pulumi.StringOutput `pulumi:"domain"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. EncryptDcConnections pulumi.BoolPtrOutput `pulumi:"encryptDcConnections"` // Hostname of the Active Directory server used as Kerberos Key Distribution Center. Only requried for volumes using kerberized NFSv4.1 KdcHostname pulumi.StringPtrOutput `pulumi:"kdcHostname"` // IP address of the Active Directory server used as Kerberos Key Distribution Center. KdcIp pulumi.StringPtrOutput `pulumi:"kdcIp"` // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // Specifies whether or not the LDAP traffic needs to be signed. LdapSigning pulumi.BoolPtrOutput `pulumi:"ldapSigning"` // Name of the region for the policy to apply to. Location pulumi.StringOutput `pulumi:"location"` // The resource name of the Active Directory pool. Needs to be unique per location. // // *** Name pulumi.StringOutput `pulumi:"name"` // NetBIOS name prefix of the server to be created. // A five-character random ID is generated automatically, for example, -6f9a, and appended to the prefix. The full UNC share path will have the following format: // `\\NetBIOS_PREFIX-ABCD.DOMAIN_NAME\SHARE_NAME` NetBiosPrefix pulumi.StringOutput `pulumi:"netBiosPrefix"` // Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. // This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups). NfsUsersWithLdap pulumi.BoolPtrOutput `pulumi:"nfsUsersWithLdap"` // Name of the Organizational Unit where you intend to create the computer account for NetApp Volumes. // Defaults to `CN=Computers` if left empty. OrganizationalUnit pulumi.StringOutput `pulumi:"organizationalUnit"` // Password for specified username. Note - Manual changes done to the password will not be detected. Terraform will not // re-apply the password, unless you use a new password in Terraform. Password pulumi.StringOutput `pulumi:"password"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Domain accounts that require elevated privileges such as `SeSecurityPrivilege` to manage security logs. Comma-separated list. SecurityOperators pulumi.StringArrayOutput `pulumi:"securityOperators"` // Specifies an Active Directory site to manage domain controller selection. // Use when Active Directory domain controllers in multiple regions are configured. Defaults to `Default-First-Site-Name` if left empty. Site pulumi.StringPtrOutput `pulumi:"site"` // The state of the Active Directory policy (not the Active Directory itself). State pulumi.StringOutput `pulumi:"state"` // The state details of the Active Directory. StateDetails pulumi.StringOutput `pulumi:"stateDetails"` // Username for the Active Directory account with permissions to create the compute account within the specified organizational unit. Username pulumi.StringOutput `pulumi:"username"` }
ActiveDirectory is the public representation of the active directory config.
To get more information about activeDirectory, see:
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.activeDirectories) * How-to Guides
- [Official Documentation](https://cloud.google.com/netapp/volumes/docs/configure-and-use/active-directory/about-ad)
## Example Usage ### Netapp Active Directory Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := netapp.NewActiveDirectory(ctx, "testActiveDirectoryFull", &netapp.ActiveDirectoryArgs{ Location: pulumi.String("us-central1"), Domain: pulumi.String("ad.internal"), Dns: pulumi.String("172.30.64.3"), NetBiosPrefix: pulumi.String("smbserver"), Username: pulumi.String("user"), Password: pulumi.String("pass"), AesEncryption: pulumi.Bool(false), BackupOperators: pulumi.StringArray{ pulumi.String("test1"), pulumi.String("test2"), }, Description: pulumi.String("ActiveDirectory is the public representation of the active directory config."), EncryptDcConnections: pulumi.Bool(false), KdcHostname: pulumi.String("hostname"), KdcIp: pulumi.String("10.10.0.11"), Labels: pulumi.StringMap{ "foo": pulumi.String("bar"), }, LdapSigning: pulumi.Bool(false), NfsUsersWithLdap: pulumi.Bool(false), OrganizationalUnit: pulumi.String("CN=Computers"), SecurityOperators: pulumi.StringArray{ pulumi.String("test1"), pulumi.String("test2"), }, Site: pulumi.String("test-site"), }) if err != nil { return err } return nil }) }
```
## Import
activeDirectory can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import activeDirectory using one of the formats above. For exampletf import {
id = "projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}" to = google_netapp_active_directory.default }
```sh
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), activeDirectory can be imported using one of the formats above. For example
```
```sh
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory default projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}
```
```sh
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory default {{location}}/{{name}}
```
func GetActiveDirectory ¶ added in v7.5.0
func GetActiveDirectory(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActiveDirectoryState, opts ...pulumi.ResourceOption) (*ActiveDirectory, error)
GetActiveDirectory gets an existing ActiveDirectory 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 NewActiveDirectory ¶ added in v7.5.0
func NewActiveDirectory(ctx *pulumi.Context, name string, args *ActiveDirectoryArgs, opts ...pulumi.ResourceOption) (*ActiveDirectory, error)
NewActiveDirectory registers a new resource with the given unique name, arguments, and options.
func (*ActiveDirectory) ElementType ¶ added in v7.5.0
func (*ActiveDirectory) ElementType() reflect.Type
func (*ActiveDirectory) ToActiveDirectoryOutput ¶ added in v7.5.0
func (i *ActiveDirectory) ToActiveDirectoryOutput() ActiveDirectoryOutput
func (*ActiveDirectory) ToActiveDirectoryOutputWithContext ¶ added in v7.5.0
func (i *ActiveDirectory) ToActiveDirectoryOutputWithContext(ctx context.Context) ActiveDirectoryOutput
type ActiveDirectoryArgs ¶ added in v7.5.0
type ActiveDirectoryArgs struct { // Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory. AesEncryption pulumi.BoolPtrInput // Domain user/group accounts to be added to the Backup Operators group of the SMB service. The Backup Operators group allows members to backup and restore files regardless of whether they have read or write access to the files. Comma-separated list. BackupOperators pulumi.StringArrayInput // An optional description of this resource. Description pulumi.StringPtrInput // Comma separated list of DNS server IP addresses for the Active Directory domain. Dns pulumi.StringInput // Fully qualified domain name for the Active Directory domain. Domain pulumi.StringInput // If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. EncryptDcConnections pulumi.BoolPtrInput // Hostname of the Active Directory server used as Kerberos Key Distribution Center. Only requried for volumes using kerberized NFSv4.1 KdcHostname pulumi.StringPtrInput // IP address of the Active Directory server used as Kerberos Key Distribution Center. KdcIp pulumi.StringPtrInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Specifies whether or not the LDAP traffic needs to be signed. LdapSigning pulumi.BoolPtrInput // Name of the region for the policy to apply to. Location pulumi.StringInput // The resource name of the Active Directory pool. Needs to be unique per location. // // *** Name pulumi.StringPtrInput // NetBIOS name prefix of the server to be created. // A five-character random ID is generated automatically, for example, -6f9a, and appended to the prefix. The full UNC share path will have the following format: // `\\NetBIOS_PREFIX-ABCD.DOMAIN_NAME\SHARE_NAME` NetBiosPrefix pulumi.StringInput // Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. // This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups). NfsUsersWithLdap pulumi.BoolPtrInput // Name of the Organizational Unit where you intend to create the computer account for NetApp Volumes. // Defaults to `CN=Computers` if left empty. OrganizationalUnit pulumi.StringPtrInput // Password for specified username. Note - Manual changes done to the password will not be detected. Terraform will not // re-apply the password, unless you use a new password in Terraform. Password pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Domain accounts that require elevated privileges such as `SeSecurityPrivilege` to manage security logs. Comma-separated list. SecurityOperators pulumi.StringArrayInput // Specifies an Active Directory site to manage domain controller selection. // Use when Active Directory domain controllers in multiple regions are configured. Defaults to `Default-First-Site-Name` if left empty. Site pulumi.StringPtrInput // Username for the Active Directory account with permissions to create the compute account within the specified organizational unit. Username pulumi.StringInput }
The set of arguments for constructing a ActiveDirectory resource.
func (ActiveDirectoryArgs) ElementType ¶ added in v7.5.0
func (ActiveDirectoryArgs) ElementType() reflect.Type
type ActiveDirectoryArray ¶ added in v7.5.0
type ActiveDirectoryArray []ActiveDirectoryInput
func (ActiveDirectoryArray) ElementType ¶ added in v7.5.0
func (ActiveDirectoryArray) ElementType() reflect.Type
func (ActiveDirectoryArray) ToActiveDirectoryArrayOutput ¶ added in v7.5.0
func (i ActiveDirectoryArray) ToActiveDirectoryArrayOutput() ActiveDirectoryArrayOutput
func (ActiveDirectoryArray) ToActiveDirectoryArrayOutputWithContext ¶ added in v7.5.0
func (i ActiveDirectoryArray) ToActiveDirectoryArrayOutputWithContext(ctx context.Context) ActiveDirectoryArrayOutput
type ActiveDirectoryArrayInput ¶ added in v7.5.0
type ActiveDirectoryArrayInput interface { pulumi.Input ToActiveDirectoryArrayOutput() ActiveDirectoryArrayOutput ToActiveDirectoryArrayOutputWithContext(context.Context) ActiveDirectoryArrayOutput }
ActiveDirectoryArrayInput is an input type that accepts ActiveDirectoryArray and ActiveDirectoryArrayOutput values. You can construct a concrete instance of `ActiveDirectoryArrayInput` via:
ActiveDirectoryArray{ ActiveDirectoryArgs{...} }
type ActiveDirectoryArrayOutput ¶ added in v7.5.0
type ActiveDirectoryArrayOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryArrayOutput) ElementType ¶ added in v7.5.0
func (ActiveDirectoryArrayOutput) ElementType() reflect.Type
func (ActiveDirectoryArrayOutput) Index ¶ added in v7.5.0
func (o ActiveDirectoryArrayOutput) Index(i pulumi.IntInput) ActiveDirectoryOutput
func (ActiveDirectoryArrayOutput) ToActiveDirectoryArrayOutput ¶ added in v7.5.0
func (o ActiveDirectoryArrayOutput) ToActiveDirectoryArrayOutput() ActiveDirectoryArrayOutput
func (ActiveDirectoryArrayOutput) ToActiveDirectoryArrayOutputWithContext ¶ added in v7.5.0
func (o ActiveDirectoryArrayOutput) ToActiveDirectoryArrayOutputWithContext(ctx context.Context) ActiveDirectoryArrayOutput
type ActiveDirectoryInput ¶ added in v7.5.0
type ActiveDirectoryInput interface { pulumi.Input ToActiveDirectoryOutput() ActiveDirectoryOutput ToActiveDirectoryOutputWithContext(ctx context.Context) ActiveDirectoryOutput }
type ActiveDirectoryMap ¶ added in v7.5.0
type ActiveDirectoryMap map[string]ActiveDirectoryInput
func (ActiveDirectoryMap) ElementType ¶ added in v7.5.0
func (ActiveDirectoryMap) ElementType() reflect.Type
func (ActiveDirectoryMap) ToActiveDirectoryMapOutput ¶ added in v7.5.0
func (i ActiveDirectoryMap) ToActiveDirectoryMapOutput() ActiveDirectoryMapOutput
func (ActiveDirectoryMap) ToActiveDirectoryMapOutputWithContext ¶ added in v7.5.0
func (i ActiveDirectoryMap) ToActiveDirectoryMapOutputWithContext(ctx context.Context) ActiveDirectoryMapOutput
type ActiveDirectoryMapInput ¶ added in v7.5.0
type ActiveDirectoryMapInput interface { pulumi.Input ToActiveDirectoryMapOutput() ActiveDirectoryMapOutput ToActiveDirectoryMapOutputWithContext(context.Context) ActiveDirectoryMapOutput }
ActiveDirectoryMapInput is an input type that accepts ActiveDirectoryMap and ActiveDirectoryMapOutput values. You can construct a concrete instance of `ActiveDirectoryMapInput` via:
ActiveDirectoryMap{ "key": ActiveDirectoryArgs{...} }
type ActiveDirectoryMapOutput ¶ added in v7.5.0
type ActiveDirectoryMapOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryMapOutput) ElementType ¶ added in v7.5.0
func (ActiveDirectoryMapOutput) ElementType() reflect.Type
func (ActiveDirectoryMapOutput) MapIndex ¶ added in v7.5.0
func (o ActiveDirectoryMapOutput) MapIndex(k pulumi.StringInput) ActiveDirectoryOutput
func (ActiveDirectoryMapOutput) ToActiveDirectoryMapOutput ¶ added in v7.5.0
func (o ActiveDirectoryMapOutput) ToActiveDirectoryMapOutput() ActiveDirectoryMapOutput
func (ActiveDirectoryMapOutput) ToActiveDirectoryMapOutputWithContext ¶ added in v7.5.0
func (o ActiveDirectoryMapOutput) ToActiveDirectoryMapOutputWithContext(ctx context.Context) ActiveDirectoryMapOutput
type ActiveDirectoryOutput ¶ added in v7.5.0
type ActiveDirectoryOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryOutput) AesEncryption ¶ added in v7.5.0
func (o ActiveDirectoryOutput) AesEncryption() pulumi.BoolPtrOutput
Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory.
func (ActiveDirectoryOutput) BackupOperators ¶ added in v7.5.0
func (o ActiveDirectoryOutput) BackupOperators() pulumi.StringArrayOutput
Domain user/group accounts to be added to the Backup Operators group of the SMB service. The Backup Operators group allows members to backup and restore files regardless of whether they have read or write access to the files. Comma-separated list.
func (ActiveDirectoryOutput) CreateTime ¶ added in v7.5.0
func (o ActiveDirectoryOutput) CreateTime() pulumi.StringOutput
Create time of the active directory. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
func (ActiveDirectoryOutput) Description ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Description() pulumi.StringPtrOutput
An optional description of this resource.
func (ActiveDirectoryOutput) Dns ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Dns() pulumi.StringOutput
Comma separated list of DNS server IP addresses for the Active Directory domain.
func (ActiveDirectoryOutput) Domain ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Domain() pulumi.StringOutput
Fully qualified domain name for the Active Directory domain.
func (ActiveDirectoryOutput) EffectiveLabels ¶ added in v7.5.0
func (o ActiveDirectoryOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (ActiveDirectoryOutput) ElementType ¶ added in v7.5.0
func (ActiveDirectoryOutput) ElementType() reflect.Type
func (ActiveDirectoryOutput) EncryptDcConnections ¶ added in v7.5.0
func (o ActiveDirectoryOutput) EncryptDcConnections() pulumi.BoolPtrOutput
If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted.
func (ActiveDirectoryOutput) KdcHostname ¶ added in v7.5.0
func (o ActiveDirectoryOutput) KdcHostname() pulumi.StringPtrOutput
Hostname of the Active Directory server used as Kerberos Key Distribution Center. Only requried for volumes using kerberized NFSv4.1
func (ActiveDirectoryOutput) KdcIp ¶ added in v7.5.0
func (o ActiveDirectoryOutput) KdcIp() pulumi.StringPtrOutput
IP address of the Active Directory server used as Kerberos Key Distribution Center.
func (ActiveDirectoryOutput) Labels ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Labels() pulumi.StringMapOutput
Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (ActiveDirectoryOutput) LdapSigning ¶ added in v7.5.0
func (o ActiveDirectoryOutput) LdapSigning() pulumi.BoolPtrOutput
Specifies whether or not the LDAP traffic needs to be signed.
func (ActiveDirectoryOutput) Location ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Location() pulumi.StringOutput
Name of the region for the policy to apply to.
func (ActiveDirectoryOutput) Name ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Name() pulumi.StringOutput
The resource name of the Active Directory pool. Needs to be unique per location.
***
func (ActiveDirectoryOutput) NetBiosPrefix ¶ added in v7.5.0
func (o ActiveDirectoryOutput) NetBiosPrefix() pulumi.StringOutput
NetBIOS name prefix of the server to be created. A five-character random ID is generated automatically, for example, -6f9a, and appended to the prefix. The full UNC share path will have the following format: `\\NetBIOS_PREFIX-ABCD.DOMAIN_NAME\SHARE_NAME`
func (ActiveDirectoryOutput) NfsUsersWithLdap ¶ added in v7.5.0
func (o ActiveDirectoryOutput) NfsUsersWithLdap() pulumi.BoolPtrOutput
Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups).
func (ActiveDirectoryOutput) OrganizationalUnit ¶ added in v7.5.0
func (o ActiveDirectoryOutput) OrganizationalUnit() pulumi.StringOutput
Name of the Organizational Unit where you intend to create the computer account for NetApp Volumes. Defaults to `CN=Computers` if left empty.
func (ActiveDirectoryOutput) Password ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Password() pulumi.StringOutput
Password for specified username. Note - Manual changes done to the password will not be detected. Terraform will not re-apply the password, unless you use a new password in Terraform.
func (ActiveDirectoryOutput) Project ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (ActiveDirectoryOutput) PulumiLabels ¶ added in v7.5.0
func (o ActiveDirectoryOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (ActiveDirectoryOutput) SecurityOperators ¶ added in v7.5.0
func (o ActiveDirectoryOutput) SecurityOperators() pulumi.StringArrayOutput
Domain accounts that require elevated privileges such as `SeSecurityPrivilege` to manage security logs. Comma-separated list.
func (ActiveDirectoryOutput) Site ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Site() pulumi.StringPtrOutput
Specifies an Active Directory site to manage domain controller selection. Use when Active Directory domain controllers in multiple regions are configured. Defaults to `Default-First-Site-Name` if left empty.
func (ActiveDirectoryOutput) State ¶ added in v7.5.0
func (o ActiveDirectoryOutput) State() pulumi.StringOutput
The state of the Active Directory policy (not the Active Directory itself).
func (ActiveDirectoryOutput) StateDetails ¶ added in v7.5.0
func (o ActiveDirectoryOutput) StateDetails() pulumi.StringOutput
The state details of the Active Directory.
func (ActiveDirectoryOutput) ToActiveDirectoryOutput ¶ added in v7.5.0
func (o ActiveDirectoryOutput) ToActiveDirectoryOutput() ActiveDirectoryOutput
func (ActiveDirectoryOutput) ToActiveDirectoryOutputWithContext ¶ added in v7.5.0
func (o ActiveDirectoryOutput) ToActiveDirectoryOutputWithContext(ctx context.Context) ActiveDirectoryOutput
func (ActiveDirectoryOutput) Username ¶ added in v7.5.0
func (o ActiveDirectoryOutput) Username() pulumi.StringOutput
Username for the Active Directory account with permissions to create the compute account within the specified organizational unit.
type ActiveDirectoryState ¶ added in v7.5.0
type ActiveDirectoryState struct { // Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory. AesEncryption pulumi.BoolPtrInput // Domain user/group accounts to be added to the Backup Operators group of the SMB service. The Backup Operators group allows members to backup and restore files regardless of whether they have read or write access to the files. Comma-separated list. BackupOperators pulumi.StringArrayInput // Create time of the active directory. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z". CreateTime pulumi.StringPtrInput // An optional description of this resource. Description pulumi.StringPtrInput // Comma separated list of DNS server IP addresses for the Active Directory domain. Dns pulumi.StringPtrInput // Fully qualified domain name for the Active Directory domain. Domain pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. EncryptDcConnections pulumi.BoolPtrInput // Hostname of the Active Directory server used as Kerberos Key Distribution Center. Only requried for volumes using kerberized NFSv4.1 KdcHostname pulumi.StringPtrInput // IP address of the Active Directory server used as Kerberos Key Distribution Center. KdcIp pulumi.StringPtrInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Specifies whether or not the LDAP traffic needs to be signed. LdapSigning pulumi.BoolPtrInput // Name of the region for the policy to apply to. Location pulumi.StringPtrInput // The resource name of the Active Directory pool. Needs to be unique per location. // // *** Name pulumi.StringPtrInput // NetBIOS name prefix of the server to be created. // A five-character random ID is generated automatically, for example, -6f9a, and appended to the prefix. The full UNC share path will have the following format: // `\\NetBIOS_PREFIX-ABCD.DOMAIN_NAME\SHARE_NAME` NetBiosPrefix pulumi.StringPtrInput // Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. // This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups). NfsUsersWithLdap pulumi.BoolPtrInput // Name of the Organizational Unit where you intend to create the computer account for NetApp Volumes. // Defaults to `CN=Computers` if left empty. OrganizationalUnit pulumi.StringPtrInput // Password for specified username. Note - Manual changes done to the password will not be detected. Terraform will not // re-apply the password, unless you use a new password in Terraform. Password pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Domain accounts that require elevated privileges such as `SeSecurityPrivilege` to manage security logs. Comma-separated list. SecurityOperators pulumi.StringArrayInput // Specifies an Active Directory site to manage domain controller selection. // Use when Active Directory domain controllers in multiple regions are configured. Defaults to `Default-First-Site-Name` if left empty. Site pulumi.StringPtrInput // The state of the Active Directory policy (not the Active Directory itself). State pulumi.StringPtrInput // The state details of the Active Directory. StateDetails pulumi.StringPtrInput // Username for the Active Directory account with permissions to create the compute account within the specified organizational unit. Username pulumi.StringPtrInput }
func (ActiveDirectoryState) ElementType ¶ added in v7.5.0
func (ActiveDirectoryState) ElementType() reflect.Type
type BackupVault ¶ added in v7.5.0
type BackupVault struct { pulumi.CustomResourceState // Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z". CreateTime pulumi.StringOutput `pulumi:"createTime"` // An optional description of this resource. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // Location (region) of the backup vault. Location pulumi.StringOutput `pulumi:"location"` // The resource name of the backup vault. Needs to be unique per location. // // *** Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The state of the Backup Vault. State pulumi.StringOutput `pulumi:"state"` }
A backup vault is the location where backups are stored. You can only create one backup vault per region. A vault can hold multiple backups for multiple volumes in that region.
To get more information about backupVault, see:
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.backupVaults) * How-to Guides
## Example Usage ### Netapp Backup Vault
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := netapp.NewBackupVault(ctx, "testBackupVault", &netapp.BackupVaultArgs{ Location: pulumi.String("us-central1"), Description: pulumi.String("Terraform created vault"), Labels: pulumi.StringMap{ "creator": pulumi.String("testuser"), }, }) if err != nil { return err } return nil }) }
```
## Import
backupVault can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/backupVaults/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import backupVault using one of the formats above. For exampletf import {
id = "projects/{{project}}/locations/{{location}}/backupVaults/{{name}}" to = google_netapp_backup_vault.default }
```sh
$ pulumi import gcp:netapp/backupVault:BackupVault When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), backupVault can be imported using one of the formats above. For example
```
```sh
$ pulumi import gcp:netapp/backupVault:BackupVault default projects/{{project}}/locations/{{location}}/backupVaults/{{name}}
```
```sh
$ pulumi import gcp:netapp/backupVault:BackupVault default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:netapp/backupVault:BackupVault default {{location}}/{{name}}
```
func GetBackupVault ¶ added in v7.5.0
func GetBackupVault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupVaultState, opts ...pulumi.ResourceOption) (*BackupVault, error)
GetBackupVault gets an existing BackupVault 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 NewBackupVault ¶ added in v7.5.0
func NewBackupVault(ctx *pulumi.Context, name string, args *BackupVaultArgs, opts ...pulumi.ResourceOption) (*BackupVault, error)
NewBackupVault registers a new resource with the given unique name, arguments, and options.
func (*BackupVault) ElementType ¶ added in v7.5.0
func (*BackupVault) ElementType() reflect.Type
func (*BackupVault) ToBackupVaultOutput ¶ added in v7.5.0
func (i *BackupVault) ToBackupVaultOutput() BackupVaultOutput
func (*BackupVault) ToBackupVaultOutputWithContext ¶ added in v7.5.0
func (i *BackupVault) ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput
type BackupVaultArgs ¶ added in v7.5.0
type BackupVaultArgs struct { // An optional description of this resource. Description pulumi.StringPtrInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Location (region) of the backup vault. Location pulumi.StringInput // The resource name of the backup vault. Needs to be unique per location. // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a BackupVault resource.
func (BackupVaultArgs) ElementType ¶ added in v7.5.0
func (BackupVaultArgs) ElementType() reflect.Type
type BackupVaultArray ¶ added in v7.5.0
type BackupVaultArray []BackupVaultInput
func (BackupVaultArray) ElementType ¶ added in v7.5.0
func (BackupVaultArray) ElementType() reflect.Type
func (BackupVaultArray) ToBackupVaultArrayOutput ¶ added in v7.5.0
func (i BackupVaultArray) ToBackupVaultArrayOutput() BackupVaultArrayOutput
func (BackupVaultArray) ToBackupVaultArrayOutputWithContext ¶ added in v7.5.0
func (i BackupVaultArray) ToBackupVaultArrayOutputWithContext(ctx context.Context) BackupVaultArrayOutput
type BackupVaultArrayInput ¶ added in v7.5.0
type BackupVaultArrayInput interface { pulumi.Input ToBackupVaultArrayOutput() BackupVaultArrayOutput ToBackupVaultArrayOutputWithContext(context.Context) BackupVaultArrayOutput }
BackupVaultArrayInput is an input type that accepts BackupVaultArray and BackupVaultArrayOutput values. You can construct a concrete instance of `BackupVaultArrayInput` via:
BackupVaultArray{ BackupVaultArgs{...} }
type BackupVaultArrayOutput ¶ added in v7.5.0
type BackupVaultArrayOutput struct{ *pulumi.OutputState }
func (BackupVaultArrayOutput) ElementType ¶ added in v7.5.0
func (BackupVaultArrayOutput) ElementType() reflect.Type
func (BackupVaultArrayOutput) Index ¶ added in v7.5.0
func (o BackupVaultArrayOutput) Index(i pulumi.IntInput) BackupVaultOutput
func (BackupVaultArrayOutput) ToBackupVaultArrayOutput ¶ added in v7.5.0
func (o BackupVaultArrayOutput) ToBackupVaultArrayOutput() BackupVaultArrayOutput
func (BackupVaultArrayOutput) ToBackupVaultArrayOutputWithContext ¶ added in v7.5.0
func (o BackupVaultArrayOutput) ToBackupVaultArrayOutputWithContext(ctx context.Context) BackupVaultArrayOutput
type BackupVaultInput ¶ added in v7.5.0
type BackupVaultInput interface { pulumi.Input ToBackupVaultOutput() BackupVaultOutput ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput }
type BackupVaultMap ¶ added in v7.5.0
type BackupVaultMap map[string]BackupVaultInput
func (BackupVaultMap) ElementType ¶ added in v7.5.0
func (BackupVaultMap) ElementType() reflect.Type
func (BackupVaultMap) ToBackupVaultMapOutput ¶ added in v7.5.0
func (i BackupVaultMap) ToBackupVaultMapOutput() BackupVaultMapOutput
func (BackupVaultMap) ToBackupVaultMapOutputWithContext ¶ added in v7.5.0
func (i BackupVaultMap) ToBackupVaultMapOutputWithContext(ctx context.Context) BackupVaultMapOutput
type BackupVaultMapInput ¶ added in v7.5.0
type BackupVaultMapInput interface { pulumi.Input ToBackupVaultMapOutput() BackupVaultMapOutput ToBackupVaultMapOutputWithContext(context.Context) BackupVaultMapOutput }
BackupVaultMapInput is an input type that accepts BackupVaultMap and BackupVaultMapOutput values. You can construct a concrete instance of `BackupVaultMapInput` via:
BackupVaultMap{ "key": BackupVaultArgs{...} }
type BackupVaultMapOutput ¶ added in v7.5.0
type BackupVaultMapOutput struct{ *pulumi.OutputState }
func (BackupVaultMapOutput) ElementType ¶ added in v7.5.0
func (BackupVaultMapOutput) ElementType() reflect.Type
func (BackupVaultMapOutput) MapIndex ¶ added in v7.5.0
func (o BackupVaultMapOutput) MapIndex(k pulumi.StringInput) BackupVaultOutput
func (BackupVaultMapOutput) ToBackupVaultMapOutput ¶ added in v7.5.0
func (o BackupVaultMapOutput) ToBackupVaultMapOutput() BackupVaultMapOutput
func (BackupVaultMapOutput) ToBackupVaultMapOutputWithContext ¶ added in v7.5.0
func (o BackupVaultMapOutput) ToBackupVaultMapOutputWithContext(ctx context.Context) BackupVaultMapOutput
type BackupVaultOutput ¶ added in v7.5.0
type BackupVaultOutput struct{ *pulumi.OutputState }
func (BackupVaultOutput) CreateTime ¶ added in v7.5.0
func (o BackupVaultOutput) CreateTime() pulumi.StringOutput
Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
func (BackupVaultOutput) Description ¶ added in v7.5.0
func (o BackupVaultOutput) Description() pulumi.StringPtrOutput
An optional description of this resource.
func (BackupVaultOutput) EffectiveLabels ¶ added in v7.5.0
func (o BackupVaultOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (BackupVaultOutput) ElementType ¶ added in v7.5.0
func (BackupVaultOutput) ElementType() reflect.Type
func (BackupVaultOutput) Labels ¶ added in v7.5.0
func (o BackupVaultOutput) Labels() pulumi.StringMapOutput
Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (BackupVaultOutput) Location ¶ added in v7.5.0
func (o BackupVaultOutput) Location() pulumi.StringOutput
Location (region) of the backup vault.
func (BackupVaultOutput) Name ¶ added in v7.5.0
func (o BackupVaultOutput) Name() pulumi.StringOutput
The resource name of the backup vault. Needs to be unique per location.
***
func (BackupVaultOutput) Project ¶ added in v7.5.0
func (o BackupVaultOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (BackupVaultOutput) PulumiLabels ¶ added in v7.5.0
func (o BackupVaultOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (BackupVaultOutput) State ¶ added in v7.5.0
func (o BackupVaultOutput) State() pulumi.StringOutput
The state of the Backup Vault.
func (BackupVaultOutput) ToBackupVaultOutput ¶ added in v7.5.0
func (o BackupVaultOutput) ToBackupVaultOutput() BackupVaultOutput
func (BackupVaultOutput) ToBackupVaultOutputWithContext ¶ added in v7.5.0
func (o BackupVaultOutput) ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput
type BackupVaultState ¶ added in v7.5.0
type BackupVaultState struct { // Create time of the backup vault. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z". CreateTime pulumi.StringPtrInput // An optional description of this resource. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Location (region) of the backup vault. Location pulumi.StringPtrInput // The resource name of the backup vault. Needs to be unique per location. // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The state of the Backup Vault. State pulumi.StringPtrInput }
func (BackupVaultState) ElementType ¶ added in v7.5.0
func (BackupVaultState) ElementType() reflect.Type
type Kmsconfig ¶ added in v7.6.0
type Kmsconfig struct { pulumi.CustomResourceState // Resource name of the KMS key to use. Only regional keys are supported. Format: `projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{key}}`. CryptoKeyName pulumi.StringOutput `pulumi:"cryptoKeyName"` // Description for the CMEK policy. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Access to the key needs to be granted. The instructions contain gcloud commands to run to grant access. // To make the policy work, a CMEK policy check is required, which verifies key access. Instructions pulumi.StringOutput `pulumi:"instructions"` // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // Name of the policy location. CMEK policies apply to the whole region. Location pulumi.StringOutput `pulumi:"location"` // Name of the CMEK policy. // // *** Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The Service account which needs to have access to the provided KMS key. ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"` }
NetApp Volumes always encrypts your data at rest using volume-specific keys.
A CMEK policy (customer-managed encryption key) warps such volume-specific keys in a key stored in Cloud Key Management Service (KMS).
To get more information about kmsconfig, see:
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.kmsConfigs) * How-to Guides
## Example Usage ### Kms Config Create
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { keyring, err := kms.NewKeyRing(ctx, "keyring", &kms.KeyRingArgs{ Location: pulumi.String("us-central1"), }) if err != nil { return err } cryptoKey, err := kms.NewCryptoKey(ctx, "cryptoKey", &kms.CryptoKeyArgs{ KeyRing: keyring.ID(), }) if err != nil { return err } _, err = netapp.NewKmsconfig(ctx, "kmsConfig", &netapp.KmsconfigArgs{ Description: pulumi.String("this is a test description"), CryptoKeyName: cryptoKey.ID(), Location: pulumi.String("us-central1"), }) if err != nil { return err } return nil }) }
```
## Import
kmsconfig can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import kmsconfig using one of the formats above. For exampletf import {
id = "projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}" to = google_netapp_kmsconfig.default }
```sh
$ pulumi import gcp:netapp/kmsconfig:Kmsconfig When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), kmsconfig can be imported using one of the formats above. For example
```
```sh
$ pulumi import gcp:netapp/kmsconfig:Kmsconfig default projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}
```
```sh
$ pulumi import gcp:netapp/kmsconfig:Kmsconfig default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:netapp/kmsconfig:Kmsconfig default {{location}}/{{name}}
```
func GetKmsconfig ¶ added in v7.6.0
func GetKmsconfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KmsconfigState, opts ...pulumi.ResourceOption) (*Kmsconfig, error)
GetKmsconfig gets an existing Kmsconfig 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 NewKmsconfig ¶ added in v7.6.0
func NewKmsconfig(ctx *pulumi.Context, name string, args *KmsconfigArgs, opts ...pulumi.ResourceOption) (*Kmsconfig, error)
NewKmsconfig registers a new resource with the given unique name, arguments, and options.
func (*Kmsconfig) ElementType ¶ added in v7.6.0
func (*Kmsconfig) ToKmsconfigOutput ¶ added in v7.6.0
func (i *Kmsconfig) ToKmsconfigOutput() KmsconfigOutput
func (*Kmsconfig) ToKmsconfigOutputWithContext ¶ added in v7.6.0
func (i *Kmsconfig) ToKmsconfigOutputWithContext(ctx context.Context) KmsconfigOutput
type KmsconfigArgs ¶ added in v7.6.0
type KmsconfigArgs struct { // Resource name of the KMS key to use. Only regional keys are supported. Format: `projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{key}}`. CryptoKeyName pulumi.StringInput // Description for the CMEK policy. Description pulumi.StringPtrInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Name of the policy location. CMEK policies apply to the whole region. Location pulumi.StringInput // Name of the CMEK policy. // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Kmsconfig resource.
func (KmsconfigArgs) ElementType ¶ added in v7.6.0
func (KmsconfigArgs) ElementType() reflect.Type
type KmsconfigArray ¶ added in v7.6.0
type KmsconfigArray []KmsconfigInput
func (KmsconfigArray) ElementType ¶ added in v7.6.0
func (KmsconfigArray) ElementType() reflect.Type
func (KmsconfigArray) ToKmsconfigArrayOutput ¶ added in v7.6.0
func (i KmsconfigArray) ToKmsconfigArrayOutput() KmsconfigArrayOutput
func (KmsconfigArray) ToKmsconfigArrayOutputWithContext ¶ added in v7.6.0
func (i KmsconfigArray) ToKmsconfigArrayOutputWithContext(ctx context.Context) KmsconfigArrayOutput
type KmsconfigArrayInput ¶ added in v7.6.0
type KmsconfigArrayInput interface { pulumi.Input ToKmsconfigArrayOutput() KmsconfigArrayOutput ToKmsconfigArrayOutputWithContext(context.Context) KmsconfigArrayOutput }
KmsconfigArrayInput is an input type that accepts KmsconfigArray and KmsconfigArrayOutput values. You can construct a concrete instance of `KmsconfigArrayInput` via:
KmsconfigArray{ KmsconfigArgs{...} }
type KmsconfigArrayOutput ¶ added in v7.6.0
type KmsconfigArrayOutput struct{ *pulumi.OutputState }
func (KmsconfigArrayOutput) ElementType ¶ added in v7.6.0
func (KmsconfigArrayOutput) ElementType() reflect.Type
func (KmsconfigArrayOutput) Index ¶ added in v7.6.0
func (o KmsconfigArrayOutput) Index(i pulumi.IntInput) KmsconfigOutput
func (KmsconfigArrayOutput) ToKmsconfigArrayOutput ¶ added in v7.6.0
func (o KmsconfigArrayOutput) ToKmsconfigArrayOutput() KmsconfigArrayOutput
func (KmsconfigArrayOutput) ToKmsconfigArrayOutputWithContext ¶ added in v7.6.0
func (o KmsconfigArrayOutput) ToKmsconfigArrayOutputWithContext(ctx context.Context) KmsconfigArrayOutput
type KmsconfigInput ¶ added in v7.6.0
type KmsconfigInput interface { pulumi.Input ToKmsconfigOutput() KmsconfigOutput ToKmsconfigOutputWithContext(ctx context.Context) KmsconfigOutput }
type KmsconfigMap ¶ added in v7.6.0
type KmsconfigMap map[string]KmsconfigInput
func (KmsconfigMap) ElementType ¶ added in v7.6.0
func (KmsconfigMap) ElementType() reflect.Type
func (KmsconfigMap) ToKmsconfigMapOutput ¶ added in v7.6.0
func (i KmsconfigMap) ToKmsconfigMapOutput() KmsconfigMapOutput
func (KmsconfigMap) ToKmsconfigMapOutputWithContext ¶ added in v7.6.0
func (i KmsconfigMap) ToKmsconfigMapOutputWithContext(ctx context.Context) KmsconfigMapOutput
type KmsconfigMapInput ¶ added in v7.6.0
type KmsconfigMapInput interface { pulumi.Input ToKmsconfigMapOutput() KmsconfigMapOutput ToKmsconfigMapOutputWithContext(context.Context) KmsconfigMapOutput }
KmsconfigMapInput is an input type that accepts KmsconfigMap and KmsconfigMapOutput values. You can construct a concrete instance of `KmsconfigMapInput` via:
KmsconfigMap{ "key": KmsconfigArgs{...} }
type KmsconfigMapOutput ¶ added in v7.6.0
type KmsconfigMapOutput struct{ *pulumi.OutputState }
func (KmsconfigMapOutput) ElementType ¶ added in v7.6.0
func (KmsconfigMapOutput) ElementType() reflect.Type
func (KmsconfigMapOutput) MapIndex ¶ added in v7.6.0
func (o KmsconfigMapOutput) MapIndex(k pulumi.StringInput) KmsconfigOutput
func (KmsconfigMapOutput) ToKmsconfigMapOutput ¶ added in v7.6.0
func (o KmsconfigMapOutput) ToKmsconfigMapOutput() KmsconfigMapOutput
func (KmsconfigMapOutput) ToKmsconfigMapOutputWithContext ¶ added in v7.6.0
func (o KmsconfigMapOutput) ToKmsconfigMapOutputWithContext(ctx context.Context) KmsconfigMapOutput
type KmsconfigOutput ¶ added in v7.6.0
type KmsconfigOutput struct{ *pulumi.OutputState }
func (KmsconfigOutput) CryptoKeyName ¶ added in v7.6.0
func (o KmsconfigOutput) CryptoKeyName() pulumi.StringOutput
Resource name of the KMS key to use. Only regional keys are supported. Format: `projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{key}}`.
func (KmsconfigOutput) Description ¶ added in v7.6.0
func (o KmsconfigOutput) Description() pulumi.StringPtrOutput
Description for the CMEK policy.
func (KmsconfigOutput) EffectiveLabels ¶ added in v7.6.0
func (o KmsconfigOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (KmsconfigOutput) ElementType ¶ added in v7.6.0
func (KmsconfigOutput) ElementType() reflect.Type
func (KmsconfigOutput) Instructions ¶ added in v7.6.0
func (o KmsconfigOutput) Instructions() pulumi.StringOutput
Access to the key needs to be granted. The instructions contain gcloud commands to run to grant access. To make the policy work, a CMEK policy check is required, which verifies key access.
func (KmsconfigOutput) Labels ¶ added in v7.6.0
func (o KmsconfigOutput) Labels() pulumi.StringMapOutput
Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (KmsconfigOutput) Location ¶ added in v7.6.0
func (o KmsconfigOutput) Location() pulumi.StringOutput
Name of the policy location. CMEK policies apply to the whole region.
func (KmsconfigOutput) Name ¶ added in v7.6.0
func (o KmsconfigOutput) Name() pulumi.StringOutput
Name of the CMEK policy.
***
func (KmsconfigOutput) Project ¶ added in v7.6.0
func (o KmsconfigOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (KmsconfigOutput) PulumiLabels ¶ added in v7.6.0
func (o KmsconfigOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (KmsconfigOutput) ServiceAccount ¶ added in v7.6.0
func (o KmsconfigOutput) ServiceAccount() pulumi.StringOutput
The Service account which needs to have access to the provided KMS key.
func (KmsconfigOutput) ToKmsconfigOutput ¶ added in v7.6.0
func (o KmsconfigOutput) ToKmsconfigOutput() KmsconfigOutput
func (KmsconfigOutput) ToKmsconfigOutputWithContext ¶ added in v7.6.0
func (o KmsconfigOutput) ToKmsconfigOutputWithContext(ctx context.Context) KmsconfigOutput
type KmsconfigState ¶ added in v7.6.0
type KmsconfigState struct { // Resource name of the KMS key to use. Only regional keys are supported. Format: `projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{key}}`. CryptoKeyName pulumi.StringPtrInput // Description for the CMEK policy. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Access to the key needs to be granted. The instructions contain gcloud commands to run to grant access. // To make the policy work, a CMEK policy check is required, which verifies key access. Instructions pulumi.StringPtrInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // Name of the policy location. CMEK policies apply to the whole region. Location pulumi.StringPtrInput // Name of the CMEK policy. // // *** Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The Service account which needs to have access to the provided KMS key. ServiceAccount pulumi.StringPtrInput }
func (KmsconfigState) ElementType ¶ added in v7.6.0
func (KmsconfigState) ElementType() reflect.Type
type StoragePool ¶
type StoragePool struct { pulumi.CustomResourceState // Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`. // The policy needs to be in the same location as the storage pool. ActiveDirectory pulumi.StringPtrOutput `pulumi:"activeDirectory"` // Capacity of the storage pool (in GiB). CapacityGib pulumi.StringOutput `pulumi:"capacityGib"` // An optional description of this resource. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Reports if volumes in the pool are encrypted using a Google-managed encryption key or CMEK. EncryptionType pulumi.StringOutput `pulumi:"encryptionType"` // Specifies the CMEK policy to be used for volume encryption. Format: `projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}`. // The policy needs to be in the same location as the storage pool. KmsConfig pulumi.StringPtrOutput `pulumi:"kmsConfig"` // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3, // using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1. LdapEnabled pulumi.BoolPtrOutput `pulumi:"ldapEnabled"` // Name of the location. Usually a region name, expect for some STANDARD service level pools which require a zone name. Location pulumi.StringOutput `pulumi:"location"` // The resource name of the storage pool. Needs to be unique per location. // // *** Name pulumi.StringOutput `pulumi:"name"` // VPC network name with format: `projects/{{project}}/global/networks/{{network}}` Network pulumi.StringOutput `pulumi:"network"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Service level of the storage pool. // Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`. ServiceLevel pulumi.StringOutput `pulumi:"serviceLevel"` // Size allocated to volumes in the storage pool (in GiB). VolumeCapacityGib pulumi.StringOutput `pulumi:"volumeCapacityGib"` // Number of volume in the storage pool. VolumeCount pulumi.IntOutput `pulumi:"volumeCount"` }
Storage pools act as containers for volumes. All volumes in a storage pool share the following information: * Location * Service level * Virtual Private Cloud (VPC) network * Active Directory policy * LDAP use for NFS volumes, if applicable * Customer-managed encryption key (CMEK) policy
The capacity of the pool can be split up and assigned to volumes within the pool. Storage pools are a billable component of NetApp Volumes. Billing is based on the location, service level, and capacity allocated to a pool independent of consumption at the volume level.
To get more information about storagePool, see:
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.storagePools) * How-to Guides
- [QUICKSTART_TITLE](https://cloud.google.com/netapp/volumes/docs/get-started/quickstarts/create-storage-pool)
## Example Usage ### Storage Pool Create
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/netapp" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { peeringNetwork, err := compute.NewNetwork(ctx, "peeringNetwork", nil) if err != nil { return err } privateIpAlloc, err := compute.NewGlobalAddress(ctx, "privateIpAlloc", &compute.GlobalAddressArgs{ Purpose: pulumi.String("VPC_PEERING"), AddressType: pulumi.String("INTERNAL"), PrefixLength: pulumi.Int(16), Network: peeringNetwork.ID(), }) if err != nil { return err } _, err = servicenetworking.NewConnection(ctx, "default", &servicenetworking.ConnectionArgs{ Network: peeringNetwork.ID(), Service: pulumi.String("netapp.servicenetworking.goog"), ReservedPeeringRanges: pulumi.StringArray{ privateIpAlloc.Name, }, }) if err != nil { return err } _, err = netapp.NewStoragePool(ctx, "testPool", &netapp.StoragePoolArgs{ Location: pulumi.String("us-central1"), ServiceLevel: pulumi.String("PREMIUM"), CapacityGib: pulumi.String("2048"), Network: peeringNetwork.ID(), }) if err != nil { return err } return nil }) }
```
## Import
storagePool can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/storagePools/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import storagePool using one of the formats above. For exampletf import {
id = "projects/{{project}}/locations/{{location}}/storagePools/{{name}}" to = google_netapp_storage_pool.default }
```sh
$ pulumi import gcp:netapp/storagePool:StoragePool When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), storagePool can be imported using one of the formats above. For example
```
```sh
$ pulumi import gcp:netapp/storagePool:StoragePool default projects/{{project}}/locations/{{location}}/storagePools/{{name}}
```
```sh
$ pulumi import gcp:netapp/storagePool:StoragePool default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:netapp/storagePool:StoragePool default {{location}}/{{name}}
```
func GetStoragePool ¶
func GetStoragePool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StoragePoolState, opts ...pulumi.ResourceOption) (*StoragePool, error)
GetStoragePool gets an existing StoragePool 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 NewStoragePool ¶
func NewStoragePool(ctx *pulumi.Context, name string, args *StoragePoolArgs, opts ...pulumi.ResourceOption) (*StoragePool, error)
NewStoragePool registers a new resource with the given unique name, arguments, and options.
func (*StoragePool) ElementType ¶
func (*StoragePool) ElementType() reflect.Type
func (*StoragePool) ToStoragePoolOutput ¶
func (i *StoragePool) ToStoragePoolOutput() StoragePoolOutput
func (*StoragePool) ToStoragePoolOutputWithContext ¶
func (i *StoragePool) ToStoragePoolOutputWithContext(ctx context.Context) StoragePoolOutput
type StoragePoolArgs ¶
type StoragePoolArgs struct { // Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`. // The policy needs to be in the same location as the storage pool. ActiveDirectory pulumi.StringPtrInput // Capacity of the storage pool (in GiB). CapacityGib pulumi.StringInput // An optional description of this resource. Description pulumi.StringPtrInput // Specifies the CMEK policy to be used for volume encryption. Format: `projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}`. // The policy needs to be in the same location as the storage pool. KmsConfig pulumi.StringPtrInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3, // using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1. LdapEnabled pulumi.BoolPtrInput // Name of the location. Usually a region name, expect for some STANDARD service level pools which require a zone name. Location pulumi.StringInput // The resource name of the storage pool. Needs to be unique per location. // // *** Name pulumi.StringPtrInput // VPC network name with format: `projects/{{project}}/global/networks/{{network}}` Network pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Service level of the storage pool. // Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`. ServiceLevel pulumi.StringInput }
The set of arguments for constructing a StoragePool resource.
func (StoragePoolArgs) ElementType ¶
func (StoragePoolArgs) ElementType() reflect.Type
type StoragePoolArray ¶
type StoragePoolArray []StoragePoolInput
func (StoragePoolArray) ElementType ¶
func (StoragePoolArray) ElementType() reflect.Type
func (StoragePoolArray) ToStoragePoolArrayOutput ¶
func (i StoragePoolArray) ToStoragePoolArrayOutput() StoragePoolArrayOutput
func (StoragePoolArray) ToStoragePoolArrayOutputWithContext ¶
func (i StoragePoolArray) ToStoragePoolArrayOutputWithContext(ctx context.Context) StoragePoolArrayOutput
type StoragePoolArrayInput ¶
type StoragePoolArrayInput interface { pulumi.Input ToStoragePoolArrayOutput() StoragePoolArrayOutput ToStoragePoolArrayOutputWithContext(context.Context) StoragePoolArrayOutput }
StoragePoolArrayInput is an input type that accepts StoragePoolArray and StoragePoolArrayOutput values. You can construct a concrete instance of `StoragePoolArrayInput` via:
StoragePoolArray{ StoragePoolArgs{...} }
type StoragePoolArrayOutput ¶
type StoragePoolArrayOutput struct{ *pulumi.OutputState }
func (StoragePoolArrayOutput) ElementType ¶
func (StoragePoolArrayOutput) ElementType() reflect.Type
func (StoragePoolArrayOutput) Index ¶
func (o StoragePoolArrayOutput) Index(i pulumi.IntInput) StoragePoolOutput
func (StoragePoolArrayOutput) ToStoragePoolArrayOutput ¶
func (o StoragePoolArrayOutput) ToStoragePoolArrayOutput() StoragePoolArrayOutput
func (StoragePoolArrayOutput) ToStoragePoolArrayOutputWithContext ¶
func (o StoragePoolArrayOutput) ToStoragePoolArrayOutputWithContext(ctx context.Context) StoragePoolArrayOutput
type StoragePoolInput ¶
type StoragePoolInput interface { pulumi.Input ToStoragePoolOutput() StoragePoolOutput ToStoragePoolOutputWithContext(ctx context.Context) StoragePoolOutput }
type StoragePoolMap ¶
type StoragePoolMap map[string]StoragePoolInput
func (StoragePoolMap) ElementType ¶
func (StoragePoolMap) ElementType() reflect.Type
func (StoragePoolMap) ToStoragePoolMapOutput ¶
func (i StoragePoolMap) ToStoragePoolMapOutput() StoragePoolMapOutput
func (StoragePoolMap) ToStoragePoolMapOutputWithContext ¶
func (i StoragePoolMap) ToStoragePoolMapOutputWithContext(ctx context.Context) StoragePoolMapOutput
type StoragePoolMapInput ¶
type StoragePoolMapInput interface { pulumi.Input ToStoragePoolMapOutput() StoragePoolMapOutput ToStoragePoolMapOutputWithContext(context.Context) StoragePoolMapOutput }
StoragePoolMapInput is an input type that accepts StoragePoolMap and StoragePoolMapOutput values. You can construct a concrete instance of `StoragePoolMapInput` via:
StoragePoolMap{ "key": StoragePoolArgs{...} }
type StoragePoolMapOutput ¶
type StoragePoolMapOutput struct{ *pulumi.OutputState }
func (StoragePoolMapOutput) ElementType ¶
func (StoragePoolMapOutput) ElementType() reflect.Type
func (StoragePoolMapOutput) MapIndex ¶
func (o StoragePoolMapOutput) MapIndex(k pulumi.StringInput) StoragePoolOutput
func (StoragePoolMapOutput) ToStoragePoolMapOutput ¶
func (o StoragePoolMapOutput) ToStoragePoolMapOutput() StoragePoolMapOutput
func (StoragePoolMapOutput) ToStoragePoolMapOutputWithContext ¶
func (o StoragePoolMapOutput) ToStoragePoolMapOutputWithContext(ctx context.Context) StoragePoolMapOutput
type StoragePoolOutput ¶
type StoragePoolOutput struct{ *pulumi.OutputState }
func (StoragePoolOutput) ActiveDirectory ¶
func (o StoragePoolOutput) ActiveDirectory() pulumi.StringPtrOutput
Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`. The policy needs to be in the same location as the storage pool.
func (StoragePoolOutput) CapacityGib ¶
func (o StoragePoolOutput) CapacityGib() pulumi.StringOutput
Capacity of the storage pool (in GiB).
func (StoragePoolOutput) Description ¶
func (o StoragePoolOutput) Description() pulumi.StringPtrOutput
An optional description of this resource.
func (StoragePoolOutput) EffectiveLabels ¶
func (o StoragePoolOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (StoragePoolOutput) ElementType ¶
func (StoragePoolOutput) ElementType() reflect.Type
func (StoragePoolOutput) EncryptionType ¶
func (o StoragePoolOutput) EncryptionType() pulumi.StringOutput
Reports if volumes in the pool are encrypted using a Google-managed encryption key or CMEK.
func (StoragePoolOutput) KmsConfig ¶
func (o StoragePoolOutput) KmsConfig() pulumi.StringPtrOutput
Specifies the CMEK policy to be used for volume encryption. Format: `projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}`. The policy needs to be in the same location as the storage pool.
func (StoragePoolOutput) Labels ¶
func (o StoragePoolOutput) Labels() pulumi.StringMapOutput
Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (StoragePoolOutput) LdapEnabled ¶
func (o StoragePoolOutput) LdapEnabled() pulumi.BoolPtrOutput
When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3, using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
func (StoragePoolOutput) Location ¶
func (o StoragePoolOutput) Location() pulumi.StringOutput
Name of the location. Usually a region name, expect for some STANDARD service level pools which require a zone name.
func (StoragePoolOutput) Name ¶
func (o StoragePoolOutput) Name() pulumi.StringOutput
The resource name of the storage pool. Needs to be unique per location.
***
func (StoragePoolOutput) Network ¶
func (o StoragePoolOutput) Network() pulumi.StringOutput
VPC network name with format: `projects/{{project}}/global/networks/{{network}}`
func (StoragePoolOutput) Project ¶
func (o StoragePoolOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (StoragePoolOutput) PulumiLabels ¶
func (o StoragePoolOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (StoragePoolOutput) ServiceLevel ¶
func (o StoragePoolOutput) ServiceLevel() pulumi.StringOutput
Service level of the storage pool. Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`.
func (StoragePoolOutput) ToStoragePoolOutput ¶
func (o StoragePoolOutput) ToStoragePoolOutput() StoragePoolOutput
func (StoragePoolOutput) ToStoragePoolOutputWithContext ¶
func (o StoragePoolOutput) ToStoragePoolOutputWithContext(ctx context.Context) StoragePoolOutput
func (StoragePoolOutput) VolumeCapacityGib ¶
func (o StoragePoolOutput) VolumeCapacityGib() pulumi.StringOutput
Size allocated to volumes in the storage pool (in GiB).
func (StoragePoolOutput) VolumeCount ¶
func (o StoragePoolOutput) VolumeCount() pulumi.IntOutput
Number of volume in the storage pool.
type StoragePoolState ¶
type StoragePoolState struct { // Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`. // The policy needs to be in the same location as the storage pool. ActiveDirectory pulumi.StringPtrInput // Capacity of the storage pool (in GiB). CapacityGib pulumi.StringPtrInput // An optional description of this resource. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Reports if volumes in the pool are encrypted using a Google-managed encryption key or CMEK. EncryptionType pulumi.StringPtrInput // Specifies the CMEK policy to be used for volume encryption. Format: `projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}`. // The policy needs to be in the same location as the storage pool. KmsConfig pulumi.StringPtrInput // Labels as key value pairs. Example: `{ "owner": "Bob", "department": "finance", "purpose": "testing" }`. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3, // using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1. LdapEnabled pulumi.BoolPtrInput // Name of the location. Usually a region name, expect for some STANDARD service level pools which require a zone name. Location pulumi.StringPtrInput // The resource name of the storage pool. Needs to be unique per location. // // *** Name pulumi.StringPtrInput // VPC network name with format: `projects/{{project}}/global/networks/{{network}}` Network pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Service level of the storage pool. // Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`. ServiceLevel pulumi.StringPtrInput // Size allocated to volumes in the storage pool (in GiB). VolumeCapacityGib pulumi.StringPtrInput // Number of volume in the storage pool. VolumeCount pulumi.IntPtrInput }
func (StoragePoolState) ElementType ¶
func (StoragePoolState) ElementType() reflect.Type