Esempio n. 1
0
def get_project_platforms(cmd, project_name, service_name,
                          resource_group_name):
    client = dms_cf_projects(cmd.cli_ctx)
    proj = client.get(group_name=resource_group_name,
                      service_name=service_name,
                      project_name=project_name)
    return (proj.source_platform.lower(), proj.target_platform.lower())
Esempio n. 2
0
def get_project_platforms(cmd, project_name, service_name, resource_group_name):
    client = dms_cf_projects(cmd.cli_ctx)
    proj = client.get(group_name=resource_group_name, service_name=service_name, project_name=project_name)
    return (proj.source_platform.lower(), proj.target_platform.lower())