dynatrace.CloudfoundryCredentials
Explore with Pulumi AI
Create CloudfoundryCredentials Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudfoundryCredentials(name: string, args: CloudfoundryCredentialsArgs, opts?: CustomResourceOptions);
@overload
def CloudfoundryCredentials(resource_name: str,
args: CloudfoundryCredentialsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudfoundryCredentials(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_url: Optional[str] = None,
login_url: Optional[str] = None,
username: Optional[str] = None,
active: Optional[bool] = None,
name: Optional[str] = None,
password: Optional[str] = None,
unknowns: Optional[str] = None)
func NewCloudfoundryCredentials(ctx *Context, name string, args CloudfoundryCredentialsArgs, opts ...ResourceOption) (*CloudfoundryCredentials, error)
public CloudfoundryCredentials(string name, CloudfoundryCredentialsArgs args, CustomResourceOptions? opts = null)
public CloudfoundryCredentials(String name, CloudfoundryCredentialsArgs args)
public CloudfoundryCredentials(String name, CloudfoundryCredentialsArgs args, CustomResourceOptions options)
type: dynatrace:CloudfoundryCredentials
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 CloudfoundryCredentialsArgs
- 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 CloudfoundryCredentialsArgs
- 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 CloudfoundryCredentialsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudfoundryCredentialsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudfoundryCredentialsArgs
- 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 cloudfoundryCredentialsResource = new Dynatrace.CloudfoundryCredentials("cloudfoundryCredentialsResource", new()
{
ApiUrl = "string",
LoginUrl = "string",
Username = "string",
Active = false,
Name = "string",
Password = "string",
Unknowns = "string",
});
example, err := dynatrace.NewCloudfoundryCredentials(ctx, "cloudfoundryCredentialsResource", &dynatrace.CloudfoundryCredentialsArgs{
ApiUrl: pulumi.String("string"),
LoginUrl: pulumi.String("string"),
Username: pulumi.String("string"),
Active: pulumi.Bool(false),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
Unknowns: pulumi.String("string"),
})
var cloudfoundryCredentialsResource = new CloudfoundryCredentials("cloudfoundryCredentialsResource", CloudfoundryCredentialsArgs.builder()
.apiUrl("string")
.loginUrl("string")
.username("string")
.active(false)
.name("string")
.password("string")
.unknowns("string")
.build());
cloudfoundry_credentials_resource = dynatrace.CloudfoundryCredentials("cloudfoundryCredentialsResource",
api_url="string",
login_url="string",
username="string",
active=False,
name="string",
password="string",
unknowns="string")
const cloudfoundryCredentialsResource = new dynatrace.CloudfoundryCredentials("cloudfoundryCredentialsResource", {
apiUrl: "string",
loginUrl: "string",
username: "string",
active: false,
name: "string",
password: "string",
unknowns: "string",
});
type: dynatrace:CloudfoundryCredentials
properties:
active: false
apiUrl: string
loginUrl: string
name: string
password: string
unknowns: string
username: string
CloudfoundryCredentials 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 CloudfoundryCredentials resource accepts the following input properties:
- Api
Url string - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Login
Url string - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Username string
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- Active bool
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - Name string
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - Password string
- The password of the Cloud Foundry foundation credentials.
- Unknowns string
- Any attributes that aren't yet supported by this provider
- Api
Url string - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Login
Url string - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Username string
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- Active bool
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - Name string
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - Password string
- The password of the Cloud Foundry foundation credentials.
- Unknowns string
- Any attributes that aren't yet supported by this provider
- api
Url String - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login
Url String - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- username String
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active Boolean
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - name String
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password String
- The password of the Cloud Foundry foundation credentials.
- unknowns String
- Any attributes that aren't yet supported by this provider
- api
Url string - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login
Url string - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- username string
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active boolean
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - name string
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password string
- The password of the Cloud Foundry foundation credentials.
- unknowns string
- Any attributes that aren't yet supported by this provider
- api_
url str - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login_
url str - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- username str
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active bool
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - name str
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password str
- The password of the Cloud Foundry foundation credentials.
- unknowns str
- Any attributes that aren't yet supported by this provider
- api
Url String - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login
Url String - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- username String
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active Boolean
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - name String
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password String
- The password of the Cloud Foundry foundation credentials.
- unknowns String
- Any attributes that aren't yet supported by this provider
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudfoundryCredentials 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 CloudfoundryCredentials Resource
Get an existing CloudfoundryCredentials 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?: CloudfoundryCredentialsState, opts?: CustomResourceOptions): CloudfoundryCredentials
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
api_url: Optional[str] = None,
login_url: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
unknowns: Optional[str] = None,
username: Optional[str] = None) -> CloudfoundryCredentials
func GetCloudfoundryCredentials(ctx *Context, name string, id IDInput, state *CloudfoundryCredentialsState, opts ...ResourceOption) (*CloudfoundryCredentials, error)
public static CloudfoundryCredentials Get(string name, Input<string> id, CloudfoundryCredentialsState? state, CustomResourceOptions? opts = null)
public static CloudfoundryCredentials get(String name, Output<String> id, CloudfoundryCredentialsState 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.
- Active bool
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - Api
Url string - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Login
Url string - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Name string
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - Password string
- The password of the Cloud Foundry foundation credentials.
- Unknowns string
- Any attributes that aren't yet supported by this provider
- Username string
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- Active bool
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - Api
Url string - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Login
Url string - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- Name string
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - Password string
- The password of the Cloud Foundry foundation credentials.
- Unknowns string
- Any attributes that aren't yet supported by this provider
- Username string
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active Boolean
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - api
Url String - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login
Url String - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- name String
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password String
- The password of the Cloud Foundry foundation credentials.
- unknowns String
- Any attributes that aren't yet supported by this provider
- username String
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active boolean
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - api
Url string - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login
Url string - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- name string
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password string
- The password of the Cloud Foundry foundation credentials.
- unknowns string
- Any attributes that aren't yet supported by this provider
- username string
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active bool
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - api_
url str - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login_
url str - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- name str
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password str
- The password of the Cloud Foundry foundation credentials.
- unknowns str
- Any attributes that aren't yet supported by this provider
- username str
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
- active Boolean
- The monitoring is enabled (
true
) or disabled (false
) for given credentials configuration. If not set on creation, thetrue
value is used. If the field is omitted during an update, the old value remains unaffected. - api
Url String - The URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- login
Url String - The login URL of the Cloud Foundry foundation credentials. The URL must be valid according to RFC 2396. Leading or trailing whitespaces are not allowed.
- name String
- The name of the Cloud Foundry foundation credentials. Allowed characters are letters, numbers, whitespaces, and the following characters:
.+-_
. Leading or trailing whitespace is not allowed. - password String
- The password of the Cloud Foundry foundation credentials.
- unknowns String
- Any attributes that aren't yet supported by this provider
- username String
- The username of the Cloud Foundry foundation credentials. Leading and trailing whitespaces are not allowed.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.