Create(string credentialTypeName, string credentialName, int? environmentId, int? applicationId, bool inheritFromParent) Method

Creates a ResourceCredentials from the specified type name and name.

Syntax

public static ResourceCredentials Create(string credentialTypeName, string credentialName, int? environmentId, int? applicationId, bool inheritFromParent)

Parameters

credentialTypeName
Type: string

Name of the credential type.

credentialName
Type: string

Name of the credential.

environmentId
Type: int?

ID of the environment in context.

applicationId
Type: int?

ID of the application in context.

inheritFromParent
Type: bool

Indicates whether a CascadedResourceCredentials should inherit from its parent.

Returns

An instance of a ResourceCredentials