netapp-cloudmanager.ConnectorGcp
Explore with Pulumi AI
Example Usage
S
Create netapp-cloudmanager_connector_gcp:
import * as pulumi from "@pulumi/pulumi";
import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
const cl_occm_gcp = new netapp_cloudmanager.ConnectorGcp("cl-occm-gcp", {
projectId: "xxxxxxx",
zone: "us-east4-b",
company: "NetApp",
serviceAccountEmail: "xxxxxxxxxxxxxxxx",
serviceAccountPath: "gcp_creds.json",
accountId: "account-moKEW1b5",
gcpBlockProjectSshKeys: true,
gcpSerialPortEnable: true,
gcpEnableOsLogin: false,
gcpEnableOsLoginSk: false,
}, {
provider: netapp_cloudmanager,
});
import pulumi
import pulumi_netapp_cloudmanager as netapp_cloudmanager
cl_occm_gcp = netapp_cloudmanager.ConnectorGcp("cl-occm-gcp",
project_id="xxxxxxx",
zone="us-east4-b",
company="NetApp",
service_account_email="xxxxxxxxxxxxxxxx",
service_account_path="gcp_creds.json",
account_id="account-moKEW1b5",
gcp_block_project_ssh_keys=True,
gcp_serial_port_enable=True,
gcp_enable_os_login=False,
gcp_enable_os_login_sk=False,
opts = pulumi.ResourceOptions(provider=netapp_cloudmanager))
package main
import (
netappcloudmanager "github.com/pulumi/pulumi-terraform-provider/sdks/go/netapp-cloudmanager/v25/netapp-cloudmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netappcloudmanager.NewConnectorGcp(ctx, "cl-occm-gcp", &netappcloudmanager.ConnectorGcpArgs{
ProjectId: pulumi.String("xxxxxxx"),
Zone: pulumi.String("us-east4-b"),
Company: pulumi.String("NetApp"),
ServiceAccountEmail: pulumi.String("xxxxxxxxxxxxxxxx"),
ServiceAccountPath: pulumi.String("gcp_creds.json"),
AccountId: pulumi.String("account-moKEW1b5"),
GcpBlockProjectSshKeys: pulumi.Bool(true),
GcpSerialPortEnable: pulumi.Bool(true),
GcpEnableOsLogin: pulumi.Bool(false),
GcpEnableOsLoginSk: pulumi.Bool(false),
}, pulumi.Provider(netapp_cloudmanager))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using NetappCloudmanager = Pulumi.NetappCloudmanager;
return await Deployment.RunAsync(() =>
{
var cl_occm_gcp = new NetappCloudmanager.ConnectorGcp("cl-occm-gcp", new()
{
ProjectId = "xxxxxxx",
Zone = "us-east4-b",
Company = "NetApp",
ServiceAccountEmail = "xxxxxxxxxxxxxxxx",
ServiceAccountPath = "gcp_creds.json",
AccountId = "account-moKEW1b5",
GcpBlockProjectSshKeys = true,
GcpSerialPortEnable = true,
GcpEnableOsLogin = false,
GcpEnableOsLoginSk = false,
}, new CustomResourceOptions
{
Provider = netapp_cloudmanager,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netappcloudmanager.ConnectorGcp;
import com.pulumi.netappcloudmanager.ConnectorGcpArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cl_occm_gcp = new ConnectorGcp("cl-occm-gcp", ConnectorGcpArgs.builder()
.projectId("xxxxxxx")
.zone("us-east4-b")
.company("NetApp")
.serviceAccountEmail("xxxxxxxxxxxxxxxx")
.serviceAccountPath("gcp_creds.json")
.accountId("account-moKEW1b5")
.gcpBlockProjectSshKeys(true)
.gcpSerialPortEnable(true)
.gcpEnableOsLogin(false)
.gcpEnableOsLoginSk(false)
.build(), CustomResourceOptions.builder()
.provider(netapp_cloudmanager)
.build());
}
}
resources:
cl-occm-gcp:
type: netapp-cloudmanager:ConnectorGcp
properties:
projectId: xxxxxxx
zone: us-east4-b
company: NetApp
serviceAccountEmail: xxxxxxxxxxxxxxxx
serviceAccountPath: gcp_creds.json
accountId: account-moKEW1b5
gcpBlockProjectSshKeys: true
gcpSerialPortEnable: true
gcpEnableOsLogin: false
gcpEnableOsLoginSk: false
options:
provider: ${["netapp-cloudmanager"]}
Create ConnectorGcp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectorGcp(name: string, args: ConnectorGcpArgs, opts?: CustomResourceOptions);
@overload
def ConnectorGcp(resource_name: str,
args: ConnectorGcpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectorGcp(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
zone: Optional[str] = None,
company: Optional[str] = None,
service_account_email: Optional[str] = None,
gcp_enable_os_login: Optional[bool] = None,
firewall_tags: Optional[bool] = None,
account_id: Optional[str] = None,
gcp_enable_os_login_sk: Optional[bool] = None,
gcp_serial_port_enable: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
machine_type: Optional[str] = None,
name: Optional[str] = None,
network_project_id: Optional[str] = None,
gcp_block_project_ssh_keys: Optional[bool] = None,
proxy_certificates: Optional[Sequence[str]] = None,
proxy_password: Optional[str] = None,
proxy_url: Optional[str] = None,
proxy_user_name: Optional[str] = None,
connector_gcp_id: Optional[str] = None,
service_account_key: Optional[str] = None,
service_account_path: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
associate_public_ip: Optional[bool] = None)
func NewConnectorGcp(ctx *Context, name string, args ConnectorGcpArgs, opts ...ResourceOption) (*ConnectorGcp, error)
public ConnectorGcp(string name, ConnectorGcpArgs args, CustomResourceOptions? opts = null)
public ConnectorGcp(String name, ConnectorGcpArgs args)
public ConnectorGcp(String name, ConnectorGcpArgs args, CustomResourceOptions options)
type: netapp-cloudmanager:ConnectorGcp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConnectorGcpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConnectorGcpArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConnectorGcpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorGcpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectorGcpArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var connectorGcpResource = new NetappCloudmanager.ConnectorGcp("connectorGcpResource", new()
{
ProjectId = "string",
Zone = "string",
Company = "string",
ServiceAccountEmail = "string",
GcpEnableOsLogin = false,
FirewallTags = false,
AccountId = "string",
GcpEnableOsLoginSk = false,
GcpSerialPortEnable = false,
Labels =
{
{ "string", "string" },
},
MachineType = "string",
Name = "string",
NetworkProjectId = "string",
GcpBlockProjectSshKeys = false,
ProxyCertificates = new[]
{
"string",
},
ProxyPassword = "string",
ProxyUrl = "string",
ProxyUserName = "string",
ConnectorGcpId = "string",
ServiceAccountKey = "string",
ServiceAccountPath = "string",
SubnetId = "string",
Tags = new[]
{
"string",
},
AssociatePublicIp = false,
});
example, err := netappcloudmanager.NewConnectorGcp(ctx, "connectorGcpResource", &netappcloudmanager.ConnectorGcpArgs{
ProjectId: pulumi.String("string"),
Zone: pulumi.String("string"),
Company: pulumi.String("string"),
ServiceAccountEmail: pulumi.String("string"),
GcpEnableOsLogin: pulumi.Bool(false),
FirewallTags: pulumi.Bool(false),
AccountId: pulumi.String("string"),
GcpEnableOsLoginSk: pulumi.Bool(false),
GcpSerialPortEnable: pulumi.Bool(false),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MachineType: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkProjectId: pulumi.String("string"),
GcpBlockProjectSshKeys: pulumi.Bool(false),
ProxyCertificates: pulumi.StringArray{
pulumi.String("string"),
},
ProxyPassword: pulumi.String("string"),
ProxyUrl: pulumi.String("string"),
ProxyUserName: pulumi.String("string"),
ConnectorGcpId: pulumi.String("string"),
ServiceAccountKey: pulumi.String("string"),
ServiceAccountPath: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
AssociatePublicIp: pulumi.Bool(false),
})
var connectorGcpResource = new ConnectorGcp("connectorGcpResource", ConnectorGcpArgs.builder()
.projectId("string")
.zone("string")
.company("string")
.serviceAccountEmail("string")
.gcpEnableOsLogin(false)
.firewallTags(false)
.accountId("string")
.gcpEnableOsLoginSk(false)
.gcpSerialPortEnable(false)
.labels(Map.of("string", "string"))
.machineType("string")
.name("string")
.networkProjectId("string")
.gcpBlockProjectSshKeys(false)
.proxyCertificates("string")
.proxyPassword("string")
.proxyUrl("string")
.proxyUserName("string")
.connectorGcpId("string")
.serviceAccountKey("string")
.serviceAccountPath("string")
.subnetId("string")
.tags("string")
.associatePublicIp(false)
.build());
connector_gcp_resource = netapp_cloudmanager.ConnectorGcp("connectorGcpResource",
project_id="string",
zone="string",
company="string",
service_account_email="string",
gcp_enable_os_login=False,
firewall_tags=False,
account_id="string",
gcp_enable_os_login_sk=False,
gcp_serial_port_enable=False,
labels={
"string": "string",
},
machine_type="string",
name="string",
network_project_id="string",
gcp_block_project_ssh_keys=False,
proxy_certificates=["string"],
proxy_password="string",
proxy_url="string",
proxy_user_name="string",
connector_gcp_id="string",
service_account_key="string",
service_account_path="string",
subnet_id="string",
tags=["string"],
associate_public_ip=False)
const connectorGcpResource = new netapp_cloudmanager.ConnectorGcp("connectorGcpResource", {
projectId: "string",
zone: "string",
company: "string",
serviceAccountEmail: "string",
gcpEnableOsLogin: false,
firewallTags: false,
accountId: "string",
gcpEnableOsLoginSk: false,
gcpSerialPortEnable: false,
labels: {
string: "string",
},
machineType: "string",
name: "string",
networkProjectId: "string",
gcpBlockProjectSshKeys: false,
proxyCertificates: ["string"],
proxyPassword: "string",
proxyUrl: "string",
proxyUserName: "string",
connectorGcpId: "string",
serviceAccountKey: "string",
serviceAccountPath: "string",
subnetId: "string",
tags: ["string"],
associatePublicIp: false,
});
type: netapp-cloudmanager:ConnectorGcp
properties:
accountId: string
associatePublicIp: false
company: string
connectorGcpId: string
firewallTags: false
gcpBlockProjectSshKeys: false
gcpEnableOsLogin: false
gcpEnableOsLoginSk: false
gcpSerialPortEnable: false
labels:
string: string
machineType: string
name: string
networkProjectId: string
projectId: string
proxyCertificates:
- string
proxyPassword: string
proxyUrl: string
proxyUserName: string
serviceAccountEmail: string
serviceAccountKey: string
serviceAccountPath: string
subnetId: string
tags:
- string
zone: string
ConnectorGcp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConnectorGcp resource accepts the following input properties:
- Company string
- The name of the company of the user.
- Project
Id string - The GCP project_id where the connector will be created.
- Service
Account stringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- Zone string
- The GCP zone where the Connector will be created.
- Account
Id string - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- Associate
Public boolIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- Connector
Gcp stringId - The name of the virtual machine.
- bool
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- Gcp
Block boolProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- Gcp
Enable boolOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- Gcp
Enable boolOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- Gcp
Serial boolPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- Labels Dictionary<string, string>
- The map of labels.
- Machine
Type string - The machine_type for the Connector VM. The default value is "n2-standard-8"
- Name string
- The name of the Cloud Manager Connector.
- Network
Project stringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- Proxy
Certificates List<string> - The proxy certificates. A list of certificate file names.
- Proxy
Password string - The proxy password, if using a proxy to connect to the internet.
- Proxy
Url string - The proxy URL, if using a proxy to connect to the internet.
- Proxy
User stringName - The proxy user name, if using a proxy to connect to the internet.
- Service
Account stringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - Service
Account stringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - Subnet
Id string - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- List<string>
- The list of network tags.
- Company string
- The name of the company of the user.
- Project
Id string - The GCP project_id where the connector will be created.
- Service
Account stringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- Zone string
- The GCP zone where the Connector will be created.
- Account
Id string - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- Associate
Public boolIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- Connector
Gcp stringId - The name of the virtual machine.
- bool
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- Gcp
Block boolProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- Gcp
Enable boolOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- Gcp
Enable boolOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- Gcp
Serial boolPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- Labels map[string]string
- The map of labels.
- Machine
Type string - The machine_type for the Connector VM. The default value is "n2-standard-8"
- Name string
- The name of the Cloud Manager Connector.
- Network
Project stringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- Proxy
Certificates []string - The proxy certificates. A list of certificate file names.
- Proxy
Password string - The proxy password, if using a proxy to connect to the internet.
- Proxy
Url string - The proxy URL, if using a proxy to connect to the internet.
- Proxy
User stringName - The proxy user name, if using a proxy to connect to the internet.
- Service
Account stringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - Service
Account stringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - Subnet
Id string - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- []string
- The list of network tags.
- company String
- The name of the company of the user.
- project
Id String - The GCP project_id where the connector will be created.
- service
Account StringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- zone String
- The GCP zone where the Connector will be created.
- account
Id String - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate
Public BooleanIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- connector
Gcp StringId - The name of the virtual machine.
- Boolean
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp
Block BooleanProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp
Enable BooleanOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp
Enable BooleanOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp
Serial BooleanPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels Map<String,String>
- The map of labels.
- machine
Type String - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name String
- The name of the Cloud Manager Connector.
- network
Project StringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- proxy
Certificates List<String> - The proxy certificates. A list of certificate file names.
- proxy
Password String - The proxy password, if using a proxy to connect to the internet.
- proxy
Url String - The proxy URL, if using a proxy to connect to the internet.
- proxy
User StringName - The proxy user name, if using a proxy to connect to the internet.
- service
Account StringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service
Account StringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet
Id String - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- List<String>
- The list of network tags.
- company string
- The name of the company of the user.
- project
Id string - The GCP project_id where the connector will be created.
- service
Account stringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- zone string
- The GCP zone where the Connector will be created.
- account
Id string - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate
Public booleanIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- connector
Gcp stringId - The name of the virtual machine.
- boolean
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp
Block booleanProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp
Enable booleanOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp
Enable booleanOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp
Serial booleanPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels {[key: string]: string}
- The map of labels.
- machine
Type string - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name string
- The name of the Cloud Manager Connector.
- network
Project stringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- proxy
Certificates string[] - The proxy certificates. A list of certificate file names.
- proxy
Password string - The proxy password, if using a proxy to connect to the internet.
- proxy
Url string - The proxy URL, if using a proxy to connect to the internet.
- proxy
User stringName - The proxy user name, if using a proxy to connect to the internet.
- service
Account stringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service
Account stringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet
Id string - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- string[]
- The list of network tags.
- company str
- The name of the company of the user.
- project_
id str - The GCP project_id where the connector will be created.
- service_
account_ stremail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- zone str
- The GCP zone where the Connector will be created.
- account_
id str - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate_
public_ boolip - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- connector_
gcp_ strid - The name of the virtual machine.
- bool
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp_
block_ boolproject_ ssh_ keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp_
enable_ boolos_ login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp_
enable_ boolos_ login_ sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp_
serial_ boolport_ enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels Mapping[str, str]
- The map of labels.
- machine_
type str - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name str
- The name of the Cloud Manager Connector.
- network_
project_ strid - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- proxy_
certificates Sequence[str] - The proxy certificates. A list of certificate file names.
- proxy_
password str - The proxy password, if using a proxy to connect to the internet.
- proxy_
url str - The proxy URL, if using a proxy to connect to the internet.
- proxy_
user_ strname - The proxy user name, if using a proxy to connect to the internet.
- service_
account_ strkey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service_
account_ strpath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet_
id str - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- Sequence[str]
- The list of network tags.
- company String
- The name of the company of the user.
- project
Id String - The GCP project_id where the connector will be created.
- service
Account StringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- zone String
- The GCP zone where the Connector will be created.
- account
Id String - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate
Public BooleanIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- connector
Gcp StringId - The name of the virtual machine.
- Boolean
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp
Block BooleanProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp
Enable BooleanOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp
Enable BooleanOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp
Serial BooleanPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels Map<String>
- The map of labels.
- machine
Type String - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name String
- The name of the Cloud Manager Connector.
- network
Project StringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- proxy
Certificates List<String> - The proxy certificates. A list of certificate file names.
- proxy
Password String - The proxy password, if using a proxy to connect to the internet.
- proxy
Url String - The proxy URL, if using a proxy to connect to the internet.
- proxy
User StringName - The proxy user name, if using a proxy to connect to the internet.
- service
Account StringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service
Account StringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet
Id String - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- List<String>
- The list of network tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectorGcp resource produces the following output properties:
Look up Existing ConnectorGcp Resource
Get an existing ConnectorGcp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConnectorGcpState, opts?: CustomResourceOptions): ConnectorGcp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
associate_public_ip: Optional[bool] = None,
client_id: Optional[str] = None,
company: Optional[str] = None,
connector_gcp_id: Optional[str] = None,
firewall_tags: Optional[bool] = None,
gcp_block_project_ssh_keys: Optional[bool] = None,
gcp_enable_os_login: Optional[bool] = None,
gcp_enable_os_login_sk: Optional[bool] = None,
gcp_serial_port_enable: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
machine_type: Optional[str] = None,
name: Optional[str] = None,
network_project_id: Optional[str] = None,
project_id: Optional[str] = None,
proxy_certificates: Optional[Sequence[str]] = None,
proxy_password: Optional[str] = None,
proxy_url: Optional[str] = None,
proxy_user_name: Optional[str] = None,
service_account_email: Optional[str] = None,
service_account_key: Optional[str] = None,
service_account_path: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
zone: Optional[str] = None) -> ConnectorGcp
func GetConnectorGcp(ctx *Context, name string, id IDInput, state *ConnectorGcpState, opts ...ResourceOption) (*ConnectorGcp, error)
public static ConnectorGcp Get(string name, Input<string> id, ConnectorGcpState? state, CustomResourceOptions? opts = null)
public static ConnectorGcp get(String name, Output<String> id, ConnectorGcpState state, CustomResourceOptions options)
resources: _: type: netapp-cloudmanager:ConnectorGcp get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- Associate
Public boolIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- Client
Id string - The unique client ID of the Connector. Can be used in other resources.
- Company string
- The name of the company of the user.
- Connector
Gcp stringId - The name of the virtual machine.
- bool
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- Gcp
Block boolProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- Gcp
Enable boolOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- Gcp
Enable boolOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- Gcp
Serial boolPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- Labels Dictionary<string, string>
- The map of labels.
- Machine
Type string - The machine_type for the Connector VM. The default value is "n2-standard-8"
- Name string
- The name of the Cloud Manager Connector.
- Network
Project stringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- Project
Id string - The GCP project_id where the connector will be created.
- Proxy
Certificates List<string> - The proxy certificates. A list of certificate file names.
- Proxy
Password string - The proxy password, if using a proxy to connect to the internet.
- Proxy
Url string - The proxy URL, if using a proxy to connect to the internet.
- Proxy
User stringName - The proxy user name, if using a proxy to connect to the internet.
- Service
Account stringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- Service
Account stringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - Service
Account stringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - Subnet
Id string - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- List<string>
- The list of network tags.
- Zone string
- The GCP zone where the Connector will be created.
- Account
Id string - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- Associate
Public boolIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- Client
Id string - The unique client ID of the Connector. Can be used in other resources.
- Company string
- The name of the company of the user.
- Connector
Gcp stringId - The name of the virtual machine.
- bool
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- Gcp
Block boolProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- Gcp
Enable boolOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- Gcp
Enable boolOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- Gcp
Serial boolPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- Labels map[string]string
- The map of labels.
- Machine
Type string - The machine_type for the Connector VM. The default value is "n2-standard-8"
- Name string
- The name of the Cloud Manager Connector.
- Network
Project stringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- Project
Id string - The GCP project_id where the connector will be created.
- Proxy
Certificates []string - The proxy certificates. A list of certificate file names.
- Proxy
Password string - The proxy password, if using a proxy to connect to the internet.
- Proxy
Url string - The proxy URL, if using a proxy to connect to the internet.
- Proxy
User stringName - The proxy user name, if using a proxy to connect to the internet.
- Service
Account stringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- Service
Account stringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - Service
Account stringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - Subnet
Id string - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- []string
- The list of network tags.
- Zone string
- The GCP zone where the Connector will be created.
- account
Id String - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate
Public BooleanIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- client
Id String - The unique client ID of the Connector. Can be used in other resources.
- company String
- The name of the company of the user.
- connector
Gcp StringId - The name of the virtual machine.
- Boolean
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp
Block BooleanProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp
Enable BooleanOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp
Enable BooleanOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp
Serial BooleanPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels Map<String,String>
- The map of labels.
- machine
Type String - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name String
- The name of the Cloud Manager Connector.
- network
Project StringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- project
Id String - The GCP project_id where the connector will be created.
- proxy
Certificates List<String> - The proxy certificates. A list of certificate file names.
- proxy
Password String - The proxy password, if using a proxy to connect to the internet.
- proxy
Url String - The proxy URL, if using a proxy to connect to the internet.
- proxy
User StringName - The proxy user name, if using a proxy to connect to the internet.
- service
Account StringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- service
Account StringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service
Account StringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet
Id String - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- List<String>
- The list of network tags.
- zone String
- The GCP zone where the Connector will be created.
- account
Id string - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate
Public booleanIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- client
Id string - The unique client ID of the Connector. Can be used in other resources.
- company string
- The name of the company of the user.
- connector
Gcp stringId - The name of the virtual machine.
- boolean
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp
Block booleanProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp
Enable booleanOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp
Enable booleanOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp
Serial booleanPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels {[key: string]: string}
- The map of labels.
- machine
Type string - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name string
- The name of the Cloud Manager Connector.
- network
Project stringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- project
Id string - The GCP project_id where the connector will be created.
- proxy
Certificates string[] - The proxy certificates. A list of certificate file names.
- proxy
Password string - The proxy password, if using a proxy to connect to the internet.
- proxy
Url string - The proxy URL, if using a proxy to connect to the internet.
- proxy
User stringName - The proxy user name, if using a proxy to connect to the internet.
- service
Account stringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- service
Account stringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service
Account stringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet
Id string - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- string[]
- The list of network tags.
- zone string
- The GCP zone where the Connector will be created.
- account_
id str - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate_
public_ boolip - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- client_
id str - The unique client ID of the Connector. Can be used in other resources.
- company str
- The name of the company of the user.
- connector_
gcp_ strid - The name of the virtual machine.
- bool
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp_
block_ boolproject_ ssh_ keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp_
enable_ boolos_ login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp_
enable_ boolos_ login_ sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp_
serial_ boolport_ enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels Mapping[str, str]
- The map of labels.
- machine_
type str - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name str
- The name of the Cloud Manager Connector.
- network_
project_ strid - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- project_
id str - The GCP project_id where the connector will be created.
- proxy_
certificates Sequence[str] - The proxy certificates. A list of certificate file names.
- proxy_
password str - The proxy password, if using a proxy to connect to the internet.
- proxy_
url str - The proxy URL, if using a proxy to connect to the internet.
- proxy_
user_ strname - The proxy user name, if using a proxy to connect to the internet.
- service_
account_ stremail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- service_
account_ strkey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service_
account_ strpath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet_
id str - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- Sequence[str]
- The list of network tags.
- zone str
- The GCP zone where the Connector will be created.
- account
Id String - The NetApp account ID that the Connector will be associated with. If not provided, Cloud Manager uses the first account. If no account exists, Cloud Manager creates a new account. You can find the account ID in the account tab of Cloud Manager at https://console.bluexp.netapp.com/.
- associate
Public BooleanIp - Indicates whether to associate a public IP address to the virtual machine. The default is "true"
- client
Id String - The unique client ID of the Connector. Can be used in other resources.
- company String
- The name of the company of the user.
- connector
Gcp StringId - The name of the virtual machine.
- Boolean
- Indicates whether to add firewall_tags to the connector VM (HTTP and HTTP). The default is "true". If true, "firewall-tag-bvsu", "http-server", "https-server" are set as tags, and they can't be managed using tag options.
- gcp
Block BooleanProject Ssh Keys - Block project-wide SSH keys. Default value is false. Reference: Block project SSH keys from a VM after VM creation
- gcp
Enable BooleanOs Login - Enable OS login. Default value is true. Reference: Enable OS Login
- gcp
Enable BooleanOs Login Sk - Enable OS login with security keys. Default value is true. Reference: Enable security keys with OS Login
- gcp
Serial BooleanPort Enable - Enable the Serial Console Port. Default value is true. Reference: Disabling interactive serial console access
- labels Map<String>
- The map of labels.
- machine
Type String - The machine_type for the Connector VM. The default value is "n2-standard-8"
- name String
- The name of the Cloud Manager Connector.
- network
Project StringId - The project id in GCP associated with the Subnet. If not provided, it’s assumed that the Subnet is within the previously specified project id.
- project
Id String - The GCP project_id where the connector will be created.
- proxy
Certificates List<String> - The proxy certificates. A list of certificate file names.
- proxy
Password String - The proxy password, if using a proxy to connect to the internet.
- proxy
Url String - The proxy URL, if using a proxy to connect to the internet.
- proxy
User StringName - The proxy user name, if using a proxy to connect to the internet.
- service
Account StringEmail - The email of the service_account for the connector instance. This service account is used to allow the Connector to create Cloud Volume ONTAP.
- service
Account StringKey - A JSON string for the service account key for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_path
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login. - service
Account StringPath - The local path of the service_account JSON file for GCP authorization purposes. This service account is used to create the Connector in GCP. Conflicts with
service_account_key
. It does not need to be set when using the user application default credential authentication by running the command gcloud auth application-default login.. - subnet
Id String - The name of the subnet for the virtual machine. The default value is "Default". Two formats are supported: either or projects//regions//subnetworks/.
- List<String>
- The list of network tags.
- zone String
- The GCP zone where the Connector will be created.
Package Details
- Repository
- netapp-cloudmanager netapp/terraform-provider-netapp-cloudmanager
- License
- Notes
- This Pulumi package is based on the
netapp-cloudmanager
Terraform Provider.