add Environment model to create_environment arguments
This commit is contained in:
parent
74ad006428
commit
a23a484630
@ -4,12 +4,13 @@ from atst.models.environment_role import CSPRole
|
|||||||
|
|
||||||
|
|
||||||
class CloudProviderInterface:
|
class CloudProviderInterface:
|
||||||
def create_environment(self, auth_credentials, user):
|
def create_environment(self, auth_credentials, user, environment):
|
||||||
"""Create a new environment in the CSP.
|
"""Create a new environment in the CSP.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
auth_credentials -- Object containing CSP account credentials
|
auth_credentials -- Object containing CSP account credentials
|
||||||
user -- ATAT user authorizing the environment creation
|
user -- ATAT user authorizing the environment creation
|
||||||
|
environment -- ATAT Environment model
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
string: ID of created environment
|
string: ID of created environment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user