dynatrace.ManagedInternetProxy
Explore with Pulumi AI
This resource requires one of the cluster API token scopes Control Management (
ControlManagement
), Service Provider API (ServiceProviderAPI
), or Unattended Install (UnattendedInstall
)
Dynatrace Documentation
Can I use a proxy for internet access? - https://www.dynatrace.com/support/help/managed-cluster/configuration/can-i-use-a-proxy-for-internet-access
Cluster API v1 - https://www.dynatrace.com/support/help/managed-cluster/cluster-api/cluster-api-v1
Resource Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const test = new dynatrace.ManagedInternetProxy("test", {
nonProxyHosts: ["string"],
password: "string",
port: 65535,
scheme: "http",
server: "zAOE-GV81/65oVgaIlPYTCADGSPFJ9ZqXYNGbxn97dbq:flAI2E8e8bfOvlmaGu",
user: "string",
});
import pulumi
import pulumiverse_dynatrace as dynatrace
test = dynatrace.ManagedInternetProxy("test",
non_proxy_hosts=["string"],
password="string",
port=65535,
scheme="http",
server="zAOE-GV81/65oVgaIlPYTCADGSPFJ9ZqXYNGbxn97dbq:flAI2E8e8bfOvlmaGu",
user="string")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dynatrace.NewManagedInternetProxy(ctx, "test", &dynatrace.ManagedInternetProxyArgs{
NonProxyHosts: pulumi.StringArray{
pulumi.String("string"),
},
Password: pulumi.String("string"),
Port: pulumi.Int(65535),
Scheme: pulumi.String("http"),
Server: pulumi.String("zAOE-GV81/65oVgaIlPYTCADGSPFJ9ZqXYNGbxn97dbq:flAI2E8e8bfOvlmaGu"),
User: pulumi.String("string"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var test = new Dynatrace.ManagedInternetProxy("test", new()
{
NonProxyHosts = new[]
{
"string",
},
Password = "string",
Port = 65535,
Scheme = "http",
Server = "zAOE-GV81/65oVgaIlPYTCADGSPFJ9ZqXYNGbxn97dbq:flAI2E8e8bfOvlmaGu",
User = "string",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.ManagedInternetProxy;
import com.pulumi.dynatrace.ManagedInternetProxyArgs;
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 test = new ManagedInternetProxy("test", ManagedInternetProxyArgs.builder()
.nonProxyHosts("string")
.password("string")
.port(65535)
.scheme("http")
.server("zAOE-GV81/65oVgaIlPYTCADGSPFJ9ZqXYNGbxn97dbq:flAI2E8e8bfOvlmaGu")
.user("string")
.build());
}
}
resources:
test:
type: dynatrace:ManagedInternetProxy
properties:
nonProxyHosts:
- string
password: string
port: 65535
scheme: http
server: zAOE-GV81/65oVgaIlPYTCADGSPFJ9ZqXYNGbxn97dbq:flAI2E8e8bfOvlmaGu
user: string
Create ManagedInternetProxy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedInternetProxy(name: string, args: ManagedInternetProxyArgs, opts?: CustomResourceOptions);
@overload
def ManagedInternetProxy(resource_name: str,
args: ManagedInternetProxyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedInternetProxy(resource_name: str,
opts: Optional[ResourceOptions] = None,
port: Optional[int] = None,
scheme: Optional[str] = None,
server: Optional[str] = None,
non_proxy_hosts: Optional[Sequence[str]] = None,
password: Optional[str] = None,
user: Optional[str] = None)
func NewManagedInternetProxy(ctx *Context, name string, args ManagedInternetProxyArgs, opts ...ResourceOption) (*ManagedInternetProxy, error)
public ManagedInternetProxy(string name, ManagedInternetProxyArgs args, CustomResourceOptions? opts = null)
public ManagedInternetProxy(String name, ManagedInternetProxyArgs args)
public ManagedInternetProxy(String name, ManagedInternetProxyArgs args, CustomResourceOptions options)
type: dynatrace:ManagedInternetProxy
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 ManagedInternetProxyArgs
- 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 ManagedInternetProxyArgs
- 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 ManagedInternetProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedInternetProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedInternetProxyArgs
- 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 managedInternetProxyResource = new Dynatrace.ManagedInternetProxy("managedInternetProxyResource", new()
{
Port = 0,
Scheme = "string",
Server = "string",
NonProxyHosts = new[]
{
"string",
},
Password = "string",
User = "string",
});
example, err := dynatrace.NewManagedInternetProxy(ctx, "managedInternetProxyResource", &dynatrace.ManagedInternetProxyArgs{
Port: pulumi.Int(0),
Scheme: pulumi.String("string"),
Server: pulumi.String("string"),
NonProxyHosts: pulumi.StringArray{
pulumi.String("string"),
},
Password: pulumi.String("string"),
User: pulumi.String("string"),
})
var managedInternetProxyResource = new ManagedInternetProxy("managedInternetProxyResource", ManagedInternetProxyArgs.builder()
.port(0)
.scheme("string")
.server("string")
.nonProxyHosts("string")
.password("string")
.user("string")
.build());
managed_internet_proxy_resource = dynatrace.ManagedInternetProxy("managedInternetProxyResource",
port=0,
scheme="string",
server="string",
non_proxy_hosts=["string"],
password="string",
user="string")
const managedInternetProxyResource = new dynatrace.ManagedInternetProxy("managedInternetProxyResource", {
port: 0,
scheme: "string",
server: "string",
nonProxyHosts: ["string"],
password: "string",
user: "string",
});
type: dynatrace:ManagedInternetProxy
properties:
nonProxyHosts:
- string
password: string
port: 0
scheme: string
server: string
user: string
ManagedInternetProxy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ManagedInternetProxy resource accepts the following input properties:
- Port int
- Port of proxy server
- Scheme string
- Protocol which proxy server uses
- Server string
- Address (either IP or Hostname) of proxy server
- Non
Proxy List<string>Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- Password string
- Password of proxy server, null means do not change previous value
- User string
- User of proxy server, null means do not change previous value
- Port int
- Port of proxy server
- Scheme string
- Protocol which proxy server uses
- Server string
- Address (either IP or Hostname) of proxy server
- Non
Proxy []stringHosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- Password string
- Password of proxy server, null means do not change previous value
- User string
- User of proxy server, null means do not change previous value
- port Integer
- Port of proxy server
- scheme String
- Protocol which proxy server uses
- server String
- Address (either IP or Hostname) of proxy server
- non
Proxy List<String>Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password String
- Password of proxy server, null means do not change previous value
- user String
- User of proxy server, null means do not change previous value
- port number
- Port of proxy server
- scheme string
- Protocol which proxy server uses
- server string
- Address (either IP or Hostname) of proxy server
- non
Proxy string[]Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password string
- Password of proxy server, null means do not change previous value
- user string
- User of proxy server, null means do not change previous value
- port int
- Port of proxy server
- scheme str
- Protocol which proxy server uses
- server str
- Address (either IP or Hostname) of proxy server
- non_
proxy_ Sequence[str]hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password str
- Password of proxy server, null means do not change previous value
- user str
- User of proxy server, null means do not change previous value
- port Number
- Port of proxy server
- scheme String
- Protocol which proxy server uses
- server String
- Address (either IP or Hostname) of proxy server
- non
Proxy List<String>Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password String
- Password of proxy server, null means do not change previous value
- user String
- User of proxy server, null means do not change previous value
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedInternetProxy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ManagedInternetProxy Resource
Get an existing ManagedInternetProxy 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?: ManagedInternetProxyState, opts?: CustomResourceOptions): ManagedInternetProxy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
non_proxy_hosts: Optional[Sequence[str]] = None,
password: Optional[str] = None,
port: Optional[int] = None,
scheme: Optional[str] = None,
server: Optional[str] = None,
user: Optional[str] = None) -> ManagedInternetProxy
func GetManagedInternetProxy(ctx *Context, name string, id IDInput, state *ManagedInternetProxyState, opts ...ResourceOption) (*ManagedInternetProxy, error)
public static ManagedInternetProxy Get(string name, Input<string> id, ManagedInternetProxyState? state, CustomResourceOptions? opts = null)
public static ManagedInternetProxy get(String name, Output<String> id, ManagedInternetProxyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Non
Proxy List<string>Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- Password string
- Password of proxy server, null means do not change previous value
- Port int
- Port of proxy server
- Scheme string
- Protocol which proxy server uses
- Server string
- Address (either IP or Hostname) of proxy server
- User string
- User of proxy server, null means do not change previous value
- Non
Proxy []stringHosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- Password string
- Password of proxy server, null means do not change previous value
- Port int
- Port of proxy server
- Scheme string
- Protocol which proxy server uses
- Server string
- Address (either IP or Hostname) of proxy server
- User string
- User of proxy server, null means do not change previous value
- non
Proxy List<String>Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password String
- Password of proxy server, null means do not change previous value
- port Integer
- Port of proxy server
- scheme String
- Protocol which proxy server uses
- server String
- Address (either IP or Hostname) of proxy server
- user String
- User of proxy server, null means do not change previous value
- non
Proxy string[]Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password string
- Password of proxy server, null means do not change previous value
- port number
- Port of proxy server
- scheme string
- Protocol which proxy server uses
- server string
- Address (either IP or Hostname) of proxy server
- user string
- User of proxy server, null means do not change previous value
- non_
proxy_ Sequence[str]hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password str
- Password of proxy server, null means do not change previous value
- port int
- Port of proxy server
- scheme str
- Protocol which proxy server uses
- server str
- Address (either IP or Hostname) of proxy server
- user str
- User of proxy server, null means do not change previous value
- non
Proxy List<String>Hosts - Definition of hosts for which proxy won't be used. You can define multiple hosts. Each host can start or end with wildcard '*' for instance to match whole domain.
- password String
- Password of proxy server, null means do not change previous value
- port Number
- Port of proxy server
- scheme String
- Protocol which proxy server uses
- server String
- Address (either IP or Hostname) of proxy server
- user String
- User of proxy server, null means do not change previous value
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.