vcd.ExternalEndpoint
Explore with Pulumi AI
Create ExternalEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalEndpoint(name: string, args: ExternalEndpointArgs, opts?: CustomResourceOptions);
@overload
def ExternalEndpoint(resource_name: str,
args: ExternalEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExternalEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
root_url: Optional[str] = None,
vendor: Optional[str] = None,
version: Optional[str] = None,
description: Optional[str] = None,
disable_on_removal: Optional[bool] = None,
external_endpoint_id: Optional[str] = None,
name: Optional[str] = None)
func NewExternalEndpoint(ctx *Context, name string, args ExternalEndpointArgs, opts ...ResourceOption) (*ExternalEndpoint, error)
public ExternalEndpoint(string name, ExternalEndpointArgs args, CustomResourceOptions? opts = null)
public ExternalEndpoint(String name, ExternalEndpointArgs args)
public ExternalEndpoint(String name, ExternalEndpointArgs args, CustomResourceOptions options)
type: vcd:ExternalEndpoint
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 ExternalEndpointArgs
- 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 ExternalEndpointArgs
- 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 ExternalEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalEndpointArgs
- 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 externalEndpointResource = new Vcd.ExternalEndpoint("externalEndpointResource", new()
{
Enabled = false,
RootUrl = "string",
Vendor = "string",
Version = "string",
Description = "string",
DisableOnRemoval = false,
ExternalEndpointId = "string",
Name = "string",
});
example, err := vcd.NewExternalEndpoint(ctx, "externalEndpointResource", &vcd.ExternalEndpointArgs{
Enabled: pulumi.Bool(false),
RootUrl: pulumi.String("string"),
Vendor: pulumi.String("string"),
Version: pulumi.String("string"),
Description: pulumi.String("string"),
DisableOnRemoval: pulumi.Bool(false),
ExternalEndpointId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var externalEndpointResource = new ExternalEndpoint("externalEndpointResource", ExternalEndpointArgs.builder()
.enabled(false)
.rootUrl("string")
.vendor("string")
.version("string")
.description("string")
.disableOnRemoval(false)
.externalEndpointId("string")
.name("string")
.build());
external_endpoint_resource = vcd.ExternalEndpoint("externalEndpointResource",
enabled=False,
root_url="string",
vendor="string",
version="string",
description="string",
disable_on_removal=False,
external_endpoint_id="string",
name="string")
const externalEndpointResource = new vcd.ExternalEndpoint("externalEndpointResource", {
enabled: false,
rootUrl: "string",
vendor: "string",
version: "string",
description: "string",
disableOnRemoval: false,
externalEndpointId: "string",
name: "string",
});
type: vcd:ExternalEndpoint
properties:
description: string
disableOnRemoval: false
enabled: false
externalEndpointId: string
name: string
rootUrl: string
vendor: string
version: string
ExternalEndpoint 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 ExternalEndpoint resource accepts the following input properties:
- Enabled bool
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - Root
Url string - The endpoint which requests will be redirected to. Must use HTTPS protocol
- Vendor string
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Version string
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Description string
- Description of the External Endpoint
- Disable
On boolRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - External
Endpoint stringId - Name string
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- Enabled bool
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - Root
Url string - The endpoint which requests will be redirected to. Must use HTTPS protocol
- Vendor string
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Version string
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Description string
- Description of the External Endpoint
- Disable
On boolRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - External
Endpoint stringId - Name string
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- enabled Boolean
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - root
Url String - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor String
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version String
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - description String
- Description of the External Endpoint
- disable
On BooleanRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - external
Endpoint StringId - name String
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- enabled boolean
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - root
Url string - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor string
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version string
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - description string
- Description of the External Endpoint
- disable
On booleanRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - external
Endpoint stringId - name string
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- enabled bool
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - root_
url str - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor str
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version str
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - description str
- Description of the External Endpoint
- disable_
on_ boolremoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - external_
endpoint_ strid - name str
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- enabled Boolean
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - root
Url String - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor String
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version String
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - description String
- Description of the External Endpoint
- disable
On BooleanRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - external
Endpoint StringId - name String
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalEndpoint 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 ExternalEndpoint Resource
Get an existing ExternalEndpoint 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?: ExternalEndpointState, opts?: CustomResourceOptions): ExternalEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
disable_on_removal: Optional[bool] = None,
enabled: Optional[bool] = None,
external_endpoint_id: Optional[str] = None,
name: Optional[str] = None,
root_url: Optional[str] = None,
vendor: Optional[str] = None,
version: Optional[str] = None) -> ExternalEndpoint
func GetExternalEndpoint(ctx *Context, name string, id IDInput, state *ExternalEndpointState, opts ...ResourceOption) (*ExternalEndpoint, error)
public static ExternalEndpoint Get(string name, Input<string> id, ExternalEndpointState? state, CustomResourceOptions? opts = null)
public static ExternalEndpoint get(String name, Output<String> id, ExternalEndpointState state, CustomResourceOptions options)
resources: _: type: vcd:ExternalEndpoint 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.
- Description string
- Description of the External Endpoint
- Disable
On boolRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - Enabled bool
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - External
Endpoint stringId - Name string
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Root
Url string - The endpoint which requests will be redirected to. Must use HTTPS protocol
- Vendor string
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Version string
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- Description string
- Description of the External Endpoint
- Disable
On boolRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - Enabled bool
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - External
Endpoint stringId - Name string
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Root
Url string - The endpoint which requests will be redirected to. Must use HTTPS protocol
- Vendor string
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - Version string
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- description String
- Description of the External Endpoint
- disable
On BooleanRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - enabled Boolean
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - external
Endpoint StringId - name String
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - root
Url String - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor String
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version String
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- description string
- Description of the External Endpoint
- disable
On booleanRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - enabled boolean
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - external
Endpoint stringId - name string
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - root
Url string - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor string
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version string
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- description str
- Description of the External Endpoint
- disable_
on_ boolremoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - enabled bool
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - external_
endpoint_ strid - name str
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - root_
url str - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor str
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version str
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
- description String
- Description of the External Endpoint
- disable
On BooleanRemoval - Whether the External Endpoint should be disabled before a delete operation, to flawlessly remove it even if it is enabled.
It is
false
by default - enabled Boolean
- Whether the External Endpoint is enabled or not. Must be
false
before removing this resource, otherwise deletion will fail. To disable it automatically on removal, setdisable_on_removal=true
(see below) - external
Endpoint StringId - name String
- The name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - root
Url String - The endpoint which requests will be redirected to. Must use HTTPS protocol
- vendor String
- The vendor name of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation - version String
- The version of the External Endpoint. The combination of
vendor
+name
+version
must be unique. Can't be modified after creation
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.